/* =====================================================================
   Zia Sons Real Estate & Builders — public site
   Design system: docs/DESIGN-SYSTEM.md
   Motif: the Mughal arch of Lahore, framed in brand gold.
   Type: Marcellus (Trajan-like, matches the logo wordmark) + Hanken Grotesk.
   ===================================================================== */

/* Marcellus figures read ambiguously ("10" looks like "IO"), so digits fall through to Hanken Grotesk. */
@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-002F, U+003A-FFFF; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #1b1a17;
  --ink-2: #55524a;
  --paper: #ffffff;
  --stone: #f2f2ef;
  --line: #dddbd3;
  --line-strong: #8d8a82;
  --kohl: #16140f;
  --kohl-text: #cfccc3;
  --gold: #c9a24a;
  --gold-light: #d9b664;
  --gold-ink: #7a5a12;
  --wa: #146c43;
  --danger: #a42a1c;
  --ok: #1f6b3a;

  --serif: "Marcellus", "Hanken Grotesk", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 0.9vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.4rem + 2.9vw, 3.6rem);

  --wrap: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2rem);
  --radius: 4px;
  --band: clamp(3rem, 7vw, 6rem);
  --head-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; font: 400 var(--step-0)/1.6 var(--sans); color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--gold-ink); }
ul, ol { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
small { font-size: var(--step--1); }
main { display: block; outline: none; }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 2px; border-radius: 2px; }
.band-kohl :focus-visible, .foot :focus-visible { outline-color: var(--gold-light); }
[hidden] { display: none !important; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico-xl { width: 3rem; height: 3rem; color: var(--ok); margin-bottom: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.fine, .hint { font-size: var(--step--1); color: var(--ink-2); }
.opt { font-weight: 400; color: var(--ink-2); font-size: var(--step--1); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.3rem; border: 1.5px solid transparent; border-radius: var(--radius); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; background: none; transition: background-color .15s, color .15s, border-color .15s; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: var(--gold-light); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-line-light:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0f5434; color: #fff; }
.btn-plain { padding-inline: .2rem; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); }
.btn-plain:hover { text-decoration-color: currentColor; }
.btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: .95rem; }
.btn-block { width: 100%; }
.link-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--gold-ink); text-decoration: none; }
.link-more:hover { text-decoration: underline; }
.band-kohl .link-more { color: var(--gold-light); }

