@charset "UTF-8";
/* ==========================================================================
   ORIGINA SANTA FE — Landing V1
   Arquitectura: BEM + tokens. CSS puro, sin frameworks.
   Referencia Figma: 1280 px de ancho (node 47:4 / 47:346)
   ========================================================================== */

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

/* ==========================================================================
   2. TOKENS
   ========================================================================== */
:root {
  /* -- Paleta (extraída del Figma) -- */
  --c-gold: #87754f;
  --c-gold-deep: #775a19;
  --c-gold-soft: #a08d63;
  --c-cream: #eee8dc;
  --c-cream-light: #f8f5ee;
  --c-cream-warm: #f6f3ed;
  --c-off-white: #fbf9f8;
  --c-gray-bg: #f6f6f6;
  --c-ink: #262729;
  --c-ink-deep: #0e0f0d;
  --c-gray: #4b4f54;
  --c-gray-label: #686c64;
  --c-placeholder: #757575;
  --c-black: #0a0b09;
  --c-white: #ffffff;
  --c-line: rgba(38, 39, 41, 0.14);
  --c-line-dark: rgba(255, 255, 255, 0.12);

  /* -- Tipografía -- */
  --ff-display: "Nexa", "Century Gothic", "Futura", "Trebuchet MS", sans-serif;
  --ff-text: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --ff-mono-ui: "Manrope", "Montserrat", Arial, sans-serif;

  --fw-light: 300;
  --fw-heavy: 900;

  /* Escalas fluidas — el valor máximo es el px exacto del Figma @1280 */
  --fs-hero: clamp(2.125rem, 5.05vw, 4.041rem);        /* 64.65 */
  --fs-display: clamp(2.375rem, 4.816vw, 3.853rem);    /* 61.65 */
  --fs-card-title: clamp(2.125rem, 3.782vw, 3.026rem); /* 48.42 */
  --fs-price: clamp(1.875rem, 3.278vw, 2.623rem);      /* 41.96 */
  --fs-fin: clamp(1.5rem, 3.192vw, 2.554rem);          /* 40.86 */
  --fs-h2: clamp(1.75rem, 3.014vw, 2.411rem);          /* 38.58 */
  --fs-h2-sm: clamp(1.625rem, 2.734vw, 2.188rem);      /* 35 */
  --fs-fin-title: clamp(1.25rem, 2.308vw, 1.847rem);   /* 29.55 */
  --fs-quote: clamp(1.1875rem, 2.072vw, 1.658rem);     /* 26.53 */
  --fs-form-title: clamp(1.25rem, 2.095vw, 1.676rem);  /* 26.82 */
  --fs-desde: clamp(1.125rem, 1.765vw, 1.412rem);      /* 22.59 */
  --fs-footer: clamp(1.0625rem, 1.698vw, 1.359rem);    /* 21.74 */
  --fs-club-sub: clamp(1rem, 1.588vw, 1.271rem);       /* 20.33 */
  --fs-lead: 1.125rem;                                  /* 18 */
  --fs-body: 1rem;                                      /* 16 */
  --fs-card-cta: 1.042rem;                              /* 16.68 */
  --fs-card-sub: 1.009rem;                              /* 16.14 */
  --fs-spec: 0.908rem;                                  /* 14.52 */
  --fs-form: 0.838rem;                                  /* 13.41 */
  --fs-eyebrow: 0.807rem;                               /* 12.91 */
  --fs-nav: 0.75rem;                                    /* 12 */

  /* -- Layout -- */
  --w-nav: 1120px;      /* 1280 - 80*2 */
  --w-invest: 1169px;
  --w-proto-head: 900px;
  --w-proto: 900px;
  --w-club: 1166px;
  --w-standard: 1106px;
  --w-vive: 800px;
  --w-fin: 1162px;
  --gutter: 24px;
  --nav-h: 80px;

  /* -- Motion -- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t-fast: 0.28s;
  --t-base: 0.55s;
  --t-slow: 0.9s;
}

/* ==========================================================================
   3. RESET
   ========================================================================== */
*, *::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-text);
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  line-height: 1.8;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

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

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

.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--c-ink-deep);
  color: var(--c-white);
  font-size: var(--fs-nav);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
  --cw: var(--w-standard);
  width: min(100% - (var(--gutter) * 2), var(--cw));
  margin-inline: auto;
}
.container--nav        { --cw: var(--w-nav); }
.container--invest     { --cw: var(--w-invest); }
.container--proto-head { --cw: var(--w-proto-head); }
.container--proto      { --cw: var(--w-proto); }
.container--club       { --cw: var(--w-club); }
.container--vive       { --cw: var(--w-vive); }
.container--fin        { --cw: var(--w-fin); }

.section { position: relative; }
.section--invest { background: var(--c-off-white); padding: 58px 0 36px; }
.section--proto  { background: var(--c-gray-bg);  padding: 93px 0 47px; }
.section--club   { background: var(--c-white);    padding: 80px 0; }
.section--quote  { background: var(--c-cream);    padding: 109px 0; }
.section--vive   { background: var(--c-white);    padding: 56px 0 64px; }
.section--fin    { background: var(--c-cream);    padding: 107px 0; }
.section--place  { background: var(--c-cream-warm); padding: 109px 0; }

