/* ===================================================================
   Kuan — Desarrollos inmobiliarios
   Identidad según Kuan_Manual_Marca:
     Tipografía  Lato (Light 300 · Regular 400 · Bold 700), auto-hospedada
     Paleta      Gris #A7A9AC · Azul #2484C6 · Rojo #EF4130
     Derivado    Azul profundo #164E76 — solo interfaz (texto chico y
                 botones no llegan al contraste mínimo con el azul de marca)
=================================================================== */

@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../assets/fonts/lato-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/lato-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/lato-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato'; font-style: italic; font-weight: 300; font-display: swap;
  src: url('../assets/fonts/lato-300-italic.woff2') format('woff2');
}

:root {
  /* Tintas del manual */
  --gris: #a7a9ac;
  --azul: #2484c6;
  --rojo: #ef4130;

  /* Interfaz */
  --brand: #164e76;        /* azul profundo — navbar, footer, botones, enlaces */
  --brand-dark: #123e5e;   /* hover y pie del footer */
  --accent: var(--azul);   /* azul de marca — acentos y superficies grandes */
  --brand-pale: #bfddf2;   /* azul claro para texto sobre fondos azules */

  --text: #16323f;
  --text-soft: #546a78;
  --white: #ffffff;
  --bg: #f1f4f7;
  --muted: #f7f9fb;
  --line: rgba(22, 78, 118, 0.14);
  --shadow: 0 18px 45px rgba(22, 50, 63, 0.10);
  --radius: 6px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text-soft);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tipografía de secciones ---------- */
.section-label {
  display: inline-block;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--azul);
  margin-bottom: 12px;
}
.section-label.light { color: var(--brand-pale); }

.section-title {
  font-size: 42px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--brand);
  letter-spacing: -.01em;
  margin-bottom: 26px;
}
.section-title strong { font-weight: 700; }
.section-title.light { color: var(--white); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .section-title { margin-bottom: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn-ghost:hover { background: var(--white); color: var(--brand); }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .5);
  z-index: 999;
  animation: wa-pulse 2.2s infinite;
}
.wa-float img { width: 32px; height: 32px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--muted);
  font-size: 13px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; }
.topbar-info { display: flex; gap: 26px; list-style: none; flex-wrap: wrap; }
.topbar-info i { color: var(--azul); margin-right: 6px; }
.topbar-info span { opacity: .6; margin-right: 4px; }
.topbar-social { display: flex; gap: 8px; list-style: none; }
.topbar-social a {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); background: rgba(36,132,198,.09);
  transition: all .25s;
}
.topbar-social a:hover { background: var(--brand); color: #fff; }

/* ---------- Navbar ----------
   Blanca y sólida siempre: la versión primaria del logo (tres tintas) vive
   sobre fondo claro. La altura sale del área de resguardo del manual:
   logo de 29px de alto (119px de ancho, sobre el mínimo de 113px) + 1 módulo
   (≈23px) arriba y abajo.                                                   */
.navbar {
  position: sticky; top: 0; z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(22,50,63,.10); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand img { height: 29px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu > a { color: var(--brand); font-size: 15px; font-weight: 400; transition: color .2s; }
.nav-menu > a:hover { color: var(--azul); }

.nav-badge {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--text-soft) !important;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 20px;
  letter-spacing: .4px;
}
.nav-badge:hover { background: var(--bg); color: var(--brand) !important; }

.nav-cta {
  background: var(--brand);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius);
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--brand-dark); color: var(--white) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-drop-toggle { color: var(--brand); font-size: 15px; cursor: pointer; }
.nav-drop-toggle i { font-size: 11px; margin-left: 4px; }
.nav-drop-menu {
  position: absolute; top: 130%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 190px; padding: 8px 0;
  opacity: 0; visibility: hidden; transition: all .22s;
}
.nav-dropdown:hover .nav-drop-menu { opacity: 1; visibility: visible; top: 115%; }
.nav-drop-menu a {
  display: block; padding: 10px 20px; color: var(--text-soft); font-size: 14px;
}
.nav-drop-menu a:hover { background: var(--bg); color: var(--brand); }

.nav-toggle {
  display: none;
  background: transparent; border: none; color: var(--brand);
  font-size: 24px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  padding: 110px 0 100px;
  background: url('../assets/img/bannar.jpg') center/cover no-repeat fixed;
  background-image: image-set(url('../assets/img/bannar.webp') type('image/webp'), url('../assets/img/bannar.jpg') type('image/jpeg'));
  display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(118deg, rgba(18,62,94,.92) 0%, rgba(22,78,118,.72) 52%, rgba(36,132,198,.46) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero-label {
  display: inline-block;
  font-style: italic; font-weight: 300;
  color: var(--brand-pale); font-size: 22px; margin-bottom: 18px;
}
.hero-title {
  color: #fff;
  font-size: 68px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 26px;
}
.hero-title-lead {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-pale);
  margin-bottom: 16px;
}
/* Texto solo para lectores de pantalla / buscadores */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.typed { color: #fff; font-weight: 700; }
.typed-cursor {
  color: var(--brand-pale); font-weight: 300;
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-text { color: rgba(255,255,255,.9); font-size: 17px; max-width: 640px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.75); font-size: 20px; z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,10px)} }

/* ---------- Historia ---------- */
.historia { padding: 110px 0; background: var(--white); position: relative; overflow: hidden; }
/* El mosaico del isologotipo como filigrana de marca */
.historia::before {
  content: ''; position: absolute; top: -30px; right: -70px;
  width: 430px; height: 334px;
  background: url('../assets/img/isotipo-kuan.svg') no-repeat center/contain;
  opacity: .07; pointer-events: none;
}
.historia .container { position: relative; z-index: 2; }
.historia-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.historia-content p { margin-bottom: 18px; font-size: 15.5px; }
.historia-slogan { color: var(--brand); font-size: 18px; }
.historia-slogan em { font-style: italic; font-weight: 300; color: var(--azul); }

.historia-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stat {
  background: var(--bg);
  border-radius: 10px;
  padding: 34px 24px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat-num {
  display: block; font-size: 40px; font-weight: 700; color: var(--brand); line-height: 1;
}
.stat-label { display: block; margin-top: 10px; font-size: 14px; }

/* ---------- Desarrollos (grillas) ---------- */
.desarrollos { padding: 110px 0; position: relative; }
.finalizados { background: var(--bg); }

.ejecucion {
  background: url('../assets/img/property-bg.jpg') center/cover no-repeat fixed;
  background-image: image-set(url('../assets/img/property-bg.webp') type('image/webp'), url('../assets/img/property-bg.jpg') type('image/jpeg'));
  color: #fff;
}
.desarrollos-overlay { position: absolute; inset: 0; background: rgba(22,78,118,.93); }
.ejecucion .container { position: relative; z-index: 2; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* Con una sola obra en ejecución la tarjeta quedaba pegada a la izquierda
   dejando media fila vacía: auto-fit + justify-content la centra sola. */
.ejecucion .grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 436px));
  justify-content: center;
  max-width: 900px; margin: 0 auto;
}

