/* =============================================================
   Francisco Propiedades — styles.css
   Archetype: Editorial Dark Warm (adaptado a Chiloé)
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --bg:        #0a1214;   /* deep teal-charcoal */
  --bg-2:      #0f1b1f;
  --bg-3:      #15252a;   /* card */
  --bg-4:      #1c3137;

  --cream:     #f2ede2;   /* text on dark */
  --cream-2:   #d6d0c2;
  --cream-3:   #8aa0a2;   /* metadata, teal-muted */

  --accent:    #d49449;   /* madera / tejuela — warm amber */
  --accent-2:  #2c8294;   /* mar interior — teal */
  --accent-deep:#b6772f;
  --sand:      #c9b896;

  --line:      rgba(242,237,226,.14);
  --line-soft: rgba(242,237,226,.08);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --maxw: 1240px;
  --pad: clamp(1.15rem, 5vw, 5rem);
}

/* 2. Reset & base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.02em; font-weight: 400; }
::selection { background: var(--accent); color: #1a1208; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem;
  background: var(--cream); color: var(--bg); z-index: 9999;
  border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* 3. Utilities ------------------------------------------------ */
.eyebrow {
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 1.1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.25rem);
  line-height: 1.04; letter-spacing: -0.025em;
}
em { font-style: italic; }

/* 4. Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .92rem 1.55rem; border-radius: 100px;
  font-size: .94rem; font-weight: 500; letter-spacing: .01em;
  transition: transform .4s var(--ease-out), background .35s var(--ease-out),
              color .35s var(--ease-out), box-shadow .4s var(--ease-out), border-color .35s;
  will-change: transform;
}
.btn-primary { background: var(--accent); color: #1a1208; }
.btn-primary:hover { background: var(--sand); transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(212,148,73,.6); }
.btn-ghost { color: var(--cream); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(242,237,226,.06); transform: translateY(-2px); }
.btn-wa { background: #1f8a4c; color: #fff; }
.btn-wa:hover { background: #25a35a; transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(37,163,90,.6); }
.btn-block { width: 100%; justify-content: center; padding: 1.05rem; }

/* 5. Splash --------------------------------------------------- */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .7s var(--ease-out), visibility .7s;
}
.splash.hide { opacity: 0; visibility: hidden; }
.splash-inner { text-align: center; }
.splash-mark {
  display: block; font-family: var(--serif); font-size: clamp(3rem, 12vw, 6rem);
  color: var(--cream); letter-spacing: .02em;
  opacity: 0; animation: splashIn .9s var(--ease-out) .1s forwards;
}
.splash-dot { color: var(--accent); }
.splash-word {
  display: block; margin-top: .6rem; font-size: .8rem; letter-spacing: .42em;
  text-transform: uppercase; color: var(--cream-3);
  opacity: 0; animation: splashIn .9s var(--ease-out) .35s forwards;
}
@keyframes splashIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* safety: never trap the page */
.splash { animation: splashKill 0s linear 4.5s forwards; }
@keyframes splashKill { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* 6. Nav ------------------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.05rem var(--pad);
  transition: background .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
  overflow: hidden;
}

