/* ============================================================
   FLAMENCOS CONDOMINIO - Hoja de estilos principal
   Sitio estático bilingüe. Diseño: lujo costero / naturaleza.
   ============================================================ */

/* ---------- Tokens de diseño ---------- */
:root {
  /* Paleta caribeña suave: turquesa, aguamarina y blanco */
  --ink:        #0E3A38;   /* verde-azulado profundo (texto) */
  --teal:       #14857F;   /* turquesa caribeño (marca) */
  --teal-dark:  #0C615C;
  --turq:       #3CB9B5;   /* turquesa claro luminoso */
  --coral:      #E8836B;   /* coral flamenco (acento puntual) */
  --coral-dark: #D06A52;
  --gold:       #C8A24C;   /* dorado suave */
  --sand:       #D6EEEC;   /* aguamarina suave (fondo) */
  --cream:      #F1FAF9;   /* blanco espuma (fondo claro) */
  --white:      #FFFFFF;
  --muted:      #59706E;   /* texto secundario */
  --line:       #CFE6E3;   /* bordes suaves turquesa */

  /* Tipografía */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;

  /* Medidas */
  --maxw: 1240px;
  --radius: 14px;
  --shadow-sm: 0 6px 22px rgba(20,133,127,.14);
  --shadow-md: 0 18px 50px rgba(14,58,56,.18);
  --header-h: 94px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section--tight { padding: 80px 0; }
.bg-cream { background: var(--cream); }
.bg-sand  { background: var(--sand); }
.bg-ink   { background: var(--ink); color: var(--cream); }
.text-center { text-align: center; }

.eyebrow {
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--coral); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.text-center .eyebrow { justify-content: center; }
.eyebrow::before, .text-center .eyebrow::after {
  content: ""; width: 34px; height: 2px; background: var(--coral); display: inline-block;
}
.eyebrow::after { display: none; }
.text-center .eyebrow::after { display: inline-block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--ink); }
h2.title { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 22px; }
h3 { font-size: 1.45rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.text-center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 50px;
  font-weight: 600; font-size: 15px; letter-spacing: .02em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--coral); color: var(--white); box-shadow: 0 10px 26px rgba(224,122,95,.4); }
.btn--primary:hover { background: var(--coral-dark); }
.btn--dark { background: var(--teal); color: var(--white); }
.btn--dark:hover { background: var(--teal-dark); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); }

/* ---------- Cabecera / Navegación ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1480px; padding: 0 40px; gap: 28px;
}
.header.scrolled { background: var(--cream); box-shadow: var(--shadow-sm); height: 76px; }

.brand { display: flex; align-items: center; }
.brand__logo { height: 50px; width: auto; transition: height .35s var(--ease); }
.header.scrolled .brand__logo { height: 40px; }
.brand__logo--dark { display: none; }
.header.scrolled .brand__logo--light { display: none; }
.header.scrolled .brand__logo--dark { display: block; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 21px; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--white);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--coral); transition: width .3s var(--ease);
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.header.scrolled .nav__links a { color: var(--ink); }
.nav__links a.active { color: var(--coral); }

.nav__actions { display: flex; align-items: center; gap: 16px; }

/* Conmutador de idioma */
.lang-switch { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; }
.lang-switch button {
  color: rgba(255,255,255,.65); padding: 4px 6px; border-radius: 6px;
  letter-spacing: .05em; transition: color .2s;
}
.lang-switch button.active { color: var(--coral); }
.header.scrolled .lang-switch button { color: var(--muted); }
.header.scrolled .lang-switch button.active { color: var(--coral); }
.lang-switch span { color: rgba(255,255,255,.35); }
.header.scrolled .lang-switch span { color: var(--line); }

