@charset "UTF-8";
/* ==========================================================================
   ORIGINA PEDREGAL — Landing V3
   Arquitectura: BEM + tokens. CSS puro, sin frameworks.
   Referencia Figma: 1280 px (node 109:1089)
   --------------------------------------------------------------------------
   ÍNDICE
   1. Fuentes
   2. Tokens
   3. Reset y base
   4. Utilidades de layout
   5. Tipografía compartida
   6. Botones
   7. Sistema de animación (reveal)
   8. Navegación
   9. Hero
  10. Concepto
  11. Conectividad
  12. Prototipos (swiper)
  13. Testimonio
  14. Así se vive (videos)
  15. Bloque imagen + texto
  16. Financiamiento (video de fondo)
  17. Contacto
  18. Footer
  19. Swiper overrides
  20. Responsive
   ========================================================================== */

/* ==========================================================================
   1. FUENTES
   ========================================================================== */
@font-face {
  font-family: "Nexa";
  src: url("../assets/fonts/nexa-light.woff2") format("woff2");
  font-weight: 100 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nexa";
  src: url("../assets/fonts/nexa-bold.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. TOKENS
   ========================================================================== */
:root {
  /* -- Paleta (muestreada del render de Figma) -- */
  --c-ink: #262729;
  --c-ink-deep: #242628;
  --c-black: #000000;
  --c-gold: #86754f;
  --c-gold-soft: #a08d63;
  --c-gray-bg: #eeeeee;
  --c-off-white: #fbf9f8;
  --c-white: #ffffff;
  --c-body: #4d4f54;
  --c-body-light: rgba(255, 255, 255, 0.82);
  --c-line: rgba(38, 39, 41, 0.16);
  --c-line-light: rgba(255, 255, 255, 0.18);

  /* -- Tipografía --
     El valor máximo de cada clamp es el px exacto medido en el Figma @1280 */
  --ff: "Nexa", "Century Gothic", "Futura", "Trebuchet MS", Arial, sans-serif;

  --fw-light: 300;
  --fw-book: 400;
  --fw-bold: 700;
  --fw-heavy: 800;

  --fs-wordmark: clamp(2.375rem, 6.02vw, 4.813rem);  /* 77 */
  --fs-h1-sub: clamp(1.125rem, 2.266vw, 1.813rem);  /* 29 */
  --fs-h2: clamp(1.625rem, 3.125vw, 2.5rem);        /* 40 */
  --fs-price: clamp(1.875rem, 2.969vw, 2.375rem);   /* 38 */
  --fs-card-title: clamp(1.5rem, 2.5vw, 2rem);      /* 32 */
  --fs-quote: clamp(1.25rem, 2.073vw, 1.658rem);    /* 26.53 */
  --fs-lead: clamp(1.0625rem, 1.641vw, 1.313rem);   /* 21 */
  --fs-concepto: clamp(1.0625rem, 1.563vw, 1.25rem); /* 20 */
  --fs-body: clamp(1rem, 1.406vw, 1.125rem);        /* 18 */
  --fs-feature: clamp(0.9375rem, 1.406vw, 1.125rem); /* 18 */
  --fs-btn: clamp(0.875rem, 1.25vw, 1rem);          /* 16 */
  --fs-base: 1rem;                                   /* 16 */
  --fs-spec: 0.9375rem;                              /* 15 */
  --fs-btn-sm: 0.875rem;                             /* 14 */
  --fs-nav: 0.75rem;                                 /* 12 */

  /* -- Layout -- */
  --w-page: 1280px;
  --w-container: 1120px;
  --pad-x: clamp(20px, 6.25vw, 80px);
  --sec-y: clamp(64px, 7.81vw, 100px);
  --nav-h: 79px;

  /* -- Motion -- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.32s;
  --t-base: 0.6s;
  --t-slow: 1.1s;
}

/* ==========================================================================
   3. RESET Y BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: var(--ff);
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  line-height: 1.5;
  color: var(--c-body);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: inherit; text-decoration: none; }
/* `bolder` desde 300 resuelve a 400, que en Nexa es la cara light: fijamos peso */
b, strong { font-weight: var(--fw-bold); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--c-gold); color: var(--c-white); }

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--c-ink);
  color: var(--c-white);
  font-size: var(--fs-nav);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   4. UTILIDADES DE LAYOUT
   ========================================================================== */
.u-container {
  width: 100%;
  max-width: var(--w-container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--sec-y);
  padding-inline: var(--pad-x);
}

.section--ink   { background: var(--c-ink-deep); color: var(--c-white); }
.section--gray  { background: var(--c-gray-bg); }
.section--white { background: var(--c-white); }

/* ==========================================================================
   5. TIPOGRAFÍA COMPARTIDA
   ========================================================================== */
.title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-heavy);
  line-height: 1.1;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--c-ink-deep);
}
.title__accent { display: block; color: var(--c-gold); }
.title--black { color: var(--c-black); }

