/* =========================================================
   KORNER COUNTRY — Landing
   Línea gráfica basada en el teaser oficial (PDF)
   ========================================================= */

:root {
  --ink:        #262425;   /* fondo oscuro cálido        */
  --ink-2:      #2d2b2a;   /* tarjetas sobre oscuro      */
  --cream:      #eae6da;   /* crema (texto / acentos)    */
  --cream-bg:   #e7e3d8;   /* fondo de secciones claras  */
  --cream-2:    #ded9cb;   /* tarjetas sobre claro       */

  --line-dark:  rgba(234, 230, 218, 0.30);
  --line-light: rgba(38, 36, 37, 0.30);
  --mut-dark:   #ded9cc;
  --mut-light:  #45413b;

  --maxw: 1560px;
  --pad: clamp(20px, 5vw, 72px);
  --sec-y: clamp(72px, 11vh, 150px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.62;
}
.index {
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  white-space: nowrap;
  margin-left: auto;
}
.display {
  font-weight: 200;
  font-size: clamp(2.4rem, 6.6vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
h2.title {
  font-weight: 200;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.lead {
  font-weight: 300;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.5;
}
.muted { color: var(--mut-dark); }
section.light .muted { color: var(--mut-light); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

section { position: relative; padding-block: var(--sec-y); }
section.light { background: var(--cream-bg); color: var(--ink); }
section[id], footer[id] { scroll-margin-top: 74px; }
.hero { scroll-margin-top: 0; }

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: clamp(36px, 6vh, 72px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split.text-left { grid-template-columns: 0.92fr 1.08fr; }

.divider { height: 1px; background: var(--line-dark); border: 0; margin: 22px 0; }
section.light .divider { background: var(--line-light); }

/* Monograma K (sprite SVG inline, hereda color del contexto) */
.kmark { display: block; fill: currentColor; }
.corner-mark { width: 40px; height: 42px; opacity: 0.92; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-block: 18px;
  transition: background 0.5s var(--ease), padding 0.4s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding-inline: var(--pad); gap: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav.scrolled {
  background: rgba(31, 29, 30, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  padding-block: 12px;
}
.nav .brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.nav .brand .mono { width: 24px; height: 25px; flex: none; }
.brand-lockup { height: clamp(46px, 4.6vw, 56px); width: auto; display: block; transition: height 0.4s var(--ease); }
.nav.scrolled .brand-lockup { height: clamp(38px, 3.8vw, 44px); }
.nav .brand .name {
  font-weight: 400; letter-spacing: 0.26em; font-size: 13px; text-transform: uppercase;
}
.nav .brand .name small { display: block; font-size: 8px; letter-spacing: 0.34em; opacity: 0.6; }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-links a:not(.btn) {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); transition: opacity 0.3s;
  position: relative; padding-bottom: 3px;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--cream); transition: width 0.35s var(--ease);
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 12px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  padding: 12px 22px; border: 1px solid var(--cream); border-radius: 100px;
  color: var(--cream); transition: background 0.35s var(--ease), color 0.35s var(--ease);
  text-indent: 0.16em; /* compensa el espacio extra del letter-spacing para centrar el texto */
}
.btn:hover { background: var(--cream); color: var(--ink); }
.btn.solid { background: var(--cream); color: var(--ink); }
.btn.solid:hover { background: transparent; color: var(--cream); }
section.light .btn { border-color: var(--ink); color: var(--ink); }
section.light .btn:hover { background: var(--ink); color: var(--cream); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--cream); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-block: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 32%;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,19,19,0.55) 0%, rgba(20,19,19,0.18) 36%, rgba(20,19,19,0.55) 70%, rgba(20,19,19,0.86) 100%),
    linear-gradient(90deg, rgba(20,19,19,0.45) 0%, rgba(20,19,19,0) 45%);
}
.hero > .wrap, .hero .scroll-cue { position: relative; z-index: 2; }
.hero .top { padding-top: 130px; }
.hero .site { font-size: 13px; letter-spacing: 0.12em; opacity: 0.85; }

.hero .bottom {
  display: block;
  padding-bottom: clamp(48px, 9vh, 96px);
}
.hero .bottom .tagline { text-align: left; max-width: 560px; margin-top: clamp(20px, 3.4vh, 38px); }
.hero .bottom .tagline .rule { width: 64px; height: 1px; background: var(--cream); margin: 0 0 18px 0; opacity: 0.8; }
.hero .bottom .tagline p { color: rgba(234,230,218,0.85); font-size: clamp(1.2rem, 2.1vw, 1.75rem); line-height: 1.4; font-weight: 300; }
.hero .display, .hero .site { text-shadow: 0 2px 36px rgba(15,14,14,0.45); }
.hero .bottom .tagline p, .hero .bottom .tagline .rule { text-shadow: 0 1px 20px rgba(15,14,14,0.4); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.5;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line { width: 1px; height: 36px; background: var(--cream); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(0.4); opacity: 0.3; } 50% { transform: scaleY(1); opacity: 0.8; } }

/* =========================================================
   UBICACIÓN
   ========================================================= */
h2.loc-title { font-size: clamp(1.55rem, 2.3vw, 2.3rem); margin: 16px 0 12px; }
.loc-lists { display: grid; gap: clamp(26px, 4vh, 40px); margin-top: clamp(24px, 4vh, 34px); }
.loc-list h4 {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 16px;
}
.loc-list ul { list-style: none; display: grid; gap: 12px; }
.loc-list li { font-size: 1rem; line-height: 1.5; }
.loc-list li.active { font-weight: 600; }

/* Mapa (Mapbox embed) */
.map-card {
  background: var(--cream);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,0.6);
  aspect-ratio: 5 / 4;
}
.map-embed { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }

/* =========================================================
   PROYECTO
   ========================================================= */
.stat { padding-block: 20px; border-top: 1px solid var(--line-dark); }
.stat:first-of-type { border-top: 0; padding-top: 0; }
.stat .k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; margin-bottom: 8px; }
.stat .v { font-weight: 200; font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -0.01em; }
.stat .v .u { font-size: 0.42em; letter-spacing: 0.04em; opacity: 0.8; }
.stat .v .dash { opacity: 0.5; padding: 0 6px; }
.stat.line-only .v { font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 300; }

.media { position: relative; overflow: hidden; border-radius: 4px; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.figure-note { font-size: 10.5px; letter-spacing: 0.04em; opacity: 0.5; margin-top: 12px; line-height: 1.5; }
.proyecto .media { aspect-ratio: 4 / 3.4; }

/* =========================================================
   DIFERENCIAL
   ========================================================= */
.diff-item { padding-block: 22px; border-top: 1px solid var(--line-light); }
.diff-item h3 { font-weight: 500; font-size: 1.05rem; letter-spacing: 0.01em; margin-bottom: 6px; }
.diff-item h3 .n { opacity: 0.5; font-weight: 400; margin-right: 8px; }
.diff-item p { color: var(--mut-light); font-size: 0.98rem; max-width: 42ch; }
.diff-media { display: grid; gap: clamp(14px, 2vw, 22px); }
.diff-media .media { aspect-ratio: 16 / 9; }

/* =========================================================
   ARQUITECTURA — plantas
   ========================================================= */
.plan-stage {
  position: relative;
  display: grid; place-items: center;
  padding: clamp(20px, 4vw, 50px) 0;
}
.plan-wrap { position: relative; width: min(760px, 100%); }
.plan-wrap > img { width: 100%; height: auto; }
.plan-tag {
  position: absolute; text-align: center; transform: translate(-50%, -50%);
  font-size: clamp(11px, 1.3vw, 14px);
}
.plan-tag strong { font-weight: 500; display: block; }
.plan-tag span { font-weight: 300; opacity: 0.7; }
.plan-axis {
  position: absolute; font-size: 11px; letter-spacing: 0.12em; opacity: 0.55; text-transform: uppercase;
}
.plan-axis.bottom { bottom: -6px; left: 50%; transform: translateX(-50%); }
.plan-axis.right { right: -10px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: center; }

.legend {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px);
  justify-content: flex-end; margin-top: 30px;
}
.legend .col h5 { font-weight: 500; font-size: 13px; margin-bottom: 12px; }
.legend .boxes { display: flex; gap: 6px; align-items: stretch; }
.legend .boxes.joined { gap: 0; }
.legend .boxes.joined .box { border-radius: 0; }
.legend .boxes.joined .box:first-child { border-radius: 3px 0 0 3px; }
.legend .boxes.joined .box + .box { border-left: 0; border-radius: 0 3px 3px 0; }
.legend .boxes.joined .arrow { margin-left: 10px; }
.legend .box {
  border: 1px solid rgba(38, 36, 37, 0.3); border-radius: 3px;
  min-width: 56px; min-height: 44px; display: grid; place-items: center;
  font-size: 10px; line-height: 1.3; text-align: center; padding: 6px 8px;
  color: var(--ink); font-weight: 500;
}
.legend .box.stack { gap: 3px; }
.legend .box.stack b { font-weight: 500; color: var(--ink); display: block; }
.legend .arrow { display: grid; place-items: center; font-size: 18px; opacity: 0.6; }

/* =========================================================
   AMENITIES
   ========================================================= */
.amen-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 18px);
  height: clamp(440px, 80vh, 780px);
}
.amen { position: relative; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.amen img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.amen:hover img { transform: scale(1.05); }
.amen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,19,0.30), rgba(20,19,19,0) 42%); }
.amen .chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  color: var(--cream); padding: 7px 15px;
  border: 1px solid rgba(234,230,218,0.5); border-radius: 100px;
  background: rgba(31,29,30,0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.amen.a-gym   { grid-column: 1 / 3; grid-row: 1; }
.amen.a-roof  { grid-column: 3 / 7; grid-row: 1; }
.amen.a-salon { grid-column: 1 / 3; grid-row: 2; }
.amen.a-terr  { grid-column: 3 / 5; grid-row: 2; }
.amen.a-lobby { grid-column: 5 / 7; grid-row: 2; }

/* =========================================================
   INVERSIÓN / ENTREGA
   ========================================================= */
.feature-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 8px 0 clamp(40px, 7vh, 80px);
}
.feature-row .cell { padding: 6px clamp(18px, 3vw, 46px); border-left: 1px solid var(--line-dark); }
.feature-row .cell:first-child { padding-left: 0; border-left: 0; }
.feature-row .cell p { font-size: clamp(1rem, 1.7vw, 1.35rem); font-weight: 300; }

