/* =========================================================
   VDN Valley — Menú, CTA y páginas de módulo
   Se carga después de expediente.css
   ========================================================= */
:root{--vx-h:76px;}

/* ---------- cabecera ---------- */
header.vx{position:fixed;top:0;left:0;right:0;z-index:200;font-family:inherit;}
.vx-bar{
  position:relative;z-index:2;height:var(--vx-h);
  display:flex;align-items:center;gap:28px;padding:0 28px 0 32px;
  background:rgba(255,255,255,.86);
  -webkit-backdrop-filter:saturate(1.6) blur(18px);backdrop-filter:saturate(1.6) blur(18px);
  border-bottom:1px solid rgba(13,13,16,.12);
  transition:height .3s var(--ex-ease), background .3s ease;
}
header.vx.scrolled .vx-bar{height:64px;background:rgba(255,255,255,.94);}
header.vx.mega-open .vx-bar{background:#fff;}
.vx-brand{flex:none;display:flex;align-items:center;}
.vx-brand img{height:34px;width:auto;display:block;animation:brandIn .9s var(--ex-ease) both;}
header.vx.scrolled .vx-brand img{height:30px;}

.vx-nav{position:relative;display:flex;align-items:center;gap:4px;margin-left:auto;margin-right:auto;}
.vx-link{
  position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;
  height:40px;padding:0 16px;border:0;background:none;cursor:pointer;
  font-family:var(--ex-mono);font-size:12px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ex-ink-2);text-decoration:none;border-radius:999px;transition:color .25s ease;
}
.vx-link svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .3s var(--ex-ease);}
.vx-link:hover,.vx-link[aria-expanded="true"],.vx-link.is-current{color:var(--ex-ink);}
.vx-link[aria-expanded="true"] svg{transform:rotate(180deg);}
.vx-link.is-current::after{
  content:"";position:absolute;left:50%;bottom:4px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--ex-signal);
}
.vx-ind{
  position:absolute;z-index:0;top:50%;left:0;height:40px;width:0;margin-top:-20px;border-radius:999px;
  background:var(--ex-signal-soft);opacity:0;pointer-events:none;
  transition:transform .45s var(--ex-ease), width .45s var(--ex-ease), opacity .25s ease;
}
.vx-nav.ind-on .vx-ind{opacity:1;}

.vx-actions{display:flex;align-items:center;gap:14px;flex:none;}
.vx-actions .lang-switch{display:flex;gap:2px;padding:0;background:none;border:0;}
.vx-actions .lang-switch button{
  padding:8px 7px;border:0;background:none;cursor:pointer;
  font-family:var(--ex-mono);font-size:11.5px;font-weight:500;letter-spacing:.1em;color:var(--ex-mute);
}
.vx-actions .lang-switch button[aria-pressed="true"]{color:var(--ex-ink);box-shadow:inset 0 -2px 0 var(--ex-signal);}

/* progreso de lectura */
.vx-prog{position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ex-signal);transform:scaleX(0);transform-origin:left center;}

/* ---------- CTA ---------- */
.vx-cta{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-flex;align-items:center;gap:14px;height:48px;padding:0 6px 0 24px;
  border:0;border-radius:999px;cursor:pointer;text-decoration:none;
  background:var(--ex-signal);color:#fff;
  font-family:inherit;font-size:14.5px;font-weight:700;letter-spacing:.005em;white-space:nowrap;
  box-shadow:0 10px 28px -10px rgba(59,113,182,.85), inset 0 1px 0 rgba(255,255,255,.25);
  transition:background .35s ease, box-shadow .35s ease, transform .35s var(--ex-ease);
}
.vx-cta::before{
  content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-70%;width:45%;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0));
  transform:skewX(-20deg);animation:vxShine 4.2s ease-in-out infinite;
}
.vx-cta::after{
  content:"";position:absolute;inset:0;border-radius:inherit;z-index:-2;
  background:var(--ex-ink);transform:translateY(101%);transition:transform .45s var(--ex-ease);
}
.vx-cta-a{
  display:grid;place-items:center;width:36px;height:36px;border-radius:50%;
  background:#fff;color:var(--ex-signal);transition:transform .45s var(--ex-ease), color .35s ease;
}
.vx-cta-a svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.vx-cta:hover{color:#fff;transform:translateY(-2px);box-shadow:0 16px 34px -12px rgba(13,13,16,.6);}
.vx-cta:hover::after{transform:translateY(0);}
.vx-cta:hover .vx-cta-a{transform:rotate(-45deg);color:var(--ex-ink);}
.vx-cta:active{transform:translateY(0) scale(.97);}
.vx-cta:focus-visible{outline:2px solid var(--ex-signal);outline-offset:3px;}
.vx-cta.lg{height:62px;padding:0 8px 0 32px;font-size:17px;gap:18px;}
.vx-cta.lg .vx-cta-a{width:46px;height:46px;}
.vx-cta.on-dark{box-shadow:0 0 0 0 rgba(163,190,225,.6);animation:vxRing 2.6s ease-out infinite;}
.vx-cta.on-dark::after{background:#fff;}
.vx-cta.on-dark:hover{color:var(--ex-ink);}

/* botón de envío del formulario Beta */
.form-card button[type="submit"]{
  position:relative;overflow:hidden;isolation:isolate;
  height:56px;border:0;border-radius:999px;background:var(--ex-signal);color:#fff;
  font-weight:700;font-size:15.5px;letter-spacing:.01em;cursor:pointer;
  box-shadow:0 12px 30px -12px rgba(59,113,182,.9);
  transition:background .35s ease, transform .35s var(--ex-ease), box-shadow .35s ease;
}
.form-card button[type="submit"]::before{
  content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-70%;width:40%;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.45),rgba(255,255,255,0));
  transform:skewX(-20deg);animation:vxShine 4.2s ease-in-out infinite;
}
.form-card button[type="submit"]:hover{background:var(--ex-ink);transform:translateY(-2px);box-shadow:0 16px 34px -12px rgba(13,13,16,.6);}