/* ==========================================================================
   5. TIPOGRAFÍA — utilidades semánticas
   ========================================================================== */
.t-display {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--c-ink);
}

.t-heading {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-h2);
  line-height: 1.3;
  color: #000;
}

.t-heading--sm { font-size: var(--fs-h2-sm); line-height: 1.3; }

.t-eyebrow {
  font-family: var(--ff-display);
  font-weight: var(--fw-heavy);
  font-size: var(--fs-eyebrow);
  line-height: 1.5;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-gray);
}

.t-body {
  font-family: var(--ff-text);
  font-weight: var(--fw-light);
  font-size: var(--fs-body);
  line-height: 1.8;
  letter-spacing: 0.011em;
}

.t-gold { color: var(--c-gold); }

/* ==========================================================================
   6. BOTONES
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-text);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: 14.4px;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 100px;
  padding: 15.5px 32px 15.9px;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out),
              background-color var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}

/* Barrido de brillo en hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.28) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(130%); }

.btn__label { position: relative; display: block; }

.btn--gold {
  background: var(--c-gold);
  color: var(--c-white);
  box-shadow: 0 6px 20px -10px rgba(135, 117, 79, 0.7);
}
.btn--gold:hover, .btn--gold:focus-visible {
  background: #7a6944;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(135, 117, 79, 0.85);
}

.btn--dark {
  background: #000;
  color: var(--c-white);
  padding: 15.5px 32px 15.9px;
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.6);
}
.btn--dark:hover, .btn--dark:focus-visible {
  background: #1b1c1a;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.65);
}

.btn--nav {
  font-size: var(--fs-nav);
  padding: 11.5px 32px 11.89px;
  letter-spacing: 0.1em;
}

.btn--card {
  font-family: var(--ff-text);
  font-weight: 600;
  font-size: var(--fs-card-cta);
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  background: var(--c-ink);
  color: var(--c-white);
  padding: 8px 16.68px;
}
.btn--card:hover, .btn--card:focus-visible {
  background: var(--c-gold);
  transform: translateY(-2px);
}

.btn--block { display: flex; width: 100%; }

.btn--submit {
  font-family: var(--ff-display);
  font-weight: var(--fw-heavy);
  font-size: var(--fs-form);
  letter-spacing: 0.0075em;
  text-transform: none;
  background: var(--c-ink-deep);
  color: var(--c-white);
  min-height: 49px;
  padding: 14px 16.76px;
}
.btn--submit:hover:not([disabled]), .btn--submit:focus-visible {
  background: var(--c-gold);
  transform: translateY(-2px);
}
.btn--submit[disabled] { opacity: 0.55; cursor: progress; transform: none; }

/* Spinner del submit */
.btn__spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 0.7s linear infinite;
}
.is-sending .btn__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   7. HEADER / NAV
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--c-white);
  transition: box-shadow 0.4s var(--ease-out), height 0.4s var(--ease-out);
}
.header.is-stuck {
  box-shadow: 0 10px 34px -22px rgba(14, 15, 13, 0.55);
  height: 68px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.header__logo { flex: none; display: block; }
.header__logo svg { width: 137px; height: 36px; transition: width 0.4s var(--ease-out); }
.header.is-stuck .header__logo svg { width: 122px; }
.header__logo path { fill: #000; }

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

.nav__link {
  position: relative;
  font-family: var(--ff-text);
  font-weight: 300;
  font-size: var(--fs-nav);
  line-height: 1.333;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  padding: 6px 0;
  transition: color var(--t-fast) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.42s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--c-gold); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__cta { flex: none; }

/* Botón hamburguesa (solo móvil) */
.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  flex: none;
  margin-right: -10px;
}
.burger__bar {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.5px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.42s var(--ease-out), opacity 0.2s linear, width 0.42s var(--ease-out);
}
.burger__bar:nth-child(1) { top: 17px; }
.burger__bar:nth-child(2) { top: 22px; width: 15px; }
.burger__bar:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 48px;
  background: var(--c-white);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-out);
  pointer-events: none;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }

.mobile-menu__list { display: flex; flex-direction: column; gap: 6px; }

.mobile-menu__item { overflow: hidden; }
.mobile-menu__link {
  display: block;
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: clamp(2rem, 11vw, 2.75rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  transform: translateY(110%);
  transition: transform 0.7s var(--ease-out), color var(--t-fast) linear;
}
.mobile-menu.is-open .mobile-menu__link { transform: translateY(0); }
.mobile-menu__item:nth-child(1) .mobile-menu__link { transition-delay: 0.08s; }
.mobile-menu__item:nth-child(2) .mobile-menu__link { transition-delay: 0.14s; }
.mobile-menu__item:nth-child(3) .mobile-menu__link { transition-delay: 0.20s; }
.mobile-menu__item:nth-child(4) .mobile-menu__link { transition-delay: 0.26s; }
.mobile-menu__link:active { color: var(--c-gold); }

.mobile-menu__foot {
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out) 0.34s, transform 0.5s var(--ease-out) 0.34s;
}
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; transform: none; }

/* ==========================================================================
   8. HERO
   ========================================================================== */