/* Tarjeta de propiedad */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(22,50,63,.06);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
/* <picture> debe llenar el contenedor para que la imagen tome el 100% */
.card-media picture,
.mini-media picture,
.gal-thumb picture,
.prop-gallery-main picture { display: block; width: 100%; height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.07); }
.card-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--rojo); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 6px 13px; border-radius: 20px;
  box-shadow: 0 2px 10px rgba(18,50,63,.25);
}
.card-badge.done { background: var(--brand); }
.card-body { padding: 20px 22px 24px; }
.card-title { font-size: 17px; font-weight: 700; color: var(--brand); }
.card-progress { margin-top: 14px; }
.card-progress-bar { height: 6px; background: rgba(22,78,118,.12); border-radius: 4px; overflow: hidden; }
.card-progress-fill { height: 100%; background: var(--rojo); border-radius: 4px; }
.card-progress-label { display: flex; justify-content: space-between; font-size: 12.5px; margin-top: 7px; }
.ejecucion .card-progress-label { color: var(--text-soft); }

/* ---------- Contacto ---------- */
.contacto { padding: 100px 0; background: var(--white); }
.contacto-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.contacto-cta {
  font-style: italic; font-weight: 300;
  font-size: 24px; color: var(--brand); margin: 6px 0 28px;
}
.contacto-list { list-style: none; display: grid; gap: 18px; }
.contacto-list li { display: flex; align-items: center; gap: 16px; font-size: 15.5px; }
.contacto-list i {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--brand); border-radius: 50%; font-size: 18px;
}

/* ---------- Footer ----------
   Azul plano. El logo va sobre placa blanca: sobre azul, las letras azules
   del isologotipo no se leen, y el manual habilita expresamente la placa. */
.footer { position: relative; overflow: hidden; color: rgba(255,255,255,.8); padding-top: 80px; background: var(--brand); }
/* Filigrana discreta, fuera del área de lectura (abajo a la derecha) */
.footer::before {
  content: ''; position: absolute; bottom: 70px; right: -40px;
  width: 230px; height: 179px;
  background: url('../assets/img/isotipo-kuan-blanco.svg') no-repeat center/contain;
  opacity: .04; pointer-events: none;
}
.footer-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px;
}
.footer-logo {
  display: inline-block; background: var(--white);
  padding: 20px 24px; border-radius: var(--radius); margin-bottom: 20px;
}
.footer-logo img { height: 29px; width: auto; }
.footer-brand p { font-size: 14px; max-width: 340px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer-col p { font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--brand-pale); }
.footer-bottom {
  position: relative; z-index: 2;
  background: var(--brand-dark);
  padding: 22px 0; font-size: 13px; text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .section-title, .hero-title { font-size: 34px; }
  .hero-title { font-size: 46px; }
  .historia-grid, .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .historia::before { width: 300px; height: 233px; }
}

