/* =========================================================
   Zihuatanejo Infinito — paleta tomada del logotipo dorado
   ========================================================= */
:root {
  --navy-950: #050f1f;
  --navy-900: #081b33;
  --navy-800: #0d2545;
  --navy-700: #13325a;
  --navy-600: #1c406e;
  --gold-200: #f6dcae;
  --gold-300: #efc98d;
  --gold-400: #e2b071;
  --gold-500: #c8955a;
  --gold-600: #a77940;
  --sand: #f4ece0;
  --ink: #e8edf5;
  --muted: #a9b6c9;
  --line: rgba(226, 176, 113, 0.28);
  --gold-grad: linear-gradient(120deg, #f7dfb2 0%, #e2b071 38%, #c8955a 62%, #f1d19c 100%);
  --radius: 18px;
  --header-h: 76px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-label: "Josefin Sans", "Helvetica Neue", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--gold-300); }
figure { margin: 0; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: 0.005em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); color: #fff; }
h2 em, h1 em { font-style: italic; color: var(--gold-300); }
h3 { font-size: 1.55rem; color: #fff; }
.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  color: var(--gold-400);
  margin: 0 0 1.2rem;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold-grad); }
.lead { font-size: 1.15rem; color: #d6deea; font-weight: 300; max-width: 62ch; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caption, figcaption { font-size: 0.82rem; color: var(--muted); font-style: italic; margin-top: 0.8rem; }
.small { font-size: 0.92rem; color: var(--muted); }
.body-center { text-align: center; max-width: 70ch; margin: 2.5rem auto 0; color: #d6deea; }
.note {
  margin-top: 3rem; padding: 1.1rem 1.5rem;
  border: 1px solid var(--line); border-left: 3px solid var(--gold-400);
  background: rgba(13, 37, 69, 0.6); border-radius: 10px;
  font-size: 0.95rem; color: #cfd8e6;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 2rem; border-radius: 999px;
  font-family: var(--font-label); font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
}
.btn-gold { background: var(--gold-grad); color: var(--navy-900); font-weight: 600; box-shadow: 0 10px 30px -10px rgba(226,176,113,.6); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(226,176,113,.8); }
.btn-ghost { border-color: rgba(246,220,174,.6); color: var(--gold-200); background: rgba(8,27,51,.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(246,220,174,.12); }
.btn-block { width: 100%; }

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold-grad); }

/* ---------- Encabezado fijo ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(8, 27, 51, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(226,176,113,.12);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(5, 15, 31, 0.92); box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); }
.nav-wrap { height: 100%; width: min(1320px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-label); color: var(--gold-300); }
.brand-text span { letter-spacing: 0.2em; font-size: 0.95rem; text-transform: uppercase; }
.brand-text small { letter-spacing: 0.6em; font-size: 0.62rem; margin-top: 5px; text-transform: uppercase; color: var(--gold-400); }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-label); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #dfe6f0; text-decoration: none; padding: 10px 12px; border-radius: 999px; display: block;
  transition: color .2s, background .2s; white-space: nowrap;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--gold-300); }
.main-nav > ul > li > a.active:not(.nav-cta) { background: rgba(226,176,113,.1); }
.main-nav .nav-cta { background: var(--gold-grad); color: var(--navy-900); font-weight: 600; margin-left: 8px; padding-inline: 20px; }
.main-nav .nav-cta:hover, .main-nav .nav-cta.active { color: var(--navy-900); filter: brightness(1.06); }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0;
  list-style: none; margin: 0; padding: 10px; min-width: 230px;
  background: rgba(5, 15, 31, 0.97); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .22s ease;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { border-radius: 8px; letter-spacing: 0.12em; font-size: 0.74rem; padding: 10px 14px; }
.sub a:hover, .sub a.active { background: rgba(226,176,113,.12); color: var(--gold-300); }

/* Selector de idioma */
.main-nav { margin-left: auto; }
.lang-switch { display: flex; flex-shrink: 0; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch button {
  font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.14em; line-height: 1;
  background: none; border: 0; border-radius: 999px; padding: 8px 9px 7px 10px; color: #dfe6f0; cursor: pointer;
  transition: color .2s, background .2s;
}
.lang-switch button:hover { color: var(--gold-300); }
.lang-switch button[aria-pressed="true"] { background: var(--gold-grad); color: var(--navy-900); font-weight: 600; }
.lang-switch button:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 2px; }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; padding: 0 12px; }
.menu-toggle span { display: block; height: 1.5px; background: var(--gold-300); margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1281px) and (max-width: 1440px) {
  .main-nav a { padding-inline: 9px; letter-spacing: 0.12em; }
  .main-nav .nav-cta { padding-inline: 16px; }
}
@media (max-width: 1280px) {
  .menu-toggle { display: block; }
  .main-nav { margin-left: 0; }
  .lang-switch { margin-left: auto; margin-right: -10px; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: rgba(5, 15, 31, 0.98); overflow-y: auto; padding: 20px 24px 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .28s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid rgba(226,176,113,.12); }
  .main-nav > ul > li > a { font-size: 0.95rem; padding: 16px 6px; border-radius: 0; }
  .main-nav > ul > li > a.active:not(.nav-cta) { background: none; }
  .has-sub > a::after { display: none; }
  .sub { position: static; translate: none; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 12px 14px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .main-nav .nav-cta { margin: 20px 0 0; text-align: center; padding: 16px; border-radius: 999px; }
  .main-nav > ul > li:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .sub { grid-template-columns: 1fr; }
  .brand-text span { font-size: 0.82rem; }
  .nav-wrap { gap: 14px; }
  .lang-switch button { padding: 8px 7px 7px 8px; }
}
@media (max-width: 420px) { .brand-text { display: none; } }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: calc(var(--header-h) + 40px) 24px 120px; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { animation: heroZoom 22s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background:
  radial-gradient(ellipse at center, rgba(8,27,51,.55) 0%, rgba(8,27,51,.82) 60%, rgba(5,15,31,.96) 100%),
  linear-gradient(180deg, rgba(5,15,31,.6) 0%, transparent 30%, rgba(8,27,51,1) 100%); }
.hero-content { position: relative; max-width: 860px; animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both .2s; }
.hero-logo { width: min(540px, 82vw); height: auto; margin: 0 auto; filter: drop-shadow(0 8px 30px rgba(0,0,0,.45)); }
.gold-rule { width: 90px; height: 1px; background: var(--gold-grad); margin: 2.2rem auto; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); color: #fff; }
.hero .lead { margin: 0 auto 2.4rem; font-size: 1.2rem; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; bottom: 34px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--gold-300); text-decoration: none; font-family: var(--font-label); font-size: .7rem; letter-spacing: .35em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 48px; background: linear-gradient(var(--gold-300), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-alt { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); }
.section-deep { background: radial-gradient(ellipse at top right, rgba(28,64,110,.55), transparent 60%), var(--navy-950); }
.section + .section::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(1180px, 100% - 48px); height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 64px); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 0; }
.split-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.split-media.tall img { aspect-ratio: 4 / 5; }
.split-media.arch img { aspect-ratio: 2 / 3; border-radius: 999px 999px var(--radius) var(--radius); }
.split-media { position: relative; }
.split-media.tall::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); border-radius: var(--radius); z-index: -1; }