.hero {
  position: relative;
  margin-top: var(--nav-h);
  height: 800px;
  min-height: 560px;
  max-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #14161c;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1);
  animation: heroZoom 20s var(--ease-in-out) 0.2s both;
  backface-visibility: hidden;
}
/* El video de fondo se comporta como imagen: sin controles ni interacción */
.hero__video {
  display: block;
  pointer-events: none;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Viñeta para asegurar legibilidad del titular */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 52%, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.12) 55%, rgba(0,0,0,0.30) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0) 32%);
}

.hero__inner {
  width: min(100% - (var(--gutter) * 2), 1017px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: var(--c-white);
}

.hero__title {
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-weight: var(--fw-heavy);
  color: var(--c-white);
}
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line--light { font-weight: var(--fw-light); letter-spacing: 0.005em; }

.hero__lead {
  max-width: 843px;
  font-family: var(--ff-text);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--c-white);
}
.hero__lead strong { font-weight: 700; }

.hero__cta { margin-top: 0; }

/* Indicador de scroll (9×15 en el Figma) */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  width: 19px; height: 30px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 12px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
}
.hero__scroll::after {
  content: "";
  width: 2px; height: 6px;
  border-radius: 2px;
  background: rgba(255,255,255,0.9);
  animation: scrollDot 2s var(--ease-in-out) infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55%      { transform: translateY(9px); opacity: 0.15; }
  56%      { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   9. SECCIÓN INVERSIÓN ("Tu lugar ideal")
   ========================================================================== */
.invest__grid {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 38px;
  align-items: center;
}

.invest__figure { position: relative; overflow: hidden; }
.invest__img {
  width: 100%;
  aspect-ratio: 560 / 540;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease-out);
}
.invest__figure:hover .invest__img { transform: scale(1.05); }

.invest__body { display: flex; flex-direction: column; }

.invest__title { font-size: clamp(1.75rem, 2.998vw, 2.398rem); margin-bottom: 9px; }

.invest__text {
  text-align: justify;
  color: #000;
  margin-bottom: 27px;
}

.features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 27px; }

.features__item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: #000;
}
.features__icon {
  flex: none;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  color: var(--c-gold);
}
.features__icon svg { width: 100%; height: 100%; }

.invest__cta { align-self: flex-start; }

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

.proto__title {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-top: 16px;
}

.carousel-nav { display: flex; gap: 9.68px; flex: none; }

.carousel-nav__btn {
  width: 47px; height: 47px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--ff-text);
  font-size: 17.75px;
  line-height: 1;
  box-shadow: 0 2px 10px -6px rgba(38,39,41,0.35);
  transition: background-color var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-spring),
              opacity var(--t-fast) linear;
}
.carousel-nav__btn:hover {
  background: var(--c-gold);
  color: var(--c-white);
  transform: scale(1.08);
}
.carousel-nav__btn:active { transform: scale(0.96); }
.carousel-nav__btn.swiper-button-disabled { opacity: 0.35; pointer-events: none; }

/* -- Slider -- */
.proto__slider { overflow: hidden; }
.proto__slider .swiper-wrapper { align-items: stretch; }

/* Fallback si Swiper no carga: scroll-snap horizontal */
.proto__slider:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.proto__slider:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.proto-card {
  display: grid;
  grid-template-columns: 326px 1fr;
  min-height: 742px;
  height: auto;
}

.proto-card__info {
  display: flex;
  flex-direction: column;
  background: var(--c-cream);
  padding: 27.44px 27.44px 24.21px;
}

.proto-card__title {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-card-title);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--c-ink);
}

.proto-card__place {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-card-sub);
  line-height: 1.5;
  color: var(--c-gray);
  padding: 12.91px 0 30.66px;
}

.proto-card__desde {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-desde);
  line-height: 1.5;
  color: var(--c-ink);
}

.proto-card__price {
  font-family: var(--ff-display);
  font-weight: var(--fw-heavy);
  font-size: var(--fs-price);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  padding-top: 6.46px;
}

.spec-list { padding-top: 22.59px; }
.spec-list__item {
  padding-top: 8.07px;
  padding-bottom: 8.4px;
  border-top: 1px solid var(--c-line);
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-spec);
  line-height: 1.5;
  color: var(--c-ink);
}
.spec-list__item:last-child { border-bottom: 1px solid var(--c-line); }

.proto-card__plano {
  width: 271px;
  max-width: 100%;
  margin: 18px 0 19px;
  overflow: hidden;
}
.proto-card__plano img {
  width: 100%;
  height: 162px;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.7s var(--ease-out);
}
.proto-card__plano:hover img { transform: scale(1.05); }

.proto-card__cta { align-self: flex-start; }

.proto-card__gallery { position: relative; overflow: hidden; background: var(--c-gray-bg); }
.proto-card__gallery img {
  width: 100%;
  height: 100%;
  min-height: 742px;
  object-fit: cover;
  object-position: center;
  transition: transform 1.4s var(--ease-out);
}
.proto-card__gallery:hover img { transform: scale(1.035); }

/* Paginación (móvil) */
.proto__pagination,
.vive__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}
.proto__pagination .swiper-pagination-bullet,
.vive__pagination .swiper-pagination-bullet {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(38,39,41,0.22);
  transition: background-color var(--t-fast) linear, width var(--t-fast) var(--ease-out);
}
.proto__pagination .swiper-pagination-bullet-active,
.vive__pagination .swiper-pagination-bullet-active {
  background: var(--c-gold);
  width: 22px;
  border-radius: 4px;
}

