/* Hidden Trail Apartments · misma hoja que Brookridge D (dirección C "Institucional moderna").
   Blanco, grilla estricta, una sola sans (Hanken Grotesk), un solo acento (#004d71).
   Sin degradados, sin iconos, sin vidrio. Todo visible sin JS; el movimiento se suma encima. */

:root {
  --sans: 'Hanken Grotesk', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --white: #ffffff;
  --band: #f2f4f6;
  --ink: #0e1a26;
  --brand: #004d71;
  --brand-deep: #003a56;
  --brand-soft: #e3eef5;
  --muted: #5f6f7f;
  --line: rgba(14, 26, 38, .12);
  --line-strong: rgba(14, 26, 38, .26);
  --shadow: 0 24px 48px -24px rgba(14, 26, 38, .28), 0 2px 6px rgba(14, 26, 38, .06);

  --t-hero: clamp(2.5rem, 5.4vw, 5.5rem);
  --t-h2: clamp(1.7rem, 3.2vw, 2.9rem);
  --t-h3: clamp(1.25rem, 1.8vw, 1.6rem);
  --t-lead: clamp(1.05rem, 1.25vw, 1.2rem);
  --t-body: 1rem;
  --t-small: .9rem;
  --t-label: .75rem;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --wrap: 1360px;
  --stack: clamp(4rem, 8vw, 7.5rem);
  --nav-h: 5rem;
  --radius: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fast: .25s;
}
@media (max-width: 720px) { :root { --nav-h: 4rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--white); color-scheme: light; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: var(--t-body); font-weight: 400; line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'tnum';
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 300; padding: .9rem 1.4rem; background: var(--white); border: 1px solid var(--line-strong); font-weight: 500; }
.skip:focus { left: 1rem; top: 1rem; }