/* Bloque encabezado: título + regla dorada */
.headline { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.headline__rule {
  display: block;
  width: 85px;
  height: 4px;
  background: var(--c-gold);
  transform-origin: left center;
}
.headline--center { align-items: center; text-align: center; }
.headline--center .headline__rule { transform-origin: center; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.286;      /* 27 / 21 */
  font-weight: var(--fw-light);
  letter-spacing: 0.029em;
}

.body-copy {
  font-size: var(--fs-body);
  line-height: 1.5;
  font-weight: var(--fw-light);
  letter-spacing: 0.011em;
  color: var(--c-body);
}
.body-copy--light { color: var(--c-white); }

.eyebrow {
  font-size: var(--fs-nav);
  font-weight: var(--fw-heavy);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* ==========================================================================
   6. BOTONES
   ========================================================================== */
.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: var(--c-white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10.5px 21px;
  font-size: var(--fs-btn);
  font-weight: var(--fw-heavy);
  line-height: 1;
  letter-spacing: 0.088em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.btn > span { position: relative; z-index: 2; }

/* Barrido diagonal en hover — sin desplazar el botón */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.52s var(--ease-out);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); }
.btn:hover { color: var(--c-white); box-shadow: 0 12px 30px -14px rgba(134, 117, 79, 0.85); }

.btn--gold  { --btn-bg: var(--c-gold); }
.btn--gold::before { background: var(--c-ink); }
.btn--light { --btn-bg: var(--c-white); --btn-fg: var(--c-ink); }
.btn--sm { padding: 8px 16px; font-size: var(--fs-btn-sm); letter-spacing: 0.086em; }
.btn--lg { padding: 10.5px 21px; font-size: var(--fs-body); letter-spacing: 0.088em; }

/* Flechas circulares (swiper) */
.nav-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.4px solid var(--c-ink-deep);
  color: var(--c-ink-deep);
  background: transparent;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.nav-arrow svg { width: 13px; height: 13px; }
.nav-arrow:hover { background: var(--c-ink-deep); color: var(--c-white); }
.nav-arrow.swiper-button-disabled { opacity: 0.32; pointer-events: none; }
.nav-arrow--light { border-color: rgba(255, 255, 255, 0.5); color: var(--c-white); }
.nav-arrow--light:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-white); }