/* ==========================================================================
   11. CLUB ORIGINA
   ========================================================================== */
.club__head {
  width: min(100%, 840px);
  margin: 0 auto 47px;
  text-align: center;
}
.club__title { margin-bottom: 6px; }
.club__sub {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-club-sub);
  line-height: 1.3;
  color: #000;
}

.club__grid { overflow: hidden; }
.club__grid .swiper-wrapper { align-items: stretch; }

/* Fallback sin Swiper */
.club__grid:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 38.2px;
}

.amenity {
  position: relative;
  display: block;
  aspect-ratio: 263 / 278;
  overflow: hidden;
  background: #c8c8c8;
  height: auto;
}
.amenity__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.1s var(--ease-out), filter 0.6s var(--ease-out);
}
.amenity:hover .amenity__img { transform: scale(1.09); }

.amenity__label {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.club__cta-wrap { display: flex; justify-content: center; margin-top: 47px; }

/* ==========================================================================
   12. TESTIMONIO
   ========================================================================== */
.quote__grid {
  display: grid;
  grid-template-columns: 437px 1fr;
  gap: 15px;
  align-items: stretch;
}

.quote__figure { position: relative; overflow: hidden; }
.quote__img {
  width: 100%; height: 100%;
  min-height: 532px;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.quote__figure:hover .quote__img { transform: scale(1.05); }

.quote__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--c-cream-light);
  padding: 62.02px;
}

.quote__mark {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 77.11px;
  line-height: 0.5;
  color: var(--c-gold);
  margin-bottom: 30px;
  transform-origin: left bottom;
}

.quote__text {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-quote);
  line-height: 1.32;
  letter-spacing: 0.038em;
  color: var(--c-ink-deep);
}

/* ==========================================================================
   13. ASÍ SE VIVE
   ========================================================================== */
.vive__title { text-align: center; margin-bottom: 40px; }

.vive__slider { overflow: hidden; }
.vive__slider:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14.31px;
}

.vive__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  height: auto;
}

/* Cada miniatura es un botón: abre el video en modal */
.vive__item--video {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.vive__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease-out);
  will-change: transform;
}
.vive__item:hover img { transform: scale(1.06); }

/* Velo + botón de play sobre la miniatura */
.vive__item--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.34), rgba(0,0,0,0) 45%);
  opacity: 0.85;
  transition: opacity var(--t-fast) linear;
  pointer-events: none;
}
.vive__item--video:hover::after { opacity: 1; }

.vive__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--c-white);
  z-index: 1;
  transition: transform var(--t-fast) var(--ease-spring),
              background-color var(--t-fast) linear,
              border-color var(--t-fast) linear;
}
.vive__play svg { width: 20px; height: 20px; margin-left: 3px; }
.vive__item--video:hover .vive__play,
.vive__item--video:focus-visible .vive__play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--c-gold);
  border-color: var(--c-gold);
}
.vive__item--video:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }

/* ---- Modal de video ---- */
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10,11,13,0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast) linear, visibility 0s linear var(--t-fast);
}
.vmodal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--t-fast) linear, visibility 0s;
}
.vmodal__dialog {
  position: relative;
  width: min(100%, 420px);
  max-height: 86svh;
  aspect-ratio: 9 / 16;
  background: #000;
  transform: scale(0.96);
  transition: transform var(--t-base) var(--ease-out);
}
.vmodal.is-open .vmodal__dialog { transform: scale(1); }
.vmodal__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.vmodal__close {
  position: absolute;
  top: -46px; right: 0;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
  transition: background-color var(--t-fast) linear, border-color var(--t-fast) linear;
}
.vmodal__close:hover { background: var(--c-gold); border-color: var(--c-gold); }
.vmodal__close svg { width: 14px; height: 14px; }

@media (max-width: 600px) {
  .vmodal { padding: 16px; }
  .vmodal__close {
    top: 10px; right: 10px;
    background: rgba(0,0,0,0.45);
    border-color: rgba(255,255,255,0.65);
  }
  .vive__play { width: 54px; height: 54px; }
}

/* ==========================================================================
   14. FINANCIAMIENTO
   ========================================================================== */
.fin__stack { display: flex; flex-direction: column; gap: 25px; }

.fin__hero {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1162 / 566;
  min-height: 300px;
  overflow: hidden;
  isolation: isolate;
}
.fin__hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.fin__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.30), rgba(0,0,0,0.46));
}

.fin__copy {
  width: min(100% - 48px, 948px);
  text-align: center;
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 11.67px;
}

.fin__kicker {
  font-family: var(--ff-display);
  font-weight: var(--fw-heavy);
  font-size: var(--fs-fin-title);
  line-height: 1.8;
  letter-spacing: 0.011em;
  color: var(--c-white);
}

.fin__terms {
  font-family: var(--ff-display);
  font-weight: var(--fw-heavy);
  font-size: var(--fs-fin);
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--c-white);
}
.fin__terms span { display: block; }
.fin__terms span:nth-child(2) { font-weight: var(--fw-light); }