/* ---------- mega menú ---------- */
.vx-mega{
  position:absolute;z-index:1;left:0;right:0;top:100%;
  background:var(--ex-ink);color:#fff;
  clip-path:inset(0 0 100% 0);visibility:hidden;
  transition:clip-path .5s var(--ex-ease), visibility 0s linear .5s;
}
.vx-mega.open{clip-path:inset(0 0 0 0);visibility:visible;transition:clip-path .5s var(--ex-ease);}
.vx-mega-in{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid rgba(255,255,255,.14);}
.vx-mega[data-cols="4"] .vx-mega-in{grid-template-columns:repeat(4,minmax(0,1fr));}
.vx-m{
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;flex-direction:column;gap:10px;min-height:230px;padding:30px 28px 28px;
  color:#fff;text-decoration:none;border-left:1px solid rgba(255,255,255,.14);
  opacity:0;transform:translateY(14px);
  transition:opacity .4s ease, transform .5s var(--ex-ease);
}
.vx-m:first-child{border-left:0;}
.vx-mega.open .vx-m{opacity:1;transform:none;}
.vx-mega.open .vx-m:nth-child(2){transition-delay:.05s;}
.vx-mega.open .vx-m:nth-child(3){transition-delay:.1s;}
.vx-mega.open .vx-m:nth-child(4){transition-delay:.15s;}
.vx-mega.open .vx-m:nth-child(5){transition-delay:.2s;}
.vx-m::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--ex-signal);transform:scaleY(0);transform-origin:bottom;transition:transform .45s var(--ex-ease);}
.vx-m:hover{color:#fff;}
.vx-m:hover::before,.vx-m.is-current::before{transform:scaleY(1);}
.vx-m-n{font-family:var(--ex-mono);font-size:12px;font-weight:500;letter-spacing:.12em;color:var(--ex-signal-on-dark);}
.vx-m:hover .vx-m-n,.vx-m.is-current .vx-m-n{color:#fff;}
.vx-m b{margin-top:auto;font-family:var(--ex-serif);font-weight:400;font-size:clamp(22px,2vw,30px);line-height:1.08;letter-spacing:-0.015em;}
.vx-m-t{font-size:14px;line-height:1.5;color:rgba(255,255,255,.78);}
.vx-m:hover .vx-m-t,.vx-m.is-current .vx-m-t{color:#fff;}
.vx-m-go{position:absolute;top:26px;right:26px;font-family:var(--ex-mono);font-size:18px;transition:transform .4s var(--ex-ease);}
.vx-m:hover .vx-m-go{transform:translate(4px,-4px) rotate(-45deg);}
.vx-mega-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 28px;}
.vx-mega-foot a{font-family:var(--ex-mono);font-size:11.5px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.85);text-decoration:none;}
.vx-mega-foot a:hover{color:#fff;box-shadow:inset 0 -1px 0 #fff;}
.vx-scrim{position:fixed;inset:0;z-index:150;background:rgba(13,13,16,.35);opacity:0;pointer-events:none;transition:opacity .4s ease;}
.vx-scrim.on{opacity:1;}

/* ---------- menú móvil ---------- */
.vx-burger{
  display:none;position:relative;width:46px;height:46px;border:1px solid var(--ex-ink);border-radius:50%;
  background:none;cursor:pointer;flex:none;
}
.vx-burger span{position:absolute;left:13px;right:13px;height:1.5px;background:var(--ex-ink);transition:transform .35s var(--ex-ease), top .35s var(--ex-ease);}
.vx-burger span:nth-child(1){top:18px;}
.vx-burger span:nth-child(2){top:26px;}
.vx-burger[aria-expanded="true"]{background:var(--ex-ink);}
.vx-burger[aria-expanded="true"] span{background:#fff;top:22px;}
.vx-burger[aria-expanded="true"] span:nth-child(1){transform:rotate(45deg);}
.vx-burger[aria-expanded="true"] span:nth-child(2){transform:rotate(-45deg);}

.vx-sheet{
  position:fixed;z-index:190;left:0;right:0;top:0;bottom:0;padding:calc(var(--vx-h) + 12px) 22px 28px;
  display:flex;flex-direction:column;overflow-y:auto;background:var(--ex-ink);color:#fff;
  clip-path:circle(0 at calc(100% - 46px) 38px);visibility:hidden;
  transition:clip-path .6s var(--ex-ease), visibility 0s linear .6s;
}
.vx-sheet.open{clip-path:circle(150% at calc(100% - 46px) 38px);visibility:visible;transition:clip-path .6s var(--ex-ease);}
.vx-s-grp{border-top:1px solid rgba(255,255,255,.16);padding:18px 0;opacity:0;transform:translateY(16px);transition:opacity .4s ease, transform .5s var(--ex-ease);}
.vx-sheet.open .vx-s-grp{opacity:1;transform:none;}
.vx-sheet.open .vx-s-grp:nth-child(2){transition-delay:.08s;}
.vx-sheet.open .vx-s-grp:nth-child(3){transition-delay:.14s;}
.vx-sheet.open .vx-s-grp:nth-child(4){transition-delay:.2s;}
.vx-sheet.open .vx-s-grp:nth-child(5){transition-delay:.26s;}
.vx-s-big{display:flex;align-items:baseline;gap:14px;font-family:var(--ex-serif);font-size:36px;line-height:1.05;letter-spacing:-0.02em;color:#fff;text-decoration:none;}
.vx-s-big i{font-style:normal;font-family:var(--ex-mono);font-size:12px;letter-spacing:.1em;color:var(--ex-signal-on-dark);}
.vx-s-big:hover{color:var(--ex-signal-on-dark);}
.vx-s-sub{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;margin-top:12px;padding-left:34px;}
.vx-s-sub a{padding:7px 0;font-size:15px;color:rgba(255,255,255,.82);text-decoration:none;}
.vx-s-sub a:hover,.vx-s-sub a[aria-current="page"]{color:#fff;box-shadow:inset 0 -1px 0 var(--ex-signal-on-dark);}
.vx-s-foot{margin-top:auto;padding-top:22px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.16);}
.vx-s-foot .lang-switch{display:flex;gap:4px;background:none;border:0;padding:0;}
.vx-s-foot .lang-switch button{padding:8px 6px;border:0;background:none;cursor:pointer;font-family:var(--ex-mono);font-size:12px;letter-spacing:.1em;color:rgba(255,255,255,.6);}
.vx-s-foot .lang-switch button[aria-pressed="true"]{color:#fff;box-shadow:inset 0 -2px 0 var(--ex-signal-on-dark);}
body.vx-lock{overflow:hidden;}

@media (max-width:1180px) and (min-width:1025px){
  .vx-bar{gap:16px;padding:0 20px;}
  .vx-link{padding:0 11px;}
  .vx-actions .lang-switch{display:none;}
}
@media (max-width:1024px){
  :root{--vx-h:68px;}
  .vx-nav,.vx-actions .lang-switch,.vx-mega,.vx-scrim{display:none;}
  .vx-bar{padding:0 14px 0 20px;}
  .vx-actions{margin-left:auto;gap:10px;}
  .vx-burger{display:block;}
}
@media (max-width:480px){
  .vx-bar{padding:0 12px 0 16px;}
  .vx-brand img{height:28px;}
  .vx-actions .vx-cta{height:42px;padding:0 4px 0 14px;gap:8px;font-size:12.5px;}
  .vx-actions .vx-cta .vx-cta-a{width:32px;height:32px;}
  .vx-burger{width:42px;height:42px;}
  .vx-burger span{left:12px;right:12px;}
  .vx-burger span:nth-child(1){top:16px;}
  .vx-burger span:nth-child(2){top:24px;}
  .vx-burger[aria-expanded="true"] span{top:20px;}
  .vx-s-big{font-size:30px;}
  .vx-s-sub{grid-template-columns:minmax(0,1fr);padding-left:30px;}
}
@media (max-width:360px){
  .vx-actions .vx-cta .vx-cta-t{display:none;}
  .vx-actions .vx-cta{padding:0 4px;}
}

/* ---------- inicio: índice de módulos ---------- */
.mod-strip .mod-card .go-lbl{display:none;}

/* ---------- páginas de módulo ---------- */
.mp-hero{padding:calc(var(--vx-h) + 72px) 0 0;background:var(--ex-paper);}
.mp-crumb{display:flex;align-items:center;gap:10px;font-family:var(--ex-mono);font-size:11.5px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--ex-mute);}
.mp-crumb a{color:var(--ex-ink-2);text-decoration:none;}
.mp-crumb a:hover{color:var(--ex-signal);}
.mp-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 48px;align-items:end;margin-top:40px;padding-bottom:48px;}
.mp-head h1{
  font-family:var(--ex-serif);font-weight:400;text-transform:none;
  font-size:clamp(52px,9vw,136px);line-height:.94;letter-spacing:-0.035em;color:var(--ex-ink);
  animation:mpRise 1s var(--ex-ease) both;
}
.mp-head .mp-tag{margin-top:22px;font-family:var(--ex-serif);font-style:italic;font-size:clamp(22px,2.4vw,32px);line-height:1.2;color:var(--ex-signal);animation:mpRise 1s .12s var(--ex-ease) both;}
.mp-num{font-family:var(--ex-serif);font-size:clamp(90px,14vw,210px);line-height:.8;letter-spacing:-0.05em;color:transparent;-webkit-text-stroke:1.5px var(--ex-ink);animation:mpRise 1s .2s var(--ex-ease) both;}
.mp-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--ex-ink);border-bottom:1px solid var(--ex-ink);}
.mp-rail a{
  position:relative;display:flex;flex-direction:column;gap:6px;padding:18px 18px 20px;
  border-left:1px solid var(--ex-rule);color:var(--ex-mute);text-decoration:none;transition:color .25s ease, background .25s ease;
}
.mp-rail a:first-child{border-left:0;padding-left:0;}
.mp-rail a span{font-family:var(--ex-mono);font-size:11.5px;font-weight:500;letter-spacing:.1em;}
.mp-rail a b{font-weight:600;font-size:14.5px;line-height:1.3;}
.mp-rail a:hover{color:var(--ex-ink);}
.mp-rail a[aria-current="page"]{color:var(--ex-ink);}
.mp-rail a[aria-current="page"]::before{content:"";position:absolute;left:0;right:0;top:-1px;height:4px;background:var(--ex-signal);}
.mp-rail a[aria-current="page"] span{color:var(--ex-signal);}
.mp-page .module-block{border-top:0;padding-top:88px;}
.mp-page .module-block > .wrap > .module-head .module-tag{display:none;}
.mp-page .module-block > .wrap > .module-head h2{margin-top:0;}

.mp-pager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--ex-ink);}
.mp-pager a{
  position:relative;display:flex;flex-direction:column;gap:12px;padding:48px 40px 52px;
  color:var(--ex-ink);text-decoration:none;overflow:hidden;isolation:isolate;
}
.mp-pager a + a{border-left:1px solid var(--ex-ink);text-align:right;align-items:flex-end;}
.mp-pager a::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--ex-paper-2);transform:scaleX(0);transform-origin:left;transition:transform .5s var(--ex-ease);}
.mp-pager a + a::before{transform-origin:right;}
.mp-pager a:hover::before{transform:scaleX(1);}
.mp-pager small{font-family:var(--ex-mono);font-size:11.5px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--ex-mute);}
.mp-pager b{font-family:var(--ex-serif);font-weight:400;font-size:clamp(28px,3.6vw,52px);line-height:1;letter-spacing:-0.02em;transition:color .3s ease;}
.mp-pager a:hover b{color:var(--ex-signal);}
.mp-pager a.empty{pointer-events:none;}