/* ==========================================================================
   7. SISTEMA DE ANIMACIÓN
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.95s var(--ease-out), transform 1.05s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* Variantes */
.reveal--fade { transform: none; }
.reveal--left  { transform: translate3d(-34px, 0, 0); }
.reveal--right { transform: translate3d(34px, 0, 0); }
.reveal--rule { transform: scaleX(0); opacity: 1; transition: transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal--rule.is-in { transform: scaleX(1); }

/* Máscara de imagen: la foto se descubre y hace un leve zoom-out */
.reveal-mask { position: relative; overflow: hidden; }
.reveal-mask > img,
.reveal-mask > video,
.reveal-mask > picture {
  transform: scale(1.14);
  transition: transform 1.6s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--mask-bg, var(--c-white));
  transform-origin: right center;
  transition: transform 1.15s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-mask.is-in > img,
.reveal-mask.is-in > video,
.reveal-mask.is-in > picture { transform: scale(1); }
.reveal-mask.is-in::after { transform: scaleX(0); }

/* Texto partido por líneas / palabras */
.split-line {
  display: block;
  overflow: hidden;
  /* deja aire para ascendentes/descendentes: overflow:hidden si no las corta */
  padding: 0.06em 0 0.16em;
  margin: -0.06em 0 -0.16em;
}
.split-line > span {
  display: block;
  transform: translate3d(0, 105%, 0);
  transition: transform 1.05s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.is-in .split-line > span,
.split-line.is-in > span { transform: none; }

.split-char {
  display: inline-block;
  letter-spacing: 0;   /* el tracking lo pone el contenedor, no cada caja */
  opacity: 0;
  transform: translate3d(0, 42%, 0);
  transition: opacity 0.7s var(--ease-out), transform 0.95s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.is-in .split-char { opacity: 1; transform: none; }

/* Defensiva obligatoria: en elementos con split, la animación la llevan
   los spans internos. Si el JS no llega a partir el texto, sigue visible. */
.reveal[data-split] { opacity: 1; transform: none; transition: none; }

/* Red de seguridad: si el JS falla, todo queda visible */
.no-js .reveal,
.no-js .reveal-mask::after,
.no-js .split-line > span,
.no-js .split-char { opacity: 1; transform: none; }

/* ==========================================================================
   8. NAVEGACIÓN
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--c-ink);
  transition: background var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              transform 0.5s var(--ease-out);
}
.header--float { background: rgba(38, 39, 41, 0.82); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(255,255,255,0.07); }
.header--hidden { transform: translateY(-100%); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
  padding-block: 20px;
  padding-inline: var(--pad-x);
}

.header__logo { flex: none; display: block; }
.header__logo img { width: 150px; height: auto; }

.nav { display: flex; align-items: center; gap: 28px; }

.nav__list { display: flex; align-items: center; gap: 24px; }

.nav__link {
  position: relative;
  display: block;
  padding-block: 4px;
  font-size: var(--fs-nav);
  font-weight: var(--fw-heavy);
  line-height: 1;
  letter-spacing: 0.083em;
  text-transform: uppercase;
  color: var(--c-white);
  transition: color var(--t-fast) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.42s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--c-gold-soft); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left center; }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}
.header__burger span {
  display: block;
  height: 1.6px;
  background: var(--c-white);
  transition: transform 0.4s var(--ease-out), opacity 0.25s linear;
}
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Barra de progreso de lectura */
.header__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ==========================================================================
   9. HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: min(800px, 100svh);
  padding: calc(var(--nav-h) + clamp(48px, 7.9vw, 101px)) var(--pad-x) 60px;
  overflow: hidden;
  background: var(--c-ink-deep);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: -6% 0 -6% 0;
  z-index: -2;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.08);
  animation: heroZoom 2.6s var(--ease-out) 0.15s forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 10, 22, 0.42) 0%, rgba(6, 10, 22, 0.12) 46%, rgba(6, 10, 22, 0.28) 100%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 63px;
  text-align: center;
  color: var(--c-white);
}

.hero__brandblock { display: flex; flex-direction: column; align-items: center; gap: 32px; }

.hero__pre {
  font-size: var(--fs-h1-sub);
  font-weight: var(--fw-light);
  line-height: 0.966;      /* 28 / 29 */
  letter-spacing: 0.086em;
}

.hero__wordmark {
  font-size: var(--fs-wordmark);
  font-weight: var(--fw-light);
  line-height: 0.779;      /* 60 / 77 */
  letter-spacing: 0.639em; /* 49.2 px @77 → ancho de tinta 748 px como en Figma */
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__ctablock { display: flex; flex-direction: column; align-items: center; gap: 32px; max-width: 830px; }
.hero__lead { max-width: 830px; }
.hero__lead b { font-weight: var(--fw-bold); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: var(--fw-heavy);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0));
  animation: scrollPulse 2.4s var(--ease-in-out) infinite;
  transform-origin: top center;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.28); opacity: 0.35; }
  45%      { transform: scaleY(1);    opacity: 1; }
}

/* ==========================================================================
   10. CONCEPTO
   ========================================================================== */
.concepto {
  position: relative;
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  padding-block: var(--sec-y);
  padding-inline: var(--pad-x);
  background: var(--c-off-white);
  color: var(--c-white);
  overflow: hidden;
  isolation: isolate;
}
.concepto__bg {
  position: absolute;
  inset: -8% 0;
  z-index: -1;
  will-change: transform;
}
.concepto__bg img { width: 100%; height: 100%; object-fit: cover; }

.concepto__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  max-width: 806px;
  text-align: center;
}

.concepto__head { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.concepto__title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-heavy);
  line-height: 1.05;
  letter-spacing: 0.607em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.concepto__text {
  font-size: var(--fs-concepto);
  font-weight: var(--fw-light);
  line-height: 1.425;      /* 28.5 / 20 */
  color: var(--c-white);
}