.fin__pair {
  display: grid;
  grid-template-columns: 665fr 457fr;
  gap: 40px;
}
.fin__pair figure { overflow: hidden; aspect-ratio: 665 / 426; }
.fin__pair figure:last-child { aspect-ratio: 457 / 426; }
.fin__pair img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.fin__pair figure:hover img { transform: scale(1.05); }

.fin__cta-wrap { display: flex; justify-content: center; margin-top: 25px; }
.btn--wide { min-width: 304px; min-height: 48px; }

/* --------------------------------------------------------------------------
   Variantes de la landing de ENTREGA INMEDIATA
   El Figma usa los mismos bloques con otras escalas y una sección de oferta
   en lugar de la de financiamiento (node 47:936).
   -------------------------------------------------------------------------- */
.invest__title--lg {
  font-size: clamp(1.875rem, 3.88vw, 3.105rem);   /* 49.68 px @1280 */
  line-height: 1.3;
}

/* Bloque "Oportunidad del mes" sobre la imagen */
.fin__copy--offer { width: min(100% - 48px, 739px); gap: 10px; }

.fin__kicker--sm {
  font-size: 1rem;                                 /* 16 px */
  line-height: 1.8;
  letter-spacing: 0.011em;
}

.fin__terms--offer {
  font-size: clamp(1.375rem, 2.734vw, 2.188rem);   /* 35 px @1280 */
  line-height: 1.3;
  text-transform: none;
}

.fin__note {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-white);
}
.fin__note--small { opacity: 0.85; }

/* Línea de urgencia bajo el par de imágenes */
.fin__urgency {
  width: min(100% - 48px, 899px);
  margin-inline: auto;
  text-align: center;
  font-family: var(--ff-text);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.8;
  letter-spacing: 0.011em;
  color: #000;
}
.fin__urgency span { white-space: nowrap; }
.fin__urgency i {
  font-style: normal;
  padding: 0 1.4em;
  color: var(--c-gold);
}

@media (max-width: 640px) {
  .fin__urgency i { display: block; padding: 4px 0; }
  .fin__urgency span { white-space: normal; }
}

/* ==========================================================================
   15. UBICACIÓN + FORMULARIO
   ========================================================================== */
.place__grid {
  display: grid;
  grid-template-columns: 442px 1fr;
  gap: 45px;
  align-items: start;
}

.place__col { display: flex; flex-direction: column; gap: 16px; }

.place__title { margin-top: 17px; }

.place__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 0;
}
/* Línea vertical que une los marcadores */
.place__list::before {
  content: "";
  position: absolute;
  left: 11.5px;
  top: 28px; bottom: 28px;
  width: 1px;
  background: var(--c-gold-deep);
  transform-origin: top;
}

.place__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--ff-text);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.8;
  letter-spacing: 0.011em;
  color: #000;
}

.place__dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-white);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(119,90,25,0.18);
}
.place__dot::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-gold-deep);
  transition: transform var(--t-fast) var(--ease-spring);
}
.place__item:hover .place__dot::after { transform: scale(1.45); }

.place__map { overflow: hidden; }
.place__map img {
  width: 100%;
  aspect-ratio: 442 / 251;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.place__map:hover img { transform: scale(1.05); }
.place__map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 442 / 251;
  border: 0;
}

/* -- Formulario -- */
.form {
  max-width: 602px;   /* ancho exacto del Figma dentro de su columna */
  background: var(--c-cream);
  padding: 28.5px;
}

.form__title {
  font-family: var(--ff-display);
  font-weight: var(--fw-heavy);
  font-size: var(--fs-form-title);
  line-height: 1.2;
  color: var(--c-ink-deep);
  padding-bottom: 20.12px;
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.field { display: block; padding-top: 15px; }
.field--first { padding-top: 16.76px; }

.field__label {
  display: block;
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-form);
  line-height: 1.1;
  letter-spacing: 0.056em;
  text-transform: uppercase;
  color: var(--c-gray-label);
  padding-bottom: 5.87px;
  transition: color var(--t-fast) linear;
}