.map-card { margin-top: 2.2rem; padding: 14px; border-radius: var(--radius); background: rgba(19,50,90,.45); border: 1px solid var(--line); }
.map-card img { border-radius: 10px; width: 100%; }

/* Ubicación */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.stat { padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(28,64,110,.6), rgba(13,37,69,.7)); border: 1px solid rgba(226,176,113,.18); transition: transform .3s, border-color .3s; }
.stat:hover { transform: translateY(-6px); border-color: var(--gold-400); }
.stat strong { font-family: var(--font-display); font-weight: 500; font-size: 3.6rem; line-height: 1; color: var(--gold-300); }
.stat .unit { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-200); margin-left: 6px; }
.stat .unit.pre { margin: 0 8px 0 0; }
.stat p { margin: 14px 0 0; color: #cfd8e6; font-size: .95rem; }
.wide-media img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius); }

/* Demanda */
.banner-strip { margin-top: calc(-1 * clamp(80px, 11vw, 140px)); margin-bottom: clamp(60px, 8vw, 100px); position: relative; }
.banner-strip img { width: 100%; height: clamp(180px, 26vw, 360px); object-fit: cover; }
.banner-strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,27,51,.2), var(--navy-900)); }
.metric-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.metric-list article { display: flex; gap: 28px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.metric-big { font-family: var(--font-display); font-size: 4rem; line-height: 1; min-width: 150px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric-big small { font-size: 1.4rem; margin-left: 4px; }
.metric-list h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.metric-list p { margin: 0; color: var(--muted); }

/* Conectividad */
.airlines { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: flex; flex-wrap: wrap; gap: 10px; }
.airlines li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-label); font-size: .78rem; letter-spacing: .12em; color: var(--gold-200); background: rgba(8,27,51,.5); }
.feature-line { padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 1.6rem 0; }
.feature-line h3 { font-size: 1.4rem; margin: 0; }
.feature-line p { margin: .4rem 0 0; color: var(--muted); }
.quote { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--gold-200); margin: 0; }