.partners { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.partners__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.9vw, 50px);
}
.partners__logo {
  /* se normalizan por alto Y ancho: los lockups anchos (saad, alonso) si no
     rompen la fila */
  height: auto;
  width: auto;
  max-height: clamp(22px, 2.66vw, 34px);
  max-width: clamp(96px, 11.3vw, 145px);
  object-fit: contain;
  opacity: 0.8;
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.partners__logo:hover { opacity: 1; transform: translateY(-2px); }
.partners__name {
  font-size: clamp(0.625rem, 0.86vw, 0.6875rem);
  font-weight: var(--fw-heavy);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}

/* ==========================================================================
   11. CONECTIVIDAD (collage + texto)
   ========================================================================== */
.conect__grid {
  display: grid;
  grid-template-columns: 488fr 557fr;
  gap: 38px;
  align-items: stretch;
}

/* Collage con posiciones exactas del Figma (488 × 642) */
.collage {
  position: relative;
  width: 100%;
  aspect-ratio: 488 / 642;
}
.collage__item {
  position: absolute;
  overflow: hidden;
  background: var(--c-gray-bg);
}
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
.collage__item--a { left: 0;      top: 0;      width: 48.77%; height: 65.11%; }
.collage__item--b { left: 51.02%; top: 15.26%; width: 38.73%; height: 17.91%; }
.collage__item--c { left: 8.40%;  top: 67.13%; width: 40.37%; height: 18.38%; }
.collage__item--d { left: 51.02%; top: 35.05%; width: 48.98%; height: 65.26%; }

.conect__col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.features { display: flex; flex-direction: column; gap: 18px; }
.features__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-feature);
  font-weight: var(--fw-bold);
  letter-spacing: 0.047em;
  text-transform: uppercase;
  color: var(--c-body);
}
.features__icon { flex: none; width: 26px; height: 26px; color: var(--c-ink-deep); }
.features__icon svg { width: 100%; height: 100%; }

/* ==========================================================================
   12. PROTOTIPOS
   ========================================================================== */
.proto__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.proto__nav { display: flex; gap: 8px; }

.proto-card {
  display: grid;
  grid-template-columns: 355fr 764fr;
  background: var(--c-white);
  overflow: hidden;
}

.proto-card__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}

.proto-card__id { display: flex; flex-direction: column; gap: 4px; }
.proto-card__title {
  font-size: var(--fs-card-title);
  font-weight: var(--fw-heavy);
  line-height: 1;
  color: var(--c-ink-deep);
}
.proto-card__place { font-size: var(--fs-base); font-weight: var(--fw-light); color: var(--c-body); }

.proto-card__pricing { display: flex; flex-direction: column; gap: 2px; }
.proto-card__desde { font-size: var(--fs-base); font-weight: var(--fw-light); color: var(--c-body); }
.proto-card__price {
  font-size: var(--fs-price);
  font-weight: var(--fw-heavy);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--c-ink-deep);
  font-variant-numeric: tabular-nums;
}

.specs { display: flex; flex-direction: column; }
.specs__row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-block: 11px;
  font-size: var(--fs-spec);
  border-bottom: 1px solid var(--c-line);
}
.specs__row:first-child { padding-top: 4px; }
.specs__label { font-weight: var(--fw-bold); color: var(--c-ink-deep); }
.specs__value { font-weight: var(--fw-light); color: var(--c-body); }

.proto-card__plan { margin-top: auto; padding-block: 8px; }
.proto-card__plan img { width: 100%; height: auto; }

.proto-card__media { position: relative; overflow: hidden; background: var(--c-gray-bg); }
.proto-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   13. TESTIMONIO
   ========================================================================== */
.testimonial {
  position: relative;
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  padding-block: var(--sec-y);
  padding-inline: var(--pad-x);
  overflow: hidden;
  isolation: isolate;
}
.testimonial__bg { position: absolute; inset: -8% 0; z-index: -1; will-change: transform; }
.testimonial__bg img { width: 100%; height: 100%; object-fit: cover; }

.testimonial__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;          /* Swiper cachea el ancho al init: debe estar definido */
  max-width: 640px;
  text-align: center;
}
.testimonial__mark { width: 35px; height: auto; color: var(--c-ink); }
.testimonial__quote {
  font-size: var(--fs-quote);
  font-weight: var(--fw-light);
  line-height: 1.32;
  letter-spacing: 0.038em;
  color: var(--c-ink);
  text-wrap: balance;
}
.testimonial__slider { width: 100%; max-width: 100%; }
.testimonial__slide {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0 4px;
  text-align: center;
}
.testimonial .swiper-pagination { margin-top: 32px; }