.field__control {
  width: 100%;
  min-height: 45px;
  background: var(--c-cream-warm);
  border: 1px solid transparent;
  border-radius: 10.9px;
  padding: 12px 11.73px;
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-form);
  line-height: 1.5;
  color: var(--c-ink-deep);
  transition: border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out),
              background-color var(--t-fast) var(--ease-out);
}
.field__control::placeholder { color: var(--c-placeholder); }
.field__control:hover { background: #fffdf9; }
.field__control:focus {
  outline: none;
  border-color: var(--c-gold);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(135, 117, 79, 0.16);
}
.field:focus-within .field__label { color: var(--c-gold); }

textarea.field__control { min-height: 135px; resize: vertical; }

/* Select con flecha propia */
.field__select-wrap { position: relative; }
.field__select-wrap::after {
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.4px solid var(--c-ink-deep);
  border-bottom: 1.4px solid var(--c-ink-deep);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: transform var(--t-fast) var(--ease-out);
}
.field__select-wrap:focus-within::after { transform: translateY(-30%) rotate(225deg); }
select.field__control {
  appearance: none;
  -webkit-appearance: none;
  min-height: 47px;
  padding-right: 34px;
  color: var(--c-ink-deep);
  cursor: pointer;
}
select.field__control:invalid, select.field__control option[value=""] { color: var(--c-placeholder); }

/* Error inline */
.field__error {
  display: block;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  font-family: var(--ff-display);
  font-size: 12px;
  line-height: 1.6;
  color: #a33b2d;
  transition: max-height 0.3s var(--ease-out), padding-top 0.3s var(--ease-out);
}
.field.has-error .field__error { max-height: 40px; padding-top: 4px; }
.field.has-error .field__control { border-color: #c05a4a; box-shadow: 0 0 0 3px rgba(192,90,74,0.14); }
.field.has-error .field__control { animation: shake 0.35s var(--ease-out); }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%     { transform: translateX(-4px); }
  75%     { transform: translateX(4px); }
}

/* Teléfono internacional (intl-tel-input) — heredamos el look del formulario */
.field .iti {
  display: block;
  width: 100%;
  --iti-border-color: var(--c-line);
  --iti-dropdown-bg: var(--c-white);
  --iti-hover-color: rgba(135, 117, 79, 0.10);
  --iti-dialcode-color: var(--c-gray);
  --iti-arrow-color: var(--c-ink-deep);
  --iti-spacer-horizontal: 11.73px;
}
.field .iti input.field__control { padding-right: 11.73px; }

/* Botón de país: separado del número por una línea, dorado al enfocar */
.iti__selected-country {
  border-radius: 10.9px 0 0 10.9px;
  transition: background-color var(--t-fast) linear;
}
.iti__selected-country-primary { border-radius: 10.9px 0 0 10.9px; }
.iti__selected-country:focus-visible { outline: 2px solid var(--c-gold); outline-offset: -2px; }
.iti__selected-country-primary { padding-right: 4px; }
.iti__selected-dial-code {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-form);
  color: var(--c-ink-deep);
}
.iti--separate-dial-code .iti__selected-country::after {
  content: "";
  position: absolute;
  right: 0; top: 9px; bottom: 9px;
  width: 1px;
  background: var(--c-line);
}
.field:focus-within .iti--separate-dial-code .iti__selected-country::after { background: rgba(135, 117, 79, 0.35); }

/* Menú de países */
.iti__dropdown-content {
  border: 1px solid var(--c-line);
  border-radius: 10.9px;
  box-shadow: 0 18px 40px rgba(14, 15, 13, 0.14);
  overflow: hidden;
  font-family: var(--ff-display);
}
.iti__search-input {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-form);
  color: var(--c-ink-deep);
  background: var(--c-cream-warm);
  border: 0;
  border-bottom: 1px solid var(--c-line);
  padding: 12px 11.73px;
}
.iti__search-input::placeholder { color: var(--c-placeholder); }
.iti__search-input:focus { outline: none; background: var(--c-white); }
.iti__country-list { max-height: 232px; }
.iti__country {
  font-weight: var(--fw-light);
  font-size: var(--fs-form);
  line-height: 1.5;
  color: var(--c-ink-deep);
  padding: 9px 11.73px;
}
.iti__country.iti__highlight { background: rgba(135, 117, 79, 0.10); }
.iti__dial-code { color: var(--c-gray); }

/* Checkbox */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 8.38px;
  padding: 16.76px 0;
  cursor: pointer;
}
.consent { position: relative; }
/* El input real se mantiene invisible pero conserva su área de clic
   sobre la caja dibujada: sirve para mouse, teclado y lectores de pantalla. */
.consent__input {
  position: absolute;
  left: 0; top: 18px;
  width: 15px; height: 15px;
  margin: 0;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}
.consent__box {
  flex: none;
  width: 13px; height: 13px;
  margin-top: 2px;
  border: 1px solid #9a9f92;
  border-radius: 1.68px;
  background: var(--c-white);
  display: grid;
  place-items: center;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.consent__box svg { width: 9px; height: 9px; opacity: 0; transform: scale(0.4); transition: opacity 0.2s linear, transform 0.25s var(--ease-spring); }
.consent__input:checked + .consent__box { background: #687052; border-color: #687052; }
.consent__input:checked + .consent__box svg { opacity: 1; transform: scale(1); }
.consent__input:focus-visible + .consent__box { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.consent__text {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-form);
  line-height: 1.35;
  color: var(--c-gray-label);
}
.consent__text a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 2px; }
.consent.has-error .consent__box { border-color: #c05a4a; box-shadow: 0 0 0 3px rgba(192,90,74,0.14); }

.form__note {
  min-height: 20px;
  padding-top: 8.38px;
  font-family: var(--ff-display);
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-gray-label);
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.footer {
  background: var(--c-black);
  color: var(--c-white);
  padding: 70px 0 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 681px 1fr;
  gap: 24px;
  width: min(100% - (var(--gutter) * 2), 1234px);
  margin-inline: auto;
}

.footer__brand svg { width: 194px; height: 54px; }
.footer__brand path { fill: #fff; }

.footer__tagline {
  max-width: 582px;
  padding-top: 38px;
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-footer);
  line-height: 1.5;
  color: var(--c-white);
}

.footer__nav {
  display: grid;
  grid-template-columns: 263px 270px;  /* anchos efectivos del Figma */
  gap: 0;
  justify-content: end;
}

.footer__col { display: flex; flex-direction: column; gap: 13.58px; }

.footer__link {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: var(--fs-footer);
  line-height: 1.07;
  color: var(--c-white);
  transition: color var(--t-fast) var(--ease-out);
}
.footer__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.footer__link:hover { color: var(--c-gold); }
.footer__link:hover::after { transform: scaleX(1); transform-origin: left; }

.footer__col-title {
  font-family: var(--ff-display);
  font-weight: var(--fw-heavy);
  font-size: var(--fs-footer);
  line-height: 1.07;
  color: var(--c-white);
}

.footer__bottom {
  width: min(100% - (var(--gutter) * 2), 1246px);
  margin: 60px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--c-line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--ff-mono-ui);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 0.87;
  color: var(--c-white);
}
.footer__bottom a { transition: color var(--t-fast) linear; }
.footer__bottom a:hover { color: var(--c-gold); }

/* ==========================================================================
   17. PÁGINA DE GRACIAS
   ========================================================================== */
.thanks {
  position: relative;
  margin-top: var(--nav-h);
  min-height: 656px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #1a1712;
}
.thanks__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
  animation: heroZoom 24s var(--ease-in-out) 0.2s both;
  backface-visibility: hidden;
}
.thanks::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,0.5);
}

