/* ==========================================================================
   AIGIN Royal landing page  |  theaiginroyal.com
   v2 theme: emerald green + brass gold on warm stone. Mobile first.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jost-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jost-latin-ext-var.woff2") format("woff2");
  unicode-range: U+20A0-20C0;
}

/* ---------- Tokens ---------- */
:root {
  --forest: #0f2e28;
  --forest-2: #163d35;
  --forest-3: #1f4d43;
  --night: #0a211c;
  --gold: #c9a55a;
  --gold-hover: #b8934a;
  --gold-soft: #efe4c8;
  --gold-ink: #7a5a1e;
  --stone: #f6f3ec;
  --mist: #eaf0ec;
  --paper: #ffffff;
  --ink: #13241f;
  --ink-2: #3d4c47;
  --ink-3: #5b6964;
  --line: #dde4df;
  --line-dark: rgba(201, 165, 90, 0.3);
  --on-dark: #f4f1ea;
  --on-dark-2: rgba(244, 241, 234, 0.8);
  --wa: #0e7a3f;
  --wa-hover: #0b6634;
  --error: #b3261e;

  --font-display: "Marcellus", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Jost", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --pill: 999px;
  --shadow-sm: 0 2px 10px rgba(15, 46, 40, 0.08);
  --shadow: 0 22px 44px -26px rgba(15, 46, 40, 0.45);
  --container: 1180px;
  --gutter: 1.25rem;
  --header-h: 64px;
  --bar-h: 62px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--forest); color: #fff; padding: 0.75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 0.75rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold); }
.on-dark .eyebrow { color: var(--gold); }
.section { padding-block: clamp(3.25rem, 8vw, 5.5rem); }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.8rem, 5.2vw, 2.6rem); color: var(--forest); }
.section-head p { color: var(--ink-2); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--pill);
  background: var(--bg);
  color: var(--fg);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.2rem; height: 1.2rem; }