.price-block { margin-bottom: clamp(40px, 7vh, 84px); }
.price-block .k { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.55; margin-bottom: 10px; }
.price-block .v { font-weight: 200; font-size: clamp(3rem, 8vw, 6rem); line-height: 0.95; letter-spacing: -0.02em; }
.price-block .v .u { font-size: 0.28em; opacity: 0.7; letter-spacing: 0.02em; }

.invest-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); }
.invest .n { font-size: 13px; letter-spacing: 0.1em; opacity: 0.5; margin-bottom: 14px; }
.invest h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.invest p { color: var(--mut-dark); font-size: 1rem; }

.closing-line { margin-top: clamp(40px, 7vh, 80px); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; }

/* =========================================================
   CONTACTO / FOOTER
   ========================================================= */
.footer { padding-top: clamp(64px, 9vh, 120px); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; margin-top: clamp(64px, 11vh, 130px); }
.footer .lockup { width: clamp(120px, 13vw, 168px); }
.partners { display: flex; gap: clamp(22px, 3vw, 44px); align-items: center; flex-wrap: wrap; }
.partner-logo { width: auto; display: block; }
.partner-logo.gme { height: clamp(22px, 2.4vw, 28px); }
.partner-logo.clv { height: clamp(52px, 5.2vw, 66px); }