.testimonial__avatar {
  width: 108px;
  height: 108px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   14. ASÍ SE VIVE (videos)
   ========================================================================== */
.vive__head { margin-bottom: 48px; align-items: flex-start; }

.vcard {
  position: relative;
  aspect-ratio: 357 / 505;
  overflow: hidden;
  background: var(--c-ink-deep);
}
.vcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.vcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.42) 100%);
  transition: opacity var(--t-base) var(--ease-out);
}
.vcard:hover img { transform: scale(1.06); }

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  transition: background var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}
.play svg { width: 20px; height: 22px; margin-left: 3px; }
.play::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  animation: playPulse 2.8s var(--ease-out) infinite;
}
@keyframes playPulse {
  0%   { transform: scale(1);    opacity: 0.75; }
  70%  { transform: scale(1.42); opacity: 0; }
  100% { transform: scale(1.42); opacity: 0; }
}
.play:hover { background: rgba(134, 117, 79, 0.72); border-color: rgba(255,255,255,0.95); }

/* -- Modal de video (<dialog> nativo: vive en la capa superior) -- */
.vmodal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  overflow: hidden;              /* el FLIP no debe generar scroll */
  color: var(--c-white);
  background: rgba(20, 21, 22, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  overscroll-behavior: contain;
}
.vmodal[open] { display: grid; place-items: center; }
.vmodal::backdrop { background: transparent; }
.vmodal:focus-visible { outline: none; }

/* El ancho más grande que cabe a lo alto dejando sitio a los controles.
   --ratio (9:16 por defecto) lo ajusta el JS al video real. */
.vmodal__body {
  --ratio: 0.5625;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100vw - 32px, (100vh - 190px) * var(--ratio));
  width: min(100vw - 32px, (100svh - 190px) * var(--ratio));
}
.vmodal__stage {
  position: relative;
  aspect-ratio: var(--ratio);
  overflow: hidden;
  background: var(--c-black);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 48px 110px -40px rgba(0, 0, 0, 0.9);
}
.vmodal__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vmodal__video:focus-visible { outline-offset: -3px; }

.vmodal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vmodal .nav-arrow { flex: none; width: 44px; height: 44px; }
.vmodal__meta { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; text-align: center; }
.vmodal__count { font-size: 11px; font-weight: var(--fw-heavy); letter-spacing: 0.18em; color: var(--c-gold-soft); }
.vmodal__caption { font-size: var(--fs-base); line-height: 1.3; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.86); }
.vmodal__close { position: absolute; top: 28px; right: 28px; z-index: 2; }

/* ==========================================================================
   15. BLOQUE IMAGEN + TEXTO
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 510fr 578fr;
  gap: 32px;
  align-items: center;
}
.split__media { position: relative; overflow: hidden; aspect-ratio: 510 / 322; background: var(--c-gray-bg); }
.split__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter var(--t-slow) var(--ease-out); }
.split__media:hover iframe { filter: grayscale(0); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__col { display: flex; flex-direction: column; gap: 48px; }

.checklist { display: flex; flex-direction: column; gap: 16px; }
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  color: var(--c-body);
}
.checklist__item::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 0.55em;
  background: var(--c-gold);
  rotate: 45deg;
}

/* ==========================================================================
   16. FINANCIAMIENTO
   ========================================================================== */
.fin__hero {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1120 / 566;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-ink-deep);
}
.fin__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fin__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 55% at 50% 55%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 72%),
    linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.22) 42%, rgba(0,0,0,0.82) 100%);
}
.fin__heroInner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 948px;
  padding: 32px;
  text-align: center;
  color: var(--c-white);
}

.fin__pair {
  display: grid;
  grid-template-columns: 640fr 457fr;
  gap: 24px;
  margin-top: 24px;
}
.fin__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  aspect-ratio: 640 / 426;
  padding: 32px;
  overflow: hidden;
  color: var(--c-white);
  isolation: isolate;
}
.fin__panel--b { aspect-ratio: 457 / 426; }
.fin__panel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}
.fin__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.72) 100%);
}
.fin__panel:hover img { transform: scale(1.05); }
.fin__panelTitle {
  font-size: var(--fs-card-title);
  font-weight: var(--fw-heavy);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fin__terms {
  display: flex;
  flex-direction: column;
  gap: 11.7px;
  font-size: var(--fs-card-title);
  font-weight: var(--fw-light);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.fin__actions { display: flex; justify-content: center; margin-top: 24px; }

/* ==========================================================================
   17. CONTACTO
   ========================================================================== */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 700px;
  padding-block: var(--sec-y);
  padding-inline: var(--pad-x);
  overflow: hidden;
  isolation: isolate;
  color: var(--c-white);
}
.contact__bg { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 62%, rgba(0,0,0,0.42) 100%);
}