@media (max-width: 768px) {
  .topbar-info { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(22,50,63,.12);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0 24px;
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  }
  .nav-menu.open { max-height: 480px; padding: 6px 24px 18px; }
  .nav-menu > a, .nav-dropdown { width: 100%; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav-drop-menu { position: static; transform: none; box-shadow: none; border: none; background: transparent; opacity: 1; visibility: visible; padding: 0 0 0 14px; }
  .nav-drop-menu a:hover { background: transparent; color: var(--azul); }
  .hero { padding: 90px 0 80px; background-attachment: scroll; min-height: auto; }
  .hero-title { font-size: 38px; }
  .ejecucion { background-attachment: scroll; }
  .historia::before { display: none; }
}

@media (max-width: 560px) {
  .grid, .ejecucion .grid { grid-template-columns: 1fr; }
  .historia-stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   PÁGINAS INTERNAS (Terrenos, Inversiones, Detalle de desarrollo)
=================================================================== */

/* Ítem de menú activo + badge "próximamente" */
.nav-menu > a.active,
.nav-drop-toggle.active { color: var(--azul); font-weight: 700; }
.nav-badge small { font-weight: 400; opacity: .8; font-size: 10px; }

/* Tarjetas: media como enlace + overlay al pasar */
a.card-media { display: block; text-decoration: none; }
.card-media-cta {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(18,62,94,.88));
  color: #fff; font-size: 14px; font-weight: 700;
  padding: 34px 20px 16px; display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(10px); transition: all .3s;
}
.card:hover .card-media-cta { opacity: 1; transform: translateY(0); }
.card-title a { color: var(--brand); transition: color .2s; }
.card-title a:hover { color: var(--azul); }

/* ---------- Encabezado de página (page-hero) ---------- */
.page-hero {
  position: relative;
  padding: 110px 0 70px;
  background-size: cover; background-position: center;
  color: #fff;
}
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(118deg, rgba(18,62,94,.93), rgba(36,132,198,.62)); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-plain { background: var(--brand); padding: 110px 0 70px; }
.page-title { font-size: 48px; font-weight: 300; color: #fff; letter-spacing: -.02em; margin-top: 10px; }

.breadcrumb { font-size: 14px; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 10px; }
.breadcrumb a { color: rgba(255,255,255,.8); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 11px; opacity: .6; }
.breadcrumb span { color: var(--brand-pale); }

/* ---------- Contenido genérico ---------- */
.page-content { padding: 80px 0; background: var(--white); }
.content-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.content-main p { margin-bottom: 18px; font-size: 15.5px; }
.content-highlight { font-size: 17px; color: var(--brand); border-left: 3px solid var(--rojo); padding-left: 18px; }
.content-main .btn { margin-top: 12px; }
.content-narrow { max-width: 820px; margin: 0 auto; text-align: center; }
.content-narrow p { font-size: 16px; }

.content-aside { display: grid; gap: 20px; }
.info-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 26px 24px;
  transition: transform .25s, box-shadow .25s;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.info-card i {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  margin-bottom: 16px;
}
.info-card h4 { color: var(--brand); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.info-card p { font-size: 14px; }

/* Ventajas del barrio (landing por barrio): fila de info-cards */
.barrio-ventajas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .barrio-ventajas { grid-template-columns: 1fr; } }

/* Página "Desarrollos por zona": desplegable + grilla de zonas */
.zona-select { max-width: 460px; margin: 30px auto 0; text-align: left; }
.zona-select label { display: block; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.zona-select select {
  width: 100%; padding: 14px 16px; font-size: 16px; font-family: inherit;
  color: var(--brand); background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.zona-select select:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(36,132,198,.18); }
.zona-grid { margin-top: 44px; }

/* ---------- Programas (Inversiones) ---------- */
.programas { padding: 90px 0; background: var(--bg); }
.programas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.programa {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 34px 30px;
  box-shadow: 0 10px 30px rgba(22,50,63,.05);
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.programa:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.programa-num { font-size: 40px; font-weight: 700; color: var(--azul); opacity: .35; line-height: 1; margin-bottom: 10px; }
.programa h4 { color: var(--brand); font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.programa p { font-size: 14.5px; }
.programas-cierre { text-align: center; max-width: 820px; margin: 44px auto 0; font-size: 17px; color: var(--brand); }

/* ---------- Banda CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--brand); color: #fff; text-align: center; padding: 70px 0; }
.cta-band::before {
  content: ''; position: absolute; top: 50%; right: -50px; transform: translateY(-50%);
  width: 300px; height: 233px;
  background: url('../assets/img/isotipo-kuan-blanco.svg') no-repeat center/contain;
  opacity: .07; pointer-events: none;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: 32px; font-weight: 300; color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 26px; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-pale); color: var(--brand-dark); transform: translateY(-2px); }

/* ===================================================================
   DETALLE DE DESARROLLO
=================================================================== */
.prop-hero {
  position: relative; padding: 110px 0 60px;
  background-size: cover; background-position: center; color: #fff;
}
.prop-hero-overlay { position: absolute; inset: 0; background: linear-gradient(118deg, rgba(18,62,94,.92), rgba(36,132,198,.58)); }
.prop-hero-inner { position: relative; z-index: 2; }
.prop-badge {
  display: inline-block; margin-top: 16px;
  background: var(--rojo); border: 1px solid var(--rojo);
  color: #fff; font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 20px;
}
.prop-badge.done { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); }
.prop-title { font-size: 44px; font-weight: 300; color: #fff; letter-spacing: -.02em; margin: 14px 0 6px; }
.prop-sub { color: rgba(255,255,255,.9); font-size: 16px; }
.prop-sub i { color: var(--brand-pale); margin-right: 6px; }

.prop-body { padding: 80px 0; background: var(--white); }
.prop-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }
.prop-main p { margin-bottom: 18px; font-size: 15.5px; }
.prop-figure { margin: 30px 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.prop-figure img { width: 100%; height: auto; display: block; }

/* ---------- Galería ---------- */
.prop-gallery { margin: 30px 0; }
.prop-gallery-main {
  position: relative; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--brand-dark);
  aspect-ratio: 16/10;
}
.prop-gallery-main img {
  width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in;
  transition: transform .4s;
}
.prop-gallery-main:hover img { transform: scale(1.03); }
.gal-zoom {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(18,62,94,.75); color: #fff;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; font-size: 16px;
}
.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.9); color: var(--brand);
  cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 2;
}
.gal-nav:hover { background: #fff; }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }

.prop-gallery-thumbs {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px;
}
.gal-thumb {
  border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  padding: 0; cursor: pointer; background: none; aspect-ratio: 4/3;
  transition: border-color .2s, transform .2s;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { transform: translateY(-2px); }
.gal-thumb.active { border-color: var(--azul); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(11,32,45,.95);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 90vw; max-height: 86vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.14); color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-close { top: 22px; right: 26px; width: 48px; height: 48px; border-radius: 50%; font-size: 22px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; font-size: 22px; }
.lb-prev { left: 3vw; }
.lb-next { right: 3vw; }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: 14px; letter-spacing: 1px; }
.prop-h3 { color: var(--brand); font-size: 22px; font-weight: 700; margin: 6px 0 18px; }
.prop-amenities { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prop-amenities li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.prop-amenities i { color: var(--azul); }

/* Ficha técnica */
.prop-aside { position: sticky; top: 100px; }
.ficha { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; }
.ficha h3 { color: var(--brand); font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.ficha ul { list-style: none; margin-bottom: 20px; }
.ficha li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ficha li:last-child { border-bottom: none; }
.ficha li span { opacity: .75; }
.ficha li strong { color: var(--brand); text-align: right; font-weight: 700; }
.ficha-progress { margin-bottom: 22px; }
.ficha-btn { width: 100%; justify-content: center; margin-bottom: 14px; }
.ficha-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--brand); font-weight: 700; }
.ficha-back:hover { color: var(--azul); }

/* Otros desarrollos */
.prop-otros { padding: 80px 0; background: var(--bg); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mini-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(22,50,63,.06); transition: transform .25s, box-shadow .25s; }
.mini-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mini-media { aspect-ratio: 4/3; overflow: hidden; }
.mini-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mini-card:hover .mini-media img { transform: scale(1.07); }
.mini-body { padding: 18px 20px 22px; }
.mini-body span { display: block; font-style: italic; font-weight: 300; color: var(--azul); font-size: 13px; margin-bottom: 4px; }
.mini-body strong { color: var(--brand); font-size: 16px; font-weight: 700; }

/* ---------- Responsive páginas internas ---------- */
@media (max-width: 992px) {
  .content-grid, .prop-grid { grid-template-columns: 1fr; gap: 40px; }
  .prop-aside { position: static; }
  .programas-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .page-title, .prop-title { font-size: 36px; }
  .prop-gallery-thumbs { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 560px) {
  .prop-amenities { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .page-title, .prop-title { font-size: 30px; }
  .page-hero, .prop-hero { padding-top: 80px; }
  .prop-gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .lb-nav { width: 44px; height: 44px; }
  .cta-band::before { display: none; }
}