/* ---------- Header ---------- */
.masthead { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead-in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 50px; height: auto; }
.brand-word { font-family: var(--serif); font-size: 1.45rem; line-height: 1; letter-spacing: .04em; }
.brand-word small { display: block; white-space: nowrap; font-family: var(--sans); font-size: .72rem; letter-spacing: .08em; color: var(--ink-2); margin-top: .3rem; }
.brand:hover { color: var(--ink); }
.nav ul { display: flex; gap: .25rem; }
.nav a { display: block; padding: .6rem .7rem; text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a[aria-current="page"] { color: var(--gold-ink); box-shadow: inset 0 -2px 0 var(--gold); }
.nav-extra { display: none; }
.masthead-tools { display: flex; align-items: center; gap: .25rem; }
.masthead-tools > a, .menu-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); border-radius: var(--radius); }
.masthead-tools .ico { width: 22px; height: 22px; }
.saved-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 600; line-height: 18px; text-align: center; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 1023px) {
  .nav { position: fixed; inset: var(--head-h) 0 0 0; background: var(--paper); padding: 1rem var(--gutter) 2rem; overflow-y: auto; display: none; border-top: 1px solid var(--line); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav-extra { display: grid; gap: 1rem; margin-top: 1.5rem; }
  .nav-phone { display: flex; gap: .5rem; align-items: center; font-weight: 600; text-decoration: none; }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 1024px) {
  .menu-btn, .tool-call { display: none !important; }
  .nav { display: flex; align-items: center; gap: 1rem; }
  .nav-extra { display: flex; align-items: center; gap: 1rem; margin-left: .75rem; }
  .nav-extra .btn { min-height: 42px; padding: .5rem 1rem; }
  .nav .nav-phone { display: none; }
}
@media (min-width: 1240px) {
  .nav .nav-phone { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; padding: .5rem 0; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 var(--band); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 15em; }
.sentence { margin-top: 1.75rem; }
.sentence-line { font-family: var(--serif); font-size: clamp(1.35rem, 1rem + 1.5vw, 2rem); line-height: 1.85; margin: 0 0 1.4rem; color: var(--ink-2); }
.sentence-line span { margin-right: .3em; }
.sentence select { display: inline-block; width: auto; min-height: 0; appearance: none; -webkit-appearance: none; font: inherit; color: var(--ink); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a5a12' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .1em center / .6em; border: 0; border-bottom: 2px solid var(--gold); border-radius: 0; padding: 0 1.1em 0 .1em; margin-right: .3em; max-width: 100%; cursor: pointer; line-height: 1.3; }
.sentence select:hover { border-bottom-color: var(--gold-ink); }
.sentence select:focus-visible { outline-offset: 4px; }
.hero-alt { margin-top: 1.25rem; color: var(--ink-2); }
.hero-alt a { color: var(--wa); font-weight: 600; }

/* The arch: photo in a Mughal arch, with an offset gold outline. */
.arch { position: relative; margin: 0; aspect-ratio: 4 / 5; isolation: isolate; }
.arch::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1.5px solid var(--gold); border-radius: 50% 50% 0 0 / 40% 40% 0 0; z-index: -1; }
.arch-slide { position: absolute; inset: 0; overflow: hidden; border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: var(--kohl); }
.arch-slide img { width: 100%; height: 100%; object-fit: cover; }
.arch-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.25rem 1.1rem; color: #fff; background: linear-gradient(transparent, rgba(10,9,7,.78)); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .5rem 1rem; font-size: .98rem; }
.arch-cap a { color: var(--gold-light); font-weight: 600; }
.arch-empty { display: grid; place-items: center; }
.arch-empty img { width: 40%; height: auto; object-fit: contain; }
.arch-ctrl { position: absolute; right: 12px; top: 50%; display: grid; gap: 8px; z-index: 2; }
.arch-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.is-fading { animation: fadein .6s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.25fr .75fr; gap: 4rem; }
}
@media (max-width: 899px) {
  .hero-arch { max-width: 420px; width: 88%; margin-inline: auto 6%; }
}

/* ---------- Bands and layout ---------- */
.band { padding-block: var(--band); }
.band-tight { padding-block: clamp(1.5rem, 4vw, 3rem) var(--band); }
.band-stone { background: var(--stone); }
.band-kohl { background: var(--kohl); color: var(--kohl-text); }
.band-kohl h2, .band-kohl h3 { color: #fff; }
.band-kohl .lede { color: var(--kohl-text); }
.band-head { max-width: 46rem; margin-bottom: 2.25rem; }
.band-head p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.band-head-row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .5rem 2rem; }
.band-head-row h2 { margin: 0; }
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr .9fr; gap: 4.5rem; }
  .split-form { grid-template-columns: 1fr minmax(340px, 440px); }
}
.page-top { padding-top: 1.25rem; }
.page-head { padding: .5rem 0 2rem; max-width: 52rem; }
.page-head h1 { margin-bottom: .35em; }
.page-sub { color: var(--ink-2); font-size: var(--step-1); margin: 0; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; font-size: var(--step--1); color: var(--ink-2); margin-bottom: 1rem; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); }