/* Tipos ------------------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.label { font-size: var(--t-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.label--light { color: rgba(255, 255, 255, .82); }
.h2 { font-size: var(--t-h2); font-weight: 600; line-height: 1.02; letter-spacing: -.028em; margin-top: 1rem; }
.h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); max-width: 44ch; }
.line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.line > span { display: block; will-change: transform; }
.link { position: relative; color: var(--brand); font-weight: 500; }
.link::after { content: ''; position: absolute; left: 0; bottom: -.15em; width: 100%; height: 1px; background: currentColor; opacity: .35; transition: opacity var(--fast); }
.link:hover::after { opacity: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.4rem;
  border: 1px solid transparent; border-radius: var(--radius); font-size: .95rem; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  transition: background var(--fast), color var(--fast), border-color var(--fast), transform var(--fast);
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--solid:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn--line { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--ink); }
.btn--white { background: #fff; color: var(--brand); border-color: #fff; }
.btn--white:hover { background: var(--brand-soft); border-color: var(--brand-soft); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: .9rem; }

.section { padding-block: var(--stack); }
.section__head { display: grid; gap: 1.25rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .section__head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; } .section__head .lead { justify-self: end; padding-bottom: .35rem; } }

/* Marca de placeholder: borde punteado azul y etiqueta corta. */
.ph { position: relative; outline: 2px dashed var(--brand); outline-offset: -2px; }
.ph::after { content: attr(data-ph); position: absolute; left: .6rem; top: .6rem; z-index: 4; padding: .3rem .55rem; background: var(--brand); color: #fff; font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; border-radius: 3px; pointer-events: none; }

/* Nav ---------------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); background: transparent; border-bottom: 1px solid transparent; transition: height .35s var(--ease), background .35s, border-color .35s; }
.nav[data-scrolled='true'] { --nav-h: 4rem; background: var(--white); border-color: var(--line); }
.nav__in { height: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; }
.nav__brand { display: inline-flex; align-items: center; min-height: 44px; }
.nav__mark {
  display: block; height: clamp(1.5rem, 1.9vw, 1.9rem); aspect-ratio: 713 / 140; background: var(--brand);
  -webkit-mask: url('../../_base/assets/img/marca/logo-white.png') center / contain no-repeat; mask: url('../../_base/assets/img/marca/logo-white.png') center / contain no-repeat;
}
.nav__mark--light { background: #fff; height: 1.9rem; }
.nav__links { display: flex; align-items: center; justify-content: center; gap: clamp(.25rem, 1.4vw, 1rem); }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .6rem; font-size: .95rem; font-weight: 500; color: var(--ink); border-radius: 4px; transition: color var(--fast); }
.nav__links a:hover { color: var(--brand); }
.nav__cta { display: flex; align-items: center; gap: 1rem; justify-self: end; }
.nav__phone { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.nav__phone:hover { color: var(--brand); }
.nav__burger { display: none; width: 44px; height: 44px; place-items: center; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); box-shadow: 0 -7px 0 var(--ink), 0 7px 0 var(--ink); }
@media (max-width: 1180px) { .nav__phone { display: none; } }
@media (max-width: 960px) {
  .nav__in { grid-template-columns: auto 1fr auto; }
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .nav .btn--sm { display: none; }
}

/* Menú móvil */
.menu { position: fixed; inset: 0; z-index: 200; background: var(--white); transform: translateX(100%); transition: transform .4s var(--ease); overflow: auto; }
.menu[data-open='true'] { transform: none; }
.menu__in { min-height: 100%; display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem; }
.menu__close { align-self: flex-end; min-height: 44px; padding: 0 .5rem; font-weight: 600; color: var(--brand); }
.menu__links { display: flex; flex-direction: column; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.menu__links a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.menu__foot { display: grid; gap: .75rem; margin-top: auto; padding-top: 2rem; }
.menu__phone { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; font-weight: 500; color: var(--brand); }

/* Hero ----------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100svh; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } }
.hero__copy { display: flex; align-items: center; padding: calc(var(--nav-h) + 2.5rem) var(--gutter) 3rem; }
.hero__inner { width: 100%; max-width: 700px; margin-inline: auto; }
@media (min-width: 960px) { .hero__inner { margin-inline: auto 0; padding-right: clamp(1.5rem, 4vw, 4rem); } }
.hero__title { font-size: var(--t-hero); font-weight: 600; line-height: .98; letter-spacing: -.035em; margin-top: 1.1rem; }
.hero__sub { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); max-width: 46ch; margin-top: 1.4rem; }
.hero__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; margin-top: 1.4rem; font-size: var(--t-small); }
.hero__office { color: var(--muted); }
.hero__office a { color: var(--ink); font-weight: 500; }

.hero__media { position: relative; min-height: 60vw; overflow: hidden; background: var(--band); }
@media (min-width: 960px) { .hero__media { min-height: 0; } }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img--b { opacity: 0; animation: hero-swap 18s ease-in-out 7s infinite; }
@keyframes hero-swap { 0% { opacity: 0; } 8% { opacity: 1; } 50% { opacity: 1; } 58% { opacity: 0; } 100% { opacity: 0; } }
.hero__caption { position: absolute; left: 1.25rem; bottom: 1.25rem; z-index: 2; padding: .45rem .7rem; background: var(--white); color: var(--ink); font-size: var(--t-label); font-weight: 500; letter-spacing: .04em; border-radius: 3px; }

/* Fotos que entran por cortina: un panel del color del fondo que se retira hacia abajo (transform,
   compuesto; clip-path repintaría la foto en cada cuadro). Sin JS la cortina ya está retirada. */
.curtain { position: absolute; inset: 0; z-index: 3; background: var(--curtain, var(--white)); transform: scaleY(0); transform-origin: 50% 100%; pointer-events: none; }
.manhattan__media { --curtain: var(--brand); }
/* El crossfade del hero se pausa cuando el hero sale de pantalla (lo marca site.js). */
.hero[data-visible='false'] .hero__img--b { animation-play-state: paused; }

/* Estado inicial del hero cuando hay JS y el nivel no es estático: lo escribe GSAP al cargar. */
html[data-js]:not([data-motion='estatico']) .hero [data-intro] { opacity: 0; }
html[data-js]:not([data-motion='estatico']) .hero .line > span { transform: translateY(110%); }
html[data-js]:not([data-motion='estatico']) .hero__media { clip-path: inset(0 0 0 100%); }
html[data-motion='estatico'] .hero__img--b { animation: none; }

/* Buscador */
.finder { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: 2rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .finder { grid-template-columns: 1fr 1fr 1fr auto; gap: 0; padding: .5rem; align-items: stretch; } .finder__field + .finder__field { border-left: 1px solid var(--line); } }
.finder__field { display: flex; flex-direction: column; gap: .15rem; padding: .5rem .9rem; }
.finder__field label { font-size: var(--t-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.finder__field select { -webkit-appearance: none; appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e1a26' stroke-width='1.5'/%3E%3C/svg%3E") right .1rem center / 12px 8px no-repeat; padding: .15rem 1.4rem .15rem 0; min-height: 30px; font-weight: 500; cursor: pointer; }
.finder__go { align-self: center; margin: .25rem; }
@media (max-width: 639px) { .finder__go { margin: 0; } }

/* Barra de confianza */
.trust { background: var(--band); border-block: 1px solid var(--line); }
.trust ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1rem; font-size: var(--t-small); font-weight: 500; }
.trust li { position: relative; white-space: nowrap; }
.trust li b { color: var(--brand); font-weight: 700; font-variant-numeric: tabular-nums; }
.trust li + li::before { content: ''; position: absolute; left: -1.1rem; top: .55em; width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
@media (max-width: 720px) { .trust ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .trust ul::-webkit-scrollbar { display: none; } }

/* Floor plans ------------------------------------------------------------------- */
.filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.filter__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter__btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 500; font-size: var(--t-small); transition: background var(--fast), border-color var(--fast), color var(--fast); }
.filter__btn span { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.filter__btn:hover { border-color: var(--ink); }
.filter__btn[aria-pressed='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter__btn[aria-pressed='true'] span { color: rgba(255, 255, 255, .75); }
.filter__count { font-size: var(--t-small); color: var(--muted); }
.filter__count b { color: var(--ink); font-weight: 600; }

.plans__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 1.25rem; }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: border-color var(--fast); }
.plan:hover { border-color: var(--line-strong); }
.plan[hidden] { display: none; }
.plan__img { aspect-ratio: 4 / 3; background: var(--brand-soft); display: grid; place-items: center; padding: 1.25rem; }
.plan__img img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.plan__body { display: flex; flex-direction: column; gap: 1rem; padding: 1.1rem 1.25rem 1.25rem; flex: 1; }
.plan__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .75rem; }
.plan__name h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; }
.tag { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: .25rem .5rem; border-radius: 3px; }
.plan__data { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan__data > div { padding: .7rem 0; }
.plan__data > div + div { border-left: 1px solid var(--line); padding-left: .9rem; }
.plan__data dt { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan__data dd { font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: .1rem; }
.plan__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.plan__actions .btn { flex: 1; min-width: 0; padding-inline: 1rem; }
.plans__foot { margin-top: 1.75rem; color: var(--muted); font-size: var(--t-small); }

/* The Manhattan ---------------------------------------------------------------- */
.manhattan { background: var(--brand); color: #fff; }
.manhattan__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .manhattan__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); } }
.manhattan .h2 { color: #fff; }
.manhattan__text { margin-top: 1.25rem; max-width: 50ch; color: rgba(255, 255, 255, .86); font-size: var(--t-lead); line-height: 1.5; }
.manhattan__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .28); }
.manhattan__list li { padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .22); font-weight: 500; font-size: var(--t-small); }
.manhattan__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.manhattan__media { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.manhattan__media img { width: 100%; height: 100%; object-fit: cover; }
.manhattan__media figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .4rem .65rem; background: #fff; color: var(--ink); font-size: var(--t-label); font-weight: 500; letter-spacing: .04em; border-radius: 3px; }

/* Amenities · bento ------------------------------------------------------------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.cell { display: flex; flex-direction: column; min-height: 300px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); }
.cell img { flex: 1; min-height: 0; width: 100%; height: 100%; object-fit: cover; }
.cell__cap { padding: .9rem 1.1rem 1rem; border-top: 1px solid var(--line); background: var(--white); }
.cell__cap h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.cell__cap p { font-size: var(--t-small); color: var(--muted); margin-top: .2rem; }
@media (min-width: 640px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 280px; grid-template-areas: 'pool pool' 'fit pets' 'wd ev' 'gar gar'; }
  .cell { min-height: 0; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-template-areas: 'pool pool fit fit' 'pool pool pets wd' 'ev ev gar gar'; }
}
.cell--pool { grid-area: pool; } .cell--fit { grid-area: fit; } .cell--pets { grid-area: pets; } .cell--wd { grid-area: wd; } .cell--ev { grid-area: ev; } .cell--gar { grid-area: gar; }
.cell--pool .cell__cap h3 { font-size: 1.3rem; }

.alist { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.alist__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 0 2rem; margin-top: 1.25rem; }
.alist__grid li { padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); font-weight: 500; }

/* Walkthroughs ------------------------------------------------------------------- */
.walks { background: var(--band); }
.walks__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.walk { background: var(--white); border-radius: 8px; overflow: hidden; }
.walk__poster { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-soft); }
.walk__poster img { width: 100%; height: 100%; object-fit: cover; }
.walk__play { position: absolute; left: .75rem; bottom: .75rem; padding: .4rem .65rem; background: #fff; color: var(--ink); font-size: var(--t-label); font-weight: 600; letter-spacing: .06em; border-radius: 3px; }
.walk h3 { padding: .9rem 1.1rem 1rem; font-size: 1rem; font-weight: 600; }

/* Neighborhood ------------------------------------------------------------------- */
.near__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .near__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); } }
.near__text { margin-top: 1.25rem; max-width: 48ch; color: var(--muted); font-size: var(--t-lead); line-height: 1.5; }
.minutes { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.minutes caption { text-align: left; padding-bottom: .75rem; }
.minutes th, .minutes td { padding: .75rem 0; border-top: 1px solid var(--line); text-align: left; font-weight: 500; vertical-align: baseline; }
.minutes tr:last-child th, .minutes tr:last-child td { border-bottom: 1px solid var(--line); }
.minutes td { text-align: right; color: var(--muted); font-size: var(--t-small); white-space: nowrap; }
.minutes td b { color: var(--brand); font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; margin-right: .15rem; }
.near__note { margin-top: .9rem; font-size: var(--t-small); color: var(--muted); }
.near__schools { margin-top: .5rem; font-size: var(--t-small); font-weight: 500; }
.map { position: relative; background: var(--band); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; }
.map img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.map__pin i { width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--brand), 0 6px 14px -4px rgba(14, 26, 38, .5); }
.map__pin em { font-style: normal; padding: .35rem .6rem; background: var(--white); border: 1px solid var(--line-strong); border-radius: 3px; font-size: var(--t-label); font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.map__cap { position: absolute; right: .9rem; bottom: .9rem; padding: .4rem .65rem; background: var(--white); border: 1px solid var(--line); border-radius: 3px; font-size: var(--t-label); font-weight: 500; }

/* Reviews ---------------------------------------------------------------------- */
.reviews { background: var(--band); }
.reviews__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.review { padding: 2.75rem 1.5rem 1.5rem; background: var(--white); border-radius: 8px; }
.review__stars { color: var(--brand); letter-spacing: .15em; font-size: 1rem; }
.review__text { margin-top: .9rem; font-size: 1.05rem; line-height: 1.5; }
.review__meta { margin-top: 1.25rem; font-size: var(--t-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* FAQ --------------------------------------------------------------------------- */
.faq__grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); } }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .75rem 0; font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-weight: 400; color: var(--brand); transition: transform var(--fast); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 0 1.25rem; max-width: 60ch; color: var(--muted); }