.btn:hover { --bg: var(--forest-3); }
.btn-gold { --bg: var(--gold); --fg: var(--forest); }
.btn-gold:hover { --bg: var(--gold-hover); }
.btn-wa { --bg: var(--wa); --fg: #fff; }
.btn-wa:hover { --bg: var(--wa-hover); }
.btn-ghost { --bg: transparent; --fg: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { --bg: var(--forest); --fg: #fff; }
.btn-ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(244, 241, 234, 0.55); }
.btn-ghost-light:hover { --bg: rgba(244, 241, 234, 0.12); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 44px; padding: 0; border: 0; background: none;
  font-weight: 500; color: var(--gold-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.text-link:hover { color: var(--forest); }
.text-link .icon { width: 1.1rem; height: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  background: rgba(246, 243, 236, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 146px; height: auto; }
.main-nav, .header-phone, .header-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--forest); color: #fff;
  text-decoration: none; border: 0;
}
.icon-btn .icon { width: 19px; height: 19px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + 1.75rem);
  padding-bottom: 2.25rem;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(201, 165, 90, 0.16) 0%, rgba(201, 165, 90, 0) 60%),
    var(--stone);
}
.hero-grid { display: grid; gap: 1.5rem; }
.hero h1 {
  font-size: clamp(2rem, 7.6vw, 3.4rem);
  line-height: 1.08;
  color: var(--forest);
  margin-bottom: 0.6rem;
}
.hero h1 .accent { color: var(--gold-ink); }
.hero-sub { font-size: 1.0625rem; color: var(--ink-2); margin: 0; max-width: 34rem; }
.hero-sub strong { color: var(--forest); font-weight: 600; white-space: nowrap; }

.lead-card {
  background: var(--forest);
  color: var(--on-dark);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.lead-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.25rem 0.75rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.lead-card h2 { font-size: 1.4rem; color: #fff; margin: 0; }
.lead-card .price-tag { font-size: 0.9375rem; color: var(--gold); font-weight: 500; }

/* Forms */
.lead-form { display: grid; gap: 0.75rem; }
.field { display: grid; gap: 0.25rem; }
.field label { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; }
.lead-card .field label { color: var(--on-dark-2); }
.field .opt { font-weight: 400; opacity: 0.85; }
.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0.65rem 0.95rem;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #cdd6d1;
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  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 1.5l5 5 5-5' fill='none' stroke='%230f2e28' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 165, 90, 0.35); }
.field.has-error input { border-color: var(--error); }
.field-error { font-size: 0.8125rem; color: #ffb4a9; margin: 0; }
.modal .field-error { color: var(--error); }
.field-error:empty { display: none; }
.phone-wrap { display: flex; }
.phone-wrap .cc {
  display: inline-flex; align-items: center; padding: 0 0.8rem;
  background: var(--mist); color: var(--ink-2);
  border: 1.5px solid #cdd6d1; border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.phone-wrap input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 0.8125rem; line-height: 1.5; margin: 0; color: var(--on-dark-2); }
.consent a { color: inherit; }
.form-status { font-size: 0.9375rem; margin: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #ffb4a9; }
.form-status.is-ok { color: #a8e0b5; }
.modal .consent { color: var(--ink-3); }
.modal .form-status.is-error { color: var(--error); }
.modal .form-status.is-ok { color: #1f6b35; }
.form-status a { color: inherit; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.85; }
.btn[aria-busy="true"]::after {
  content: ""; width: 16px; height: 16px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero visual: arched photo */
.hero-visual { position: relative; }
.arch {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 50% 50% var(--radius) var(--radius) / 66.6% 66.6% var(--radius) var(--radius);
  background: var(--mist);
  box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.hero-badge {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.55rem 1.1rem;
  border-radius: var(--pill);
  background: var(--paper);
  color: var(--forest);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e5b; }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 2.25rem;
}
.facts li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}
.facts b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--forest); line-height: 1.2; }
.facts span { font-size: 0.875rem; color: var(--ink-3); }

/* ---------- Homes & prices ---------- */
.homes { background: var(--paper); }
.home-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  padding: 0.25rem var(--gutter) 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.home-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.home-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.home-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.home-card:hover .home-media img { transform: scale(1.04); }
.chip {
  position: absolute; left: 0.8rem; top: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--pill);
  background: var(--forest);
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.home-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.1rem 1.2rem; }
.home-body h3 { font-size: 1.45rem; margin-bottom: 0.15rem; color: var(--forest); }
.home-size { color: var(--gold-ink); font-weight: 500; margin-bottom: 0.75rem; }
.spec-list { display: grid; gap: 0.4rem; margin-bottom: 1rem; font-size: 0.975rem; color: var(--ink-2); }
.spec-list li { display: flex; gap: 0.55rem; align-items: flex-start; }
.spec-list .icon { color: var(--gold-ink); width: 1.05rem; height: 1.05rem; margin-top: 0.25rem; }
.home-price {
  margin-top: auto;
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem;
  padding: 0.8rem 0; border-top: 1px dashed #cbd5cf; margin-bottom: 0.8rem;
}
.home-price span { font-size: 0.875rem; color: var(--ink-3); }
.home-price strong { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--forest); }
.home-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.home-ctas .btn { padding-inline: 0.6rem; min-height: 46px; font-size: 0.9375rem; }
.swipe-hint { font-size: 0.875rem; color: var(--ink-3); margin: 0.25rem 0 0; }

.glance {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  background: var(--mist);
}
.glance h3 { font-size: 1.35rem; color: var(--forest); margin-bottom: 0.4rem; }
.glance p { color: var(--ink-2); margin-bottom: 0.6rem; }
.glance .aka { font-size: 0.9375rem; color: var(--ink-3); margin: 0; }
.glance dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; margin: 0; font-size: 0.9375rem; }
.glance dt { color: var(--ink-3); }
.glance dd { margin: 0; font-weight: 500; color: var(--ink); }
.glance-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-top: 1rem; }
.price-note { font-size: 0.8125rem; color: var(--ink-3); margin: 0; }

/* ---------- Highlights, photos, amenities ---------- */
.life { background: var(--stone); }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.highlight {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
.hl-icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--forest); color: var(--gold);
  margin-bottom: 0.7rem;
}
.hl-icon .icon { width: 21px; height: 21px; }
.highlight h3 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin: 0 0 0.2rem; color: var(--forest); }
.highlight p { margin: 0; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); }

.photos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 0.7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  margin: 2rem calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter) 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.photos li { scroll-snap-align: start; }
.photos a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--mist); }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease); }
.photos a:hover img { transform: scale(1.04); }
.photos .cap {
  position: absolute; left: 0.6rem; bottom: 0.6rem;
  padding: 0.3rem 0.75rem; border-radius: var(--pill);
  background: rgba(15, 46, 40, 0.86); color: #fff; font-size: 0.8125rem;
}

.amenity-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.amenity-chips li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.amenity-chips .icon { color: var(--gold-ink); width: 1.05rem; height: 1.05rem; }