.contact__panelWrap { display: flex; flex-direction: column; gap: 32px; max-width: 579px; }

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-size: 11px;
  font-weight: var(--fw-heavy);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.field__input {
  width: 100%;
  padding: 10px 2px;
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--c-white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  transition: border-color var(--t-fast) var(--ease-out);
}
.field__input::placeholder { color: rgba(255, 255, 255, 0.42); }
.field__input:focus { outline: none; border-bottom-color: var(--c-gold); }
.field__input:focus-visible { outline: none; }
select.field__input { appearance: none; cursor: pointer; }
select.field__input option { color: var(--c-ink); }
textarea.field__input { resize: vertical; min-height: 66px; }

.form__legal { font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }
.form__legal a { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }
.form .btn { width: 100%; }

/* ==========================================================================
   18. FOOTER
   ========================================================================== */
.footer {
  padding-block: var(--sec-y);
  padding-inline: var(--pad-x);
  background: var(--c-ink-deep);
  color: var(--c-white);
}
.footer__inner { display: flex; flex-direction: column; gap: 32px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brandcol { display: flex; flex-direction: column; gap: 32px; max-width: 420px; }
.footer__logo img { width: 168px; height: auto; }
.footer__tagline { font-size: var(--fs-base); font-weight: var(--fw-light); line-height: 1.6; color: rgba(255,255,255,0.76); }
.footer__cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__colTitle {
  font-size: 11px;
  font-weight: var(--fw-heavy);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-soft);
  margin-bottom: 4px;
}
.footer__link {
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: rgba(255,255,255,0.8);
  transition: color var(--t-fast) var(--ease-out);
}
.footer__link:hover { color: var(--c-gold-soft); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.55);
  font-size: var(--fs-base);
  font-weight: var(--fw-book);
  color: var(--c-white);
}

/* ==========================================================================
   18b. CLUB ORIGINA — explorador de amenidades
   Medidas tomadas del mockup @1280 (panel 1120×465):
   flechas a 50 px del borde, 40 px Ø, gap 8 · menú a x=106 (50+40+16)
   categoría 14 px, paso 39 · pill 20 px de alto, paso 28
   ========================================================================== */
.club__title { color: var(--c-white); }
.club__intro { max-width: 1000px; margin-top: 24px; }

.club__panel {
  position: relative;
  margin-top: 48px;
  aspect-ratio: 1120 / 465;
  min-height: 465px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--c-black);
}

.club__media { position: absolute; inset: 0; }

/* Dos capas apiladas para el crossfade. El blur lateral y el icono vienen
   horneados en la imagen exportada del Figma. */
.club__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.72s var(--ease-out), transform 1.25s var(--ease-out);
  will-change: opacity, transform;
}
.club__photo.is-active { opacity: 1; transform: scale(1); }

.club__ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 8px 0 8px 50px;
  pointer-events: none;
}
.club__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: calc(100% - 60px);
  max-height: 100%;
  pointer-events: auto;
}

/* -- Flechas -- */
.club__arrows { flex: none; display: flex; flex-direction: column; gap: 8px; }
.club-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-ink-deep);
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.6);
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.club-arrow svg { width: 12px; height: 8px; }
.club-arrow:hover { background: var(--c-gold); color: var(--c-white); }

/* -- Menú acordeón -- */
.club-menu {
  position: relative;
  min-width: 187px;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.club-menu::-webkit-scrollbar { display: none; }

.club-cat__btn {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 12px 0 10px;      /* 15 + 22 = 37 px de paso */
  font-size: 14px;
  line-height: 15px;
  font-weight: var(--fw-heavy);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--c-white);
  transition: color var(--t-fast) var(--ease-out);
}
.club-cat__btn:hover { color: var(--c-gold-soft); }
.club-cat__chev {
  flex: none;
  width: 10px;
  height: 6px;
  transition: transform 0.42s var(--ease-out);
}
.club-cat.is-open > .club-cat__btn > .club-cat__chev { transform: rotate(180deg); }

/* Acordeón sin medir alturas en JS */
.club-cat__wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.52s var(--ease-out);
}
.club-cat.is-open > .club-cat__wrap { grid-template-rows: 1fr; }