.contact-area {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 96px);
  align-items: start; margin-top: 0;
}

/* --- Formulario "Solicita información" --- */
.lead-form .title { margin-bottom: clamp(26px, 4.5vh, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vh, 34px) clamp(28px, 4vw, 52px); }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  color: var(--cream); margin-bottom: 16px;
}
.field input {
  background: transparent; border: 0; border-bottom: 1px solid rgba(234, 230, 218, 0.28);
  color: var(--cream); font-family: inherit; font-size: 1rem; font-weight: 400;
  padding: 4px 0 12px; transition: border-color 0.3s var(--ease);
}
.field input:focus { outline: none; border-bottom-color: var(--cream); }
.field input.invalid { border-bottom-color: #cf7d6f; }
.field input:-webkit-autofill,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cream);
  transition: background-color 9999s ease-in-out 0s;
}

.check {
  display: flex; align-items: flex-start; gap: 13px; margin-top: clamp(26px, 4vh, 42px);
  font-size: 0.92rem; line-height: 1.55; color: var(--mut-dark); cursor: pointer; max-width: 62ch;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 3px;
  border: 1px solid rgba(234, 230, 218, 0.4); display: grid; place-items: center;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.check .box::after {
  content: ""; width: 10px; height: 10px; border-radius: 1px; background: var(--ink);
  transform: scale(0); transition: transform 0.18s var(--ease);
}
.check input:checked + .box { background: var(--cream); border-color: var(--cream); }
.check input:checked + .box::after { transform: scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--cream); outline-offset: 3px; }
.check.invalid .box { border-color: #cf7d6f; }
.check a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

.form-submit { margin-top: clamp(28px, 4vh, 44px); }
.form-submit .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.form-submit:hover .arrow { transform: translateX(5px); }
.form-status { margin-top: 16px; font-size: 0.92rem; color: var(--cream); min-height: 1.3em; }

/* --- Aside de contacto --- */
.contact .k { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 16px; }
.contact .rule { width: 120px; height: 1px; background: var(--line-dark); margin-bottom: 20px; }
.contact a { display: block; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 400; letter-spacing: 0.02em; }
.contact a + a { margin-top: 6px; }
.contact .cta { margin-top: 26px; }
.socials { display: flex; gap: 16px; margin-top: 26px; }
.socials .social {
  display: grid; place-items: center; width: 24px; height: 24px; margin-top: 0;
  color: var(--cream); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.socials .social svg { width: 100%; height: 100%; }
.socials .social:hover { opacity: 0.6; transform: translateY(-2px); }

.subfooter {
  margin-top: clamp(48px, 8vh, 90px); padding-block: 26px;
  border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 10.5px; letter-spacing: 0.08em; opacity: 0.5;
}
.subfooter .owly { display: flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: 0.12em; transition: opacity 0.25s var(--ease); }
.subfooter .owly:hover { opacity: 0.6; }
.subfooter .owly img { width: 14px; }

/* =========================================================
   Reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue .line { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .split, .split.text-left { grid-template-columns: 1fr; gap: 40px; }
  .proyecto .split { grid-template-columns: 1fr; }
  .feature-row, .invest-row { grid-template-columns: 1fr; gap: 0; }
  .feature-row .cell { border-left: 0; border-top: 1px solid var(--line-dark); padding: 18px 0; }
  .feature-row .cell:first-child { border-top: 0; }
  .invest-row { gap: 30px; }
  .legend { justify-content: flex-start; }
  .amen-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .amen { aspect-ratio: 4 / 3; }
  .amen.a-gym, .amen.a-roof, .amen.a-salon, .amen.a-terr, .amen.a-lobby { grid-column: auto; grid-row: auto; }
  .amen.a-roof { grid-column: 1 / 3; aspect-ratio: 16 / 7; }
  .contact-area { grid-template-columns: 1fr; gap: 56px; }
}

/* Menú hamburguesa desde tablet (iPad vertical ≤834) — el desktop 1024 mantiene el nav completo */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px);
    background: rgba(28, 26, 27, 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 28px; padding: 0 42px; transform: translateX(100%);
    transition: transform 0.45s var(--ease); z-index: 60;
  }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { font-size: 16px; }
  /* Con el menú abierto, quitar el backdrop-filter del nav: si no, crea un
     "containing block" que desancla el panel fixed y lo mete dentro de la barra. */
  .nav.menu-open { background: rgba(24, 22, 23, 0.96); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
  .nav-toggle { display: block; z-index: 70; }
  .nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 760px) {
  .hero .bottom { flex-direction: column; align-items: flex-start; }
  .hero .bottom .tagline { text-align: left; }
  .hero .bottom .tagline .rule { margin-left: 0; }
  .loc-cols { grid-template-columns: 1fr; gap: 24px; }
  .amen-grid { grid-template-columns: 1fr; }
  .amen.a-roof { grid-column: auto; }
  .amen-bottom-right { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Legibilidad: textos a opacidad plena (sin transparencia)
   y pesos finos (thin/light) a regular.
   ========================================================= */
.eyebrow, .index, .loc-list h4, .loc-list li .num, .stat .k, .stat .v .u,
.stat .v .dash, .figure-note, .diff-item h3 .n, .legend .arrow, .price-block .k,
.price-block .v .u, .invest .n, .closing-line, .contact .k, .partner,
.partner.clv .sub, .nav-links a, .nav .brand .name small, .subfooter { opacity: 1; }

.scroll-cue { opacity: 0.85; }
.hero .bottom .tagline p { color: var(--cream); }

body, .display, h2.title, .lead, .hero .bottom .tagline p,
.stat .v, .stat.line-only .v, .feature-row .cell p, .price-block .v,
.partner.clv .mark, .contact a { font-weight: 400; }

/* =========================================================
   Lightbox (zonas comunes + diferencial)
   ========================================================= */
[data-zoom] { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 5vw, 70px);
  background: rgba(18, 17, 17, 0.94);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure {
  margin: 0; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lb-figure img {
  max-width: min(1100px, 92vw); max-height: 84vh; width: auto; height: auto;
  object-fit: contain; border-radius: 4px;
  box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 0.85);
  transform: scale(0.96); transition: transform 0.35s var(--ease);
}
.lightbox.open .lb-figure img { transform: scale(1); }
.lb-figure figcaption {
  color: var(--cream); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 500;
}
.lb-close, .lb-nav {
  position: absolute; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(234, 230, 218, 0.35); background: rgba(255, 255, 255, 0.05);
  color: var(--cream); line-height: 1; display: grid; place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--cream); }
.lb-close { top: clamp(16px, 3vw, 30px); right: clamp(16px, 3vw, 30px); width: 46px; height: 46px; font-size: 26px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lb-prev { left: clamp(12px, 3vw, 36px); }
.lb-next { right: clamp(12px, 3vw, 36px); }
@media (max-width: 640px) {
  .lb-nav { width: 42px; height: 42px; font-size: 24px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { width: 40px; height: 40px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lb-figure img { transition: none; }
}

/* =========================================================
   Botón flotante de WhatsApp
   ========================================================= */
.wa-float {
  position: fixed; z-index: 90;
  right: clamp(18px, 3vw, 34px); bottom: clamp(18px, 3vw, 34px);
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.55); }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 640px) {
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 29px; height: 29px; }
}