.thanks__grid {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  width: min(100% - (var(--gutter) * 2), 1148px);
  margin-inline: auto;
  padding: 84px 0;
}

.thanks__copy { display: flex; flex-direction: column; gap: 30px; color: var(--c-white); }

.thanks__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.125rem, 3.906vw, 3.125rem);
  line-height: 1.3;
  color: var(--c-white);
}

.thanks__lead {
  max-width: 517px;
  font-family: var(--ff-text);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--c-white);
}

.thanks__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Tarjeta blanca (Rectangle 2 del Figma) */
.thanks__card {
  position: relative;
  aspect-ratio: 544 / 447;
  background: var(--c-white);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
}
.thanks__card-media {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s var(--ease-out), transform 1.6s var(--ease-out);
}
.thanks__card.is-visible .thanks__card-media { opacity: 1; transform: scale(1); }
.thanks__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,7,5,0.5), rgba(6,7,5,0.05) 60%);
  opacity: 0;
  transition: opacity 1s var(--ease-out) 0.15s;
}
.thanks__card.is-visible::after { opacity: 1; }

.thanks__card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.42);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out) 0.4s;
}
.thanks__card.is-visible::before { opacity: 1; }

/* -- Agendador de citas (Google Calendar) dentro de la tarjeta blanca -- */
.thanks__card--schedule {
  aspect-ratio: auto;
  display: block;
  background: var(--c-white);
}
/* El degradado y el marco dorado son para la foto: sobre el iframe estorban
   (el ::after ademas capturaria los clics del agendador). */
.thanks__card--schedule::after,
.thanks__card--schedule::before { content: none; }
.thanks__card-schedule {
  display: block;
  width: 100%;
  /* 700px deja ver completo el dialogo de reserva (con el boton "Book"),
     que mide ~630px una vez que se elige horario. */
  height: 700px;
  border: 0;
}

/* Destello del select cuando se precarga desde una tarjeta de prototipo */
.field__control.is-flash {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(135, 117, 79, 0.22);
  background: var(--c-white);
}

/* ==========================================================================
   17b. PÁGINAS LEGALES
   ========================================================================== */
.section--legal {
  background: var(--c-cream-warm);
  padding: calc(var(--nav-h) + 88px) 0 96px;
}

.legal { max-width: 780px; }

.legal__title { margin-bottom: 28px; }

.legal__h2 {
  font-family: var(--ff-display);
  font-weight: var(--fw-heavy);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--c-ink);
  margin: 34px 0 10px;
}

.legal__p {
  font-family: var(--ff-text);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--c-ink);
}

.legal__note {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--c-gray-label);
  margin-top: 12px;
}

/* ==========================================================================
   18. ANIMACIONES DE ENTRADA
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal--left  { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal--scale { transform: scale(0.955); }
/* Las imágenes solo funden. Sin barrido, sin desplazamiento: el barrido de
   clip-path se leía como una barra de carga y no como un efecto. */
.reveal--fade {
  opacity: 0;
  transform: none;
  clip-path: none;
  transition: opacity 0.45s var(--ease-out);
}
.reveal--fade.is-visible { opacity: 1; transform: none; }

/* Red de seguridad: el texto partido nunca debe quedar invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* Líneas partidas para titulares */
.split-line { display: block; overflow: hidden; }
.split-line__inner {
  display: block;
  transform: translateY(105%);
  transition: transform 0.95s var(--ease-out);
  will-change: transform;
}
.is-visible .split-line__inner,
.split-line.is-visible .split-line__inner { transform: translateY(0); }

/* Escalonado genérico */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
[data-stagger].is-visible > * { opacity: 1; transform: none; }

/* Quote mark */
.quote__mark { opacity: 0; transform: translateY(14px) scale(0.8); transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-spring); }
.is-visible .quote__mark { opacity: 1; transform: none; }