/* Perrito caminando en el fondo del nav */
.nav-dog {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none; overflow: hidden;
  opacity: 0; transition: opacity .6s ease;
}
.nav.scrolled .nav-dog { opacity: .32; }
.nav-dog svg {
  position: absolute; bottom: -4px; left: 0;
  width: clamp(48px, 6vw, 72px); height: auto;
  transform: translateX(-50px);
  animation: navDogRun 14s linear infinite;
  will-change: transform;
}
@keyframes navDogRun {
  0%   { transform: translateX(-50px); }
  100% { transform: translateX(calc(100vw + 50px)); }
}
.nd-trot { animation: ndTrot .36s ease-in-out infinite; }
@keyframes ndTrot { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.nd-leg { transform-box: fill-box; transform-origin: 50% 3%; }
.nd-stepA { animation: ndStepA .36s ease-in-out infinite; }
.nd-stepB { animation: ndStepB .36s ease-in-out infinite; }
@keyframes ndStepA { 0%,100% { transform: rotate(-14deg); } 50% { transform: rotate(15deg); } }
@keyframes ndStepB { 0%,100% { transform: rotate(15deg); } 50% { transform: rotate(-14deg); } }
.nd-head { transform-box: fill-box; transform-origin: 16% 64%; animation: ndNod .36s ease-in-out infinite; }
@keyframes ndNod { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-1.8deg); } }
.nd-ear { transform-box: fill-box; transform-origin: 50% 92%; animation: ndSway 1.6s ease-in-out infinite; }
.nd-ear-far { transform-box: fill-box; transform-origin: 50% 92%; animation: ndSway 1.6s ease-in-out infinite; }
@keyframes ndSway { 0%,100% { transform: rotate(-2.5deg); } 50% { transform: rotate(3deg); } }
.nd-tail { transform-box: fill-box; transform-origin: 94% 92%; animation: ndWag .7s ease-in-out infinite; }
@keyframes ndWag { 0%,100% { transform: rotate(-9deg); } 50% { transform: rotate(12deg); } }
.nd-blink { animation: ndBlink 4.5s ease-in-out infinite; }
@keyframes ndBlink { 0%,40%,44%,100% { transform: scaleY(1); } 42% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) {
  .nav-dog, .nav-dog * { animation: none !important; }
  .nav-dog { display: none; }
}
.nav:not(.scrolled) .nav-brand-mark,
.nav:not(.scrolled) .nav-brand-text { text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.nav:not(.scrolled) .nav-burger span { box-shadow: 0 1px 6px rgba(0,0,0,.6); }
.nav.scrolled {
  background: rgba(10,18,20,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding-top: .7rem; padding-bottom: .7rem;
  border-bottom: 1px solid var(--line-soft);
}
.nav-brand { display: flex; align-items: center; gap: .6rem; }
.nav-brand-mark {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  letter-spacing: .02em; color: var(--cream);
}
.nav-brand-mark span { color: var(--accent); }
.nav-brand-text { font-size: .92rem; letter-spacing: .02em; color: var(--cream-2); }
.nav-links { display: none; gap: .5rem; }
.nav-links a {
  font-size: .88rem; font-weight: 500; color: var(--cream);
  padding: .52rem .95rem; border-radius: 100px;
  background: rgba(242,237,226,.07);
  border: 1px solid var(--line-soft);
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out), color .35s, transform .35s var(--ease-out);
}
.nav-links a:hover {
  background: rgba(212,148,73,.18);
  border-color: rgba(212,148,73,.5);
  color: var(--cream); transform: translateY(-1px);
}
.nav:not(.scrolled) .nav-links a { background: rgba(10,18,20,.34); }
.nav:not(.scrolled) .nav-links a:hover { background: rgba(212,148,73,.26); }

.nav-right { display: flex; align-items: center; gap: .65rem; }
.nav-cta { display: none; padding: .62rem 1.1rem; font-size: .86rem; }

/* Conmutador de idioma */
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 100px; overflow: hidden;
  background: rgba(10,18,20,.34);
}
.nav.scrolled .lang-switch { background: rgba(242,237,226,.05); }
.lang-btn {
  padding: .42rem .62rem; font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  color: var(--cream-3); transition: background .3s var(--ease-out), color .3s;
}
.lang-btn:hover:not(.active) { color: var(--cream); background: rgba(242,237,226,.07); }
.lang-btn.active { background: var(--accent); color: #1a1208; }

/* Desplegable de idioma (con banderas) */
.lang-dd { position: relative; }
.lang-current {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .72rem; border-radius: 100px; font-size: .82rem; font-weight: 600;
  color: var(--cream); border: 1px solid var(--line); background: rgba(10,18,20,.34);
  transition: border-color .35s var(--ease-out), background .35s;
}
.nav.scrolled .lang-current { background: rgba(242,237,226,.05); }
.lang-current:hover { border-color: rgba(212,148,73,.5); }
.lang-flag {
  flex: 0 0 auto; display: inline-block; width: 21px; height: 14px;
  border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.28) inset;
  vertical-align: middle;
}
.lang-flag svg { width: 100%; height: 100%; display: block; }
.lang-code { letter-spacing: .04em; }
.lang-caret { font-size: .7rem; color: var(--cream-3); transition: transform .35s var(--ease-out); }
.lang-dd.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + .55rem); right: 0; min-width: 178px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 14px; padding: .4rem;
  display: none; flex-direction: column; gap: .1rem;
  box-shadow: 0 24px 54px -20px rgba(0,0,0,.7); z-index: 60;
}
.lang-dd.open .lang-menu { display: flex; animation: ddIn .22s var(--ease-out); }
@keyframes ddIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.lang-menu .lang-btn {
  display: flex; align-items: center; gap: .65rem; width: 100%;
  padding: .62rem .8rem; border-radius: 9px; font-size: .94rem; font-weight: 500;
  color: var(--cream-2); text-align: left;
}
.lang-menu .lang-btn:hover { background: rgba(242,237,226,.07); color: var(--cream); }
.lang-menu .lang-btn.active { background: rgba(212,148,73,.16); color: var(--cream); }