.mp-cta{position:relative;overflow:hidden;background:var(--ex-ink);color:#fff;padding:110px 0;}
.mp-cta .wrap{display:grid;grid-template-columns:minmax(0,1.3fr) auto;gap:40px 64px;align-items:end;}
.mp-cta h2{font-family:var(--ex-serif);font-weight:400;text-transform:none;font-size:clamp(36px,5vw,72px);line-height:1;letter-spacing:-0.025em;color:#fff;}
.mp-cta p{margin-top:20px;max-width:560px;font-size:17px;line-height:1.65;color:rgba(255,255,255,.8);}
.mp-cta::before{
  content:"";position:absolute;right:-12%;top:-40%;width:60vw;height:60vw;border-radius:50%;
  border:1px solid rgba(163,190,225,.22);box-shadow:0 0 0 60px rgba(163,190,225,.04),0 0 0 140px rgba(163,190,225,.03);
  animation:mpOrbit 22s linear infinite;pointer-events:none;
}

@keyframes vxShine{0%,55%{left:-70%;}85%,100%{left:130%;}}
@keyframes vxRing{0%{box-shadow:0 0 0 0 rgba(163,190,225,.55);}100%{box-shadow:0 0 0 18px rgba(163,190,225,0);}}
@keyframes mpRise{from{opacity:0;transform:translateY(28px);}to{opacity:1;transform:none;}}
@keyframes mpOrbit{to{transform:rotate(360deg);}}

@media (max-width:980px){
  .mp-head{grid-template-columns:minmax(0,1fr);}
  .mp-num{order:-1;font-size:96px;}
  .mp-rail{grid-template-columns:repeat(5,minmax(150px,1fr));overflow-x:auto;scrollbar-width:none;}
  .mp-cta .wrap{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:640px){
  .mp-hero{padding-top:calc(var(--vx-h) + 40px);}
  .mp-head{margin-top:24px;padding-bottom:32px;}
  .mp-pager{grid-template-columns:minmax(0,1fr);}
  .mp-pager a{padding:32px 4px;}
  .mp-pager a + a{border-left:0;border-top:1px solid var(--ex-ink);}
  .mp-cta{padding:80px 0;}
}
@media (prefers-reduced-motion: reduce){
  .vx-cta::before,.form-card button[type="submit"]::before,.vx-cta.on-dark,.mp-cta::before{animation:none;}
  .mp-head h1,.mp-head .mp-tag,.mp-num{animation:none;}
}

/* ---------- acciones de cabecera: idioma + CTA (v2) ---------- */
.vx-actions{gap:12px;}
.vx-actions .lang-switch{
  position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;
  height:40px;padding:4px;gap:0;border-radius:999px;
  background:rgba(13,13,16,.05);box-shadow:inset 0 0 0 1px rgba(13,13,16,.1);
}
.vx-actions .lang-switch::before{
  content:"";position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:999px;
  background:var(--ex-ink);box-shadow:0 4px 10px -4px rgba(13,13,16,.5);
  transition:transform .4s var(--ex-ease);
}
.vx-actions .lang-switch:has([data-lang="en"][aria-pressed="true"])::before{transform:translateX(100%);}
.vx-actions .lang-switch button,
.vx-actions .lang-switch button[aria-pressed="true"]{
  position:relative;z-index:1;width:38px;height:32px;padding:0;border-radius:999px;box-shadow:none;
  font-family:var(--ex-mono);font-size:11px;font-weight:600;letter-spacing:.08em;
  color:var(--ex-mute);transition:color .3s ease;
}
.vx-actions .lang-switch button[aria-pressed="true"]{color:#fff;}
.vx-actions .lang-switch button:not([aria-pressed="true"]):hover{color:var(--ex-ink);}

.vx-actions .vx-cta{
  height:44px;padding:0 5px 0 20px;gap:12px;font-size:13.5px;font-weight:600;letter-spacing:.01em;
  background:linear-gradient(180deg,#4A80C4 0%,var(--ex-signal) 100%);
  box-shadow:0 0 0 1px rgba(44,84,135,.35), 0 8px 20px -10px rgba(59,113,182,.9), inset 0 1px 0 rgba(255,255,255,.28);
}
.vx-actions .vx-cta .vx-cta-t{display:inline-flex;align-items:center;gap:10px;}
.vx-actions .vx-cta .vx-cta-t::before{
  content:"";width:7px;height:7px;border-radius:50%;background:#B9F5D0;
  box-shadow:0 0 0 0 rgba(185,245,208,.7);animation:vxLive 2s ease-out infinite;
}
.vx-actions .vx-cta .vx-cta-a{width:34px;height:34px;background:rgba(255,255,255,.18);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);}
.vx-actions .vx-cta:hover{transform:translateY(-1px);box-shadow:0 0 0 1px var(--ex-ink), 0 12px 26px -12px rgba(13,13,16,.7);}
.vx-actions .vx-cta:hover .vx-cta-a{background:#fff;color:var(--ex-ink);transform:rotate(-45deg);}
@keyframes vxLive{0%{box-shadow:0 0 0 0 rgba(185,245,208,.7);}100%{box-shadow:0 0 0 7px rgba(185,245,208,0);}}
@media (max-width:480px){
  .vx-actions .vx-cta{height:40px;padding:0 4px 0 14px;gap:8px;font-size:12.5px;}
  .vx-actions .vx-cta .vx-cta-t::before{display:none;}
  .vx-actions .vx-cta .vx-cta-a{width:32px;height:32px;}
}
@media (prefers-reduced-motion: reduce){.vx-actions .vx-cta .vx-cta-t::before{animation:none;}}

/* ---------- menú principal en negro ---------- */
.vx-bar,header.vx.scrolled .vx-bar,header.vx.mega-open .vx-bar{background:rgba(0,0,0,.92);border-bottom-color:rgba(255,255,255,.12);}
.vx-brand img{filter:brightness(0) invert(1);}
.vx-link{color:rgba(255,255,255,.72);}
.vx-link:hover,.vx-link[aria-expanded="true"],.vx-link.is-current{color:#fff;}
.vx-link.is-current::after{background:var(--ex-signal-on-dark);}
.vx-ind{background:rgba(255,255,255,.1);}
.vx-mega{border-top:1px solid rgba(255,255,255,.12);}
.vx-actions .lang-switch{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);}
.vx-actions .lang-switch::before{background:#fff;box-shadow:none;}
.vx-actions .lang-switch button,.vx-actions .lang-switch button[aria-pressed="true"]{color:rgba(255,255,255,.65);}
.vx-actions .lang-switch button[aria-pressed="true"]{color:#000;}
.vx-actions .lang-switch button:not([aria-pressed="true"]):hover{color:#fff;}
.vx-actions .vx-cta:hover{box-shadow:0 0 0 1px #fff, 0 12px 26px -12px rgba(0,0,0,.8);}
.vx-actions .vx-cta::after{background:#fff;}
.vx-actions .vx-cta:hover{color:#000;}
.vx-actions .vx-cta:hover .vx-cta-a{background:var(--ex-signal);color:#fff;}
.vx-burger{border-color:rgba(255,255,255,.6);}
.vx-burger span{background:#fff;}
.vx-burger[aria-expanded="true"]{background:#fff;}
.vx-burger[aria-expanded="true"] span{background:#000;}

/* =========================================================
   BOTONES UNIFICADOS — estilo glass
   primario: vidrio azul · secundario: vidrio neutro
   ========================================================= */
.vx-cta.vx-cta.vx-cta,
.abtn.abtn.abtn,
.btn.btn-primary.btn-primary,
.form-card.form-card button[type="submit"],
.ct-form.ct-form button[type="submit"]{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  height:52px;padding:0 8px 0 24px;border:0;border-radius:999px;
  font-family:inherit;font-size:15px;font-weight:600;letter-spacing:.01em;line-height:1;white-space:nowrap;
  color:#fff;cursor:pointer;text-decoration:none;
  background:linear-gradient(135deg,rgba(130,170,222,.9) 0%,rgba(66,121,192,.88) 50%,rgba(44,84,135,.9) 100%);
  -webkit-backdrop-filter:blur(16px) saturate(1.7);backdrop-filter:blur(16px) saturate(1.7);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.32),
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -10px 18px -10px rgba(10,20,40,.45),
    0 12px 32px -14px rgba(59,113,182,.95);
  transform:none;scale:1;
  transition:transform .4s var(--ex-ease), box-shadow .4s ease, background .4s ease;
}
/* reflejo superior */
.vx-cta.vx-cta.vx-cta::after,
.abtn.abtn.abtn::after,
.btn.btn-primary.btn-primary::after,
.btn.btn-outline.btn-outline::after,
.form-card.form-card button[type="submit"]::after,
.ct-form.ct-form button[type="submit"]::after{
  content:"";display:block;position:absolute;z-index:-1;left:6%;right:6%;top:2px;height:46%;
  border-radius:999px;transform:none;
  background:linear-gradient(to bottom,rgba(255,255,255,.38),rgba(255,255,255,0));
  pointer-events:none;transition:opacity .4s ease;
}
/* barrido de brillo */
.vx-cta.vx-cta.vx-cta::before,
.abtn.abtn.abtn::before,
.btn.btn-primary.btn-primary::before,
.form-card.form-card button[type="submit"]::before,
.ct-form.ct-form button[type="submit"]::before{
  content:"";display:block;position:absolute;z-index:-1;top:0;bottom:0;left:-70%;width:40%;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.45),rgba(255,255,255,0));
  transform:skewX(-20deg);animation:vxShine 5s ease-in-out infinite;
}
.vx-cta.vx-cta.vx-cta:hover,
.abtn.abtn.abtn:hover,
.btn.btn-primary.btn-primary:hover,
.form-card.form-card button[type="submit"]:hover,
.ct-form.ct-form button[type="submit"]:hover{
  color:#fff;border-radius:999px;transform:translateY(-2px);
  background:linear-gradient(135deg,rgba(140,176,222,.7) 0%,rgba(74,128,196,.85) 55%,rgba(59,113,182,.9) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.5),
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -10px 18px -10px rgba(10,20,40,.4),
    0 18px 40px -14px rgba(59,113,182,1),
    0 0 0 6px rgba(113,155,209,.16);
}
.vx-cta.vx-cta.vx-cta:active,
.abtn.abtn.abtn:active,
.btn.btn-primary.btn-primary:active{transform:translateY(0) scale(.97);}

/* círculo de flecha en vidrio */
.vx-cta.vx-cta.vx-cta .vx-cta-a{
  width:38px;height:38px;border-radius:50%;color:#fff;background:rgba(255,255,255,.18);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4), inset 0 1px 0 rgba(255,255,255,.5);
  transition:transform .45s var(--ex-ease), background .3s ease, color .3s ease;
}
.vx-cta.vx-cta.vx-cta:hover .vx-cta-a{background:#fff;color:var(--ex-signal);transform:rotate(-45deg);}

/* botones del hero: misma pieza */
.abtn.abtn.abtn .circle,.abtn.abtn.abtn .arr-2{display:none;}
.abtn.abtn.abtn .text{transform:none;}
.abtn.abtn.abtn svg.arr-1,.abtn.abtn.abtn svg:last-of-type{
  position:static;width:38px;height:38px;padding:11px;box-sizing:border-box;border-radius:50%;
  fill:#fff;background:rgba(255,255,255,.18);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);
  transition:transform .45s var(--ex-ease), background .3s ease, fill .3s ease;
}
.abtn.abtn.abtn .arr-2 + .text{order:0;}
.abtn.abtn.abtn:hover svg{fill:var(--ex-signal);background:#fff;transform:rotate(-45deg);}
.btn.btn-primary.btn-primary{padding:0 28px;}

/* secundario: vidrio neutro (oscuro por defecto) */
.abtn.abtn-ghost.abtn-ghost,
.btn.btn-outline.btn-outline{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  height:52px;padding:0 8px 0 24px;border:0;border-radius:999px;
  font-family:inherit;font-size:15px;font-weight:600;color:#fff;text-decoration:none;
  background:rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.26), inset 0 1px 0 rgba(255,255,255,.3), 0 10px 26px -16px rgba(0,0,0,.8);
}
.abtn.abtn-ghost.abtn-ghost::before{display:none;}
.abtn.abtn-ghost.abtn-ghost:hover,
.btn.btn-outline.btn-outline:hover{
  color:#fff;transform:translateY(-2px);background:rgba(255,255,255,.16);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.5), inset 0 1px 0 rgba(255,255,255,.45), 0 16px 32px -16px rgba(0,0,0,.9);
}
.abtn.abtn-ghost.abtn-ghost svg{fill:#fff;background:rgba(255,255,255,.12);}
.abtn.abtn-ghost.abtn-ghost:hover svg{fill:#000;background:#fff;}
.btn.btn-outline.btn-outline{padding:0 28px;}

/* secundario sobre fondos claros */
.ab-sec .btn.btn-outline.btn-outline,
.ab-hero .btn.btn-outline.btn-outline,
.purpose .btn.btn-outline.btn-outline,
.module-block .btn.btn-outline.btn-outline,
.legal-page .btn.btn-outline.btn-outline,
main:not(.mp-page) > section:not(.hero):not(.hero-band):not(.cta-section) .btn.btn-outline.btn-outline{
  color:var(--ex-ink);background:rgba(13,13,16,.04);
  box-shadow:inset 0 0 0 1px rgba(13,13,16,.18), inset 0 1px 0 rgba(255,255,255,.9), 0 10px 24px -18px rgba(13,13,16,.6);
}
.ab-sec .btn.btn-outline.btn-outline:hover,
.ab-hero .btn.btn-outline.btn-outline:hover,
.purpose .btn.btn-outline.btn-outline:hover,
.module-block .btn.btn-outline.btn-outline:hover,
main:not(.mp-page) > section:not(.hero):not(.hero-band):not(.cta-section) .btn.btn-outline.btn-outline:hover{
  color:var(--ex-ink);background:rgba(59,113,182,.1);
  box-shadow:inset 0 0 0 1px rgba(59,113,182,.5), inset 0 1px 0 #fff, 0 14px 28px -16px rgba(59,113,182,.7);
}

/* formularios: botón a todo el ancho */
.form-card.form-card button[type="submit"],
.ct-form.ct-form button[type="submit"]{width:100%;height:56px;padding:0 24px;}

/* tamaños */
.vx-actions .vx-cta.vx-cta.vx-cta{height:44px;padding:0 5px 0 20px;font-size:13.5px;}
.vx-actions .vx-cta.vx-cta.vx-cta .vx-cta-a{width:34px;height:34px;}
.vx-cta.lg.lg.lg{height:62px;padding:0 8px 0 32px;font-size:17px;gap:18px;}
.vx-cta.lg.lg.lg .vx-cta-a{width:46px;height:46px;}
.vx-cta.on-dark.on-dark{animation:vxRing 2.6s ease-out infinite;}
@media (max-width:480px){
  .vx-actions .vx-cta.vx-cta.vx-cta{height:40px;padding:0 4px 0 14px;font-size:12.5px;gap:8px;}
  .vx-actions .vx-cta.vx-cta.vx-cta .vx-cta-a{width:32px;height:32px;}
  .abtn.abtn.abtn{height:50px;font-size:14.5px;padding-left:20px;}
}
@media (prefers-reduced-motion: reduce){
  .vx-cta.vx-cta.vx-cta::before,.abtn.abtn.abtn::before,.btn.btn-primary.btn-primary::before,
  .form-card.form-card button[type="submit"]::before,.ct-form.ct-form button[type="submit"]::before,
  .vx-cta.on-dark.on-dark{animation:none;}
}

/* =========================================================
   BOTONES MINIMALISTAS (sustituye al estilo glass)
   ========================================================= */
.vx-cta.vx-cta.vx-cta,
.abtn.abtn.abtn,
.btn.btn-primary.btn-primary,
.form-card.form-card button[type="submit"],
.ct-form.ct-form button[type="submit"]{
  height:48px;padding:0 22px;gap:14px;border-radius:999px;
  font-size:14.5px;font-weight:600;letter-spacing:.005em;
  color:#fff;background:var(--ex-signal);
  -webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:none;animation:none;
  transition:background .25s ease, color .25s ease, box-shadow .25s ease;
}
.vx-cta.vx-cta.vx-cta::before,.vx-cta.vx-cta.vx-cta::after,
.abtn.abtn.abtn::before,.abtn.abtn.abtn::after,
.btn.btn-primary.btn-primary::before,.btn.btn-primary.btn-primary::after,
.btn.btn-outline.btn-outline::after,
.form-card.form-card button[type="submit"]::before,.form-card.form-card button[type="submit"]::after,
.ct-form.ct-form button[type="submit"]::before,.ct-form.ct-form button[type="submit"]::after{display:none;}
.vx-cta.vx-cta.vx-cta:hover,
.abtn.abtn.abtn:hover,
.btn.btn-primary.btn-primary:hover,
.form-card.form-card button[type="submit"]:hover,
.ct-form.ct-form button[type="submit"]:hover{
  color:#fff;background:#2C5487;transform:none;box-shadow:none;
}
.vx-cta.vx-cta.vx-cta:active,.abtn.abtn.abtn:active,.btn.btn-primary.btn-primary:active{transform:scale(.98);}
.vx-cta.vx-cta.vx-cta:focus-visible,.abtn.abtn.abtn:focus-visible,.btn:focus-visible{outline:2px solid var(--ex-signal-on-dark);outline-offset:3px;}

/* flecha: sin círculo, se desplaza al pasar el cursor */
.vx-cta.vx-cta.vx-cta .vx-cta-a,
.abtn.abtn.abtn svg.arr-1{
  width:16px;height:16px;padding:0;background:none;box-shadow:none;border-radius:0;color:#fff;fill:#fff;
  transform:none;transition:transform .3s var(--ex-ease);
}
.vx-cta.vx-cta.vx-cta .vx-cta-a svg{width:16px;height:16px;}
.vx-cta.vx-cta.vx-cta:hover .vx-cta-a,
.abtn.abtn.abtn:hover svg.arr-1{background:none;color:#fff;fill:#fff;transform:translateX(4px);}
.vx-actions .vx-cta.vx-cta.vx-cta .vx-cta-t::before{display:none;}

/* secundario: solo contorno */
.abtn.abtn-ghost.abtn-ghost,
.btn.btn-outline.btn-outline{
  height:48px;padding:0 22px;color:#fff;background:transparent;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);
}
.abtn.abtn-ghost.abtn-ghost:hover,
.btn.btn-outline.btn-outline:hover{color:#000;background:#fff;transform:none;box-shadow:inset 0 0 0 1px #fff;}
.abtn.abtn-ghost.abtn-ghost svg{fill:#fff;background:none;}
.abtn.abtn-ghost.abtn-ghost:hover svg{fill:#000;background:none;}
.ab-sec .btn.btn-outline.btn-outline,
.ab-hero .btn.btn-outline.btn-outline,
.purpose .btn.btn-outline.btn-outline,
.module-block .btn.btn-outline.btn-outline,
.legal-page .btn.btn-outline.btn-outline,
main:not(.mp-page) > section:not(.hero):not(.hero-band):not(.cta-section) .btn.btn-outline.btn-outline{
  color:var(--ex-ink);background:transparent;box-shadow:inset 0 0 0 1px var(--ex-ink);
}
.ab-sec .btn.btn-outline.btn-outline:hover,
.ab-hero .btn.btn-outline.btn-outline:hover,
.purpose .btn.btn-outline.btn-outline:hover,
.module-block .btn.btn-outline.btn-outline:hover,
main:not(.mp-page) > section:not(.hero):not(.hero-band):not(.cta-section) .btn.btn-outline.btn-outline:hover{
  color:#fff;background:var(--ex-ink);box-shadow:inset 0 0 0 1px var(--ex-ink);
}

/* tamaños */
.vx-actions .vx-cta.vx-cta.vx-cta{height:40px;padding:0 18px;font-size:13px;gap:10px;}
.vx-cta.lg.lg.lg{height:56px;padding:0 28px;font-size:16px;gap:16px;}
.vx-cta.lg.lg.lg .vx-cta-a{width:18px;height:18px;}
.vx-cta.on-dark.on-dark{animation:none;box-shadow:none;}
.form-card.form-card button[type="submit"],.ct-form.ct-form button[type="submit"]{height:52px;}
@media (max-width:480px){
  .vx-actions .vx-cta.vx-cta.vx-cta{height:38px;padding:0 14px;font-size:12.5px;gap:8px;}
  .abtn.abtn.abtn{height:48px;padding:0 20px;}
}

/* botones cuadrados, relleno transparente */
.vx-cta.vx-cta.vx-cta,
.abtn.abtn.abtn,
.btn.btn-primary.btn-primary,
.abtn.abtn-ghost.abtn-ghost,
.btn.btn-outline.btn-outline,
.form-card.form-card button[type="submit"],
.ct-form.ct-form button[type="submit"]{
  border-radius:0;background:transparent;
  color:var(--ex-signal-on-dark);box-shadow:inset 0 0 0 1.5px var(--ex-signal-on-dark);
}
.vx-cta.vx-cta.vx-cta:hover,
.abtn.abtn.abtn:hover,
.btn.btn-primary.btn-primary:hover,
.abtn.abtn-ghost.abtn-ghost:hover,
.btn.btn-outline.btn-outline:hover,
.form-card.form-card button[type="submit"]:hover,
.ct-form.ct-form button[type="submit"]:hover{
  border-radius:0;background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px #fff;
}
.vx-cta.vx-cta.vx-cta .vx-cta-a,.abtn.abtn.abtn svg.arr-1{color:currentColor;fill:currentColor;}
.vx-cta.vx-cta.vx-cta:hover .vx-cta-a{color:#fff;transform:translateX(5px) rotate(-45deg);}
.abtn.abtn.abtn:hover svg.arr-1{fill:#fff;transform:translateX(5px) rotate(-45deg);}
.abtn.abtn-ghost.abtn-ghost{color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.45);}
.abtn.abtn-ghost.abtn-ghost svg{fill:#fff;}
.abtn.abtn-ghost.abtn-ghost:hover svg{fill:#fff;}
/* sobre fondos claros */
.form-card.form-card button[type="submit"],
.ct-form.ct-form button[type="submit"],
.ab-sec .btn.btn-primary.btn-primary,
.ab-hero .btn.btn-primary.btn-primary,
.module-block .btn.btn-primary.btn-primary,
main:not(.mp-page) > section:not(.hero):not(.hero-band):not(.cta-section) .btn.btn-primary.btn-primary{
  color:var(--ex-signal);box-shadow:inset 0 0 0 1.5px var(--ex-signal);
}
.form-card.form-card button[type="submit"]:hover,
.ct-form.ct-form button[type="submit"]:hover,
.ab-sec .btn.btn-primary.btn-primary:hover,
.ab-hero .btn.btn-primary.btn-primary:hover,
.module-block .btn.btn-primary.btn-primary:hover,
main:not(.mp-page) > section:not(.hero):not(.hero-band):not(.cta-section) .btn.btn-primary.btn-primary:hover{
  color:var(--ex-ink);box-shadow:inset 0 0 0 1.5px var(--ex-ink);
}
.ab-sec .btn.btn-outline.btn-outline,
.ab-hero .btn.btn-outline.btn-outline,
.purpose .btn.btn-outline.btn-outline,
.module-block .btn.btn-outline.btn-outline,
.legal-page .btn.btn-outline.btn-outline,
main:not(.mp-page) > section:not(.hero):not(.hero-band):not(.cta-section) .btn.btn-outline.btn-outline,
.ab-sec .btn.btn-outline.btn-outline:hover,
.ab-hero .btn.btn-outline.btn-outline:hover,
.purpose .btn.btn-outline.btn-outline:hover,
.module-block .btn.btn-outline.btn-outline:hover,
main:not(.mp-page) > section:not(.hero):not(.hero-band):not(.cta-section) .btn.btn-outline.btn-outline:hover{
  color:var(--ex-ink);background:transparent;box-shadow:inset 0 0 0 1.5px var(--ex-ink);
}

/* selector de idioma con el estilo del CTA: cuadrado, contorno, sin relleno */
.lang-switch.lang-switch{
  display:inline-flex;align-items:stretch;gap:0;padding:0;height:40px;border:0;border-radius:0;
  background:transparent;box-shadow:inset 0 0 0 1.5px var(--ex-signal-on-dark);
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
.lang-switch.lang-switch button{
  min-width:42px;height:auto;padding:0 12px;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;
  font-family:var(--ex-mono);font-size:12px;font-weight:600;letter-spacing:.12em;color:var(--ex-signal-on-dark);
  transition:color .25s ease, background .25s ease;
}
.lang-switch.lang-switch button + button{box-shadow:inset 1.5px 0 0 var(--ex-signal-on-dark);}
.lang-switch.lang-switch button:hover{color:#fff;background:transparent;}
.lang-switch.lang-switch button[aria-pressed="true"]{color:#fff;background:rgba(163,190,225,.16);box-shadow:none;}
.lang-switch.lang-switch button + button[aria-pressed="true"]{box-shadow:inset 1.5px 0 0 var(--ex-signal-on-dark);}
.lang-switch.lang-switch button:focus-visible{outline:2px solid var(--ex-signal-on-dark);outline-offset:2px;}
@media (max-width:480px){ .lang-switch.lang-switch{height:38px;} .lang-switch.lang-switch button{min-width:36px;padding:0 9px;} }
.vx-actions .lang-switch.lang-switch::before,.lang-switch.lang-switch::before{content:none;display:none;}
.vx-actions .lang-switch.lang-switch{background:transparent;box-shadow:inset 0 0 0 1.5px var(--ex-signal-on-dark);}
.vx-actions .lang-switch.lang-switch button{width:auto;height:auto;border-radius:0;color:var(--ex-signal-on-dark);}
.vx-actions .lang-switch.lang-switch button[aria-pressed="true"]{color:#fff;}
.vx-actions .lang-switch.lang-switch button:not([aria-pressed="true"]):hover{color:#fff;}

/* =========================================================
   SELECTOR DE IDIOMA v3 — segmentado con indicador deslizante
   ========================================================= */
.lang-switch.lang-switch.lang-switch{
  position:relative;display:inline-grid;grid-template-columns:1fr 1fr;align-items:stretch;
  height:40px;padding:0;gap:0;border:0;border-radius:0;background:transparent;
  box-shadow:inset 0 0 0 1px rgba(163,190,225,.45);
  transition:box-shadow .3s ease;
}
.lang-switch.lang-switch.lang-switch:hover{box-shadow:inset 0 0 0 1px var(--ex-signal-on-dark);}
.lang-switch.lang-switch.lang-switch::before{
  content:"";display:block;position:absolute;z-index:0;top:0;bottom:0;left:0;width:50%;
  background:rgba(163,190,225,.14);box-shadow:inset 0 0 0 1px var(--ex-signal-on-dark), inset 0 -2px 0 var(--ex-signal-on-dark);
  transform:translateX(0);transition:transform .45s var(--ex-ease);
}
.lang-switch.lang-switch.lang-switch:has([data-lang="en"][aria-pressed="true"])::before{transform:translateX(100%);}
.lang-switch.lang-switch.lang-switch button,
.lang-switch.lang-switch.lang-switch button + button,
.lang-switch.lang-switch.lang-switch button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch button + button[aria-pressed="true"]{
  position:relative;z-index:1;width:44px;min-width:0;height:auto;padding:0;border:0;border-radius:0;
  background:transparent;box-shadow:none;cursor:pointer;
  font-family:var(--ex-mono);font-size:11.5px;font-weight:600;letter-spacing:.14em;text-indent:.14em;
  color:rgba(163,190,225,.6);transition:color .3s ease;
}
.lang-switch.lang-switch.lang-switch button:hover{color:#fff;background:transparent;}
.lang-switch.lang-switch.lang-switch button[aria-pressed="true"]{color:#fff;}
.lang-switch.lang-switch.lang-switch button:focus-visible{outline:2px solid var(--ex-signal-on-dark);outline-offset:-4px;}

/* en el panel móvil: más grande y a todo el ancho */
.vx-s-foot .lang-switch.lang-switch.lang-switch{height:48px;}
.vx-s-foot .lang-switch.lang-switch.lang-switch button{width:64px;font-size:12.5px;}

/* =========================================================
   MENÚ PRINCIPAL — responsive
   ========================================================= */
/* hamburguesa cuadrada, a juego con los botones */
.vx-burger,.vx-burger[aria-expanded="true"]{border-radius:0;width:40px;height:40px;border:0;box-shadow:inset 0 0 0 1px rgba(163,190,225,.45);background:transparent;transition:box-shadow .3s ease, background .3s ease;}
.vx-burger:hover{box-shadow:inset 0 0 0 1px var(--ex-signal-on-dark);}
.vx-burger span{left:11px;right:11px;background:#fff;}
.vx-burger span:nth-child(1){top:15px;}
.vx-burger span:nth-child(2){top:23px;}
.vx-burger[aria-expanded="true"]{background:rgba(163,190,225,.14);box-shadow:inset 0 0 0 1px var(--ex-signal-on-dark);}
.vx-burger[aria-expanded="true"] span{top:19px;background:#fff;}

/* escritorio estrecho: el idioma sigue visible, el menú se compacta */
@media (max-width:1180px) and (min-width:1025px){
  .vx-actions .lang-switch.lang-switch.lang-switch{display:inline-grid;}
  .vx-actions .lang-switch.lang-switch.lang-switch button{width:38px;}
  .vx-link{padding:0 9px;}
  .vx-actions{gap:10px;}
}
/* tablet y móvil */
@media (max-width:1024px){
  .vx-actions .lang-switch.lang-switch.lang-switch{display:none;}
  .vx-actions{gap:8px;}
  .vx-sheet{padding:calc(var(--vx-h) + 8px) 24px calc(24px + env(safe-area-inset-bottom));clip-path:circle(0 at calc(100% - 34px) 34px);}
  .vx-sheet.open{clip-path:circle(150% at calc(100% - 34px) 34px);}
  .vx-s-grp{padding:16px 0;}
  .vx-s-big{font-size:clamp(28px,6vw,40px);}
  .vx-s-big i{min-width:22px;}
  .vx-s-sub{padding-left:36px;gap:0 20px;}
  .vx-s-sub a{padding:10px 0;font-size:15px;}
  .vx-s-foot{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding-top:20px;}
  .vx-s-foot .vx-cta.vx-cta.vx-cta{width:100%;height:48px;justify-content:space-between;}
}
@media (max-width:480px){
  .vx-bar{padding:0 12px 0 16px;}
  .vx-brand img{height:26px;}
  .vx-actions .vx-cta.vx-cta.vx-cta{height:40px;padding:0 12px;font-size:12px;gap:8px;}
  .vx-s-sub{grid-template-columns:minmax(0,1fr);padding-left:36px;}
  .vx-s-foot{grid-template-columns:minmax(0,1fr);}
  .vx-s-foot .lang-switch.lang-switch.lang-switch{width:100%;}
  .vx-s-foot .lang-switch.lang-switch.lang-switch button{width:auto;}
}
/* pantallas muy estrechas: el CTA vive en el panel */
@media (max-width:400px){
  .vx-actions .vx-cta.vx-cta.vx-cta{display:none;}
}
@media (prefers-reduced-motion: reduce){
  .lang-switch.lang-switch.lang-switch::before{transition:none;}
}

/* =========================================================
   SELECTOR DE IDIOMA v4 — solo el activo; al pasar el cursor
   se despliega a la izquierda con las demás opciones
   ========================================================= */
.lang-switch.lang-switch.lang-switch{
  display:inline-flex;flex-direction:row-reverse;align-items:stretch;
  height:40px;padding:0;gap:0;overflow:hidden;
  box-shadow:inset 0 0 0 1px rgba(163,190,225,.5);
  transition:box-shadow .3s ease, background .3s ease;
}
.lang-switch.lang-switch.lang-switch::before{content:none;display:none;}
.lang-switch.lang-switch.lang-switch button,
.lang-switch.lang-switch.lang-switch button + button{
  flex:none;width:auto;max-width:0;padding:0;opacity:0;overflow:hidden;white-space:nowrap;
  box-shadow:none;color:rgba(163,190,225,.75);
  transition:max-width .45s var(--ex-ease), padding .45s var(--ex-ease), opacity .25s ease, color .25s ease;
}
.lang-switch.lang-switch.lang-switch button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch button + button[aria-pressed="true"]{
  order:-1;max-width:80px;padding:0 12px 0 14px;opacity:1;color:#fff;
  display:inline-flex;align-items:center;gap:8px;
}
.lang-switch.lang-switch.lang-switch button[aria-pressed="true"]::after{
  content:"";width:5px;height:5px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);opacity:.7;transition:transform .35s var(--ex-ease);
}
.lang-switch.lang-switch.lang-switch:hover,
.lang-switch.lang-switch.lang-switch:focus-within{box-shadow:inset 0 0 0 1px var(--ex-signal-on-dark);background:rgba(163,190,225,.08);}
.lang-switch.lang-switch.lang-switch:hover button,
.lang-switch.lang-switch.lang-switch:focus-within button{max-width:80px;padding:0 12px;opacity:1;}
.lang-switch.lang-switch.lang-switch:hover button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch:focus-within button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch:hover button + button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch:focus-within button + button[aria-pressed="true"]{
  padding:0 12px 0 14px;box-shadow:inset 1px 0 0 rgba(163,190,225,.35);background:rgba(163,190,225,.14);
}
.lang-switch.lang-switch.lang-switch:hover button[aria-pressed="true"]::after,
.lang-switch.lang-switch.lang-switch:focus-within button[aria-pressed="true"]::after{transform:rotate(-135deg) translate(-1px,-1px);}
.lang-switch.lang-switch.lang-switch button:not([aria-pressed="true"]):hover{color:#fff;}
.vx-s-foot .lang-switch.lang-switch.lang-switch{height:48px;width:auto;}
.vx-s-foot .lang-switch.lang-switch.lang-switch button{width:auto;font-size:12.5px;}
@media (max-width:480px){ .vx-s-foot .lang-switch.lang-switch.lang-switch{width:auto;justify-self:start;} }
@media (prefers-reduced-motion: reduce){ .lang-switch.lang-switch.lang-switch button{transition:none;} }

/* =========================================================
   SELECTOR DE IDIOMA v5 — solo texto "ES  EN", sin efectos
   ========================================================= */
.lang-switch.lang-switch.lang-switch,
.lang-switch.lang-switch.lang-switch:hover,
.lang-switch.lang-switch.lang-switch:focus-within{
  display:inline-flex;flex-direction:row;align-items:center;gap:14px;
  height:auto;width:auto;padding:0;overflow:visible;background:none;box-shadow:none;border:0;
}
.lang-switch.lang-switch.lang-switch::before{content:none;display:none;}
.lang-switch.lang-switch.lang-switch button,
.lang-switch.lang-switch.lang-switch button + button,
.lang-switch.lang-switch.lang-switch button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch button + button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch:hover button,
.lang-switch.lang-switch.lang-switch:focus-within button,
.lang-switch.lang-switch.lang-switch:hover button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch:focus-within button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch:hover button + button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch:focus-within button + button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch button:hover{
  order:0;display:inline;width:auto;max-width:none;min-width:0;height:auto;padding:6px 0;opacity:1;
  border:0;border-radius:0;background:none;box-shadow:none;transform:none;transition:none;cursor:pointer;
  font-family:var(--ex-mono);font-size:12px;font-weight:500;letter-spacing:.12em;text-indent:0;
  color:rgba(255,255,255,.5);
}
.lang-switch.lang-switch.lang-switch button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch button + button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch:hover button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch:focus-within button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch:hover button + button[aria-pressed="true"],
.lang-switch.lang-switch.lang-switch:focus-within button + button[aria-pressed="true"]{color:#fff;font-weight:600;}
.lang-switch.lang-switch.lang-switch button::after,
.lang-switch.lang-switch.lang-switch button[aria-pressed="true"]::after{content:none;display:none;}
.lang-switch.lang-switch.lang-switch button:focus-visible{outline:1px solid var(--ex-signal-on-dark);outline-offset:4px;}
.vx-s-foot .lang-switch.lang-switch.lang-switch button{font-size:13px;}