.club-cat__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}
/* El padding del contenedor escaparía al recorte de grid-template-rows: 0fr,
   así que el aire inferior va como margen del último elemento. */
.club-cat__list > li:last-child { margin-bottom: 13px; }
.club-cat__list li {
  opacity: 0;
  transform: translate3d(-10px, 0, 0);
  transition: opacity 0.45s var(--ease-out), transform 0.5s var(--ease-out);
}
.club-cat.is-open .club-cat__list li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 35ms + 90ms);
}

.club-item {
  display: block;
  height: 20px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 20px;
  font-weight: var(--fw-heavy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-ink-deep);
  background: var(--c-white);
  border-radius: 2px;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}
.club-item:hover { background: #e9e4d8; }
.club-item.is-active { background: var(--c-gold); color: var(--c-white); }
.club-item.is-active:hover { background: var(--c-gold); }

.club__actions { margin-top: 48px; }

/* Sin JS: se ven las cuatro categorías abiertas y la foto base */
.no-js .club-cat__wrap { grid-template-rows: 1fr; }
.no-js .club-cat__list li { opacity: 1; transform: none; }
.no-js .club__arrows { display: none; }

/* ==========================================================================
   19. SWIPER
   ========================================================================== */
.swiper { width: 100%; overflow: hidden; }
.swiper-wrapper { display: flex; }
.swiper-slide { flex: none; width: 100%; height: auto; }

/* Fallback sin JS: rejilla estática */
.no-js .swiper .swiper-wrapper { display: grid; gap: 24px; }
.no-js #vive-slider .swiper-wrapper { grid-template-columns: repeat(3, 1fr); }
.no-js #proto-slider .swiper-slide + .swiper-slide { display: none; }

/* Swiper posiciona la paginación en absoluto; aquí va en el flujo, debajo */
.swiper .swiper-pagination {
  position: relative;
  inset: auto;
  width: 100%;
}
.swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.swiper-pagination-bullet {
  width: 26px;
  height: 2px;
  border-radius: 0;
  background: rgba(38, 39, 41, 0.24);
  opacity: 1;
  transition: background var(--t-fast) var(--ease-out);
  cursor: pointer;
}
.swiper-pagination-bullet-active { background: var(--c-gold); }

/* ==========================================================================
   20. RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .proto-card { grid-template-columns: 320fr 700fr; }
}

@media (max-width: 900px) {
  .conect__grid { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .fin__pair { grid-template-columns: 1fr; }
  .fin__panel, .fin__panel--b { aspect-ratio: 16 / 10; }
  .footer__top { flex-direction: column; gap: 40px; }
}

@media (max-width: 767px) {
  :root { --nav-h: 68px; }

  .header__inner { padding-block: 14px; }
  .header__logo img { width: 122px; }
  .header__burger { display: flex; }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad-x) 28px;
    background: rgba(38, 39, 41, 0.97);
    backdrop-filter: blur(16px);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.55s var(--ease-out);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding-block: 15px; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 20px; width: 100%; }

  .hero { min-height: 100svh; padding-top: calc(var(--nav-h) + 60px); }
  .hero__inner { gap: 40px; }
  .hero__brandblock { gap: 18px; }
  .hero__wordmark { letter-spacing: 0.36em; }

  .concepto__inner { gap: 44px; }

  .proto__head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
  .proto-card { grid-template-columns: 1fr; }
  .proto-card__media { aspect-ratio: 764 / 620; order: -1; }
  .proto-card__panel { padding: 24px; }

  .testimonial__avatar { width: 88px; height: 88px; }

  .fin__heroInner { padding: 20px; }

  /* Club Origina: foto arriba, acordeón debajo con chips horizontales */
  .club__panel { aspect-ratio: auto; min-height: 0; overflow: visible; background: transparent; }
  .club__media {
    position: relative;
    inset: auto;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 2px;
    background: var(--c-black);
  }
  .club__photo { object-position: 100% 50%; }   /* conserva el icono horneado */
  .club__ui { position: static; padding: 0; margin-top: 14px; }
  .club__inner {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: none;
    max-height: none;
    gap: 10px;
  }
  .club__arrows {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    flex-direction: row;
  }
  .club-menu { min-width: 0; max-height: none; overflow: visible; }
  .club-cat__btn { padding: 11px 0 9px; font-size: 13px; }
  .club-cat__list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .club-cat__list::-webkit-scrollbar { display: none; }
  .club-cat__list li { flex: none; }
  .club-item { height: 26px; line-height: 26px; padding: 0 12px; }
  .club__actions { margin-top: 32px; }

  .form { padding: 22px; }
  .form__grid { grid-template-columns: 1fr; }

  .vmodal__close { top: 16px; right: 16px; }

  .footer__bottom { flex-direction: column; gap: 10px; font-size: 14px; }
}