/* Botón de correo */
.btn-mail { color: var(--cream); border: 1px solid var(--line); padding: .62rem 1.05rem; font-size: .86rem; }
.btn-mail:hover { border-color: var(--accent); background: rgba(212,148,73,.14); color: var(--cream); transform: translateY(-2px); }
.nav-burger {
  display: flex; flex-direction: column; gap: 5px; padding: .5rem; margin: -.5rem;
}
.nav-burger span { width: 24px; height: 2px; background: var(--cream); transition: .3s var(--ease-out); border-radius: 2px; }
.nav-burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* mobile menu */
.nav-mobile {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10,18,20,.97);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 1.4rem; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility .4s;
}
.nav-mobile.open { opacity: 1; visibility: visible; }
.nav-mobile a { font-family: var(--serif); font-size: 2rem; color: var(--cream-2); }
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .btn { font-family: var(--sans); font-size: 1rem; margin-top: 1rem; }
.lang-switch-mobile {
  margin-top: .8rem; border: 0; background: transparent; overflow: visible;
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; max-width: 320px;
}
.lang-switch-mobile .lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem .9rem; font-size: .9rem; border-radius: 100px;
  border: 1px solid var(--line); color: var(--cream-2);
}
.lang-switch-mobile .lang-btn.active { background: var(--accent); color: #1a1208; border-color: var(--accent); }
.nav-mobile-cta { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.2rem; width: min(320px, 80vw); }
.nav-mobile-cta .btn { width: 100%; justify-content: center; margin-top: 0; }

/* desplegable de idioma desktop oculto en móvil (vive en el menú hamburguesa) */
.nav-right .lang-dd { display: none; }

/* 7. Hero ----------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-fallback, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity 1.1s var(--ease-out); }
.hero-video.is-playing { opacity: 1; }
.hero-tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,18,20,.55) 0%, rgba(10,18,20,.12) 26%, rgba(10,18,20,.25) 55%, rgba(10,18,20,.92) 100%),
    radial-gradient(120% 80% at 80% 10%, rgba(10,18,20,0) 40%, rgba(10,18,20,.5) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 3; max-width: 880px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 1.5rem;
  background: rgba(10,18,20,.4); padding: .4rem .85rem; border-radius: 100px;
  border: 1px solid var(--line-soft); backdrop-filter: blur(4px);
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(212,148,73,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212,148,73,.55); } 70% { box-shadow: 0 0 0 9px rgba(212,148,73,0); } 100% { box-shadow: 0 0 0 0 rgba(212,148,73,0); } }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8.5vw, 6.2rem);
  line-height: .98; letter-spacing: -0.035em;
  text-shadow: 0 4px 40px rgba(0,0,0,.4);
}
.hero-title span { display: block; }
.hero-title em { color: var(--accent); font-weight: 300; }
.hero-sub {
  margin-top: 1.6rem; max-width: 30em; font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--cream-2); line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-scroll {
  position: absolute; right: var(--pad); bottom: clamp(3rem, 8vh, 6rem); z-index: 3;
  display: none; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--cream-3);
  writing-mode: vertical-rl;
}
.hero-scroll-line { width: 1px; height: 54px; background: linear-gradient(var(--accent), transparent); }

/* 8. Manifesto ------------------------------------------------ */
.manifesto { padding: clamp(5rem, 12vh, 9rem) var(--pad) clamp(2rem, 5vh, 4rem); max-width: var(--maxw); margin: 0 auto; }
.manifesto-lead {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.28; letter-spacing: -0.02em; color: var(--cream);
  max-width: 24em;
}
.manifesto-lead em { color: var(--accent); }
.pillars { display: grid; gap: 2rem; margin-top: clamp(3rem, 7vh, 5rem); }
.pillar { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.pillar-num { font-family: var(--serif); font-size: 1rem; color: var(--accent); letter-spacing: .05em; }
.pillar h3 { font-size: 1.18rem; margin: .8rem 0 .55rem; font-weight: 500; font-family: var(--sans); letter-spacing: -0.01em; }
.pillar p { color: var(--cream-3); font-size: .96rem; }

/* 9. Properties ----------------------------------------------- */
.properties { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vh, 5rem) var(--pad) clamp(4rem, 9vh, 7rem); }
.section-head { margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.property {
  padding: clamp(2rem, 5vh, 3.5rem) 0;
  border-top: 1px solid var(--line);
}
.property:first-of-type { border-top: 0; }
.property-head { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; justify-content: space-between; align-items: flex-end; margin-bottom: 1.4rem; }
.property-tag {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .7rem;
}
.property-name { font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 2.7rem); letter-spacing: -0.025em; }
.property-place { color: var(--cream-3); font-size: .96rem; margin-top: .5rem; }
.property-meta { display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; }
.meta-item { display: flex; flex-direction: column; gap: .25rem; align-items: flex-start; }
.meta-item span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); }
.meta-item strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--cream); white-space: nowrap; }
.meta-price strong { color: var(--accent); }
.meta-note {
  display: inline-block; margin-top: .15rem; font-style: normal;
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: rgba(212,148,73,.12);
  border: 1px solid rgba(212,148,73,.32); padding: .12rem .55rem; border-radius: 100px;
}
.property-desc { max-width: 60ch; color: var(--cream-2); margin-bottom: 1.8rem; font-size: 1.02rem; }