/* ---------- Ticks ---------- */
.ticks { display: grid; gap: .85rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .55rem; height: .95rem; border: solid var(--gold-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks-light li::before { border-color: var(--gold); }
.ticks-light li { color: #fff; }
.ticks-cols { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem 2rem; }

/* ---------- Societies index (home) ---------- */
.areas { border-top: 1px solid var(--ink); }
.areas li { border-bottom: 1px solid var(--line); }
.areas a { display: grid; gap: .4rem 2rem; padding: 1.5rem .25rem; text-decoration: none; color: var(--ink); }
.areas a:hover { background: var(--stone); color: var(--ink); }
.areas-name { font-family: var(--serif); font-size: var(--step-3); line-height: 1.1; }
.areas-intro { color: var(--ink-2); max-width: 40em; }
.areas-count { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--gold-ink); }
@media (min-width: 900px) {
  .areas a { grid-template-columns: 1fr 1.4fr auto; align-items: center; padding-inline: .75rem; }
}

/* ---------- Listing cards ---------- */
.cards { display: grid; gap: 2.25rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.chip { display: inline-block; padding: .2rem .55rem; border-radius: 2px; background: var(--paper); color: var(--ink); font-size: .8rem; font-weight: 600; }
.card .chip { position: absolute; left: .65rem; top: .65rem; }
.chip.is-hot { background: var(--gold); }
.chip.is-closed { background: var(--ink); color: #fff; }
.card-body { padding-top: .9rem; display: flex; flex-direction: column; flex: 1; }
.card-size { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; margin: 0 0 .3rem; }
.card-size span { font-family: var(--sans); font-size: .95rem; color: var(--ink-2); }
.card-title { font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.4; margin: 0 0 .25rem; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card-title a { text-decoration: underline; }
.card-loc { color: var(--ink-2); font-size: .95rem; margin: 0 0 .8rem; }
.card-foot { margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; align-items: baseline; }
.card-price { margin: 0; font-weight: 600; font-size: 1.08rem; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.card-rooms { margin: 0; display: flex; gap: .8rem; color: var(--ink-2); font-size: .92rem; }
.card-progress { margin: 0; width: 100%; display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--ink-2); }
progress { appearance: none; -webkit-appearance: none; width: 100%; height: 6px; border: 0; border-radius: 3px; background: var(--line); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--gold); }
progress::-moz-progress-bar { background: var(--gold); }
.card-progress progress { flex: 1; }
.save { position: absolute; z-index: 2; top: .55rem; right: .55rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; }
.save .ico { width: 21px; height: 21px; }
.save[aria-pressed="true"] { color: var(--gold-ink); }
.save[aria-pressed="true"] .ico path, .save-inline[aria-pressed="true"] .ico path { fill: currentColor; }

/* ---------- Listings page ---------- */
.listing-layout { display: grid; gap: 1.5rem; padding-bottom: var(--band); align-items: start; }
.filters { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.filters summary { display: flex; align-items: center; gap: .5rem; padding: .85rem 1rem; font-weight: 600; cursor: pointer; list-style: none; min-height: 48px; }
.filters summary::-webkit-details-marker { display: none; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--gold); color: var(--ink); font-size: .8rem; }
.filters-form { padding: 0 1rem 1rem; display: grid; gap: .9rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.filters-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1.25rem; color: var(--ink-2); }
.results-bar p { margin: 0; }
.sort { display: flex; align-items: center; gap: .5rem; }
.sort label { font-weight: 600; color: var(--ink); }
.sort select { width: auto; }
.js .js-hide { display: none; }
@media (min-width: 1024px) {
  .listing-layout { grid-template-columns: 290px 1fr; gap: 2.5rem; }
  .filters { position: sticky; top: calc(var(--head-h) + 1rem); }
  .filters summary { pointer-events: none; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
  .cards-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
}
.quicklinks { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.quicklinks h2 { font-size: var(--step-1); margin-top: 1.25rem; }
.quicklinks ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.quicklinks a { color: var(--ink-2); }
.type-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; }
.type-links a { display: inline-flex; gap: .5rem; align-items: center; padding: .5rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 600; min-height: 44px; }
.type-links a span { color: var(--gold-ink); }
.type-links a:hover { border-color: var(--ink); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin-top: 3rem; }
.pager ol { display: flex; gap: .35rem; }
.pager a, .pager span[aria-current] { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .6rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.pager a:hover { background: var(--stone); }
.pager span[aria-current] { background: var(--ink); color: #fff; }
.pager .pager-step { display: inline-flex; gap: .3rem; }
.pager-gap { display: grid; place-items: center; min-width: 24px; color: var(--ink-2); }

.empty { padding: 2rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--paper); max-width: 760px; }
.empty h2 { font-size: var(--step-2); }
.empty .lead { margin-top: 1.5rem; }

/* ---------- Forms ---------- */
.field { display: grid; gap: .35rem; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
input:not([type="radio"]):not([type="checkbox"]), select, textarea { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); font-size: 1rem; line-height: 1.4; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.2rem; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231b1a17' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center; }
textarea { min-height: 7rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ink); outline: 3px solid rgba(201,162,74,.6); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .92rem; margin: 0; }
.radio { display: flex; align-items: center; gap: .55rem; font-weight: 400 !important; min-height: 40px; }
.radio input { width: 20px; height: 20px; accent-color: var(--ink); }
.notice { padding: .8rem 1rem; border-radius: var(--radius); border-left: 4px solid; margin-bottom: 1rem; }
.notice-bad { background: #fbeae7; border-color: var(--danger); }
.notice-ok { background: #e8f2ea; border-color: var(--ok); }
.lead { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--stone); border-radius: var(--radius); border-top: 3px solid var(--gold); }
.band-stone .lead { background: var(--paper); }
.lead-h { font-size: var(--step-2); margin: 0; }
.lead-intro, .lead-note, .lead-alt { margin: 0; font-size: .92rem; color: var(--ink-2); }
.lead-alt a { color: var(--wa); font-weight: 600; }

/* ---------- Property detail ---------- */
.gallery { position: relative; margin-bottom: 2rem; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item { scroll-snap-align: start; padding: 0; border: 0; background: var(--stone); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count { position: absolute; right: .75rem; bottom: .75rem; margin: 0; }
.gallery-count button { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .4rem .85rem; border: 0; border-radius: var(--radius); background: rgba(255,255,255,.95); font-weight: 600; }
.gallery-none { padding: 2.5rem 1.5rem; background: var(--stone); border-radius: var(--radius); color: var(--ink-2); }
@media (min-width: 900px) {
  .gallery-track { grid-auto-flow: row; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 15vw)); grid-auto-columns: auto; overflow: hidden; max-height: 520px; }
  .gallery-item { aspect-ratio: auto; height: 100%; }
  .gallery-item:first-child { grid-row: span 2; }
  .gallery-item:nth-child(n+6) { display: none; }
  .gallery-track:has(.gallery-item:nth-child(3):last-child) { grid-template-columns: 2fr 1fr; }
  .gallery-track:has(.gallery-item:nth-child(4):last-child) .gallery-item:last-child { grid-column: span 2; }
  .gallery-track:has(.gallery-item:only-child) { grid-template-columns: 1fr; grid-template-rows: minmax(0, 32vw); }
  .gallery-track:has(.gallery-item:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 26vw); }
  .gallery-track:has(.gallery-item:nth-child(2):last-child) .gallery-item:first-child { grid-row: auto; }
}
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,9,7,.96); color: #fff; }
.lightbox::backdrop { background: rgba(10,9,7,.96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 94vw; max-height: 84dvh; object-fit: contain; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 1rem; top: 50%; }
.lb-next { right: 1rem; top: 50%; }
.lb-close { right: 1rem; top: 1rem; }
.lightbox-count { position: absolute; left: 1.25rem; top: 1.25rem; margin: 0; font-weight: 600; }

.detail { display: grid; gap: 2.5rem; padding-bottom: var(--band); align-items: start; }
@media (min-width: 1024px) {
  .detail { grid-template-columns: minmax(0, 1fr) 390px; gap: 4rem; }
  .detail-side { position: sticky; top: calc(var(--head-h) + 1rem); }
}
.detail-kicker { color: var(--ink-2); font-weight: 600; margin-bottom: .5rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.detail-kicker .chip { border: 1px solid var(--line-strong); }
.detail-price-m { font-family: var(--serif); font-size: var(--step-2); color: var(--gold-ink); margin: -.2rem 0 .6rem; }
@media (min-width: 1024px) { .detail-price-m { display: none; } }
.detail-loc { display: flex; gap: .4rem; align-items: flex-start; color: var(--ink-2); font-size: var(--step-1); }
.detail-loc .ico { margin-top: .2em; color: var(--gold-ink); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border-block: 1px solid var(--ink); margin: 2rem 0; }
.facts div { padding: 1rem .25rem; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--step--1); color: var(--ink-2); }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.facts dd small { display: block; font-family: var(--sans); font-size: .85rem; color: var(--ink-2); }
.progress-line { margin: -1rem 0 2rem; }
.detail-sec { margin-top: 2.75rem; }
.detail-sec h2 { font-size: var(--step-2); }
.prose { max-width: 42em; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.prose li { margin-bottom: .3em; }
.prose a { color: var(--gold-ink); }
.prose-lg { font-size: 1.12rem; line-height: 1.7; }
.timeline { border-left: 2px solid var(--gold); padding-left: 1.25rem; display: grid; gap: 1.5rem; }
.timeline time { font-size: var(--step--1); color: var(--ink-2); font-weight: 600; }
.timeline h3 { margin: .2rem 0 .35rem; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--kohl); }
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(22,20,15,.85); color: var(--gold-light); display: grid; place-items: center; }
.map { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 1rem 0 .75rem; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-wide { aspect-ratio: 21 / 9; }
.calc { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1rem; }
.calc-out dt { font-size: var(--step--1); color: var(--ink-2); }
.calc-out dd { margin: 0; font-family: var(--serif); font-size: var(--step-2); color: var(--gold-ink); }
.share { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.share .btn { gap: .4rem; }
.price-box { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.price-main { font-family: var(--serif); font-size: var(--step-3); line-height: 1.1; margin: 0 0 .25rem; }
.price-full { color: var(--ink-2); margin: 0 0 .5rem; font-variant-numeric: tabular-nums; }
.price-fx { display: flex; flex-wrap: wrap; gap: .25rem .9rem; color: var(--ink-2); font-size: .95rem; margin: 0 0 .25rem; }
.price-fx span { color: var(--ink); font-weight: 600; }
.price-actions { display: grid; gap: .6rem; margin-top: 1.25rem; }
.dealer { font-size: .95rem; color: var(--ink-2); margin: 1rem 0 0; }

.mobile-bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--kohl); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 58px; color: #fff; text-decoration: none; font-weight: 600; border-left: 1px solid rgba(255,255,255,.12); }
.mobile-bar a.is-wa { background: var(--wa); }
body.has-bar { padding-bottom: 58px; }
@media (min-width: 1024px) { .mobile-bar { display: none; } body.has-bar { padding-bottom: 0; } }
.wa-float { position: fixed; z-index: 30; right: 1rem; bottom: 1rem; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px -6px rgba(0,0,0,.45); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; background: #0f5434; }

/* ---------- Area, construction, content ---------- */
.area-hero { padding: .5rem 0 clamp(1.5rem, 4vw, 2.5rem); }
.area-arch { max-width: 420px; justify-self: center; width: 85%; }
.area-points { padding: 1.75rem; background: var(--stone); border-radius: var(--radius); border-top: 3px solid var(--gold); }
.packages { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .packages { grid-template-columns: 1fr 1fr; } }
.package { padding: 1.75rem; border: 1px solid var(--ink); border-radius: var(--radius); }
.package-rate { font-weight: 600; color: var(--gold-ink); margin: 0; }
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .steps:not(.steps-compact) { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: step; padding-top: 1rem; border-top: 1px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold-ink); margin-bottom: .6rem; }
.steps p { color: var(--ink-2); margin: 0; }
.steps-compact li { display: grid; grid-template-columns: 3rem 1fr; padding-top: 1.1rem; }
.steps-compact li::before { grid-row: span 2; font-size: 1.8rem; }
.steps-compact h3 { margin-bottom: .2rem; }
.estimator { display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); border-top: 3px solid var(--gold); }
.est-out { display: block; padding: 1rem; background: var(--stone); border-radius: var(--radius); font-size: 1.05rem; }
.est-out strong { display: block; font-family: var(--serif); font-weight: 400; font-size: var(--step-3); color: var(--gold-ink); line-height: 1.15; }
.stats { display: grid; gap: 1.25rem; }
.stats div { border-top: 1px solid var(--ink); padding-top: .75rem; }
.stats dt { color: var(--ink-2); }
.stats dd { margin: 0; font-family: var(--serif); font-size: var(--step-4); line-height: 1; }
.team { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.person { display: flex; gap: 1rem; align-items: flex-start; }
.person img { width: 96px; height: 96px; border-radius: 50% 50% 0 0 / 50% 50% 0 0; object-fit: cover; background: var(--stone); flex: none; }
.person h3 { margin: 0 0 .15rem; }
.person-role { color: var(--ink-2); margin: 0 0 .35rem; }
.person-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0; }
.person-links a { color: var(--gold-ink); font-weight: 600; }
.quotes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.quote { margin: 0; padding: 1.5rem; background: var(--paper); border-left: 3px solid var(--gold); }
.quote blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; }
.quote figcaption { font-weight: 600; }
.quote figcaption span { display: block; font-weight: 400; color: var(--ink-2); font-size: .92rem; }
.posts { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: .9rem; width: 100%; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-date { font-size: var(--step--1); color: var(--ink-2); margin-bottom: .3rem; }
.post-cover { border-radius: var(--radius); margin-bottom: 2rem; width: 100%; }
.post { padding-bottom: var(--band); }
.faqs { border-top: 1px solid var(--ink); margin-bottom: 1.5rem; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; line-height: .8; color: var(--gold-ink); }
.faq[open] summary::after { content: "–"; }
.faq .prose { padding-bottom: 1rem; color: var(--ink-2); }
.contact-ways { display: grid; gap: .75rem; }
.contact-way { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
a.contact-way:hover { border-color: var(--ink); color: var(--ink); }
.contact-way .ico { width: 26px; height: 26px; color: var(--gold-ink); margin-top: .15rem; }
.contact-way strong { display: block; font-size: 1.1rem; }
.contact-way span { color: var(--ink-2); }
.contact-way strong { color: var(--ink); }
.compare-wrap { overflow-x: auto; margin-bottom: 3rem; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { border-collapse: collapse; width: 100%; min-width: 640px; }
.compare caption { text-align: left; font-family: var(--serif); font-size: var(--step-2); padding: 1rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-top: 1px solid var(--line); }
.compare thead th { font-weight: 600; background: var(--stone); }
.compare tbody th { color: var(--ink-2); font-weight: 600; width: 160px; }
.thanks { text-align: left; }

/* ---------- Pre-footer and footer ---------- */
.callout { background: var(--gold); color: var(--ink); }
.callout-in { display: grid; gap: 1.5rem; padding-block: clamp(2.25rem, 5vw, 3.5rem); align-items: center; }
.callout h2 { font-size: var(--step-3); margin-bottom: .3em; }
.callout p { margin: 0; font-size: var(--step-1); }
.callout-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .callout-in { grid-template-columns: 1.4fr auto; } }
.foot { background: var(--kohl); color: var(--kohl-text); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; font-size: .98rem; }
.foot a { color: var(--kohl-text); }
.foot a:hover { color: var(--gold-light); }
.foot h2 { font-size: 1.15rem; color: var(--gold-light); margin-bottom: 1rem; }
.foot ul { display: grid; gap: .5rem; }
.foot address { font-style: normal; }
.foot address p { margin-bottom: .45rem; }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.foot-brand img { width: 150px; margin-bottom: 1rem; }
.socials { display: flex !important; flex-wrap: wrap; gap: .5rem 1rem !important; margin-top: 1rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.foot-base p { margin: 0; display: flex; gap: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