/* ---------- Location ---------- */
.location { background: var(--paper); }
.location-grid { display: grid; gap: 1.5rem; }
.map-wrap { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--mist); border: 1px solid var(--line); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.map-wrap iframe.is-loaded { opacity: 1; pointer-events: auto; }
.map-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--forest); font-weight: 500; text-decoration: underline; text-underline-offset: 4px;
}
.map-fallback .icon { color: var(--gold-ink); }
.dist-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.dist-list li {
  display: grid; gap: 0.1rem;
  padding: 0.75rem 0.9rem;
  background: var(--stone);
  border-radius: var(--radius-sm);
}
.dist-list .time { font-family: var(--font-display); font-size: 1.3rem; color: var(--forest); line-height: 1.1; }
.dist-list .place { font-size: 0.875rem; color: var(--ink-2); line-height: 1.35; }
.drive-note { font-size: 0.8125rem; color: var(--ink-3); margin: 0.6rem 0 0; }
.address {
  display: flex; gap: 0.8rem; align-items: flex-start;
  margin-top: 1rem; padding: 0.9rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.address > .icon { color: var(--gold-ink); width: 22px; height: 22px; margin-top: 0.15rem; }
.address p { margin: 0; font-size: 0.975rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--mist); }
.faq-list { display: grid; gap: 0.6rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 56px; padding: 0.8rem 1rem;
  font-weight: 500; font-size: 1.0125rem; line-height: 1.4; color: var(--forest);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background:
    linear-gradient(var(--forest), var(--forest)) center / 11px 1.6px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center / 1.6px 11px no-repeat,
    var(--gold-soft);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1rem 1rem; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest); color: var(--on-dark); padding-block: 3rem; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -90px; top: -110px; width: 280px; height: 280px;
  border: 1px solid var(--line-dark); border-radius: 50%; pointer-events: none;
  display: none;
}
@media (min-width: 1024px) { .cta-band::after { display: block; } }
.cta-inner { position: relative; display: grid; gap: 1.25rem; }
.cta-band h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); color: #fff; margin-bottom: 0.3rem; }
.cta-band p { color: var(--on-dark-2); margin: 0; }
.cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.cta-actions .btn-gold { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-2); padding: 2.5rem 0 1.5rem; font-size: 0.9375rem; }
.footer-top { display: grid; gap: 1.25rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand span { font-family: var(--font-display); font-size: 1.35rem; color: #fff; letter-spacing: 0.08em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: 1.5rem; padding-top: 1.1rem;
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  font-size: 0.8125rem; line-height: 1.6; color: rgba(244, 241, 234, 0.66);
}
.footer-bottom p { margin-bottom: 0.5rem; }

/* ---------- Sticky bar (mobile) ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: var(--forest);
  border-top: 1px solid var(--gold);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -8px 24px rgba(10, 33, 28, 0.2);
}
.sticky-bar a,
.sticky-bar button {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: var(--bar-h); border: 0; background: transparent; color: #fff;
  font-size: 0.975rem; font-weight: 500; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.sticky-bar .icon { width: 20px; height: 20px; }
.sticky-bar .sb-wa { background: var(--wa); }
.sticky-bar .sb-form { background: var(--gold); color: var(--forest); }
.float-actions { display: none; }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(10, 33, 28, 0.72); }
.modal { width: min(94vw, 430px); margin: auto; }
.modal-box {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.25rem 1.4rem;
  max-height: 92vh; max-height: 92dvh; overflow-y: auto;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.modal-box h2 { font-size: 1.55rem; color: var(--forest); margin: 0 2.5rem 0.3rem 0; }
.modal-sub { color: var(--ink-2); font-size: 0.975rem; margin-bottom: 1rem; }
.modal-close {
  position: absolute; top: 0.6rem; right: 0.6rem;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--mist); color: var(--forest);
}
.modal-close .icon { width: 20px; height: 20px; }
.modal[open] .modal-box { animation: rise 0.28s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.lightbox { width: 100vw; height: 100vh; height: 100dvh; margin: 0; background: rgba(8, 24, 20, 0.96); color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: flex-end; padding: 0.5rem; }
.lb-stage { display: grid; place-items: center; padding: 0 0.5rem; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom, 0px)); }
.lb-caption { flex: 1; text-align: center; font-size: 0.975rem; color: var(--on-dark-2); margin: 0; }
.lb-btn {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid rgba(244, 241, 234, 0.3); border-radius: 50%; background: transparent; color: #fff;
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold); }
.lb-btn .icon { width: 22px; height: 22px; }

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

/* ---------- Simple pages (thank you, privacy, 404) ---------- */
.page-simple { min-height: 100vh; display: flex; flex-direction: column; padding-bottom: 0; }
.page-simple main { flex: 1; padding: calc(var(--header-h) + 3rem) 0 4rem; }
.page-simple .site-header { position: absolute; }
.page-simple .footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 6vw, 2.7rem); color: var(--forest); }
.prose h2 { font-size: 1.45rem; margin-top: 2rem; color: var(--forest); }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.35rem; }
.thanks-card {
  max-width: 620px; margin-inline: auto; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 4px solid var(--gold); padding: 2.5rem 1.5rem;
}
.thanks-card h1 { font-size: clamp(2rem, 6vw, 2.7rem); color: var(--forest); }
.thanks-card .lead { font-size: 1.125rem; color: var(--ink-2); }
.thanks-card .muted { color: var(--ink-3); }
.thanks-card .btn { margin: 0.35rem; }
.thanks-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--gold); display: grid; place-items: center; margin: 0 auto 1.25rem; }
.thanks-mark .icon { width: 30px; height: 30px; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  :root { --gutter: 1.5rem; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .home-cards { grid-auto-columns: 58%; }
  .photos { grid-auto-columns: 46%; }
  .lead-card { padding: 1.5rem; }
  .modal-box { padding: 1.9rem 1.75rem 1.6rem; }
  .dist-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .highlights { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
  .highlight { padding: 1.3rem; }
  .glance { grid-template-columns: 1.1fr 1fr; gap: 2rem; padding: 1.75rem; align-items: start; }
  .cta-inner { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .footer-top { grid-template-columns: auto 1fr; align-items: center; }
  .footer-links { justify-content: flex-end; }
}

@media (min-width: 1024px) {
  :root { --gutter: 2rem; --header-h: 74px; }
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }

  .brand img { width: 172px; }
  .main-nav { display: block; }
  .main-nav ul { display: flex; gap: 0.25rem; }
  .main-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem;
    border-radius: var(--pill); text-decoration: none; font-size: 0.975rem; color: var(--ink-2);
    transition: background-color 0.2s, color 0.2s;
  }
  .main-nav a:hover { background: var(--mist); color: var(--forest); }
  .header-phone {
    display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px;
    padding-inline: 0.5rem; text-decoration: none; font-weight: 500; color: var(--forest);
  }
  .header-phone .icon { color: var(--gold-ink); width: 18px; height: 18px; }
  .header-cta { display: inline-flex; }
  .header-call { display: none; }

  .hero { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 3rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas: "copy visual" "form visual";
    column-gap: 3.5rem;
    row-gap: 1.75rem;
    align-items: start;
  }
  .hero-copy { grid-area: copy; }
  .lead-card { grid-area: form; padding: 1.6rem; }
  .hero-visual { grid-area: visual; align-self: stretch; }
  .arch {
    aspect-ratio: auto; height: 100%; min-height: 520px;
    border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius);
  }
  .lead-form.is-inline { grid-template-columns: 1fr 1fr; column-gap: 0.75rem; }
  .lead-form.is-inline .span-2 { grid-column: 1 / -1; }
  .lead-form.is-inline .submit-cell { display: flex; align-items: end; }
  .facts { margin-top: 2.75rem; }

  .home-cards {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: auto;
    gap: 1.25rem;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .swipe-hint { display: none; }

  .photos {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: auto;
    overflow: visible;
    margin: 2rem 0 0;
    padding: 0;
    gap: 0.9rem;
  }
  .location-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
  .map-wrap { aspect-ratio: auto; min-height: 460px; }
  .faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }

  .float-actions {
    position: fixed; right: 20px; bottom: 24px; z-index: 70;
    display: grid; gap: 0.6rem; justify-items: end;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .float-actions.is-visible {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
  }
  .float-actions a,
  .float-actions button {
    display: inline-flex; align-items: center; gap: 0.6rem;
    min-height: 50px; padding: 0 1.2rem 0 1rem; border: 0; border-radius: var(--pill);
    font-size: 0.975rem; font-weight: 500; text-decoration: none;
    box-shadow: 0 10px 24px -8px rgba(10, 33, 28, 0.5);
    transition: transform 0.2s var(--ease);
  }
  .float-actions a:hover, .float-actions button:hover { transform: translateY(-2px); }
  .float-actions .icon { width: 20px; height: 20px; }
  .fa-call { background: var(--forest); color: #fff; }
  .fa-wa { background: var(--wa); color: #fff; }
  .fa-form { background: var(--gold); color: var(--forest); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .sticky-bar, .float-actions, dialog { display: none !important; }
  body { padding: 0; background: #fff; }
}
