/* Versatio · versatio.ai — Direction A "Cinematic mesh"
   Dark navy stage, lavender network mesh behind the whole page, Poppins headings + Inter text.
   Everything is visible without JS; hidden-before-reveal states only apply under html.js. */

/* ------------------------------------------------------------------ fonts (self-hosted, Latin subset, see README) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-300.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 300; font-display: swap; src: url("fonts/poppins-300-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* metric-matched fallbacks: the brief swap from system font to web font barely moves the layout */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 114%; ascent-override: 92%; descent-override: 30.7%; line-gap-override: 8.8%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 107.5%; ascent-override: 90.1%; descent-override: 22.5%; line-gap-override: 0%; }

:root {
  --navy: #012558;
  --navy-deep: #010f2e;
  --navy-mid: #011e50;
  --navy-glow: #014178;
  --lav: #c191ff;
  --green: #409576;
  --fg: #fff;
  --fg-2: rgba(255, 255, 255, .78);
  --fg-3: rgba(255, 255, 255, .66);
  --hair: rgba(255, 255, 255, .12);
  --hair-lav: rgba(193, 145, 255, .24);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4.4vw, 56px);
  --max: 1280px;
  --hdr-h: 72px;
  --f-display: "Poppins", "Poppins Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-text: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--navy-deep);
  color: var(--fg);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* browsers without overflow:clip (Safari < 16, Chrome < 90): body's hidden overflow goes to the viewport,
   so sticky elements keep working; the wide hero glow is dropped there */
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
  .hero-mark::before { display: none; }
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; }
p, dd, li { text-wrap: pretty; }
.eyebrow, .fact-label, .node-cat, .dl-facts dt { text-wrap: balance; }
main:focus { outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.brand { text-transform: uppercase; letter-spacing: .05em; font-size: .93em; }
em[lang="la"] { font-style: italic; }

.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  padding: 12px 18px; border-radius: 12px;
  background: #fff; color: var(--navy); font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ stage (fixed background) */
.stage {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 30%, var(--navy-glow) 0%, var(--navy-mid) 42%, var(--navy-deep) 100%);
}
.stage-glow {
  position: absolute; left: 38%; top: -42vmax; width: 120vmax; height: 120vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(1, 65, 120, .95), rgba(1, 65, 120, .45) 45%, rgba(1, 65, 120, 0) 72%);
  will-change: transform;
}
.stage-glow::after {
  content: ""; position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(193, 145, 255, .10), rgba(193, 145, 255, 0));
}
.stage::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 75% at 50% 45%, transparent 50%, rgba(1, 8, 26, .6) 100%);
}
#mesh { position: absolute; inset: 0; width: 100%; height: 100%; }
.page, .ftr { position: relative; z-index: 1; overflow-x: clip; }

/* ------------------------------------------------------------------ header */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hdr-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.hdr.is-solid {
  background: rgba(1, 15, 46, .74);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--hair);
}
.hdr-in { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.hdr-logo { flex: none; display: flex; align-items: center; gap: 11px; padding: 8px 0; border-radius: 6px; color: #fff; }
.hdr-iso { width: 22px; height: 22px; flex: none; }
.hdr-logo img { height: 16px; width: auto; }
.hdr-nav { margin-left: auto; }
.hdr-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.hdr-nav a {
  position: relative; display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--fg-2); text-decoration: none; white-space: nowrap;
  transition: color .2s;
}
/* current-section indicator */
.hdr-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px; border-radius: 2px;
  background: var(--lav); box-shadow: 0 0 10px rgba(193, 145, 255, .7);
  transform: scaleX(0); transform-origin: left center; transition: transform .35s var(--ease);
}
.hdr-nav a:hover, .hdr-nav a.is-active { color: #fff; }
.hdr-nav a:hover::after { transform: scaleX(.35); }
.hdr-nav a.is-active::after { transform: scaleX(1); }
@media (min-width: 1024px) and (max-width: 1199px) {
  .hdr-in { gap: 16px; }
  .hdr-nav a { padding: 10px 8px; font-size: 13.5px; }
  .hdr-nav a::after { left: 8px; right: 8px; }
  .hdr-end { gap: 10px; }
}
.hdr-end { display: flex; align-items: center; gap: 12px; }
.hdr-contact {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .26); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.hdr-contact:hover, .hdr-contact.is-active { border-color: var(--lav); background: rgba(193, 145, 255, .1); }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--hair); border-radius: 999px; background: rgba(1, 15, 46, .35); }
.lang a {
  display: grid; place-items: center; min-width: 38px; min-height: 32px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--fg-3); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.lang a:hover { color: #fff; }
.lang a[aria-current] { background: rgba(255, 255, 255, .14); color: #fff; }
@media (max-width: 1023px) { .hdr-nav { display: none; } .hdr-end { margin-left: auto; } }
@media (max-width: 599px) { .hdr-contact { display: none; } }
/* phones: 44px tap targets on the language switch */
@media (max-width: 767px) {
  .lang { padding: 2px; }
  .lang a { min-width: 44px; min-height: 44px; padding: 0 8px; }
}
@media (max-width: 359px) { .hdr-logo { gap: 9px; } .hdr-iso { width: 20px; height: 20px; } .hdr-logo img { height: 14px; } }

/* ------------------------------------------------------------------ type */
.eyebrow {
  font-family: var(--f-text); font-size: 12px; font-weight: 500; line-height: 1.5;
  letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3);
}
.h1 {
  font-family: var(--f-display); font-weight: 600;
  font-size: var(--h1fs); line-height: 1.04; letter-spacing: -.04em;
  margin-top: 22px; text-wrap: balance;
}
.h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(30px, 4.3vw, 60px); line-height: 1.08; letter-spacing: -.04em;
  text-wrap: balance;
}
@media (max-width: 359px) { .h2, .close-q { font-size: 26px; } }
.h2-sm { font-size: clamp(14px, 1.1vw, 15px); font-family: var(--f-text); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); line-height: 1.5; }
.h2-xl { font-size: clamp(34px, 5.6vw, 84px); font-weight: 600; letter-spacing: -.04em; line-height: 1.04; }
.h2-xl em { font-weight: 300; letter-spacing: -.03em; padding-right: .04em; }

/* ------------------------------------------------------------------ buttons */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ctas-center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px;
  font: 600 15px/1.25 var(--f-text); letter-spacing: .005em; text-align: center; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .35s var(--ease), color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(193, 145, 255, .7), 0 0 0 4px rgba(193, 145, 255, .16); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(1, 20, 56, .3); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--lav); background: rgba(193, 145, 255, .1); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn > span { text-wrap: balance; }