/* Aria --------------------------------------------------------------------------- */
.aria { background: var(--brand-soft); }
.aria__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .aria__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); } }
.aria__text { margin-top: 1.25rem; max-width: 48ch; font-size: var(--t-lead); line-height: 1.5; color: var(--muted); }
.aria__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.75rem; }
.aria__chips button { min-height: 44px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font-size: var(--t-small); font-weight: 500; transition: border-color var(--fast), color var(--fast); }
.aria__chips button:hover { border-color: var(--brand); color: var(--brand); }
.chat { display: flex; flex-direction: column; gap: .7rem; width: min(100%, 420px); margin-inline: auto; padding: 2.75rem 1.25rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.chat__head { display: flex; align-items: center; gap: .55rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); font-size: var(--t-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chat__head i { width: 8px; height: 8px; border-radius: 50%; background: #1f8a4c; }
.chat__bubble { max-width: 85%; padding: .75rem 1rem; border-radius: 14px; background: var(--band); font-size: var(--t-small); line-height: 1.45; }
.chat__bubble--me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat__bubble--aria { border-bottom-left-radius: 4px; }

/* Contact ------------------------------------------------------------------------ */
.contact__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); } }
.contact__text { margin-top: 1.25rem; max-width: 46ch; font-size: var(--t-lead); line-height: 1.5; color: var(--muted); }
.contact__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact__facts dt { font-size: var(--t-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__facts dd { margin-top: .25rem; font-weight: 500; line-height: 1.5; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; }
.tourform { display: grid; gap: 1rem; padding: 2.75rem 1.5rem 1.5rem; background: var(--band); border-radius: 8px; }
.tourform__type legend { font-size: var(--t-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.tourform__type { display: flex; flex-wrap: wrap; gap: .5rem; }
.tourform__type legend { width: 100%; }
.tourform__type label { position: relative; }
.tourform__type input { position: absolute; opacity: 0; inset: 0; }
.tourform__type span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font-weight: 500; font-size: var(--t-small); cursor: pointer; }
.tourform__type input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.tourform__type input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.tourform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .tourform__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-size: var(--t-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 48px; padding: .6rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.field select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e1a26' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 12px 8px; padding-right: 2.2rem; }
.field textarea { resize: vertical; min-height: 96px; }
.tourform .btn { justify-self: start; }
.tourform__note { padding: .9rem 1rem; background: var(--white); border-left: 3px solid var(--brand); font-size: var(--t-small); }

/* Residents ---------------------------------------------------------------------- */
.residents { border-top: 1px solid var(--line); }
.residents__in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2.5rem; padding-block: 1.5rem; }
.residents__links { display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-size: var(--t-small); font-weight: 500; }

/* Footer ------------------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding-top: clamp(3rem, 6vw, 5rem); }
.footer__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr .8fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer__brand p { margin-top: 1.25rem; max-width: 30ch; font-size: var(--t-small); }
.footer h3 { font-size: var(--t-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer li { padding: .3rem 0; font-size: var(--t-small); line-height: 1.5; }
.footer a { color: #fff; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: var(--t-label); letter-spacing: .02em; }
.footer__legal a { color: #fff; }

/* Barra móvil: abajo a la izquierda; la esquina derecha es del botón del chat (css/chat.css), */
/* que mide ~150 px de ancho en teléfono y ~170 px en pantallas más anchas. */
.bar { display: none; position: fixed; left: .75rem; right: calc(.75rem + 160px); bottom: 1.25rem; z-index: 90; grid-template-columns: auto 1fr; gap: .4rem; }
.bar .btn { min-height: 46px; padding-inline: .8rem; font-size: .875rem; box-shadow: var(--shadow); }
@media (max-width: 960px) { .bar { display: grid; } body { padding-bottom: 5.5rem; } }
@media (min-width: 600px) and (max-width: 960px) { .bar { right: calc(1.25rem + 185px); } }

/* Nivel estático: nada se mueve solo; lo que GSAP ocultaría queda visible. */
html[data-motion='estatico'] .nav, html[data-motion='estatico'] .menu, html[data-motion='estatico'] .btn { transition: none; }

/* clip de video suelto (sendero) */
.clip { margin: 1.5rem 0 0; }
.clip video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.clip figcaption { margin-top: .5rem; font-size: .85rem; opacity: .75; }