/* Inversión */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { padding: 36px 28px; border-radius: var(--radius); background: rgba(13,37,69,.55); border: 1px solid rgba(226,176,113,.15); position: relative; overflow: hidden; transition: transform .3s, border-color .3s; }
.benefit::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold-grad); transition: width .5s ease; }
.benefit:hover { transform: translateY(-6px); border-color: var(--line); }
.benefit:hover::after { width: 100%; }
.benefit-num { font-family: var(--font-display); font-size: 2.8rem; color: var(--gold-500); opacity: .7; display: block; margin-bottom: 1rem; }
.benefit h3 { font-size: 1.4rem; }
.benefit p { color: #cfd8e6; margin: 0; font-size: .95rem; }

/* Arquitectura */
.materials { list-style: none; padding: 0; margin: 1.8rem 0; display: flex; flex-wrap: wrap; gap: 10px; }
.materials li span { display: inline-block; padding: 10px 18px; border-radius: 6px; background: var(--sand); color: var(--navy-900); font-family: var(--font-label); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }

/* Bahía */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo img { width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.paper { background: #fbf8f2; border-radius: var(--radius); padding: 10px; }
.paper img { border-radius: 10px; object-fit: contain !important; background: #fff; }
.paper figcaption { color: #6b7a8f; padding: 4px 8px 2px; }
.route { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 2.5rem; flex-wrap: wrap; }
.route-step { display: flex; align-items: center; gap: 10px; font-family: var(--font-label); letter-spacing: .1em; font-size: .85rem; text-transform: uppercase; color: var(--gold-200); }
.route-step span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-900); font-weight: 600; }
.route-line { width: 110px; border-top: 1px dashed var(--gold-400); position: relative; text-align: center; }
.route-line em { position: absolute; top: -24px; left: 0; right: 0; font-size: .75rem; color: var(--muted); }

/* Terreno */
.facts { margin: 2rem 0 0; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--font-label); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); padding-top: 4px; }
.facts dd { margin: 0; color: #d6deea; }
.split-media.plan img { aspect-ratio: auto; max-height: 620px; margin-inline: auto; box-shadow: none; }

/* Conjunto */
.conjunto-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 22px; align-items: stretch; }
.conjunto-grid figure:not(.paper) img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.conjunto-grid .paper img { width: 100%; height: 100%; }
.table-card { margin-top: 3rem; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(5,15,31,.55); padding: 8px 8px 4px; }
.scroll-x { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.data-table caption { caption-side: bottom; text-align: left; padding: 12px 16px; color: var(--muted); font-size: .85rem; font-style: italic; }
.data-table th { text-align: left; font-family: var(--font-label); font-weight: 600; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); padding: 16px; background: rgba(28,64,110,.5); }
.data-table thead th:first-child { border-radius: 12px 0 0 12px; }
.data-table thead th:last-child { border-radius: 0 12px 12px 0; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid rgba(226,176,113,.12); color: #dfe6f0; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: rgba(226,176,113,.05); }
.bar { display: inline-block; vertical-align: middle; width: 90px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); margin-right: 12px; position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--gold-grad); border-radius: 6px; }
.data-table.compact { margin: 1.6rem 0 1rem; }
.data-table.compact td:last-child { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold-200); }
.data-table.compare td:first-child { font-family: var(--font-label); letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; color: var(--gold-400); }
.data-table.compare th:not(:first-child) { font-size: .9rem; }