/* Botón hamburguesa */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: .3s var(--ease); }
.header.scrolled .nav-toggle span { background: var(--ink); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: var(--white); overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(10,38,40,.86) 0%, rgba(10,38,40,.5) 55%, rgba(10,38,40,.25) 100%);
}
.hero__inner { max-width: 720px; padding-top: var(--header-h); }
.hero h1 {
  color: var(--white); font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.08; margin-bottom: 24px;
}
.hero h1 em { color: var(--coral); font-style: italic; }
.hero h1 em.cl-word {
  font-family: 'Allura', cursive;
  font-style: normal; font-weight: 400;
  color: var(--turq); font-size: 1.5em; line-height: .9;
  padding: 0 .06em;
}
.hero__sub { font-size: 1.2rem; max-width: 52ch; margin-bottom: 36px; color: rgba(255,255,255,.9); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: .8;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(var(--coral), transparent);
  animation: scrollLine 1.8s infinite;
}
@keyframes scrollLine { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- Barra de estadísticas ---------- */
.stats { background: var(--ink); color: var(--cream); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat { padding: 48px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--font-display); font-size: 2.8rem; color: var(--coral); line-height: 1; }
.stat__label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-top: 10px; color: rgba(255,255,255,.75); }

/* ---------- Bloque split (texto + imagen) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: 100%; object-fit: cover; }
.split__badge {
  position: absolute; bottom: -28px; right: -28px;
  background: var(--coral); color: var(--white);
  padding: 22px 28px; border-radius: var(--radius);
  font-family: var(--font-display); text-align: center; box-shadow: var(--shadow-md);
}
.split__badge strong { display: block; font-size: 2rem; line-height: 1; }
.split__badge span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.split p + p { margin-top: 16px; }
.split .lead { margin-bottom: 20px; }

.checklist { margin-top: 26px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checklist li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 13px; font-weight: 700;
  display: grid; place-items: center; margin-top: 3px;
}

/* ---------- Tarjetas de amenidades ---------- */
.amenities { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.amenity {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.amenity:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.amenity__img { aspect-ratio: 4/3; overflow: hidden; }
.amenity__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.amenity:hover .amenity__img img { transform: scale(1.08); }
.amenity__body { padding: 26px 26px 30px; }
.amenity__body h3 { margin-bottom: 8px; }
.amenity__body p { font-size: 15px; color: var(--muted); }

/* ---------- Sección destacada (feature) ---------- */
.feature {
  position: relative; color: var(--white); padding: 140px 0;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.feature::after { content: ""; position: absolute; inset: 0; background: rgba(10,38,40,.7); }
.feature .container { position: relative; z-index: 1; }
.feature h2 { color: var(--white); }
.feature .lead { color: rgba(255,255,255,.9); }

/* ---------- Galería de zonas ---------- */
.gallery { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 260px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item span {
  position: absolute; left: 22px; bottom: 18px; z-index: 2;
  font-family: var(--font-display); font-size: 1.5rem; color: #fff;
}
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(10,38,40,.75));
}
.gallery__item span { z-index: 3; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }

/* ---------- Galería de fotos reales ---------- */
.photos { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.photo {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm); position: relative;
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo:hover img { transform: scale(1.07); }

/* ---------- Línea de tiempo (fases) ---------- */
.timeline { max-width: 760px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.tl-item { position: relative; padding: 0 0 38px 60px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 9px; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--teal);
}
.tl-item--done::before { background: var(--teal); }
.tl-item--now::before { background: var(--coral); border-color: var(--coral); }
.tl-item h3 { font-size: 1.25rem; margin-bottom: 4px; }
.tl-item .tl-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 30px; margin-bottom: 8px;
}
.tl-tag--done { background: var(--sand); color: var(--teal-dark); }
.tl-tag--now { background: var(--coral); color: #fff; }
.tl-tag--next { background: var(--line); color: var(--muted); }
.tl-item p { color: var(--muted); font-size: 15px; }

/* ---------- Lista de instalaciones / canchas ---------- */
.facilities { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; }
.facility {
  background: var(--white); border-radius: 12px; padding: 16px 18px;
  display: flex; align-items: center; gap: 13px;
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease);
}
.facility:hover { transform: translateY(-4px); }
.facility .fic { width: 26px; height: 26px; flex: none; color: var(--teal); }
.facility .fic svg { width: 100%; height: 100%; display: block; }
.facility span:last-child { font-weight: 600; font-size: 14.5px; color: var(--ink); }

/* ---------- Bloque de confianza ---------- */
.trust { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.trust__item { text-align: center; padding: 30px 20px; }
.trust__icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--sand); display: grid; place-items: center; font-size: 26px;
}
.trust__item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.trust__item p { font-size: 14.5px; color: var(--muted); }

/* ---------- CTA / formulario ---------- */
.cta-band {
  position: relative; background-size: cover; background-position: center;
  color: var(--white); padding: 120px 0; text-align: center;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(10,38,40,.82); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }

.form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 44px; max-width: 620px; margin: 0 auto; text-align: left; color: var(--ink);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 9px; background: var(--cream);
  color: var(--ink); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Pie de página ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 80px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 44px; }