/* Línea de la lista de ubicación */
.place__list::before { transform: scaleY(0); transition: transform 1.1s var(--ease-out) 0.15s; }
.place__list.is-visible::before { transform: scaleY(1); }

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--c-white);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
  animation: preloaderFailSafe 0s linear 4.5s forwards;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes preloaderFailSafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.preloader__mark { width: 92px; height: auto; }
.preloader__mark path { fill: #000; opacity: 0; animation: markIn 0.7s var(--ease-out) forwards; }
.preloader__mark path:nth-child(n+2) { animation-delay: 0.16s; }
@keyframes markIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.preloader__bar {
  position: absolute;
  left: 50%; bottom: 32%;
  transform: translateX(-50%);
  width: 120px; height: 1px;
  background: rgba(0,0,0,0.12);
  overflow: hidden;
}
.preloader__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: barFill 1.15s var(--ease-in-out) 0.1s forwards;
}
@keyframes barFill { to { transform: scaleX(1); } }

/* ==========================================================================
   19. RESPONSIVE
   ========================================================================== */
@media (max-width: 1240px) {
  :root { --gutter: 28px; }
  .header__inner { gap: 18px; }
  .nav { gap: 22px; }
  .footer__top { grid-template-columns: 1fr auto; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .header__inner { justify-content: space-between; }

  .proto-card { grid-template-columns: 300px 1fr; min-height: 0; }
  .proto-card__gallery img { min-height: 620px; }
  .quote__grid { grid-template-columns: 360px 1fr; }
  .quote__body { padding: 44px; }
  .quote__img { min-height: 460px; }
  .place__grid { grid-template-columns: 380px 1fr; gap: 32px; }
  .invest__grid { grid-template-columns: 45% 1fr; gap: 32px; }
  .thanks__grid { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 32px; }
}

@media (max-width: 900px) {
  .section--invest { padding: 56px 0; }
  .section--proto  { padding: 64px 0 40px; }
  .section--club   { padding: 64px 0; }
  .section--quote  { padding: 64px 0; }
  .section--vive   { padding: 48px 0 56px; }
  .section--fin    { padding: 64px 0; }
  .section--place  { padding: 64px 0; }

  .invest__grid { grid-template-columns: 1fr; gap: 28px; }
  .invest__figure { order: -1; }
  .invest__text { text-align: left; }

  .proto__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .carousel-nav { align-self: flex-end; margin-top: -8px; }

  .proto-card { grid-template-columns: 1fr; }
  .proto-card__info { padding: 26px 24px 28px; }
  .proto-card__gallery { order: -1; }
  .proto-card__gallery img { min-height: 0; aspect-ratio: 765 / 500; height: auto; }
  .proto-card__cta { margin-top: 22px; }

  .quote__grid { grid-template-columns: 1fr; gap: 0; }
  .quote__img { min-height: 0; aspect-ratio: 437 / 380; }
  .quote__body { padding: 40px 28px 44px; }

  .fin__pair { grid-template-columns: 1fr; gap: 16px; }
  .fin__pair figure, .fin__pair figure:last-child { aspect-ratio: 16 / 10; }

  .place__grid { grid-template-columns: 1fr; gap: 34px; }
  .form { padding: 26px 22px; }

  .footer { padding: 56px 0 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: 1fr 1fr; justify-content: start; gap: 28px; }
  .footer__tagline { padding-top: 26px; }
  .footer__bottom { margin-top: 40px; flex-direction: column; align-items: flex-start; gap: 12px; line-height: 1.5; }

  .thanks__grid { grid-template-columns: 1fr; gap: 32px; padding: 64px 0; }
  .thanks__card { order: -1; }
  .thanks__card-schedule { height: 720px; }
}

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

  .hero { height: auto; min-height: 82svh; padding: 72px 0 88px; }
  .hero__inner { gap: 16px; }
  .hero__lead br { display: none; }
  .hero__scroll { bottom: 26px; }

  .club__head { margin-bottom: 32px; }
  .club__cta-wrap { margin-top: 34px; }

  .quote__body { padding: 34px 24px 38px; }
  .quote__mark { margin-bottom: 18px; }

  .fin__stack { gap: 18px; }
  .fin__hero { aspect-ratio: 4 / 5; min-height: 420px; }
  .fin__cta-wrap { margin-top: 14px; }
  .btn--wide { min-width: 0; width: 100%; }

  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__title { font-size: 1.5rem; }

  .footer__nav { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 520px) {
  .btn { font-size: 0.875rem; padding: 14px 24px; width: 100%; }
  .btn--card { width: auto; font-size: 0.95rem; }
  .invest__cta, .proto-card__cta { width: 100%; }
  .proto-card__cta { text-align: center; }
  .hero__cta { width: min(100%, 320px); }
  .proto-card__plano { width: 100%; }
  .quote__mark { font-size: 58px; }
  .footer__brand svg { width: 160px; height: auto; }
}

/* Respeta la reducción de movimiento acortando, no eliminando:
   así el sitio nunca se ve "muerto" en equipos con la opción activada. */
@media (prefers-reduced-motion: reduce) {
  .hero__img, .hero__video, .thanks__img { animation: none; transform: scale(1); }
  .hero__scroll::after { animation: none; }
  .reveal, [data-stagger] > *, .split-line__inner, .reveal--fade {
    transition-duration: 0.28s !important;
  }
}