/* Áreas comunes */
.full-bleed img { width: 100%; height: clamp(260px, 36vw, 560px); object-fit: cover; }
.amenity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: -80px; position: relative; }
.amenity { padding: 36px 34px; border-radius: var(--radius); background: rgba(13,37,69,.92); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.amenity strong { font-family: var(--font-display); font-weight: 500; font-size: 3.4rem; line-height: 1; color: var(--gold-300); display: block; margin-bottom: .6rem; }
.amenity h3 { margin-bottom: .3rem; }
.amenity p { color: #cfd8e6; margin: 0; }

/* Villas */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mosaic figure { overflow: hidden; border-radius: var(--radius); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform 1.2s ease; }
.mosaic .m-wide { grid-column: 1 / -1; }
.mosaic .m-wide img { aspect-ratio: 21/9; }
.mosaic figure:hover img { transform: scale(1.05); }
.villa-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 3rem; }
.villa-picker a { text-decoration: none; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(28,64,110,.5), rgba(5,15,31,.5)); color: #fff; font-family: var(--font-display); font-size: 2.2rem; line-height: 1.1; transition: all .3s; }
.villa-picker a span { display: block; font-family: var(--font-label); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 6px; }
.villa-picker a small { display: block; font-family: var(--font-body); font-size: .9rem; color: var(--muted); margin-top: 10px; }
.villa-picker a:hover { border-color: var(--gold-400); transform: translateY(-4px); }
.villa-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.villa-grid.reverse { grid-template-columns: 1.15fr 1fr; }
.terrace-pill { display: inline-block; padding: 14px 22px; border-radius: 12px; background: rgba(28,64,110,.55); border-left: 3px solid var(--gold-400); color: #fff; font-weight: 500; }
.terrace-pill b { color: var(--gold-300); }
.villa-plan img { width: 100%; }

/* Comparativo */
.compare-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.compare-cards article { padding: 28px; border-radius: var(--radius); border: 1px solid rgba(226,176,113,.18); background: rgba(5,15,31,.45); }
.compare-cards h3 { font-size: 2rem; margin: 0; }
.compare-cards p { margin: 0 0 1.2rem; font-family: var(--font-label); letter-spacing: .24em; text-transform: uppercase; font-size: .72rem; color: var(--gold-400); }
.split-bar { display: flex; height: 10px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.06); }
.split-bar span:first-child { flex: var(--i); background: var(--navy-600); }
.split-bar span:last-child { flex: var(--t); background: var(--gold-grad); }
.compare-cards small { display: block; margin-top: 10px; color: var(--muted); font-size: .85rem; }

/* Financiamiento */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { padding: 30px 24px; border-radius: var(--radius); background: rgba(13,37,69,.6); border: 1px solid rgba(226,176,113,.16); display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.plan:hover { transform: translateY(-6px); border-color: var(--line); }
.plan-tag { font-family: var(--font-label); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-400); margin: 0 0 1rem; }
.plan-big { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: #fff; margin-bottom: 1.4rem; }
.plan-big small { display: block; font-family: var(--font-body); font-size: .85rem; color: var(--muted); margin-top: 6px; }
.plan dl { margin: 0; display: grid; gap: 0; flex: 1; }
.plan dl div { padding: 12px 0; border-top: 1px solid rgba(226,176,113,.14); }
.plan dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-family: var(--font-label); }
.plan dd { margin: 4px 0 0; font-size: .95rem; color: #eef2f8; }
.plan .total dd { color: var(--gold-200); font-weight: 600; }
.plan.featured { background: linear-gradient(170deg, rgba(226,176,113,.22), rgba(13,37,69,.8) 45%); border-color: var(--gold-400); position: relative; }
.plan.featured::before { content: "Mejor precio"; position: absolute; top: -12px; right: 20px; padding: 4px 12px; border-radius: 999px; background: var(--gold-grad); color: var(--navy-900); font-family: var(--font-label); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.plan.featured .plan-big { color: var(--gold-300); }
.fin-image { margin-top: 3rem; }
.fin-image img { width: 100%; aspect-ratio: 21/8; object-fit: cover; border-radius: var(--radius); }

/* Contado */
.contado { background: radial-gradient(ellipse at 20% 30%, rgba(226,176,113,.16), transparent 55%), var(--navy-900); }
.contado-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.price-hero { padding: 40px 0; }
.price { font-family: var(--font-display); font-size: clamp(5rem, 13vw, 10rem); line-height: .9; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.price-sub { font-family: var(--font-label); letter-spacing: .28em; text-transform: uppercase; color: #fff; margin: 1rem 0 .2rem; }
.price-mxn { color: var(--muted); font-size: 1.15rem; margin: 0; }
.discount-card { border-radius: var(--radius); padding: 40px; background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.discount { font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--gold-300); }
.discount-card p { font-size: 1.3rem; color: #fff; margin: .4rem 0 1rem; }
.discount-card small { color: var(--muted); font-size: 1rem; }
.list-price { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.list-price .eyebrow { margin-bottom: .4rem; }
.list-price s { font-family: var(--font-display); font-size: 1.8rem; color: #c9d3e1; text-decoration-color: var(--gold-400); }

/* Siguiente paso */
.steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; }
.steps span { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold-400); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-300); }
.steps p { margin: 8px 0 0; color: #dfe6f0; }
.contact-card { margin-top: 2rem; padding: 26px 28px; border-radius: var(--radius); background: rgba(5,15,31,.6); border: 1px solid var(--line); display: grid; gap: 14px; }
.contact-row { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.contact-row svg { width: 20px; height: 20px; fill: var(--gold-400); flex-shrink: 0; }
a.contact-row:hover span { color: var(--gold-300); }
.contact-row a { color: var(--gold-300); }
a.contact-row:first-child span { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-200); }

/* Registro */
.registro { overflow: hidden; }
.registro-bg { position: absolute; inset: 0; }
.registro-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.registro-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(5,15,31,.97) 35%, rgba(8,27,51,.75)); }
.registro-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.registro-copy img { width: 110px; height: auto; margin-bottom: 1.6rem; }
.registro-form { padding: clamp(28px, 4vw, 44px); border-radius: 22px; background: rgba(13,37,69,.72); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); display: grid; gap: 18px; }
.hidden-field { position: absolute; left: -9999px; }
.field { position: relative; }
.field input { width: 100%; padding: 26px 18px 10px; border-radius: 12px; border: 1px solid rgba(226,176,113,.25); background: rgba(5,15,31,.6); color: #fff; font: inherit; font-size: 1rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.field label { position: absolute; left: 18px; top: 18px; color: var(--muted); pointer-events: none; transition: all .2s ease; font-size: 1rem; }
.field input:focus { border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(226,176,113,.14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 8px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); font-family: var(--font-label); }
.field input:not(:placeholder-shown):invalid { border-color: #d98a7a; }
.form-status { margin: 0; min-height: 1.4em; font-size: .95rem; text-align: center; }
.form-status.ok { color: var(--gold-200); }
.form-status.error { color: #f0a99a; }
.registro-form.sent .field, .registro-form.sent button { opacity: .5; pointer-events: none; }

/* Footer */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 70px 0 50px; text-align: center; }
.footer-inner img { width: 220px; height: auto; margin: 0 auto 1.4rem; }
.site-footer p { margin: .4rem 0; color: var(--muted); }
.footer-contact a { color: var(--gold-300); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.fine { font-size: .8rem; max-width: 72ch; margin: 1.6rem auto 0 !important; opacity: .75; }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-900); text-decoration: none; font-size: 1.2rem; font-weight: 700; z-index: 90; opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .3s; box-shadow: 0 10px 30px -10px rgba(0,0,0,.7); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* Revelado al hacer scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-bg img { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats-grid, .benefit-grid, .plans { grid-template-columns: repeat(2, 1fr); }
  .metric-list { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .split, .villa-grid, .villa-grid.reverse, .registro-inner, .contado-grid, .conjunto-grid, .duo { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .villa-grid.reverse > :first-child { order: 2; }
  .split-media.tall::after { display: none; }
  .split-media.arch { max-width: 420px; margin-inline: auto; }
  .villa-picker, .compare-cards { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: 1fr; margin-top: -40px; }
  .route-line { width: 50px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .stats-grid, .benefit-grid, .plans { grid-template-columns: 1fr; }
  .metric-list article { flex-direction: column; align-items: flex-start; gap: 10px; }
  .facts div { grid-template-columns: 1fr; gap: 6px; }
  .route { flex-direction: column; }
  .route-line { width: 0; height: 40px; border-top: 0; border-left: 1px dashed var(--gold-400); }
  .route-line em { top: 10px; left: 14px; right: auto; white-space: nowrap; text-align: left; }
  .bar { display: none; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .m-wide img { aspect-ratio: 4/3; }
}
