/* ============================================================
   ALZA HOMES — Web v14 · Noviembre 2026
   Identidad: Brand Identity Guidelines No.01 / 2026
   60 % Bone · 30 % Navy · 10 % Sand / Sage
   ============================================================ */

@font-face { font-family: "Archivo Black"; src: url("../assets/fonts/archivo-black-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --navy: #1E3A5F;
  --navy-deep: #14273F;
  --bone: #F4F1EC;
  --bone-2: #EAE5DC;
  --sand: #D9C9B0;
  --sage: #6B7F5C;
  --charcoal: #1A1A1A;
  --ink: #3B4350;
  --muted: #6E7480;
  --white: #FFFFFF;
  --line: rgba(30, 58, 95, 0.14);

  --f-display: "Archivo Black", "Arial Black", Arial, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-accent: "Cormorant Garamond", Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 6px;
  --radius-lg: 14px;
  --container: 1240px;
  --header-h: 76px;
  --shadow: 0 18px 50px rgba(20, 39, 63, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--f-body); font-weight: 500; font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bone); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 3000; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Layout ── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.section { padding: 112px 0; }
.section--tight { padding: 72px 0; }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: var(--bone); }
.bg-deep { background: var(--navy-deep); color: var(--bone); }
.bg-bone2 { background: var(--bone-2); }
@media (max-width: 760px) { .container { padding: 0 20px; } .section { padding: 72px 0; } .section--tight { padding: 52px 0; } }

/* ── Type ── */
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.bg-navy .eyebrow, .bg-deep .eyebrow, .hero .eyebrow { color: var(--sand); }
.h1, .h2, .h3 { font-family: var(--f-display); font-weight: 400; color: var(--navy); letter-spacing: -0.012em; line-height: 1.04; }
.h1 { font-size: clamp(40px, 6.4vw, 80px); }
.h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; }
.h3 { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.2; }
.bg-navy .h1, .bg-navy .h2, .bg-navy .h3, .bg-deep .h2, .bg-deep .h3, .hero .h1 { color: var(--bone); }
em.accent, .accent { font-family: var(--f-accent); font-style: italic; font-weight: 500; letter-spacing: 0; font-size: 1.12em; color: inherit; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; color: var(--ink); font-weight: 500; }
.bg-navy .lead, .bg-deep .lead { color: rgba(244, 241, 236, 0.78); }
.muted { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head .lead { margin-top: 20px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--radius); font-size: 15px; font-weight: 700; letter-spacing: 0.01em; border: 1.5px solid transparent; transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease); white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: var(--bone); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-sand { background: var(--sand); color: var(--navy-deep); }
.btn-sand:hover { background: #E6DAC6; }
.btn-ghost { border-color: rgba(244, 241, 236, 0.55); color: var(--bone); }
.btn-ghost:hover { background: rgba(244, 241, 236, 0.12); border-color: var(--bone); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--bone); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); border-bottom: 1.5px solid var(--sand); padding-bottom: 3px; transition: gap 220ms var(--ease), border-color 220ms; }
.link-arrow:hover { gap: 12px; border-color: var(--navy); }
.link-arrow svg { width: 14px; height: 14px; }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }

/* ── Header ── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); transition: background 300ms var(--ease), box-shadow 300ms var(--ease), height 300ms var(--ease); }
.site-header.is-solid, .site-header.is-light { background: rgba(244, 241, 236, 0.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; height: 100%; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo .logo-light { display: block; }
.nav-logo .logo-dark { display: none; }
.site-header.is-solid .logo-light, .site-header.is-light .logo-light { display: none; }
.site-header.is-solid .logo-dark, .site-header.is-light .logo-dark { display: block; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 14.5px; font-weight: 700; color: var(--bone); position: relative; padding: 6px 0; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.site-header.is-solid .nav-link, .site-header.is-light .nav-link { color: var(--navy); }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
.site-header:not(.is-solid):not(.is-light) .nav-cta { background: var(--bone); color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--bone); border-radius: 2px; transition: transform 300ms var(--ease), opacity 200ms; }
.site-header.is-solid .nav-toggle span, .site-header.is-light .nav-toggle span, .nav-open .nav-toggle span { background: var(--navy); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; inset: 0; z-index: 1; height: 100dvh; overflow-y: auto; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 100px 28px 40px; background: var(--bone); opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 300ms; }
  .nav-open .nav-menu { opacity: 1; visibility: visible; }
  .site-header.nav-open { background: var(--bone); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .nav-logo, .nav-toggle { position: relative; z-index: 2; }
  .nav-open .logo-light { display: none; } .nav-open .logo-dark { display: block; }
  .nav-menu .nav-link { color: var(--navy); font-family: var(--f-display); font-weight: 400; font-size: 30px; padding: 6px 0; }
  .nav-menu .nav-cta { margin-top: 24px; background: var(--navy) !important; color: var(--bone) !important; min-height: 52px; font-size: 15px; }
}

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--bone); overflow: hidden; background: var(--navy-deep); }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,39,63,0.55) 0%, rgba(20,39,63,0.2) 38%, rgba(20,39,63,0.82) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; padding-bottom: 96px; padding-top: calc(var(--header-h) + 48px); }
.hero .h1 { max-width: 15ch; }
.hero .lead { color: rgba(244, 241, 236, 0.86); max-width: 560px; margin: 26px 0 38px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(244,241,236,0.22); font-size: 14px; color: rgba(244,241,236,0.8); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--sand); }
.video-toggle { position: absolute; z-index: 3; right: 40px; bottom: 40px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,241,236,0.5); color: var(--bone); display: grid; place-items: center; background: rgba(20,39,63,0.3); }
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 760px) { .hero-content { padding-bottom: 72px; } .video-toggle { right: 20px; bottom: 20px; } .hero-proof { gap: 10px 20px; } }

/* ── Page header (inner pages) ── */
.page-hero { padding: calc(var(--header-h) + 88px) 0 72px; background: var(--bone); border-bottom: 1px solid var(--line); }
.page-hero .h1 { font-size: clamp(38px, 5.4vw, 68px); max-width: 18ch; }
.page-hero .lead { max-width: 640px; margin-top: 24px; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--navy); }
@media (max-width: 760px) { .page-hero { padding: calc(var(--header-h) + 48px) 0 52px; } }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 980px) { .grid-2 { grid-template-columns: 1fr; gap: 44px; } .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Trust bar ── */
.trust { background: var(--navy); color: var(--bone); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 40px 28px; border-left: 1px solid rgba(244,241,236,0.14); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-num { font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: var(--bone); display: block; }
.trust-label { display: block; margin-top: 10px; font-size: 14px; color: rgba(244,241,236,0.72); line-height: 1.45; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-item { padding: 28px 20px; } .trust-item:nth-child(odd) { border-left: 0; padding-left: 0; } .trust-item:nth-child(n+3) { border-top: 1px solid rgba(244,241,236,0.14); } }

/* ── Service cards ── */
.service-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform 360ms var(--ease), box-shadow 360ms var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body { padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.service-card-body p { color: var(--ink); }
.service-card-body .link-arrow { margin-top: auto; align-self: flex-start; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(107,127,92,0.12); color: var(--sage); font-size: 12.5px; font-weight: 700; }
.pill--sand { background: var(--sand); color: var(--navy-deep); }

/* ── Feature (image + text) ── */
.feature-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-img--wide { aspect-ratio: 4 / 3; }
.feature-badge { position: absolute; left: 20px; bottom: 20px; background: var(--bone); color: var(--navy); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.feature-badge strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1; }
.feature-badge span { font-size: 13px; color: var(--muted); }
.check-list { display: grid; gap: 14px; margin-top: 28px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.check-list svg { width: 20px; height: 20px; color: var(--sage); margin-top: 3px; }
.check-list strong { color: var(--navy); }

/* ── Before / after ── */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; user-select: none; touch-action: pan-y; background: var(--bone-2); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--bone); transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--bone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3A5F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label { position: absolute; top: 16px; z-index: 2; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(20,39,63,0.72); color: var(--bone); padding: 6px 10px; border-radius: 4px; pointer-events: none; }
.ba-label--before { left: 16px; } .ba-label--after { right: 16px; }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ba-tab { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(244,241,236,0.3); color: rgba(244,241,236,0.85); font-size: 14px; font-weight: 700; }
.ba-tab[aria-pressed="true"] { background: var(--bone); color: var(--navy); border-color: var(--bone); }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.step { padding-top: 26px; border-top: 1.5px solid var(--navy); }
.step-num { font-family: var(--f-display); font-size: 14px; color: var(--sage); letter-spacing: 0.08em; }
.step .h3 { margin: 12px 0 10px; }
.step p { font-size: 15px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ── Timeline (service detail) ── */
.timeline { margin-top: 32px; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline li:first-child { border-top: 1px solid var(--line); }
.timeline-n { font-family: var(--f-display); font-size: 14px; color: var(--sage); padding-top: 2px; }
.timeline strong { color: var(--navy); display: block; }
.timeline p { font-size: 15px; color: var(--muted); margin-top: 2px; }

/* ── Callout ── */
.callout { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--sage); border-radius: var(--radius); padding: 18px 20px; margin-top: 24px; font-size: 15px; }
.callout svg { width: 20px; height: 20px; color: var(--sage); flex: none; margin-top: 2px; }
.callout strong { color: var(--navy); }

/* ── Property cards ── */
.prop-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: grid; grid-template-columns: 1.15fr 1fr; transition: box-shadow 360ms var(--ease); }
.prop-card:hover { box-shadow: var(--shadow); }
.prop-card-img { position: relative; min-height: 360px; }
.prop-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prop-card-img .pill { position: absolute; top: 18px; left: 18px; }
.prop-card-body { padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.prop-price { font-family: var(--f-display); font-size: clamp(30px, 3vw, 40px); color: var(--navy); line-height: 1; }
.prop-loc { color: var(--muted); font-size: 15px; display: flex; gap: 6px; align-items: center; }
.prop-loc svg { width: 16px; height: 16px; }
.prop-specs { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; color: var(--navy); font-weight: 700; }
.prop-specs span { display: inline-flex; align-items: center; gap: 8px; }
.prop-specs svg { width: 18px; height: 18px; color: var(--sage); }
.prop-card-body .btn-row { margin-top: auto; }
.prop-card--cta { background: var(--navy); color: var(--bone); border: 0; display: flex; flex-direction: column; justify-content: center; padding: 48px; gap: 18px; }
@media (max-width: 900px) { .prop-card { grid-template-columns: 1fr; } .prop-card-img { min-height: 0; aspect-ratio: 4 / 3; } .prop-card-body { padding: 28px 24px; } .prop-card--cta { padding: 36px 24px; } }

/* ── Listing detail ── */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: min(70vh, 620px); margin-top: 8px; }
.gallery button { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bone-2); padding: 0; }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery-more { position: absolute; inset: 0; background: rgba(20,39,63,0.55); color: var(--bone); display: grid; place-items: center; font-weight: 700; }
.ia-tag { position: absolute; left: 10px; bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; background: rgba(244,241,236,0.92); color: var(--navy); padding: 4px 8px; border-radius: 4px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 520px; } .gallery button:first-child { grid-column: 1 / 3; grid-row: 1; } .gallery button:nth-child(2), .gallery button:nth-child(3) { display: none; } }
.listing-layout { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.listing-aside { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
@media (max-width: 980px) { .listing-layout { grid-template-columns: 1fr; gap: 40px; } .listing-aside { position: static; } }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 32px 0; }
.spec { background: var(--white); padding: 20px; }
.spec strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 24px; color: var(--navy); line-height: 1.1; }
.spec span { font-size: 13px; color: var(--muted); }
@media (max-width: 620px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 18px; }
.feature-list li { display: flex; gap: 10px; font-size: 15.5px; }
.feature-list svg { width: 18px; height: 18px; color: var(--sage); flex: none; margin-top: 4px; }
@media (max-width: 620px) { .feature-list { grid-template-columns: 1fr; } }
.block + .block { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 4000; background: rgba(12,22,36,0.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; }
.lightbox figure { max-width: 1200px; width: 100%; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: rgba(244,241,236,0.8); font-size: 14px; margin-top: 14px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; color: var(--bone); display: grid; place-items: center; background: rgba(244,241,236,0.1); }
.lb-btn:hover { background: rgba(244,241,236,0.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); } .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) { .lightbox { padding: 60px 10px; } .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } }

/* ── Team ── */
.person { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.person-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.person-role { font-size: 15px; color: var(--sage); font-weight: 700; margin: 10px 0 22px; }
@media (max-width: 900px) { .person { grid-template-columns: 1fr; gap: 36px; } }
.value { padding: 32px 28px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.value-n { font-family: var(--f-display); color: var(--sand); font-size: 34px; line-height: 1; display: block; margin-bottom: 16px; }
.bg-navy .value { background: rgba(244,241,236,0.05); border-color: rgba(244,241,236,0.12); }
.bg-navy .value p { color: rgba(244,241,236,0.74); }
.value .h3 { margin-bottom: 10px; }
.icon-box { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--sand); display: grid; place-items: center; margin-bottom: 20px; }
.icon-box svg { width: 24px; height: 24px; }
.bg-navy .icon-box { background: rgba(244,241,236,0.08); }

/* ── Legal partner band ── */
.partner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding: 44px 48px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.partner-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--bone-2); color: var(--navy); display: grid; place-items: center; }
.partner-mark svg { width: 32px; height: 32px; }
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; } }

/* ── FAQ ── */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-weight: 700; font-size: 17.5px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--navy),var(--navy)) center/14px 2px no-repeat, linear-gradient(var(--navy),var(--navy)) center/2px 14px no-repeat; transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 26px; max-width: 720px; }