@media (max-width: 480px) {
  .hero__wordmark { letter-spacing: 0.24em; }
  .partners__row { gap: 24px; }
}

/* Pantallas bajas (móvil en horizontal): manda el video, se oculta el título */
@media (max-height: 520px) {
  .vmodal__body {
    width: min(100vw - 32px, (100vh - 96px) * var(--ratio));
    width: min(100vw - 32px, (100svh - 96px) * var(--ratio));
  }
  .vmodal__caption { display: none; }
}

/* Respeta la preferencia real de movimiento reducido sólo para efectos intrusivos */
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; transform: none; }
  .play::before { animation: none; }
  .hero__scroll i { animation: none; }
}

/* ==========================================================================
   21. PÁGINAS LEGALES
   ========================================================================== */
.legal {
  padding: calc(var(--nav-h) + var(--sec-y)) var(--pad-x) var(--sec-y);
  background: var(--c-white);
}
.legal__inner { max-width: 820px; margin-inline: auto; }
.legal__title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-heavy);
  line-height: 1.1;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--c-ink-deep);
  margin-bottom: 8px;
}
.legal__meta { font-size: var(--fs-base); color: var(--c-body); margin-bottom: 40px; }
.legal__h { 
  font-size: var(--fs-card-title);
  font-weight: var(--fw-heavy);
  line-height: 1.2;
  color: var(--c-ink-deep);
  margin: 40px 0 12px;
}
.legal__p { font-size: var(--fs-body); line-height: 1.7; color: var(--c-body); margin-bottom: 14px; }
.legal__p a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 3px; }
.legal__list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.legal__list li {
  position: relative;
  padding-left: 20px;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--c-body);
}
.legal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--c-gold);
  rotate: 45deg;
}
.legal__note {
  padding: 16px 20px;
  border-left: 3px solid var(--c-gold);
  background: var(--c-off-white);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-body);
}

/* ==========================================================================
   22. PÁGINA DE GRACIAS
   ========================================================================== */
.thanks {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(900px, 100svh);
  padding: calc(var(--nav-h) + clamp(44px, 5.2vw, 76px)) var(--pad-x) clamp(44px, 5.2vw, 76px);
  overflow: hidden;
  isolation: isolate;
  background: var(--c-ink-deep);
  color: var(--c-white);
}

.thanks__bg { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }
.thanks__bg img { width: 100%; height: 100%; object-fit: cover; }
.thanks::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 10, 22, 0.74) 0%, rgba(6, 10, 22, 0.6) 48%, rgba(6, 10, 22, 0.8) 100%);
  pointer-events: none;
}

.thanks__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(26px, 2.5vw, 32px);
  text-align: center;
}

/* Rombo dorado con palomita — mismo gesto que las viñetas legales */
.thanks__mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid var(--c-gold);
  rotate: 45deg;
}
.thanks__mark svg { width: 26px; height: 26px; rotate: -45deg; }

.thanks__head { gap: 16px; }
.thanks__head .eyebrow { color: var(--c-gold-soft); }   /* más legible sobre el cielo del render */
.thanks__title {
  font-size: var(--fs-wordmark);
  font-weight: var(--fw-light);
  line-height: 0.9;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.thanks__lead { max-width: 720px; color: var(--c-body-light); }
.thanks__lead b { font-weight: var(--fw-bold); color: var(--c-white); }

.thanks__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.thanks__step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  text-align: left;
}
.thanks__stepNum {
  font-size: var(--fs-nav);
  font-weight: var(--fw-heavy);
  letter-spacing: 0.14em;
  color: var(--c-gold);
}
.thanks__stepText {
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  line-height: 1.5;
  color: var(--c-body-light);
}

.thanks__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.thanks__note { font-size: var(--fs-spec); color: rgba(255, 255, 255, 0.6); }
.thanks__note a { color: var(--c-gold-soft); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
  .thanks__title { letter-spacing: 0.28em; }
  .thanks__steps { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .thanks__mark { width: 64px; height: 64px; }
  .thanks__ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .thanks__ctas .btn { justify-content: center; text-align: center; }
}