.btn-block { width: 100%; padding-left: 18px; padding-right: 18px; }
@media (max-width: 479px) { .ctas .btn { width: 100%; } }
/* smallest phones: labels stay on one line */
@media (max-width: 359px) {
  .btn { font-size: 14px; padding-left: 16px; padding-right: 16px; }
  .btn-block { padding-left: 12px; padding-right: 12px; }
  .btn .arr { display: none; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow-x: clip;
  display: flex; align-items: center;
  padding: calc(var(--hdr-h) + 40px) 0 104px;
}
.hero-in { position: relative; --h1fs: clamp(31px, 6.9vw, 100px); }
.hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .7em; color: var(--fg-2); }
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--lav); margin-right: .3em; }
.hero-eyebrow .sep { color: var(--lav); }
.h1 .l { display: inline; }
.h1 .w { display: inline-block; vertical-align: top; overflow: hidden; padding: .06em .04em .16em; margin: -.06em -.04em -.16em; }
.h1 .w > span { display: inline-block; }
.h1 .l2 .w > span {
  background: linear-gradient(95deg, #fff 0%, #efe4ff 45%, var(--lav) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* the gradient only paints inside the span's box: extend it under the descenders ("growth") */
  padding-bottom: .14em; margin-bottom: -.14em;
}
.hero-lines { margin-top: 30px; font-size: clamp(17px, 1.45vw, 21px); font-weight: 500; line-height: 1.5; }
.hero-lines span { display: block; }
.hero-text { margin-top: 14px; max-width: 34em; color: var(--fg-2); font-size: clamp(15px, 1.15vw, 17px); text-wrap: pretty; }

.hero-mark { width: 64px; margin-bottom: 30px; position: relative; }
.hero-mark .iso { position: relative; width: 100%; height: auto; overflow: visible; }
.hero-mark path { fill: #fff; }
.hero-mark::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 260%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(193, 145, 255, .22), rgba(193, 145, 255, 0)); pointer-events: none;
}
@media (min-width: 960px) {
  /* big isotipo sits right of the short second H1 line and the sub copy, never under line one */
  .hero-mark {
    position: absolute; z-index: -1; margin: 0; right: var(--gutter); bottom: -4px;
    height: calc(var(--h1fs) * .72 + 262px); width: auto; aspect-ratio: 1068 / 1080;
  }
  .hero-mark .iso { width: 100%; height: 100%; }
  .hero-text { max-width: min(34em, 54%); }
}
/* narrow desktops: the long Spanish line one reaches over the mark, so it sits lower and a little smaller */
@media (min-width: 960px) and (max-width: 1199px) {
  .hero-mark { height: calc(var(--h1fs) * .4 + 240px); }
}
@media (max-width: 599px) {
  .hero-in { --h1fs: clamp(33px, 10.6vw, 46px); }
  .hero-eyebrow { display: grid; gap: 2px; letter-spacing: .15em; font-size: 11.5px; grid-template-columns: auto 1fr; }
  .hero-eyebrow::before { grid-row: 1; align-self: center; width: 22px; }
  .hero-eyebrow .sep { display: none; }
  .hero-eyebrow span:last-child { grid-column: 2; }
}
/* small phones and short screens: the first button stays above the fold */
@media (max-width: 359px), (max-height: 700px) and (max-width: 599px) {
  .hero { padding-top: calc(var(--hdr-h) + 16px); padding-bottom: 48px; }
  .hero-mark { width: 44px; margin-bottom: 18px; }
  .hero-lines { margin-top: 20px; }
}
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; overflow: hidden; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .3)); }
.scroll-cue span { position: absolute; left: -1px; top: 0; width: 3px; height: 14px; border-radius: 2px; background: var(--lav); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-16px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(60px); opacity: 0; } }
@media (max-height: 640px) { .scroll-cue { display: none; } }