/* ── CTA band ── */
.cta-band { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--bone); padding: 120px 0; text-align: center; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.cta-band .container { position: relative; }
.cta-band .h2 { color: var(--bone); max-width: 18ch; margin: 0 auto; }
.cta-band .lead { color: rgba(244,241,236,0.8); max-width: 560px; margin: 22px auto 38px; }
.cta-band .btn-row { justify-content: center; }
@media (max-width: 760px) { .cta-band { padding: 84px 0; } }

/* ── Forms ── */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--navy); }
.field .req { color: var(--sage); }
.input { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--radius); border: 1.5px solid rgba(30,58,95,0.2); background: var(--white); font-size: 16px; transition: border-color 200ms, box-shadow 200ms; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(30,58,95,0.1); }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3A5F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.input[aria-invalid="true"] { border-color: #A4462F; }
.field-error { font-size: 13px; color: #A4462F; display: none; }
.input[aria-invalid="true"] + .field-error { display: block; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; border: 0; }
.choice-group legend { margin-bottom: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(30,58,95,0.2); background: var(--white); font-size: 14.5px; font-weight: 700; color: var(--navy); transition: all 200ms; }
.choice input:checked + span { background: var(--navy); color: var(--bone); border-color: var(--navy); }
.choice input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); }
.consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.form-legal { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.form-status { display: none; padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.form-status.is-visible { display: block; }
.form-status .h3 { margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
@media (max-width: 620px) { .form-card { padding: 26px 20px; } }

/* ── Contact info ── */
.contact-list { display: grid; gap: 22px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.contact-item .icon-box { width: 48px; height: 48px; margin: 0; }
.contact-item .icon-box svg { width: 20px; height: 20px; }
.contact-item strong { display: block; color: var(--navy); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-item a, .contact-item span { font-size: 16.5px; }
.contact-item a:hover { color: var(--navy); text-decoration: underline; }
.langs { display: flex; gap: 8px; flex-wrap: wrap; }
.langs span { padding: 4px 12px; border-radius: 999px; background: var(--bone-2); font-size: 13px; font-weight: 700; color: var(--navy); }

/* ── Footer ── */
.site-footer { background: var(--navy-deep); color: rgba(244,241,236,0.7); padding: 88px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 22px; }
.site-footer h2 { font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.site-footer li + li { margin-top: 10px; }
.site-footer a:hover { color: var(--bone); }
.footer-bottom { margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(244,241,236,0.12); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font-size: 13.5px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } .site-footer { padding-top: 64px; } }

/* ── WhatsApp float ── */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.22); transition: transform 260ms var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 560px) { .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; } }

/* ── Legal pages ── */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: 24px; color: var(--navy); margin: 48px 0 14px; }
.legal h3 { font-size: 17px; color: var(--navy); margin: 24px 0 8px; }
.legal p, .legal li { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--navy); }
.legal a { color: var(--navy); text-decoration: underline; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 100ms; } .reveal[data-delay="2"] { transition-delay: 200ms; } .reveal[data-delay="3"] { transition-delay: 300ms; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.listing-layout--form { grid-template-columns: 1fr 400px; }
@media (max-width: 980px) { .listing-layout--form { grid-template-columns: 1fr; } }

/* ── Calculadora ── */
.calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding-bottom: 96px; }
.calc-layout:has(.calc-result[hidden]) { grid-template-columns: minmax(0, 760px); }
.calc-result { display: grid; gap: 24px; scroll-margin-top: calc(var(--header-h) + 24px); }
.calc-figure { background: var(--navy); color: var(--bone); border-radius: var(--radius-lg); padding: 36px; }
.calc-figure .eyebrow { color: var(--sand); outline: none; }
.calc-range { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; color: var(--bone); font-variant-numeric: tabular-nums; }
.calc-m2 { margin-top: 10px; color: rgba(244,241,236,0.75); font-size: 15px; }
.calc-factors { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(244,241,236,0.15); display: grid; gap: 8px; font-size: 15px; }
.calc-factors li { display: flex; gap: 12px; align-items: baseline; }
.calc-factors span { min-width: 52px; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-factors .up { color: #A9C49A; } .calc-factors .down { color: var(--sand); }
.calc-note { margin-top: 20px; font-size: 13px; color: rgba(244,241,236,0.6); }
.calc-lead { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.calc-lead > p { margin: 8px 0 20px; }
@media (max-width: 980px) { .calc-layout { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .calc-figure, .calc-lead { padding: 26px 20px; } }

/* ── Calculadora: zona y mapa ── */
.zona { border: 0; display: grid; gap: 12px; min-width: 0; }
.zona legend { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.search-row { display: flex; gap: 10px; }
.search-row .input { flex: 1; min-width: 0; }
.search-row .btn { min-height: 52px; }
.calc-map { height: 360px; border-radius: var(--radius); border: 1.5px solid rgba(30,58,95,0.2); overflow: hidden; background: var(--bone-2); z-index: 0; }
.zona-info { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 12px 16px; border-radius: var(--radius); background: rgba(107,127,92,0.12); color: var(--navy); font-size: 15px; }
.zona-info span { color: var(--sage); font-weight: 700; }
.leaflet-container { font-family: var(--f-body); }
.map-tip { font-family: var(--f-body); font-weight: 700; color: var(--navy); border-radius: 4px; }
#dir-msg:empty { display: none; }
@media (max-width: 620px) { .calc-map { height: 300px; } }
.search-box { position: relative; flex: 1; min-width: 0; }
.search-box .input { width: 100%; }
.dir-list { position: absolute; z-index: 1200; top: calc(100% + 6px); left: 0; right: 0; background: var(--white); border: 1.5px solid rgba(30,58,95,0.2); border-radius: var(--radius); box-shadow: var(--shadow); max-height: 320px; overflow-y: auto; padding: 6px; }
.dir-opt { display: grid; gap: 2px; padding: 10px 12px; border-radius: 4px; cursor: pointer; }
.dir-opt strong { color: var(--navy); font-size: 15px; }
.dir-opt span { color: var(--muted); font-size: 13px; }
.dir-opt:hover, .dir-opt.is-active { background: var(--bone); }
.map-pin { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 3px solid var(--bone); box-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.map-tip .maplibregl-popup-content { font-family: var(--f-body); font-weight: 700; font-size: 13px; color: var(--navy); padding: 6px 10px; border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.map-tip .maplibregl-popup-tip { display: none; }
.calc-map .maplibregl-ctrl-attrib { font-size: 11px; }

/* ── Franja de fotos ── */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 360px; overflow: hidden; }
.photo-strip img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
@media (max-width: 760px) { .photo-strip { grid-template-columns: 1fr 1fr; grid-auto-rows: 46vw; } }