/* gallery grid */
.gallery {
  display: grid; gap: .6rem;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  margin-bottom: 1.8rem;
}
.g-cell {
  position: relative; overflow: hidden; border-radius: 10px;
  aspect-ratio: 4 / 3; background: var(--bg-3);
}
.g-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .6s; }
.g-cell:hover img { transform: scale(1.07); filter: saturate(1.12) brightness(1.04); }
.g-cell::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,18,20,.45));
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.g-cell:hover::after { opacity: 1; }
.g-feature { grid-column: span 2; aspect-ratio: 16 / 9; }
.g-zoom, .g-more-label {
  position: absolute; z-index: 2; font-size: .82rem; letter-spacing: .03em;
  color: var(--cream); background: rgba(10,18,20,.6); padding: .5rem .9rem;
  border-radius: 100px; border: 1px solid var(--line-soft); backdrop-filter: blur(4px);
  pointer-events: none;
}
.g-zoom { right: .9rem; bottom: .9rem; opacity: 0; transform: translateY(6px); transition: .45s var(--ease-out); }
.g-feature:hover .g-zoom { opacity: 1; transform: none; }
.g-more::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(10,18,20,.5); transition: background .4s;
}
.g-more:hover::before { background: rgba(10,18,20,.35); }
.g-more-label { z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); font-family: var(--serif); font-size: 1rem; }
.g-hidden { display: none; }
.property-cta { margin-top: .4rem; }

/* nota: más propiedades por venir */
.more-soon {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  align-items: center; justify-content: space-between;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-radius: 18px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(44,130,148,.16), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--line-soft);
}
.more-soon h3 { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.9rem); letter-spacing: -0.02em; }
.more-soon p { color: var(--cream-3); margin-top: .7rem; max-width: 54ch; font-size: .98rem; }
.more-soon .btn { flex-shrink: 0; }

/* 10. Zona ---------------------------------------------------- */
.zona {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) var(--pad);
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.zona-text p { color: var(--cream-2); margin-top: 1.4rem; max-width: 52ch; }
.zona-list { list-style: none; margin-top: 1.8rem; display: grid; gap: .9rem; }
.zona-list li { padding-left: 1.4rem; position: relative; color: var(--cream-3); font-size: .98rem; }
.zona-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.zona-list strong { color: var(--cream); font-weight: 500; }
.zona-figure { position: relative; border-radius: 14px; overflow: hidden; }
.zona-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.zona-figure-cap {
  position: absolute; left: 1rem; bottom: 1rem; font-size: .78rem; color: var(--cream);
  background: rgba(10,18,20,.6); padding: .4rem .8rem; border-radius: 100px; backdrop-filter: blur(4px);
}