/* hero entrance (only with JS so no-JS users never see hidden content) */
.js .h1 .w > span { transform: translateY(108%); animation: word-in .56s var(--ease) forwards; animation-delay: calc(.12s + var(--i) * .06s); }
.js .hero .fx { opacity: 0; transform: translateY(14px); animation: fade-up .5s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .hero-mark .d { opacity: 0; transform: translateY(96px); animation: iso-in .6s var(--ease) forwards; }
.js .hero-mark .d1 { animation-delay: .1s; }
.js .hero-mark .d2 { animation-delay: .22s; }
.js .hero-mark .d3 { animation-delay: .34s; }
.js .hero-mark .s { opacity: 0; transform: translate(-64px, 150px); animation: iso-in .6s var(--ease) .48s forwards; }
@keyframes word-in { to { transform: none; } }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@keyframes iso-in { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ sections */
/* --pt is the section's top padding; the negative scroll margin makes nav jumps land on the heading,
   not on the empty padding above it (html's scroll-padding-top already clears the fixed header) */
.sec { --pt: clamp(88px, 11vw, 160px); position: relative; padding: var(--pt) 0 clamp(88px, 11vw, 160px); scroll-margin-top: calc(20px - var(--pt)); }
.sec-head { margin-bottom: clamp(32px, 4.4vw, 64px); }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-intro { margin-top: 20px; max-width: 38em; color: var(--fg-2); font-size: clamp(16px, 1.3vw, 19px); text-wrap: pretty; }
.center { text-align: center; }
.center .sec-intro { margin-left: auto; margin-right: auto; text-wrap: balance; }

/* ------------------------------------------------------------------ pillars */
.pillars { --pt: clamp(64px, 8vw, 120px); }
.pl-grid { display: grid; gap: 24px; }
.anchors ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.anchors a {
  display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--hair); border-radius: 999px; background: rgba(1, 20, 56, .4);
  font-size: 14px; font-weight: 500; color: var(--fg-2); text-decoration: none;
  transition: color .25s, border-color .25s, background-color .25s;
}
.anchors .n { font-size: 11px; letter-spacing: .08em; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.anchors a:hover, .anchors a.is-active { color: #fff; border-color: var(--hair-lav); background: rgba(193, 145, 255, .1); }
/* phones: an even 2 x 2 grid of 44px pills */
@media (max-width: 599px) {
  .anchors ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .anchors a { display: flex; min-height: 44px; justify-content: flex-start; }
}
@media (min-width: 1100px) {
  .pl-grid { grid-template-columns: 148px minmax(0, 1fr); gap: 40px; align-items: start; }
  .anchors { position: sticky; top: calc(var(--hdr-h) + 56px); }
  .anchors ol { flex-direction: column; gap: 0; border-left: 1px solid var(--hair); }
  .anchors a { position: relative; min-height: 0; padding: 13px 0 13px 22px; border: 0; border-radius: 0; background: none; font-size: 15px; }
  .anchors a::before {
    content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px;
    background: var(--lav); box-shadow: 0 0 12px rgba(193, 145, 255, .8);
    transform: scaleY(0); transition: transform .35s var(--ease);
  }
  .anchors a:hover, .anchors a.is-active { background: none; }
  .anchors a.is-active::before { transform: scaleY(1); }
}

.panels { display: grid; gap: clamp(18px, 2.2vw, 28px); min-width: 0; }
.panel {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  padding: clamp(24px, 4vw, 56px);
  border-radius: clamp(20px, 2.2vw, 30px);
  background: linear-gradient(155deg, rgba(1, 65, 120, .55) 0%, rgba(1, 34, 86, .6) 42%, rgba(1, 15, 46, .78) 100%);
  border: 1px solid rgba(193, 145, 255, .15);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.panel::before {
  content: ""; position: absolute; z-index: -1; right: -18%; top: -40%; width: 64%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(193, 145, 255, .16), rgba(193, 145, 255, 0));
}
/* big outlined numeral: bleeds off the top-right corner, above the title and clear of the "Primer paso" card;
   phones and tablets skip it (the card and its button sit where it would go) */
.panel::after {
  content: attr(data-num); position: absolute; z-index: -1; right: clamp(10px, 2.4vw, 36px); top: -.46em;
  font: 300 clamp(110px, 15vw, 220px)/1 var(--f-display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(193, 145, 255, .24);
  pointer-events: none;
}
@media (max-width: 899px) { .panel::after { display: none; } }
.p-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.p-num { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: #fff; font-variant-numeric: tabular-nums; }
.p-num i { font-style: normal; color: var(--fg-3); margin: 0 .25em; font-weight: 400; }
.p-head .eyebrow { color: var(--fg-2); }

/* the "giro": X word turns into Y word */
.giro {
  position: relative; margin-top: 18px;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(26px, 3.6vw, 52px); line-height: 1.14; letter-spacing: -.03em;
  text-wrap: balance; perspective: 900px;
}
.giro .gx { color: rgba(255, 255, 255, .6); transition: opacity .5s var(--ease) .05s; }
.giro .gy { position: relative; font-weight: 600; color: #fff; white-space: nowrap; }
.giro .gy::after {
  content: ""; position: absolute; left: .02em; right: 0; bottom: -.04em; height: max(2px, .055em); border-radius: 2px;
  background: linear-gradient(90deg, var(--lav), rgba(193, 145, 255, .15));
  box-shadow: 0 0 14px rgba(193, 145, 255, .55);
  transform-origin: left center; transition: transform .6s var(--ease) .05s;
}
/* before the flip, Y (and the period after it) is only faint, so the title never reads as broken */
.js .giro:not(.done) .gy, .js .giro:not(.done) .gp { opacity: .2; }
.js .giro:not(.done) .gy::after { transform: scaleX(0); }
.ghost {
  position: absolute; left: 0; top: 0; z-index: 2; white-space: nowrap; pointer-events: none;
  transform-style: preserve-3d; will-change: transform; line-height: normal;
}
.ghost span { display: block; line-height: normal; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* front face: a lit copy of X that flips away (the real X stays put, dimmed); back face: Y, identical to the real Y */
.ghost .f { color: #fff; }
.ghost .b { position: absolute; left: 0; top: 0; transform: rotateX(180deg); font-weight: 600; color: #fff; }

.p-body { display: grid; gap: 26px; margin-top: clamp(20px, 2.4vw, 34px); }
@media (min-width: 900px) {
  .p-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 3.6vw, 56px); align-items: start; }
  .panel .p-step { position: sticky; top: calc(var(--hdr-h) + 28px); }
}
@media (min-width: 1100px) { .p-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
.p-promise { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: #fff; text-wrap: pretty; }
.p-promise .nw { display: block; margin-top: .35em; } /* "No llames más. Llama mejor." always gets its own line */
.inc { margin-top: 26px; border-top: 1px solid var(--hair); }
.inc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0;
  list-style: none; cursor: pointer; border-radius: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-2);
  transition: color .2s;
}
.inc summary::-webkit-details-marker { display: none; }
.inc-k { display: inline-flex; align-items: baseline; gap: .7em; }
.inc-n { display: inline-flex; gap: .7em; font-weight: 500; letter-spacing: .12em; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.inc-n i { font-style: normal; color: var(--lav); }
.inc summary:hover { color: #fff; }
.pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--hair); transition: border-color .2s; }
.inc summary:hover .pm { border-color: var(--lav); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; border-radius: 1px; }
.pm::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.inc[open] .pm::after { transform: rotate(0deg); }
.inc ul { list-style: none; margin: 0; padding: 2px 0 6px; display: grid; gap: 11px; }
.inc[open] ul { animation: fade-up-s .4s var(--ease); }
@keyframes fade-up-s { from { opacity: 0; transform: translateY(-6px); } }
.inc li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.inc li::before {
  content: ""; position: absolute; left: 3px; top: .38em; width: 6px; height: 14px;
  background: var(--lav); clip-path: polygon(0 52%, 48% 100%, 100% 48%, 52% 0);
}

.p-step {
  position: relative; padding: clamp(22px, 2vw, 28px); border-radius: 20px;
  background: linear-gradient(160deg, rgba(1, 15, 46, .7), rgba(1, 15, 46, .45));
  border: 1px solid rgba(193, 145, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.p-step-k { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-2); }
.p-step-k::before { content: ""; flex: none; width: 7px; height: 16px; background: var(--lav); clip-path: polygon(0 52%, 48% 100%, 100% 48%, 52% 0); box-shadow: 0 0 10px var(--lav); }
.p-step-t { margin-top: 12px; font: 600 clamp(19px, 1.45vw, 21px)/1.28 var(--f-display); letter-spacing: -.015em; text-wrap: balance; }
@media (max-width: 599px) {
  .panel { padding: 22px 20px 24px; }
  .p-step { padding: 22px 0 0; background: none; border: 0; border-top: 1px solid var(--hair); border-radius: 0; box-shadow: none; }
}
.p-step-x { margin: 10px 0 22px; font-size: 15px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }

/* ------------------------------------------------------------------ results */
.results { --pt: clamp(72px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 72px); }
.results::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1, 10, 32, 0), rgba(1, 10, 32, .6) 22%, rgba(1, 10, 32, .6) 78%, rgba(1, 10, 32, 0));
}
.results .h2-sm { display: flex; align-items: center; gap: 14px; }
.results .h2-sm::before { content: ""; width: 32px; height: 1px; background: var(--green); }
.facts { display: grid; margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--hair); }
.fact { padding: clamp(28px, 3.4vw, 52px) 0 clamp(8px, 1vw, 12px); }
.fact + .fact { border-top: 1px solid var(--hair); padding-top: clamp(28px, 3.4vw, 52px); }
@media (min-width: 820px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact + .fact { border-top: 0; border-left: 1px solid var(--hair); padding-left: clamp(32px, 4.4vw, 72px); }
  .fact:first-child { padding-right: clamp(24px, 3vw, 48px); }
}
.fact-label { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }
.live { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--green); animation: live 2.4s ease-out infinite; }
@keyframes live { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }
.fact-fig { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-start; row-gap: 6px; color: var(--green); font-family: var(--f-display); }
.fact-fig .pre { font: 400 clamp(17px, 1.5vw, 22px)/1.3 var(--f-text); color: var(--fg-2); }
.fact-fig .fig-row { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .14em; font-size: clamp(72px, 9.4vw, 140px); line-height: .98; }
.fact-fig .fig { font-weight: 300; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.fact-fig .unit { font-size: max(24px, .28em); font-weight: 300; letter-spacing: -.01em; line-height: 1; }
.fact-text {
  position: relative; margin-top: 26px; padding-top: 18px; max-width: 34em; border-top: 1px solid var(--hair);
  font-size: 14px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty;
}
.fact-text::before { content: ""; position: absolute; left: 0; top: -1px; width: 38%; height: 1px; background: var(--green); }

/* ------------------------------------------------------------------ dialer block */
.dialer { padding-bottom: clamp(56px, 6vw, 96px); }
.dl-head { margin-bottom: clamp(28px, 3.4vw, 48px); }
.dl-head .eyebrow { margin-bottom: 16px; }
.dl-grid { display: grid; gap: clamp(44px, 6vw, 96px); align-items: start; }
@media (min-width: 960px) { .dl-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.dl-lead { max-width: 17em; font: 300 clamp(22px, 2.3vw, 34px)/1.28 var(--f-display); letter-spacing: -.015em; color: #fff; text-wrap: balance; }
@media (max-width: 359px) { .dl-lead { font-size: 20px; } }
.dl-facts { margin: clamp(26px, 3vw, 40px) 0 0; padding-left: 18px; border-left: 1px solid var(--lav); }
.dl-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.dl-facts dd { margin: 8px 0 0; max-width: 27em; font-size: 16px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
/* the tagline row: big line + audience, button on the same row */
.dl-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 48px;
  margin-top: clamp(44px, 5vw, 76px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--hair);
}
.dl-line { font: 300 clamp(18px, 6vw, 46px)/1.15 var(--f-display); letter-spacing: -.02em; color: #fff; }
.dl-aud { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
@media (min-width: 960px) { .dl-line { font-size: clamp(32px, 3.1vw, 46px); } }
@media (max-width: 479px) { .dl-foot .btn { width: 100%; } }

.dl-vis {
  margin: 0; padding: clamp(20px, 2.4vw, 30px); border-radius: 24px;
  background: linear-gradient(160deg, rgba(1, 65, 120, .5), rgba(1, 15, 46, .82));
  border: 1px solid rgba(193, 145, 255, .18);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.dv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.dv-t { display: inline-flex; align-items: center; gap: 10px; }
.dv-list { list-style: none; margin: 0; padding: 8px 0 0; }
.dv-list li {
  position: relative; display: grid; grid-template-columns: 5.6em minmax(0, 1fr) 2.2em; gap: 16px; align-items: center; height: 46px;
  font-size: 14px; font-variant-numeric: tabular-nums;
  transition: transform .6s var(--ease-io);
}
/* during the sort, the two leads rising to the top stay bright and pass over the others;
   every other moving row fades out for the whole (staggered) move, so labels never collide */
.dv-list li.up { z-index: 1; }
.dv-list li.mv { animation: dv-dip .9s var(--ease-io) both; }
@keyframes dv-dip { 15%, 75% { opacity: .08; } }
.dv-id { color: var(--fg-2); white-space: nowrap; }
.dv-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.dv-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(193, 145, 255, .45), var(--lav)); transform-origin: left center; transform: scaleX(var(--s)); transition: transform .6s var(--ease); }
.dv-sc { text-align: right; font-weight: 600; }
.dv-list li:nth-child(-n+2) .dv-id { color: #fff; }
.js .dv-list.is-scrambled li { transform: translateY(calc((var(--o) - var(--r, 0)) * 100%)); }
.js .dv-list.is-empty .dv-bar i { transform: scaleX(0); }
.dv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--hair); }
.dv-chips span {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(193, 145, 255, .35); background: rgba(193, 145, 255, .08);
  font-size: 13px; font-weight: 500; color: #fff;
  transition: border-color .4s, background-color .4s, color .4s;
}
/* phones: the three chips always share one row */
@media (max-width: 479px) {
  .dv-chips { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px; }
  .dv-chips span { padding: 6px 10px; font-size: 12px; gap: 7px; }
}
@media (max-width: 374px) {
  .dv-chips { gap: 4px; }
  .dv-chips span { padding: 6px 7px; }
  .dv-chips i { display: none; }
}
.dv-chips i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); transition: background-color .4s, box-shadow .4s; }
.js .dv-chips.is-waiting span:not(.on) { border-color: var(--hair); background: none; color: var(--fg-3); }
.js .dv-chips.is-waiting span:not(.on) i { background: rgba(255, 255, 255, .25); box-shadow: none; }

/* ------------------------------------------------------------------ partners: logos as mesh nodes */
.partners { --pt: clamp(56px, 6vw, 96px); padding-bottom: clamp(56px, 6vw, 96px); }
.partners .sec-head { margin-bottom: clamp(40px, 4.6vw, 68px); }
.net-wrap { position: relative; max-width: 1080px; margin: 0 auto; }
.net { position: relative; list-style: none; margin: 0 auto; padding: 0 0 0 34px; display: grid; gap: 44px; max-width: 420px; }
.node { position: relative; z-index: 1; } /* plates sit above the connector line and its pulse */
.node::before {
  content: ""; position: absolute; left: -34px; top: 40px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--navy-deep); border: 1px solid var(--lav); box-shadow: 0 0 0 4px rgba(193, 145, 255, .1), 0 0 16px rgba(193, 145, 255, .55);
}
/* phones: one connector segment from each node down to the next one (the gap between nodes is 44px) */
.node:not(:last-child)::after {
  content: ""; position: absolute; left: -28px; top: 53px; bottom: -84px; width: 1px;
  background: linear-gradient(180deg, rgba(193, 145, 255, .6), rgba(193, 145, 255, .35));
}
.node-plate {
  position: relative; display: grid; place-items: center; height: 92px; width: 100%; max-width: 300px;
  border-radius: 22px; border: 1px solid rgba(193, 145, 255, .24);
  background: radial-gradient(120% 140% at 50% 0%, rgba(1, 65, 120, .75), rgba(1, 15, 46, .92)), var(--navy-deep);
  box-shadow: 0 0 0 6px rgba(1, 15, 46, .55), 0 20px 50px -24px rgba(193, 145, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.node-plate > a { display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; }
.node-plate img { width: auto; max-width: 78%; }
/* optical balance (by eye): dense lowercase wordmark, wide wordmark, icon + thin wordmark */
.node-imaginai img { height: 28px; }
.node-sisvox img { height: 25px; }
.node-proesis img { height: 36px; }
.node:hover .node-plate { border-color: rgba(193, 145, 255, .5); transform: translateY(-2px); }
.node-cat { margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }
.node-line { margin-top: 8px; font-size: 16px; line-height: 1.5; color: #fff; text-wrap: balance; }
@media (min-width: 720px) and (max-width: 899px) { .node-line { font-size: 15px; } }
.node-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px;
  font-size: 14px; font-weight: 500; color: #fff; text-decoration: none;
}
.node-link span { padding-bottom: 3px; border-bottom: 1px solid rgba(193, 145, 255, .6); transition: border-color .2s; }
.node-link svg { width: 15px; height: 15px; color: var(--lav); transition: transform .25s var(--ease); }
.node-link:hover span { border-color: var(--lav); }
.node-link:hover svg { transform: translateY(3px); }
.net-pulse { display: none; }
@media (min-width: 720px) {
  .net { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); padding: 0; max-width: none; }
  .net::before {
    content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 46px; height: 1px;
    background: linear-gradient(90deg, rgba(193, 145, 255, .55), rgba(193, 145, 255, .7), rgba(193, 145, 255, .55));
  }
  /* a light travels along the connector: transform-only, paused while the section is off screen */
  .net-pulse { display: block; position: absolute; left: 16.6%; right: 16.6%; top: 40px; height: 13px; overflow: hidden; pointer-events: none; }
  .net-pulse i {
    position: absolute; inset: 0; transform: translateX(-100%); will-change: transform;
    background: radial-gradient(46px 6px at calc(100% - 46px) 50%, rgba(255, 255, 255, .95), rgba(225, 200, 255, .55) 38%, rgba(193, 145, 255, 0) 100%) no-repeat;
    animation: pulse-x 5s var(--ease-io) infinite;
  }
  .js .net-pulse i { animation-play-state: paused; }
  .js .net-wrap.is-live .net-pulse i { animation-play-state: running; }
  .node { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .node::before, .node:not(:last-child)::after { display: none; }
  .node-plate { margin: 0 auto; }
}
@keyframes pulse-x { 0% { transform: translateX(-100%); } 70%, 100% { transform: translateX(92px); } }

/* ------------------------------------------------------------------ process */
.process { --pt: clamp(56px, 6vw, 96px); }
.steps { position: relative; list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; gap: 30px; }
.steps::before {
  content: ""; position: absolute; left: 22px; top: 22px; bottom: 22px; width: 1px;
  background: linear-gradient(180deg, var(--lav), rgba(193, 145, 255, .2));
  transform-origin: top center; transition: transform .7s var(--ease) .1s;
}
.step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; }
.step-n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-deep); border: 1px solid rgba(193, 145, 255, .5);
  box-shadow: 0 0 0 6px rgba(1, 15, 46, .9), 0 0 22px rgba(193, 145, 255, .3);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums;
}
.step-t { margin-top: 9px; font: 600 clamp(19px, 1.5vw, 22px)/1.25 var(--f-display); letter-spacing: -.01em; }
.step p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--fg-2); max-width: 24em; text-wrap: pretty; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
  .steps::before { left: 22px; right: 0; top: 22px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--lav), rgba(193, 145, 255, .15)); transform-origin: left center; }
  .step { display: block; }
  .step-t { margin-top: 26px; }
}
.js .steps:not(.is-in)::before { transform: scaleY(0); }
@media (min-width: 860px) { .js .steps:not(.is-in)::before { transform: scaleX(0); } }
.js .steps .step { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.15s + var(--k) * .1s); }
.js .steps.is-in .step { opacity: 1; transform: none; }
.js .steps[data-reveal] { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ about */
.ab-head .eyebrow { margin-bottom: 18px; }
.ab-grid { display: grid; gap: 32px; margin-top: clamp(32px, 4vw, 60px); }
@media (min-width: 960px) { .ab-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; } }
.descriptor { font: 300 clamp(22px, 2.2vw, 32px)/1.3 var(--f-display); letter-spacing: -.01em; color: #fff; padding-left: clamp(18px, 2vw, 28px); border-left: 1px solid var(--lav); }
.descriptor span + span { margin-top: .35em; }
.descriptor span:nth-child(2) { color: rgba(255, 255, 255, .8); }
.descriptor span:nth-child(3) { color: rgba(255, 255, 255, .62); }
.descriptor span { display: block; }
.ab-body p { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: var(--fg-2); text-wrap: pretty; }
.ab-body p + p { margin-top: 1.1em; }
.ab-body p:first-child { font-size: clamp(19px, 1.65vw, 24px); line-height: 1.5; color: #fff; }

/* ------------------------------------------------------------------ close */
.close { --pt: clamp(96px, 13vw, 200px); padding-bottom: clamp(88px, 11vw, 150px); text-align: center; }
.close-in { display: flex; flex-direction: column; align-items: center; }
.close-iso { width: 40px; height: 40px; color: #fff; margin-bottom: 36px; filter: drop-shadow(0 0 18px rgba(193, 145, 255, .6)); }
.close-q { font-size: clamp(28px, 4.4vw, 62px); max-width: 19em; }
.close .ctas { margin-top: 44px; }
.sign { margin-top: clamp(64px, 8vw, 112px); padding-left: .5em; font: 300 13px/1 var(--f-display); letter-spacing: .5em; color: #fff; }

/* ------------------------------------------------------------------ footer */
.ftr { padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); background: linear-gradient(180deg, rgba(1, 10, 32, .4), rgba(1, 10, 32, .85)); }
.ftr-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ftr-brand img { height: 16px; width: auto; }
.lema { margin-top: 14px; font: 300 11px/1.6 var(--f-display); letter-spacing: .3em; text-transform: uppercase; color: var(--fg-2); }
.lema i { font-style: normal; color: var(--lav); }
.lema span { white-space: nowrap; }
@media (max-width: 359px) { .lema { font-size: 10.5px; letter-spacing: .2em; white-space: nowrap; } }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--hair); color: var(--fg-2); transition: color .2s, border-color .2s, background-color .2s; }
.social a:hover { color: #fff; border-color: var(--lav); background: rgba(193, 145, 255, .08); }
.social svg { width: 17px; height: 17px; }
.ftr-base { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 28px; margin-top: 30px; padding-top: 10px; font-size: 13px; color: var(--fg-3); }
.ftr-base::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; border-top: 1px solid var(--hair); } /* aligned with the content */
.ftr-link {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .3);
  transition: color .2s, text-decoration-color .2s;
}
.ftr-link:hover { color: #fff; text-decoration-color: var(--lav); }
.ftr-base p:last-child { margin-left: auto; }
@media (max-width: 599px) {
  .ftr-base { flex-direction: column; align-items: flex-start; gap: 0; }
  .ftr-base > p:first-child, .ftr-base p:last-child { margin: 12px 0; }
}

/* ------------------------------------------------------------------ secondary contact links (WhatsApp, email) */
.txt-cta {
  display: inline-flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 4px;
  font-size: 15px; font-weight: 500; color: var(--fg-2); text-decoration: none; transition: color .2s;
}
.txt-cta svg, .wa-alt svg { width: 17px; height: 17px; flex: none; color: var(--lav); }
.txt-cta span, .wa-alt span { padding-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, .28); transition: border-color .2s; }
.txt-cta:hover, .wa-alt:hover { color: #fff; }
.txt-cta:hover span, .wa-alt:hover span { border-color: var(--lav); }
@media (min-width: 480px) { .ctas .txt-cta { margin-left: 6px; } }
@media (max-width: 479px) { .ctas .txt-cta { min-height: 44px; } }
.wa-alt {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 8px;
  font-size: 14px; font-weight: 500; color: var(--fg-2); text-decoration: none; transition: color .2s;
}
.wa-alt svg { width: 16px; height: 16px; }
.cta-stack { display: flex; flex-direction: column; align-items: center; }
.cta-stack .wa-alt { margin-top: 6px; }
@media (max-width: 479px) { .cta-stack { width: 100%; } }
/* without JavaScript the form buttons already open WhatsApp, so the extra WhatsApp links would repeat them */
html:not(.js) .wa-alt, html:not(.js) .wa-2 { display: none; }
.txt-link {
  color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: rgba(193, 145, 255, .7); transition: text-decoration-color .2s;
}
.txt-link:hover { text-decoration-color: var(--lav); }

/* ------------------------------------------------------------------ contact form: a modal <dialog>, two steps
   centered glass card on desktop, full-screen sheet on phones; only shown with JavaScript (the buttons that open
   it are WhatsApp links until site.js upgrades them) */
html.lead-open { overflow: hidden; scrollbar-gutter: stable; } /* classic scrollbars: the page behind does not shift */
.lead {
  --lead-pad: clamp(20px, 3.6vw, 36px);
  position: fixed; inset: 0; margin: auto; padding: 0; overflow: hidden; overflow: clip; /* clip: never scrolled sideways by focus */
  width: min(680px, calc(100% - 48px)); max-width: none; height: fit-content; max-height: min(900px, calc(100% - 48px));
  border: 1px solid rgba(193, 145, 255, .26); border-radius: 28px; color: var(--fg);
  background: linear-gradient(160deg, rgba(1, 65, 120, .86) 0%, rgba(1, 34, 86, .9) 42%, rgba(1, 15, 46, .95) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(193, 145, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .08);
  font-family: var(--f-text);
  opacity: 0; transform: translateY(18px) scale(.985);
  transition: opacity .24s var(--ease), transform .3s var(--ease);
}
.lead[open] { display: flex; flex-direction: column; }
.lead.is-in { opacity: 1; transform: none; }
.lead::before {
  content: ""; position: absolute; z-index: -1; right: -20%; top: -34%; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(193, 145, 255, .2), rgba(193, 145, 255, 0));
}
.lead::backdrop {
  background: rgba(1, 8, 26, 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
  transition: background-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.lead.is-in::backdrop { background: rgba(1, 8, 26, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* card: one fixed height (840 px, or the screen minus margins), centered, so nothing jumps between the steps,
   the agents question, the errors and the result screens; the body scrolls when a step is taller */
@media (min-width: 600px) {
  .lead { --lead-t: max(24px, calc(50vh - 420px)); margin: var(--lead-t) auto auto; height: min(840px, calc(100% - var(--lead-t) - 24px)); max-height: none; }
}
@media (max-width: 599px) {
  .lead {
    width: 100%; height: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0;
    background: linear-gradient(170deg, rgba(1, 65, 120, .94) 0%, rgba(1, 30, 80, .97) 38%, rgba(1, 15, 46, .99) 100%);
    transform: translateY(28px);
  }
}
.lead-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--lead-pad) 0; }
.lead-k { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-2); }
.lead-k::before { content: ""; flex: none; width: 7px; height: 16px; background: var(--lav); clip-path: polygon(0 52%, 48% 100%, 100% 48%, 52% 0); box-shadow: 0 0 10px var(--lav); }
.lead-x {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -6px; padding: 0; border-radius: 50%;
  border: 1px solid var(--hair); background: rgba(1, 15, 46, .4); color: #fff; cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .25s var(--ease);
}
.lead-x svg { width: 18px; height: 18px; }
.lead-x:hover { border-color: var(--lav); background: rgba(193, 145, 255, .12); transform: rotate(90deg); }
.lead-form { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin: 0; }
.lead-form[hidden], .lead-state[hidden], .lead-pane[hidden], .q[hidden] { display: none; }
.lead-prog { flex: none; display: flex; align-items: center; gap: 14px; padding: 16px var(--lead-pad) 0; }
.lead-step { font-size: 13px; font-weight: 500; color: var(--fg-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lead-bar { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 200px; }
.lead-bar i { position: relative; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.lead-bar i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lav), #e6d4ff);
  transform: scaleX(0); transform-origin: left center; transition: transform .4s var(--ease);
}
.lead-bar i:first-child::after, .lead[data-step="2"] .lead-bar i + i::after { transform: none; }
.lead-body {
  flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--lead-pad) 28px;
  /* content scrolling up fades out under the progress bar instead of being cut */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14px); mask-image: linear-gradient(180deg, transparent 0, #000 14px);
  scrollbar-width: thin; scrollbar-color: rgba(193, 145, 255, .35) transparent;
}
.lead-h { margin: 12px 0 0; font: 600 clamp(25px, 3vw, 32px)/1.15 var(--f-display); letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.lead-h:focus { outline: none; }
.lead-pane { animation: lead-next .32s var(--ease); }
.lead[data-dir="back"] .lead-pane { animation-name: lead-prev; }
@keyframes lead-next { from { opacity: 0; transform: translateX(16px); } }
@keyframes lead-prev { from { opacity: 0; transform: translateX(-16px); } }
@keyframes lead-rise { from { opacity: 0; transform: translateY(10px); } }

.q { min-width: 0; margin: 24px 0 0; padding: 0; border: 0; }
.q, .fld { scroll-margin-top: 20px; } /* a question scrolled to after an error clears the faded top edge */
.q-agents { animation: lead-rise .3s var(--ease); }
.q-l { margin-bottom: 12px; padding: 0; font-size: 15.5px; font-weight: 600; line-height: 1.4; color: #fff; }
.q-hint { font-size: 13.5px; font-weight: 400; color: var(--fg-3); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; max-width: 100%; }
.chip input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 17px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(1, 12, 38, .45);
  font-size: 14.5px; font-weight: 500; line-height: 1.25; color: var(--fg-2); text-wrap: balance;
  transition: color .2s, border-color .2s, background-color .2s, box-shadow .25s var(--ease);
}
/* selected: lavender edge, tint and the brand rhombus */
.chip span::before {
  content: ""; flex: none; width: 0; height: 13px; margin-right: -8px; background: var(--lav);
  clip-path: polygon(0 52%, 48% 100%, 100% 48%, 52% 0); opacity: 0;
  transition: width .22s var(--ease), margin .22s var(--ease), opacity .2s;
}
.chip:hover span { border-color: rgba(193, 145, 255, .45); color: #fff; }
.chip input:checked + span {
  border-color: var(--lav); background: rgba(193, 145, 255, .17); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(193, 145, 255, .35), 0 10px 26px -16px rgba(193, 145, 255, .9);
}
.chip input:checked + span::before { width: 6px; margin-right: 0; opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--lav); outline-offset: 3px; }
.q-err { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; line-height: 1.4; color: #ffb8c5; animation: lead-rise .25s var(--ease); }
.q-err::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #ff8fa3; box-shadow: 0 0 8px #ff8fa3; }
.q-err[hidden] { display: none; }
.q.is-bad .chip input:not(:checked) + span { border-color: rgba(255, 143, 163, .5); }

.flds { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 14px; margin-top: 22px; }
.fld { min-width: 0; }
.fld-wide { grid-column: 1 / -1; }
@media (max-width: 519px) { .flds { grid-template-columns: minmax(0, 1fr); } }
.fld > label:not(.check) { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #fff; }
.fld input:not([type="checkbox"]), .fld textarea, .dial {
  width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(1, 12, 38, .55); color: #fff;
  font: 400 16px/1.4 var(--f-text); /* 16px: iOS does not zoom into the field */
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.fld textarea { display: block; min-height: 96px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(255, 255, 255, .4); }
.fld input:hover, .fld textarea:hover, .dial:hover { border-color: rgba(255, 255, 255, .34); }
.fld input:focus, .fld textarea:focus, .dial:focus-within {
  outline: none; border-color: var(--lav); background: rgba(1, 12, 38, .75); box-shadow: 0 0 0 4px rgba(193, 145, 255, .2);
}
.fld input:-webkit-autofill { -webkit-text-fill-color: #fff; caret-color: #fff; -webkit-box-shadow: 0 0 0 100px #07214d inset; }
.fld input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 100px #07214d inset, 0 0 0 4px rgba(193, 145, 255, .2); }
.fld.is-bad input:not([type="checkbox"]), .fld.is-bad textarea, .fld.is-bad .dial { border-color: #ff8fa3; }
.tel { display: flex; gap: 8px; }
.tel input { flex: 1 1 auto; min-width: 0; }
.dial { position: relative; flex: 0 0 124px; display: flex; align-items: center; padding: 0 30px 0 15px; }
.dial select { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.dial-v { font-size: 15.5px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dial::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; margin-top: -5px;
  border-right: 1.5px solid var(--fg-2); border-bottom: 1.5px solid var(--fg-2); transform: rotate(45deg);
}
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 8px 0; font-size: 14.5px; line-height: 1.5; color: var(--fg-2); cursor: pointer; }
.check input { position: absolute; left: 0; top: 8px; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.check .box {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, .38); background: rgba(1, 12, 38, .55);
  transition: background-color .2s, border-color .2s;
}
.check .box::after {
  content: ""; width: 10px; height: 5px; margin-top: -2px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg) scale(0); transition: transform .2s var(--ease);
}
.check:hover .box { border-color: var(--lav); }
.check input:checked + .box { background: var(--lav); border-color: var(--lav); }
.check input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--lav); outline-offset: 3px; }
.check a { position: relative; z-index: 1; color: #fff; text-decoration: underline; text-decoration-color: var(--lav); text-underline-offset: 3px; }
.fld.is-bad .check .box { border-color: #ff8fa3; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.lead-foot {
  flex: none; display: flex; align-items: center; gap: 12px;
  padding: 14px var(--lead-pad) calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hair); background: rgba(1, 10, 32, .5);
}
.lead-go { margin-left: auto; min-width: 190px; }
.lead-go[hidden], .lead-back[hidden] { display: none; }
.lead-go[aria-disabled="true"] { cursor: progress; transform: none; box-shadow: none; opacity: .8; }
.lead-go.is-busy .arr { display: none; }
.lead-go.is-busy::after {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(1, 37, 88, .25); border-top-color: var(--navy); animation: lead-spin .8s linear infinite;
}
@keyframes lead-spin { to { transform: rotate(360deg); } }
.lead-back, .lead-retry {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 4px; border: 0; border-radius: 10px;
  background: none; color: var(--fg-2); font: 500 15px/1 var(--f-text); cursor: pointer; transition: color .2s;
}
.lead-back svg, .lead-retry svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.lead-back:hover, .lead-retry:hover { color: #fff; }
.lead-back:hover svg, .lead-retry:hover svg { transform: translateX(-3px); }
.lead-back[disabled] { opacity: .5; cursor: default; }
.lead-back[disabled]:hover { color: var(--fg-2); }
.lead-back[disabled]:hover svg { transform: none; }
@media (max-width: 599px) {
  .lead-go { flex: 1 1 auto; min-width: 0; }
}
/* smallest phones: the eyebrow and the step titles stay on one line */
@media (max-width: 359px) {
  .lead-top { gap: 8px; }
  .lead-k { gap: 8px; font-size: 11px; letter-spacing: .09em; white-space: nowrap; }
  .lead-h { font-size: 22px; }
}

.lead-state {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 24px var(--lead-pad) calc(36px + env(safe-area-inset-bottom)); animation: lead-rise .35s var(--ease);
}
@media (min-width: 600px) { .lead-state { min-height: 400px; } }
.lead-iso { width: 44px; height: 44px; margin-bottom: 14px; color: #fff; filter: drop-shadow(0 0 18px rgba(193, 145, 255, .6)); }
.lead-state .lead-h { font-size: clamp(28px, 3.2vw, 34px); }
.lead-p { max-width: 30em; margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.lead-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lead-retry { margin-top: 18px; }
@media (max-width: 479px) { .lead-acts { width: 100%; } .lead-acts .btn { width: 100%; } }
@media (max-width: 359px) { .lead-acts .btn { gap: 8px; padding-left: 10px; padding-right: 10px; } } /* one-line labels at 320 */

/* Windows High Contrast / forced colors: selected chips and the checkbox use system colors; visible focus */
@media (forced-colors: active) {
  .chip input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; box-shadow: none; }
  .chip span::before { background: currentColor; }
  .check input:checked + .box { forced-color-adjust: none; background: Highlight; border-color: Highlight; }
  .check input:checked + .box::after { border-color: HighlightText; }
  .chip input:focus-visible + span, .check input:focus-visible + .box { outline-color: CanvasText; }
  .fld input:focus, .fld textarea:focus, .dial:focus-within { outline: 2px solid CanvasText; outline-offset: 2px; }
}

/* ------------------------------------------------------------------ privacy notice */
.legal { --pt: calc(var(--hdr-h) + clamp(36px, 6vw, 88px)); padding-bottom: clamp(72px, 9vw, 128px); }
.legal-in { max-width: 720px; margin: 0 auto; }
.legal-head { padding-bottom: clamp(28px, 3.4vw, 40px); border-bottom: 1px solid var(--hair); }
.legal-h1 { font-size: clamp(34px, 4.8vw, 58px); }
@media (max-width: 359px) { .legal-h1 { font-size: 30px; } } /* "Aviso de privacidad" on one line at 320 */
.legal-date { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--fg-3); }
.legal-date::before { content: ""; flex: none; width: 24px; height: 1px; background: var(--lav); }
.legal-note { margin-top: 22px; padding: 14px 18px; border-left: 1px solid var(--lav); border-radius: 0 12px 12px 0; background: rgba(193, 145, 255, .08); font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.legal-sec { padding-top: clamp(30px, 3.4vw, 42px); }
.legal-h { font: 600 clamp(20px, 1.8vw, 24px)/1.3 var(--f-display); letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.legal-sec p, .legal-sec li { font-size: 16.5px; line-height: 1.75; color: var(--fg-2); }
.legal-sec p { margin-top: 12px; }
.legal-sec ul { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.legal-sec li { position: relative; padding-left: 22px; }
.legal-sec li::before {
  content: ""; position: absolute; left: 3px; top: .52em; width: 6px; height: 14px;
  background: var(--lav); clip-path: polygon(0 52%, 48% 100%, 100% 48%, 52% 0);
}

/* ------------------------------------------------------------------ scroll reveal (JS only) */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* anchor targets (pillar panels, results): the box itself never moves, so in-page jumps land exactly where they
   should; its content rises inside it instead */
.js [id][data-reveal]:not(h2) { transform: none; }
.js [id][data-reveal]:not(h2) > * { transform: translate3d(0, 20px, 0); transition: transform .6s var(--ease); }
.js [id][data-reveal].is-in > * { transform: none; }

/* ------------------------------------------------------------------ reduced motion: final states, no movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [id][data-reveal] > *, .js .hero .fx, .js .h1 .w > span, .js .hero-mark .d, .js .hero-mark .s, .js .steps .step { opacity: 1 !important; transform: none !important; animation: none !important; }
  .js .giro:not(.done) .gy, .js .giro:not(.done) .gp { opacity: 1; }
  .js .giro:not(.done) .gy::after, .js .steps:not(.is-in)::before { transform: none; }
  .js .dv-list.is-scrambled li { transform: none; }
  .js .dv-list.is-empty .dv-bar i { transform: scaleX(var(--s)); }
  .scroll-cue, .net-pulse { display: none; }
  .live::after { animation: none; opacity: 0; }
  .dv-list li.mv { animation: none; }
}

/* ------------------------------------------------------------------ print / save as PDF: everything shown, dark pages kept */
@media print {
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .js [data-reveal], .js [id][data-reveal] > *, .js .steps .step, .js .hero .fx, .js .h1 .w > span, .js .hero-mark .d, .js .hero-mark .s, .js .giro .gy, .js .giro .gp { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .js .steps::before, .js .giro .gy::after { transform: none !important; transition: none !important; }
  .stage, .hdr, .skip, .scroll-cue, .net-pulse, .ghost, .lead, .wa-alt, .wa-2 { display: none !important; }
  .hero { min-height: 0; }
  .panel, .fact, .node, .step, .p-step { break-inside: avoid; }
}
