/* ==========================================================
   ALTITUDE 93 — Landing de rentas
   Paleta y tipografías según Brandsheet (maquinados.co, 2025)
   ========================================================== */

@font-face { font-family: "Mazius"; src: url("../fonts/mazius.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Freight"; src: url("../fonts/freight-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Commit"; src: url("../fonts/commit-mono.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Moderat"; src: url("../fonts/moderat.woff2") format("woff2"); font-display: swap; }

:root {
  /* Brand colors */
  --white: #fffeff;
  --paper: #f5f4f0;
  --ink: #1d1e1c;
  --clay: #733b2b;
  --sage: #708365;
  --stone: #a1a3a7;
  --slate: #737984;
  --plan: #f7f7f7;   /* fondo de los planos del brochure */

  --ink-80: rgba(29, 30, 28, .8);
  --line-dark: rgba(29, 30, 28, .18);
  --line-light: rgba(255, 254, 255, .22);

  --f-display: "Mazius", "Times New Roman", serif;
  --f-italic: "Freight", Georgia, serif;
  --f-mono: "Commit", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-body: "Moderat", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --section-pad: clamp(80px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.dark :focus-visible, .clay :focus-visible { outline-color: var(--white); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); position: relative; }

.dark { background: var(--ink); color: var(--white); }
.sage { background: var(--sage); color: var(--ink); }
.clay { background: var(--clay); color: var(--white); }
.white { background: var(--white); color: var(--ink); }
.apartments { background: var(--plan); }
.stone { background: #e4e4e2; }

/* ---------- Type ---------- */
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.serif-italic { font-family: var(--f-italic); font-style: italic; font-weight: 400; }
.display {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: .98;
  letter-spacing: -.01em;
  margin-bottom: .45em;
}
.display-sm { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; }
.big-italic { font-size: clamp(38px, 5.2vw, 80px); line-height: 1.02; letter-spacing: -.01em; }
.lead { font-size: clamp(22px, 2vw, 30px); line-height: 1.25; margin-bottom: 1.1em; }
.eyebrow { display: flex; gap: .9em; align-items: center; margin-bottom: 28px; opacity: .85; }
.eyebrow .num { display: inline-flex; padding: 3px 8px; border: 1px solid currentColor; border-radius: 99px; }
.label { opacity: .75; margin-bottom: 8px; }
.section-head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-intro { font-size: clamp(17px, 1.3vw, 20px); max-width: 640px; opacity: .85; }

/* ---------- Wordmark (logo as mask so it takes any brand color) ---------- */
.wordmark {
  display: block;
  aspect-ratio: 1600 / 373;
  width: 128px;
  background-color: currentColor;
  -webkit-mask: url("../brand/wordmark.png") center / contain no-repeat;
          mask: url("../brand/wordmark.png") center / contain no-repeat;
}
.wordmark--xl { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-small { --bh: 40px; padding: 0 18px; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sage); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--clay); }
.clay .btn-dark:hover { background: var(--sage); }
.btn-ghost-light { color: var(--white); border-color: var(--line-light); background: rgba(29,30,28,.2); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--white); }
.btn-outline-light { color: var(--white); border-color: var(--line-light); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-block { width: 100%; --bh: 58px; }
.wa-icon { width: 20px; height: 20px; }
.text-link { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-underline-offset: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  color: var(--white);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid { background: rgba(245, 244, 240, .92); color: var(--ink); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-solid .btn-light { background: var(--ink); color: var(--white); }
.site-header.is-solid .btn-light:hover { background: var(--clay); }
.brand { display: block; color: inherit; }
.main-nav { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.main-nav a { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; position: relative; padding-block: 6px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle { background: none; border: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; display: flex; gap: 4px; padding: 8px 4px; }
.lang-toggle a, .lang-toggle span { opacity: .5; transition: opacity .2s; text-decoration: none; }
.lang-toggle a:hover { opacity: 1; }
.lang-toggle .is-active { opacity: 1; }
.menu-toggle { display: none; width: 40px; height: 40px; background: none; border: 1px solid currentColor; border-radius: 99px; position: relative; opacity: .9; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 22px; }
.menu-open .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  color: var(--white);
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(29,30,28,.55) 0%, rgba(29,30,28,.05) 30%, rgba(29,30,28,.1) 55%, rgba(29,30,28,.85) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 0;
  max-width: var(--maxw); width: 100%; margin-inline: auto;
}
.tagline-row { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 48px); text-align: center; }
.tagline-row em { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: 0; text-transform: none; line-height: 1.15; }
.hero-copy { max-width: 1040px; padding-block: 24px clamp(20px, 3vw, 40px); }
.hero-copy h1.eyebrow { margin-bottom: 28px; line-height: 1.6; }
.hero-claim { margin: 0; font-size: clamp(42px, min(5.6vw, 9vh), 92px); line-height: 1; letter-spacing: -.015em; margin-bottom: clamp(20px, 3vh, 36px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-wordmark { position: relative; z-index: 1; color: var(--white); padding: 0 var(--gutter) clamp(16px, 2.5vw, 32px); opacity: .96; flex: none; }
.hero-wordmark .wordmark { max-height: 30vh; width: auto; max-width: 100%; height: auto; aspect-ratio: 1600 / 373; width: 100%; }

/* Mantra band */
.mantra-band { background: var(--clay); color: var(--white); overflow: hidden; padding-block: 18px; }
.mantra-track { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); width: max-content; animation: marquee 38s linear infinite; }
.mantra-track span { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .02em; }
.mantra-track i { font-family: var(--f-mono); font-style: normal; font-size: 11px; letter-spacing: .14em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Arch mask (from the brand symbol) ---------- */
.arch { margin: 0; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--stone); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch:hover img { transform: scale(1.04); }

/* ---------- Concept ---------- */
.concept-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.concept-text p:not(.eyebrow):not(.lead) { max-width: 560px; color: var(--ink-80); }
.concept-media { position: relative; padding-bottom: 12%; }
.arch--tall { aspect-ratio: 3 / 4; width: 82%; margin-left: auto; }
.concept-media-small { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; border: 8px solid var(--paper); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: clamp(72px, 9vw, 140px) 0 0; border-top: 1px solid var(--line-dark);
}
.stats > div { padding: 28px 24px 0 0; border-right: 1px solid var(--line-dark); padding-left: 24px; }
.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { border-right: 0; }
.stat-num { font-family: var(--f-italic); font-style: italic; font-size: clamp(44px, 5vw, 76px); line-height: 1; white-space: nowrap; }
.stat-num sup { font-size: .38em; vertical-align: top; margin-left: 2px; position: relative; top: .3em; }
.stat-num small { font-size: .6em; }
.stats dd { margin: 12px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

.mantra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(72px, 9vw, 140px); }
.mantra-item { padding-top: 28px; border-top: 1px solid var(--ink); }
.mantra-item h3 { margin-bottom: 18px; color: var(--sage); }
.mantra-item:nth-child(2) h3 { color: var(--clay); }
.mantra-item:nth-child(3) h3 { color: var(--slate); }
.mantra-item p { color: var(--ink-80); font-size: .95em; }

/* ---------- Stays ---------- */
.stay-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stay-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(28px, 3vw, 44px);
  background: var(--sage); color: var(--ink);
  border-radius: 280px 280px 0 0;
  padding-top: clamp(96px, 9vw, 140px);
  transition: transform .5s var(--ease);
}
.stay-card:hover { transform: translateY(-6px); }
.stay-index { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); opacity: .6; }
.stay-card h3 { font-size: clamp(34px, 3.2vw, 48px); line-height: 1; margin-bottom: 10px; }
.stay-range { opacity: .75; margin-bottom: 22px; }
.stay-card > p:not(.mono) { opacity: .88; max-width: 340px; }
.ticks { list-style: none; padding: 0; margin: 8px 0 32px; display: grid; gap: 10px; justify-items: center; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: .95em; }
.ticks li::before { content: ""; width: 10px; height: 12px; border-radius: 10px 10px 0 0; background: var(--ink); flex: none; }
.stay-card .btn { margin-top: auto; align-self: stretch; }
.stay-more { margin-top: 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-underline-offset: 5px; }
.includes {
  list-style: none; padding: 28px 0 0; margin: clamp(48px, 6vw, 80px) 0 0;
  border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .8;
}
.includes li { display: flex; align-items: center; gap: 10px; }
.includes li::before { content: "+"; color: var(--sage); }

/* ---------- Gallery ---------- */
.gallery { padding-bottom: clamp(80px, 9vw, 140px); }
.gallery-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: clamp(36px, 4vw, 64px); }
.gallery-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.gallery-head h2 { max-width: 900px; }
.gallery-controls { display: flex; gap: 10px; }
.round-btn { width: 52px; height: 52px; border-radius: 99px; background: transparent; border: 1px solid var(--ink); font-size: 18px; transition: background-color .3s, color .3s; }
.round-btn:hover { background: var(--ink); color: var(--white); }
.gallery-track {
  display: flex; gap: 16px; align-items: flex-end;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 var(--gutter) 12px;
  scrollbar-width: none;
  cursor: grab;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.g-item { margin: 0; flex: none; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
.g-item button { display: block; padding: 0; border: 0; background: var(--stone); overflow: hidden; width: 100%; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.g-item button:hover img { transform: scale(1.04); }
.g-tall { width: clamp(240px, 26vw, 400px); }
.g-tall button { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }
.g-wide { width: clamp(300px, 44vw, 680px); }
.g-wide button { aspect-ratio: 16 / 10; }
.g-item figcaption { margin-top: 14px; opacity: .7; }

/* ---------- Apartments ---------- */
.apartments .section-head { margin-bottom: 40px; }
.apt-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); }
.apt-tab {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: transparent; border: 1px solid var(--ink);
  font-family: var(--f-display); font-size: 22px; line-height: 1;
  transition: background-color .3s, color .3s;
}
.apt-tab small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; opacity: .75; }
.apt-tab[aria-selected="true"], .apt-tab:hover { background: var(--ink); color: var(--white); }
.apt-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; animation: fadeUp .6s var(--ease); }
.apt-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.apt-name { font-size: clamp(56px, 6vw, 96px); line-height: 1; color: var(--sage); }
.apt-area { font-family: var(--f-italic); font-style: italic; font-size: clamp(28px, 2.6vw, 40px); padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--ink); display: inline-block; min-width: 60%; }
.apt-specs { list-style: none; padding: 0; margin: 12px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-dark); }
.apt-specs li { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: baseline; gap: 10px; }
.apt-specs b { font-family: var(--f-italic); font-style: italic; font-weight: 400; font-size: 30px; letter-spacing: 0; text-transform: none; }
.apt-info > p:not(.mono):not(.apt-area) { max-width: 480px; margin-bottom: 32px; }
.apt-plan { margin: 0; background: var(--plan); padding: 0; display: grid; place-items: center; }
.apt-plan img { width: 100%; max-height: 62vh; object-fit: contain; }
.disclaimer { margin-top: 40px; opacity: .7; font-size: 10px; max-width: 760px; text-transform: none; letter-spacing: .06em; }

/* ---------- Amenities ---------- */
.amen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.amen-media { position: sticky; top: calc(var(--header-h) + 32px); }
.arch--amen { aspect-ratio: 4 / 5; background: #2a2b29; }
.arch--amen img { transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.arch--amen img.is-swapping { opacity: 0; }
.amen-security { margin-top: 20px; opacity: .6; text-align: center; }
.amen-list { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--line-light); }
.amen-item {
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line-light);
  padding: 20px 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; align-items: baseline;
  color: var(--white); opacity: .55; transition: opacity .3s var(--ease);
}
.amen-item:hover, .amen-item.is-active { opacity: 1; }
.amen-name { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; }
.amen-desc { grid-column: 2; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .4s var(--ease); font-size: .95em; color: rgba(255,254,255,.8); }
.amen-item.is-active .amen-desc { max-height: 80px; opacity: 1; margin-top: 10px; }
.amen-item.is-active .amen-name { color: var(--sage); }
.amen-item .mono { color: var(--stone); }

/* ---------- Architecture ---------- */
.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.arch-figure { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 0 0 999px 999px; background: var(--stone); }
.arch-figure img { width: 100%; height: 100%; object-fit: cover; }
.arch-text > p:not(.eyebrow) { color: var(--ink-80); max-width: 560px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.trust dt { font-family: var(--f-italic); font-style: italic; font-size: clamp(40px, 4vw, 60px); line-height: 1; color: var(--clay); }
.trust dd { margin: 10px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.loc-title { color: var(--clay); }
#loc-title { color: var(--clay); margin-bottom: 28px; }
.loc-text > p:not(.eyebrow):not(.address) { color: var(--ink-80); max-width: 540px; }
.poi { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.poi li { display: flex; align-items: center; gap: 10px; }
.dot { width: 18px; height: 10px; border-radius: 99px; flex: none; }
.dot--clay { background: var(--clay); } .dot--ink { background: var(--ink); } .dot--slate { background: var(--slate); } .dot--sage { background: var(--sage); }
.address { padding-top: 20px; border-top: 1px solid var(--line-dark); margin-top: 8px; }
.map-wrap { margin: 0; align-self: center; background: #f7f7f7; border: 1px solid var(--line-dark); }
.map-wrap img { width: 100%; }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 16px 20px; border-top: 1px solid var(--line-dark); font-size: 11px; }
.map-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.dot--shop { background: #c4a28a; } .dot--park { background: #5c3a2e; } .dot--food { background: #6b5c78; } .dot--hotel { background: #c25a3c; } .dot--gym { background: #8a3a22; }
.map-legend .dot { width: 10px; height: 10px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq .display { font-size: clamp(34px, 3.6vw, 56px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-family: var(--f-italic); font-style: italic; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 99px; border: 1px solid var(--ink);
  display: grid; place-items: center; font-family: var(--f-mono); font-style: normal; font-size: 16px;
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--white); }
.faq-item summary:hover::after { background: var(--sage); border-color: var(--sage); color: var(--white); }
.faq-item p { margin: 0 0 24px; max-width: 640px; color: var(--ink-80); }

/* ---------- Booking ---------- */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.booking-text p { max-width: 520px; opacity: .9; }
.booking-direct { margin-top: 32px; }
.booking-direct a { text-underline-offset: 5px; }
.booking-direct + .booking-direct { margin-top: 8px; }
.booking-form {
  background: var(--paper); color: var(--ink);
  padding: clamp(24px, 3.5vw, 48px);
  border-radius: 999px 999px 0 0;
  /* El arco es un semicírculo de radio = ancho/2; el padding en % (relativo al ancho)
     baja el contenido hasta donde la curva ya deja espacio a los lados */
  padding-top: calc(30% - 40px);
  display: grid; gap: 18px;
}
.booking-form::before {
  content: ""; justify-self: center; margin-bottom: 6px;
  width: clamp(36px, 4vw, 52px); aspect-ratio: 600 / 716;
  background: url("../brand/symbol-green.png") center / contain no-repeat;
}
.seg { border: 0; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg legend { margin: 0 auto 14px; opacity: .7; padding: 0; text-align: center; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 14px 8px; border: 1px solid var(--ink); border-radius: 99px; font-family: var(--f-italic); font-style: italic; font-size: 20px; line-height: 1; transition: background-color .25s, color .25s; }
.seg input:checked + span { background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { opacity: .7; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 10px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  font-family: var(--f-body); font-size: 17px; color: var(--ink); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--clay); box-shadow: 0 1px 0 var(--clay); }
.form-error { color: var(--clay); margin: 0; text-transform: none; letter-spacing: .04em; }
.form-note { text-align: center; opacity: .6; margin: 0; font-size: 10px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(80px, 9vw, 140px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: .8fr 1.6fr; gap: 48px; align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.footer-claim { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05; margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols p { line-height: 1.9; }
.footer-cols p { margin: 0; opacity: .85; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-wordmark { color: var(--sage); padding-inline: var(--gutter); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; opacity: .6; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 40;
  width: 60px; height: 60px; border-radius: 99px;
  display: grid; place-items: center;
  background: var(--sage); color: var(--white);
  box-shadow: 0 10px 30px rgba(29,30,28,.3);
  transition: transform .3s var(--ease), background-color .3s, opacity .3s;
}
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: scale(.8); }
.wa-float:hover { transform: scale(1.06); background: var(--clay); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Lightbox ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(29,30,28,.92); }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; object-fit: contain; }
.lightbox-close { position: fixed; top: 16px; right: 20px; width: 48px; height: 48px; border-radius: 99px; background: var(--white); border: 0; font-size: 26px; line-height: 1; color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .menu-open .main-nav {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--paper); color: var(--ink);
    padding: 8px var(--gutter) 28px; box-shadow: 0 20px 40px rgba(0,0,0,.15);
  }
  .menu-open .main-nav a { padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 13px; }
  .menu-open.site-header { background: var(--paper); color: var(--ink); }
  .menu-open .btn-light { background: var(--ink); color: var(--white); }
  .stay-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .stay-card { border-radius: 240px 240px 0 0; }
}

@media (max-width: 900px) {
  .concept-grid, .amen-grid, .arch-grid, .loc-grid, .booking-grid, .apt-panel, .footer-top, .faq-grid { grid-template-columns: 1fr; }
  .concept-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 24px 16px 24px 0 !important; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .stats > div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line-dark); }
  .stats > div:nth-child(even) { padding-left: 16px !important; }
  .mantra-grid { grid-template-columns: 1fr; }
  .amen-media { position: relative; top: 0; order: -1; max-width: 520px; width: 100%; margin-inline: auto; }
  .arch--amen { aspect-ratio: 1 / 1; }
  .amen-list { margin-top: 32px; }
  .arch-figure { max-width: 560px; width: 100%; margin-inline: auto; }
  .apt-info { order: 2; }
  .apt-plan { order: 1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .header-actions .btn-small { display: none; }
  .tagline-row { justify-content: space-between; gap: 12px; }
  .hero-copy { padding-top: 24px; }
  .hero-claim br { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .gallery-head { grid-template-columns: 1fr; }
  .gallery-controls { display: none; }
  .trust { grid-template-columns: 1fr; gap: 16px; }
  .trust > div { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; }
  .trust dd { margin: 0; }
  .poi { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .seg span { font-size: 17px; padding: 12px 4px; }
  .apt-tab { font-size: 18px; padding: 10px 16px; }
  .apt-specs b { font-size: 24px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { font-size: 10px; }
  .includes { justify-content: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

/* Section-specific title scale */
.amenities .display, .architecture .display { font-size: clamp(36px, 4.2vw, 64px); }

/* ==========================================================
   Páginas por búsqueda (generadas con build/build.py)
   ========================================================== */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,30,28,.55) 0%, rgba(29,30,28,.15) 35%, rgba(29,30,28,.85) 100%); }
.page-hero-inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 88px); line-height: 1; letter-spacing: -.015em; max-width: 1000px; margin-bottom: 24px; text-wrap: balance; }
.page-lead { font-size: clamp(17px, 1.4vw, 21px); max-width: 640px; opacity: .9; margin-bottom: 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 24px; opacity: .8; }
.breadcrumb > * { white-space: nowrap; }
.breadcrumb a { text-underline-offset: 4px; }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro-text p { color: var(--ink-80); font-size: clamp(17px, 1.2vw, 19px); }
.intro-text a, .faq-item p a, .location a:not(.text-link), .section-intro a { text-underline-offset: 4px; }

.benefits-section .display { max-width: 900px; font-size: clamp(34px, 4vw, 60px); margin-bottom: clamp(40px, 5vw, 72px); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { padding: 28px 24px 32px; border-top: 1px solid var(--line-light); }
.benefit-num { color: var(--sage); margin-bottom: 18px; }
.benefit h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.1; margin-bottom: 12px; }
.benefit p:not(.mono) { opacity: .8; font-size: .95em; margin: 0; }

.apt-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.apt-card { background: var(--white); padding: 20px 20px 24px; display: flex; flex-direction: column; }
.apt-card img { aspect-ratio: 1300 / 1120; object-fit: contain; background: var(--plan); margin-bottom: 18px; }
.apt-card h3 { font-size: 34px; line-height: 1; color: var(--sage); }
.apt-card-area { font-family: var(--f-italic); font-style: italic; font-size: 22px; margin: 6px 0 12px; }
.apt-card .mono { opacity: .75; margin-bottom: 20px; }
.apt-card .btn { margin-top: auto; align-self: flex-start; }

.amen-section .section-intro a { color: inherit; }
.amen-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.amen-tile { margin: 0; }
.amen-tile .arch { aspect-ratio: 3 / 4; }
.amen-tile figcaption { margin-top: 14px; text-align: center; opacity: .8; }

.loc-title-sm { font-size: clamp(32px, 3.6vw, 56px); color: var(--clay); margin-bottom: 24px; }

.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.cta-band .display { font-size: clamp(36px, 4.4vw, 68px); }
.cta-band p { max-width: 520px; opacity: .9; }
.cta-btn { margin-top: 16px; max-width: 520px; white-space: normal; text-align: center; }
.related { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.related .label { margin: 0; padding: 16px 0; }
.related-link { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line-light); text-decoration: none; transition: padding-left .3s var(--ease); }
.related-link:hover { padding-left: 10px; }
.related-link .mono { opacity: .7; }
.related-link .serif-italic { font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }

@media (max-width: 1080px) {
  .benefits, .apt-cards, .amen-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .intro-grid, .cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .benefits, .apt-cards { grid-template-columns: 1fr; }
  .page-hero { min-height: 88svh; }
}