.footer h4 {
  color: var(--white); font-family: var(--font-body); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px;
}
.footer__logo { height: 78px; width: auto; }
.footer__about { font-size: 14.5px; margin-top: 18px; max-width: 34ch; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: var(--coral); }
.footer__contact li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.footer__contact li span { color: var(--coral); }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; transition: background .25s, transform .25s;
}
.footer__social a:hover { background: var(--coral); transform: translateY(-3px); }
.footer__bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Encabezado de página interna ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 90px;
  color: var(--white); background-size: cover; background-position: center;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(10,38,40,.72); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem,5vw,3.6rem); }
.breadcrumb { font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--coral); }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ============================================================
   SELECTOR DE LOTES INTERACTIVO
   ============================================================ */
.selector { background: var(--cream); }

/* Leyenda */
.lot-legend {
  display: flex; flex-wrap: wrap; gap: 22px; justify-content: center;
  margin-bottom: 30px;
}
.lot-legend span { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.lot-legend i {
  width: 20px; height: 20px; border-radius: 6px; display: inline-block;
}
.dot-disp { background: var(--lot-disp); }
.dot-vend { background: var(--lot-vend); }
.dot-res  { background: var(--lot-res); }

:root {
  --lot-disp: #3AAE74;
  --lot-disp-dark: #2C8C5C;
  --lot-vend: #CED8D6;
  --lot-res:  #E8A33C;
}

/* Filtros / pestañas de etapa */
.lot-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.lot-tab {
  padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 14px;
  background: var(--white); border: 1.5px solid var(--line); color: var(--muted);
  transition: all .2s var(--ease);
}
.lot-tab.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.lot-count { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.lot-count b { color: var(--lot-disp-dark); }

/* Bloque de cada etapa */
.etapa-block { margin-bottom: 40px; }
.etapa-block h3 {
  font-size: 1.3rem; margin-bottom: 4px;
  display: flex; align-items: center; gap: 12px;
}
.etapa-block .etapa-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* Rejilla de lotes */
.lot-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  gap: 8px;
}
.lot {
  aspect-ratio: 1; border-radius: 8px; border: none;
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 700; font-family: var(--font-body);
  color: #fff; transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.lot--disponible { background: var(--lot-disp); cursor: pointer; }
.lot--disponible:hover {
  transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 18px rgba(58,174,116,.45);
}
.lot--reservado { background: var(--lot-res); cursor: pointer; }
.lot--reservado:hover { transform: translateY(-3px) scale(1.08); }
.lot--vendido { background: var(--lot-vend); color: #9DACA9; cursor: not-allowed; }

/* Ventana ficha técnica */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,38,40,.72); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: var(--white); border-radius: var(--radius); max-width: 460px; width: 100%;
  box-shadow: var(--shadow-md); overflow: hidden;
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
.modal-head {
  background: var(--teal); color: #fff; padding: 26px 28px; position: relative;
}
.modal-head .estado-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 30px;
  background: rgba(255,255,255,.2); margin-bottom: 10px;
}
.modal-head h3 { color: #fff; font-size: 1.7rem; }
.modal-head p { font-size: 14px; color: rgba(255,255,255,.85); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255,255,255,.18); color: #fff;
  font-size: 20px; line-height: 1; display: grid; place-items: center;
}
.modal-close:hover { background: rgba(255,255,255,.34); }
.modal-body { padding: 26px 28px 30px; }
.ficha-row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.ficha-row:last-of-type { border-bottom: none; }
.ficha-row span:first-child { color: var(--muted); }
.ficha-row span:last-child { font-weight: 700; color: var(--ink); text-align: right; }
.ficha-price {
  background: var(--sand); border-radius: 10px; padding: 16px 20px;
  margin: 18px 0 20px; text-align: center;
}
.ficha-price small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ficha-price strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--teal); }
.modal-card .btn { width: 100%; justify-content: center; }
.ficha-shape {
  display: grid; place-items: center; margin: 4px auto 16px;
}
.ficha-shape svg { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  /* El menú pasa a hamburguesa antes de que se vea apretado */
  .header .container { padding: 0 24px; }
  .nav__links {
    position: fixed; inset: 0; background: var(--cream);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 28px; transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav-open .nav__links { transform: none; }
  .nav__links a { color: var(--ink) !important; font-size: 1.45rem; font-family: var(--font-display); }
  .nav-toggle { display: flex; }
  .nav__cta-btn { display: none; }
}
@media (max-width: 980px) {
  .split, .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .amenities, .trust { grid-template-columns: repeat(2,1fr); }
  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  .col-6, .col-4, .col-8 { grid-column: span 12; }
  .gallery__item { min-height: 220px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .amenities, .trust, .form-grid { grid-template-columns: 1fr; }
  .split__badge { right: 16px; bottom: -20px; }
  .form-card { padding: 28px; }
  .footer__bottom { flex-direction: column; }
  .feature { background-attachment: scroll; }
}

/* Teléfonos pequeños y medianos */
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .header .container { padding: 0 18px; }
  /* En móvil, el botón de WhatsApp de la cabecera de las landings se oculta
     (el botón flotante verde ya da acceso a WhatsApp), evita desbordes. */
  .header .container > .btn { display: none; }
  .brand__logo { height: 42px; }
  .header.scrolled .brand__logo { height: 34px; }
  .section { padding: 58px 0; }
  .section--tight { padding: 48px 0; }
  .hero { min-height: 90vh; }
  h2.title { font-size: 1.72rem; }
  .lead { font-size: 1rem; }
  .page-hero { padding: calc(var(--header-h) + 48px) 0 54px; }
  .stat { padding: 32px 10px; }
  .stat__num { font-size: 2.1rem; }
  .split__badge { padding: 16px 20px; }
  .split__badge strong { font-size: 1.6rem; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .cta-band, .feature { padding: 78px 0; }
  .form-card { padding: 22px 18px; }
  .footer { padding: 58px 0 26px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  /* Selector de lotes */
  .lot-grid { grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 6px; }
  .lot { font-size: 11px; border-radius: 6px; }
  .lot-legend { gap: 14px; }
  .modal-overlay { padding: 16px; }
  .modal-head { padding: 22px 20px; }
  .modal-head h3 { font-size: 1.42rem; }
  .modal-body { padding: 22px 20px 26px; }
  .ficha-price strong { font-size: 1.7rem; }
}

/* Teléfonos muy pequeños */
@media (max-width: 360px) {
  h2.title { font-size: 1.5rem; }
  .hero h1 { font-size: 2.2rem; }
  .lot-grid { grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); }
  .lot { font-size: 10px; }
}
