/* =========================================================
   Vía Trapenses · Landing
   Colores y tipografía tomados del brochure digital final.
   ========================================================= */
:root {
  --blue: #2149a8;         /* azul marca (brochure) */
  --blue-dark: #183a8c;
  --navy: #12266e;
  --cyan: #4fd6cf;         /* "1·2 Dorms" */
  --bg: #f5f5f5;
  --white: #ffffff;
  --ink: #3f4043;          /* títulos gris oscuro */
  --text: #4b4c50;
  --muted: #7a7b80;
  --line: #c9ccd4;
  --chip: #dbe3ee;         /* fondos de íconos en mapa */
  --form-bg: #cbcbcb;
  --footer: #54565a;

  --font: "Avenir Next", "Avenir", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --client-header: 150px;   /* alto del espacio reservado para el menú de Vitalia */
  --sticky-top: 116px;        /* si el menú de Vitalia queda fijo, poner aquí su alto */
  --nav-h: 62px;            /* alto del menú de secciones */
  --hero-step: clamp(12px, 1.3vw, 22px);
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sticky-top) + var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap.wide { max-width: 1320px; }
.ico { width: 24px; height: 24px; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 26px; border: 1px solid var(--blue);
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); transition: background-color .2s, color .2s, border-color .2s;
}
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-line { background: transparent; color: var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; text-transform: none; letter-spacing: .02em; min-width: 160px; }
.btn-ghost:hover { background: #fff; color: var(--footer); }
.btn-pill { background: var(--blue); border-color: var(--blue); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .12em; padding: 10px 22px; }
.btn-pill:hover { background: var(--navy); border-color: var(--navy); }
.btn-wide { min-width: 260px; }
.btn-block { width: 100%; }

/* ---------- Espacio reservado para el menú del cliente ---------- */
.client-header-space { height: var(--client-header); background: #fff; }

/* ---------- Hero (dos paneles, estilo sitio Vitalia) ---------- */
.hero { position: relative; height: clamp(420px, 34vw, 580px); background: #fff; isolation: isolate; }
/* panel derecho: render, más bajo que el izquierdo (escalón arriba y abajo) */
.hero-right { position: absolute; top: var(--hero-step); bottom: var(--hero-step); left: 28%; right: 0; overflow: hidden; background: #c9d3e6; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
/* panel izquierdo: azul de marca con borde diagonal que proyecta sombra sobre el render */
.hero-left { position: absolute; inset: 0; z-index: 2; pointer-events: none; filter: drop-shadow(10px 0 12px rgba(10, 18, 40, .38)); }
.hero-blue { position: absolute; inset: 0; background: var(--blue); clip-path: polygon(0 0, 50% 0, 33% 100%, 0 100%); }
.hero-brand { position: absolute; left: max(5%, calc(21% - min(15%, 270px))); top: 50%; transform: translateY(-50%); width: min(30%, 540px); aspect-ratio: 1.25; }
.hero-sketch { position: absolute; left: 0; bottom: 14%; width: 82%; opacity: .55; }
.hero-logo { position: absolute; left: 30%; top: 4%; height: 84%; color: #fff; }
.hero-logo .logo-via { height: 100%; width: auto; display: block; }
.hero-script { position: absolute; left: 63%; top: -2%; width: 44%; }
.hero-copy {
  position: absolute; right: max(var(--pad), calc((100vw - 1320px) / 2 + var(--pad))); top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; color: #fff;
}
.hero-copy h1 { display: flex; flex-direction: column; line-height: .98; font-weight: 700; letter-spacing: -.01em; }
.h1-a { font-size: clamp(36px, 4.2vw, 72px); text-shadow: 0 2px 24px rgba(10,20,50,.4); }
.h1-b { color: var(--cyan); font-size: clamp(32px, 3.7vw, 62px); text-shadow: 0 2px 20px rgba(10,20,50,.35); }
.hero-meta { margin-top: 10px; font-size: clamp(13px, 1vw, 16px); font-weight: 400; line-height: 1.35; text-shadow: 0 1px 12px rgba(10,20,50,.6); }
.hero-sub { margin: clamp(20px, 3.6vw, 60px) 0 16px; text-align: left; font-size: clamp(15px, 1.2vw, 19px); font-weight: 300; line-height: 1.3; text-shadow: 0 1px 12px rgba(10,20,50,.55); }
.hero-sub strong { font-weight: 500; }
.hero-copy .btn-pill { align-self: flex-end; }
/* entrada única del hero */
.hero-copy, .hero-brand { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-brand { animation-delay: .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.hero-brand { animation-name: rise-brand; }
@keyframes rise-brand { from { opacity: 0; transform: translateY(calc(-50% + 14px)); } to { transform: translateY(-50%); } }

/* ---------- Barra de características ---------- */
.features {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px;
  padding: 26px var(--pad) 18px; color: var(--ink); font-size: 14px; background: #fff;
}
.features li { display: flex; align-items: center; gap: 12px; }
.features .ico { width: 30px; height: 30px; color: #55575c; }

/* ---------- Menú de secciones (después del hero; queda fijo al hacer scroll) ---------- */
.section-nav { position: sticky; top: var(--sticky-top); z-index: 50; background: #fff; padding: 4px var(--pad) 10px; transition: box-shadow .25s; }
.section-nav.is-stuck { box-shadow: 0 6px 16px rgba(18, 38, 110, .08); }
.section-nav ul { display: flex; justify-content: center; align-items: center; max-width: 720px; margin: 0 auto; border-bottom: 1px solid var(--navy); }
.section-nav li { display: flex; align-items: center; }
.section-nav li + li::before { content: ""; width: 1px; height: 18px; background: #9aa0ad; }
.section-nav a {
  position: relative; display: block; padding: 12px 16px 10px; text-decoration: none; white-space: nowrap;
  color: var(--navy); font-size: 19px; letter-spacing: .03em; text-transform: uppercase; transition: color .2s;
}
.section-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.section-nav a:hover, .section-nav a.is-active { color: var(--blue); }
.section-nav a.is-active::after { transform: scaleX(1); }

/* ---------- Secciones ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.proyecto { padding-bottom: clamp(24px, 3vw, 40px); }
.sec-title {
  color: var(--ink); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: clamp(20px, 2vw, 26px); line-height: 1.25;
}
.sec-title.center { text-align: center; }
.note { font-size: 13px; color: var(--muted); }

/* Proyecto */
.proyecto { padding-top: clamp(40px, 5vw, 64px); }
.proyecto-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px 64px; margin-top: 36px; }
.proyecto-text p { font-size: 18px; color: #2f3033; max-width: 46ch; }
.proyecto-text p + p { margin-top: 1.2em; }
.poi { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; margin-bottom: 30px; }
.poi li { display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-content: start; }
.poi .ico { grid-row: 2; align-self: start; margin-top: 1px; color: var(--blue); width: 22px; height: 22px; }
.poi .n { grid-column: 2; color: var(--blue); font-weight: 700; font-size: 20px; line-height: 1; }
.poi .l { grid-column: 2; grid-row: 2; font-size: 15px; color: var(--text); }
.map-figure { margin: clamp(24px, 4vw, 48px) auto 0; max-width: 760px; }
.map-figure img { width: 100%; }

/* Deptos */
.deptos { padding-top: 24px; }
.deptos-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; }
.deptos-meta { justify-self: end; text-align: right; font-size: 14px; line-height: 1.4; color: var(--muted); }
.deptos-meta strong { color: var(--blue); font-weight: 600; }
.deptos-sub { text-align: center; font-size: 17px; color: var(--ink); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin: 14px 0 34px; }
.tab {
  min-width: 170px; padding: 5px 22px; background: transparent; border: 1px solid var(--blue);
  color: var(--ink); font-size: 16px; font-weight: 400; border-radius: 0;
  transition: background-color .2s, color .2s;
}
.tab:hover { background: rgba(33,73,168,.08); }
.tab[aria-selected="true"] { background: var(--blue); color: #fff; }
.plan-desc { text-align: center; color: var(--muted); font-size: 15px; margin: -14px 0 22px; }

/* Carrusel genérico */
.carousel { position: relative; padding: 0 56px; }
.car-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain; padding: 4px 2px 10px;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track > li { scroll-snap-align: start; flex: none; }
.car-arrow {
  position: absolute; top: 50%; width: 40px; height: 64px; margin-top: -32px; border: 0; background: none; padding: 0; z-index: 2;
}
.car-arrow::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 28px; height: 28px;
  border-left: 1.5px solid #222; border-bottom: 1.5px solid #222; transition: border-color .2s;
}
.car-arrow.prev { left: 0; } .car-arrow.prev::before { transform: translate(-25%, -50%) rotate(45deg); }
.car-arrow.next { right: 0; } .car-arrow.next::before { transform: translate(-75%, -50%) rotate(-135deg); }
.car-arrow:hover::before { border-color: var(--blue); }
.car-arrow[disabled] { opacity: .2; cursor: default; }
.carousel.no-scroll .car-arrow { visibility: hidden; }
.carousel.no-scroll .car-track { justify-content: center; }

.plans-track > li { width: calc((100% - 48px) / 3); }
.plan-btn { position: relative; display: block; width: 100%; border: 0; padding: 0; background: #fff; box-shadow: 0 0 0 1px #e3e4e8; }
.plan-btn img { width: 100%; aspect-ratio: 0.69; object-fit: contain; }
.plan-zoom {
  position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--ink); border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.12);
  transition: color .2s, transform .2s;
}
.plan-btn:hover .plan-zoom { color: var(--blue); transform: scale(1.06); }
.plan-cap { margin-top: 10px; font-size: 14px; color: var(--ink); text-align: center; line-height: 1.35; }
.plan-cap span { display: block; font-size: 13px; color: var(--muted); }
.deptos-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding: 0 56px; }

/* Etapa de venta */
.stage { margin-top: clamp(64px, 8vw, 110px); text-align: center; }
.stage-title { color: var(--blue); font-weight: 500; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; }
.stage-line {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 560px; margin: 26px auto 0;
  font-size: 14px; line-height: 1.2; color: var(--muted);
}
.stage-line::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 5px; height: 1px; background: var(--blue); }
.stage-line li { position: relative; padding-top: 22px; }
.stage-line .dot {
  position: absolute; top: 0; left: 50%; width: 11px; height: 11px; margin-left: -5.5px;
  border: 1px solid var(--blue); border-radius: 50%; background: var(--bg);
}
.stage-line .is-current { color: #1f2023; }
.stage-line .is-current .dot { width: 0; height: 0; border: 9px solid transparent; border-top: 12px solid var(--blue); border-radius: 0; background: none; top: -4px; margin-left: -9px; }

/* Galería */
.galeria { padding-top: clamp(48px, 6vw, 80px); }
.galeria .tabs { margin-top: 26px; }
/* Amenities (íconos del brochure, pág. 13) */
.amenities { max-width: 860px; margin: 22px auto 40px; text-align: center; }
.amenities-intro { font-size: 16px; color: var(--text); max-width: 62ch; margin: 0 auto 28px; }
.amenities-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 8px; }
.amenities-list li { width: 112px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.amenities-list img { width: 50px; height: 50px; }
.gal-track { gap: 12px; }
.gal-track > li { height: clamp(300px, 34vw, 450px); }
.gal-btn { display: block; height: 100%; border: 0; padding: 0; background: #ddd; overflow: hidden; }
.gal-btn img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gal-btn:hover img { transform: scale(1.025); }
.galeria-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 26px; }
.galeria-foot .note { max-width: 60ch; font-size: 12px; }

/* Banner */
.banner { position: relative; display: block; overflow: hidden; height: clamp(320px, 30vw, 470px); background: var(--blue); }
.banner-photo { position: absolute; inset: 0 auto 0 0; width: 60%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.banner-blue { position: absolute; inset: 0; background: var(--blue); clip-path: polygon(51% 0, 100% 0, 100% 100%, 35% 100%); }
.banner-brand { position: absolute; right: max(4%, calc((100% - 1320px) / 2)); top: 0; bottom: 0; width: min(46%, 640px); display: flex; align-items: center; justify-content: flex-end; gap: 4%; }
.banner-script { position: relative; z-index: 1; width: 44%; margin-top: -16%; margin-right: -4%; }
.banner-logo { position: relative; width: 42%; aspect-ratio: .82; }
.banner-vitalia { position: absolute; left: 50%; top: 2%; transform: translateX(-50%); width: 48%; }
.banner-logo .presenta { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); color: #fff; font-size: 11px; letter-spacing: .04em; }
.banner-sketch { position: absolute; left: -30%; bottom: 12%; width: 130%; max-width: none; opacity: .5; }
.banner-logo .hero-logo { left: 50%; top: 20%; height: 76%; transform: translateX(-36%); }

/* Ubicación */
.ubicacion-grid { display: grid; grid-template-columns: minmax(300px, 0.85fr) 1.4fr; gap: 48px; align-items: stretch; }
.ubicacion-text > p { margin: 16px 0 22px; max-width: 42ch; }
.conn { display: grid; gap: 7px; font-size: 15px; margin-bottom: 28px; }
.conn li { display: flex; gap: 8px; align-items: baseline; }
.conn li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #55575c; flex: none; transform: translateY(-2px); }
.conn .t { color: var(--blue); font-size: 13px; margin-left: auto; text-align: right; }
.ubicacion-img { position: relative; min-height: 420px; overflow: hidden; background: #2a2b2e; }
.ubicacion-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 55%; }

/* Contacto */
/* Fondo e imagen a todo el ancho; el formulario se alinea con el borde izquierdo del contenido (.wrap) */
.contacto { background: var(--form-bg); }
.contact-box {
  display: grid;
  grid-template-columns: max(var(--pad), calc((100% - var(--wrap)) / 2 + var(--pad))) minmax(320px, 420px) 1fr;
}
.contact-panel { grid-column: 2; padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(28px, 3vw, 44px) 0; }
.contact-map { grid-column: 3; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-ok { color: #1c6b3a; }
.contact-panel h2 { color: #1d2433; font-size: 26px; font-weight: 700; letter-spacing: -.005em; margin-bottom: 18px; }
.agent { background: #bdbdbe; padding: 16px 18px; border-radius: 4px; display: grid; gap: 8px; margin-bottom: 22px; font-size: 14px; }
.agent-name { font-weight: 600; color: #1d2433; }
.agent a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1d2433; }
.agent a:hover { color: var(--blue); }
.agent .ico { width: 18px; height: 18px; color: var(--navy); }
.lead-form { display: grid; gap: 12px; }
.field { display: grid; gap: 5px; }
.field label { font-size: 13px; font-weight: 600; color: #1d2433; }
.field input, .field select {
  width: 100%; height: 42px; padding: 0 12px; font: inherit; font-size: 16px; color: #1d2433;
  background: #d4d4d5; border: 1px solid #b7b8ba; border-radius: 4px; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, #1d2433 50%), linear-gradient(135deg, #1d2433 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 0; background-color: #e3e3e4; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.lead-form .btn-block { background: var(--navy); border-color: var(--navy); text-transform: none; letter-spacing: .01em; font-weight: 600; font-size: 15px; border-radius: 4px; margin-top: 6px; }
.lead-form .btn-block:hover { background: var(--blue); }
.form-status { min-height: 1.4em; font-size: 14px; color: #1d2433; }
.form-status.is-error { color: #b3261e; }
.contact-map { position: relative; min-height: 360px; background: #222; }
.contact-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Footer */
/* .site-footer { background: var(--footer); color: #fff; text-align: center; padding: 56px var(--pad) 40px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.footer-logo { width: 200px; }
.site-footer address { font-style: normal; font-size: 13px; line-height: 1.5; display: grid; gap: 10px; opacity: .95; }
.site-footer address a { text-decoration: none; }
.site-footer address a:hover { text-decoration: underline; }
.footer-group { width: 400px; max-width: 100%; opacity: .85; } */

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.22); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .ico { width: 30px; height: 30px; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,16,28,.94); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(12,16,28,.6); }
.lightbox figure { max-width: calc(100vw - 140px); max-height: calc(100dvh - 90px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 130px); object-fit: contain; background: #fff; }
.lightbox figcaption { font-size: 14px; opacity: .85; text-align: center; }
.lb-close { position: absolute; top: 12px; right: 16px; width: 48px; height: 48px; border: 0; background: none; color: #fff; font-size: 40px; line-height: 1; }
.lb-nav { position: absolute; top: 50%; width: 56px; height: 80px; margin-top: -40px; border: 0; background: none; }
.lb-nav::before { content: ""; position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; }
.lb-prev { left: 10px; } .lb-prev::before { transform: translate(-25%, -50%) rotate(45deg); }
.lb-next { right: 10px; } .lb-next::before { transform: translate(-75%, -50%) rotate(-135deg); }
.lightbox.single .lb-nav { display: none; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1100px) {
  .plans-track > li { width: calc((100% - 24px) / 2); }
  .ubicacion-grid { grid-template-columns: 1fr; }
  .ubicacion-text > p { max-width: none; }
  .conn { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

@media (max-width: 900px) {
  :root { --client-header: 72px; --nav-h: 48px; }

  /* Hero apilado: panel azul arriba, render abajo con escalón lateral */
  .hero { height: auto; display: flex; flex-direction: column; }
  .hero-left { order: -1; position: relative; inset: auto; height: clamp(300px, 50vw, 410px); filter: drop-shadow(0 10px 10px rgba(10, 18, 40, .35)); }
  .hero-blue { clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); }
  .hero-brand { left: 50%; top: 46%; transform: translate(-50%, -50%); width: min(380px, 80%); }
  @keyframes rise-brand { from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)); } to { transform: translate(-50%, -50%); } }
  .hero-right { position: relative; inset: auto; height: 460px; margin: -66px var(--hero-step) 0; }
  .hero-photo { object-position: 62% 50%; }
  .hero-copy { left: var(--pad); right: var(--pad); top: 66px; bottom: 0; justify-content: flex-start; padding-top: 26px; }
  .hero-copy::before { content: ""; position: absolute; inset: -66px calc(-1 * var(--pad)) 0; background: linear-gradient(180deg, rgba(10,22,60,0) 10%, rgba(10,22,60,.3) 30%, rgba(10,22,60,0) 60%, rgba(10,22,60,.5)); z-index: -1; }
  .hero-sub { margin: auto 0 14px; }
  .hero-copy .btn-pill { margin-bottom: 26px; }

  /* Menú de secciones: una fila deslizable */
  .section-nav { padding: 0 0 6px; }
  .section-nav ul { max-width: none; justify-content: safe center; overflow-x: auto; scrollbar-width: none; padding: 0 8px; }
  .section-nav ul::-webkit-scrollbar { display: none; }
  .section-nav a { font-size: 14px; padding: 12px 11px 10px; letter-spacing: .04em; }
  .section-nav a::after { left: 11px; right: 11px; }
  .section-nav li + li::before { height: 14px; }
}
@media (max-width: 430px) {
  .section-nav ul { padding: 0 4px; }
  .section-nav a { font-size: 12px; padding: 12px 6px 10px; letter-spacing: .01em; }
  .section-nav a::after { left: 6px; right: 6px; }

  .features { gap: 14px 28px; }
  .proyecto-grid { grid-template-columns: 1fr; }
  .deptos-head { grid-template-columns: 1fr; text-align: center; }
  .deptos-meta { justify-self: center; text-align: center; }
  .deptos-head .sec-title { text-align: center; }

  .banner { height: auto; display: flex; flex-direction: column; }
  .banner-photo { position: relative; width: 100%; height: 300px; }
  .banner-blue { position: relative; clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%); margin-top: -28px; padding: 44px var(--pad) 32px; }
  .banner-brand { position: relative; right: auto; width: 100%; justify-content: center; gap: 6%; }
  .banner-script { width: 44%; max-width: 260px; margin-top: 0; }
  .banner-logo { width: 46%; max-width: 270px; }

  .contact-box { grid-template-columns: 1fr; }
  .contact-panel, .contact-map { grid-column: 1; }
  .contact-panel { padding: 32px var(--pad); }
  .contact-map { min-height: 300px; }
  .ubicacion-img { min-height: 0; aspect-ratio: 1.43; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .tab { min-width: 0; flex: 1 1 auto; padding: 6px 12px; font-size: 14px; }
  .tabs { gap: 8px; }
  .carousel { padding: 0; }
  .car-arrow { display: none; }
  .car-track { padding-right: var(--pad); margin-right: calc(-1 * var(--pad)); }
  .plans-track > li { width: 80%; }
  .deptos-foot { padding: 0; }
  .deptos-foot .btn, .galeria-foot .btn { width: 100%; min-width: 0; }
  .gal-track > li { height: 320px; }
  .galeria-foot .note { flex-basis: 100%; }
  .poi { grid-template-columns: 1fr; }
  .amenities-list { gap: 20px 0; }
  .amenities-list li { width: 25%; font-size: 13px; }
  .amenities-list img { width: 42px; height: 42px; }
  .amenities-intro { font-size: 15px; text-align: left; }
  .proyecto .btn { width: 100%; }
  .conn { grid-template-columns: 1fr; }
  .stage-line { font-size: 12px; }
  .lightbox figure { max-width: 100vw; }
  .lb-nav { top: auto; bottom: 8px; margin: 0; }
  .lightbox img { max-height: calc(100dvh - 160px); }
  .features { display: grid; grid-template-columns: 1fr 1fr; justify-items: start; padding-left: 24px; padding-right: 24px; }
}