/* 11. Corredor ------------------------------------------------ */
.corredor { padding: clamp(2rem, 5vh, 4rem) var(--pad); }
.corredor-card {
  max-width: var(--maxw); margin: 0 auto;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(44,130,148,.18), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(212,148,73,.14), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--line-soft); border-radius: 20px;
  padding: clamp(2rem, 6vw, 4.5rem);
}
.corredor-card p { color: var(--cream-2); max-width: 56ch; margin-top: 1.3rem; font-size: 1.05rem; }
.corredor-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* 12. Contacto ------------------------------------------------ */
.contacto { padding: clamp(4rem, 10vh, 8rem) var(--pad); background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.contacto-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.contacto-sub { color: var(--cream-3); margin-top: 1rem; max-width: 44ch; margin-inline: auto; }
.contacto-form {
  margin-top: 2.6rem; text-align: left;
  display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr;
}
.field { display: flex; flex-direction: column; gap: .5rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--cream); background: var(--bg-3);
  border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem;
  transition: border-color .3s, background .3s;
}
.field input::placeholder, .field textarea::placeholder { color: #5e7274; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-4); }
.field textarea { resize: vertical; }
.contacto-form .btn-block { grid-column: 1 / -1; margin-top: .5rem; }
.contacto-or { grid-column: 1 / -1; text-align: center; font-size: .9rem; color: var(--cream-3); }
.contacto-or a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .3s; }
.contacto-or a:hover { border-color: var(--accent); }

/* 13. Footer -------------------------------------------------- */
.footer { padding: clamp(3rem, 7vh, 5rem) var(--pad) 2rem; background: var(--bg); }
.footer-top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 2.4rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-soft);
}
.footer-brand .nav-brand-mark { font-size: 1.6rem; }
.footer-brand p { font-family: var(--serif); font-size: 1.3rem; margin-top: .4rem; }
.footer-tag { font-size: .82rem; color: var(--cream-3); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; align-content: start; }
.footer-nav a { color: var(--cream-2); font-size: .92rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: .5rem; }
.footer-contact a { color: var(--cream-2); font-size: .92rem; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact span { color: var(--cream-3); font-size: .84rem; }
.footer-bottom {
  max-width: var(--maxw); margin: 1.6rem auto 0;
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between;
  font-size: .8rem; color: var(--cream-3);
}

/* 14. WhatsApp float ------------------------------------------ */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: #25a35a; box-shadow: 0 12px 30px -8px rgba(37,163,90,.7);
  transition: transform .4s var(--ease-out), box-shadow .4s;
  animation: waPop .5s var(--ease-out) 1.6s both;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 16px 38px -8px rgba(37,163,90,.85); }
@keyframes waPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* 15. Lightbox ------------------------------------------------ */
.lb {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(6,11,12,.96); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 4rem 1rem;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility .35s;
}
.lb.open { opacity: 1; visibility: visible; }
.lb-stage { max-width: min(1100px, 94vw); max-height: 86vh; display: flex; flex-direction: column; gap: .8rem; }
.lb-stage img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; margin: 0 auto; }
.lb-cap { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--cream-3); }
.lb-cap span:first-child { color: var(--cream-2); }
.lb-close { position: fixed; top: 1.2rem; right: 1.4rem; font-size: 1.5rem; color: var(--cream); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); }
.lb-close:hover { background: rgba(255,255,255,.16); }
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  font-size: 2.4rem; line-height: 1; color: var(--cream); width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .3s;
}
.lb-nav:hover { background: rgba(255,255,255,.16); }
.lb-prev { left: clamp(.6rem, 3vw, 2rem); }
.lb-next { right: clamp(.6rem, 3vw, 2rem); }

/* 16. Reveal animation ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.is-ready .reveal { will-change: opacity, transform; }

/* 17. Responsive ---------------------------------------------- */
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .g-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .contacto-sub { font-size: 1.05rem; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .nav-right .lang-dd { display: inline-block; }
  .hero-scroll { display: flex; }
  .zona { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .g-feature { grid-column: span 2; grid-row: span 2; }
}
@media (min-width: 1280px) {
  .manifesto-lead { font-size: 2.6rem; }
}

/* 18. Reduced motion (solo efectos intrusivos) ---------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-kicker .dot { animation: none; }
  .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}
