/* =========================================================================
   Abel's Flooring LLC — main.css  (FROZEN design system)
   Genre: editorial magazine · Hero: boxed inset
   Display: Newsreader (self-hosted) · Body: humanist system grotesque
   Signature: ruled section masthead (eyebrow + hairline rule + section index)
   ========================================================================= */

/* ---------- Fonts (self-hosted, relative to this file) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* palette — roles */
  --anchor-900: #211d17;   /* warm espresso — dark sections, footer, overlay */
  --anchor-800: #2e2921;   /* lifted dark panel */
  --brand-700:  #2c5949;   /* deep spruce — primary interactive */
  --brand-800:  #234639;   /* its hover (darker) */
  --brand-600:  #3a6e5e;   /* lighter spruce — eyebrow, minor accents on light */
  --brand-light:#a8ccbc;   /* spruce for text/marks on dark (AA on brand-700 & anchor) */
  --ground-50:  #f1ebe0;   /* warm cream — tinted sections */
  --paper:      #fbf9f4;   /* header, cards, page base */
  --ink-900:    #211d17;   /* headings on light */
  --body-700:   #52493d;   /* body on light */
  --muted-300:  #cdc6b8;   /* body on dark */
  --tint:       #e3eae4;   /* faint spruce tint — icon tiles */
  --line:       #e2dacb;   /* hairline on light */
  --line-strong:#cdc2ad;   /* stronger rule on light */
  --line-dark:  rgba(255,255,255,.14);

  /* type */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;

  /* scale */
  --sp-1:.25rem; --sp-2:.5rem; --sp-3:.75rem; --sp-4:1rem; --sp-6:1.5rem;
  --sp-8:2rem; --sp-10:2.5rem; --sp-12:3rem; --sp-16:4rem; --sp-24:6rem;
  --r-sm:6px; --r-md:12px; --r-lg:18px; --r-xl:24px; --r-pill:999px;
  --shadow-card: 0 1px 2px rgba(33,29,23,.04), 0 8px 24px rgba(33,29,23,.06);
  --shadow-float: 0 12px 40px rgba(33,29,23,.16);
  --container: 1200px;
  --callbar-h: 0px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body-700);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--callbar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-800); }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink-900); font-weight: 600; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
button { font: inherit; }

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

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand-700); color: #fff; padding: .65rem 1rem;
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; color:#fff; }
.visually-hidden {
  position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
:focus-visible { outline: 2.5px solid var(--brand-600); outline-offset: 2px; border-radius: 3px; }
.section--dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible {
  outline-color: var(--brand-light);
}

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.container--narrow { max-width: 74ch; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--paper { background: var(--paper); }
.section--cream { background: var(--ground-50); }
.section--dark  { background: var(--anchor-900); color: var(--muted-300); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: var(--paper); }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--font-body); font-size: .8125rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand-600);
  margin: 0;
}
.section--dark .eyebrow, .cta-band .eyebrow { color: var(--brand-light); }

/* Signature: ruled section masthead */
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4.5vw, 3.5rem); }
.masthead { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.masthead .rule { flex: 1 1 auto; height: 1px; background: var(--line-strong); }
.masthead .index {
  flex: 0 0 auto; font-family: var(--font-display); font-weight: 500;
  font-size: 1rem; color: var(--body-700); letter-spacing: .04em; font-variant-numeric: tabular-nums;
}
.section--dark .masthead .rule { background: var(--line-dark); }
.section--dark .masthead .index { color: var(--muted-300); }

.section-head h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.08;
  letter-spacing: -.01em; font-weight: 600; margin: 0;
}
.section-head .lead {
  margin-top: 1rem; font-size: 1.15rem; line-height: 1.6; color: var(--body-700);
  max-width: 56ch;
}
.section--dark .section-head .lead { color: var(--muted-300); }

.lead { font-size: 1.15rem; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  line-height: 1; padding: .95rem 1.5rem; border-radius: var(--r-sm);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  min-height: 48px; transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand-700); color: #fff; }
.btn--primary:hover { background: var(--brand-800); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--tint); color: var(--ink-900); border-color: var(--brand-600); }
.btn--light { background: var(--paper); color: var(--ink-900); }
.btn--light:hover { background: #fff; color: var(--ink-900); }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: var(--line-dark); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); color: var(--paper); border-color: var(--brand-light); }

.phone-link {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700;
  font-size: 1.05rem; color: var(--ink-900); text-decoration: none; white-space: nowrap;
}
.phone-link svg { width: 18px; height: 18px; color: var(--brand-700); }
.phone-link:hover { color: var(--brand-700); }
.section--dark .phone-link, .cta-band .phone-link { color: var(--paper); }
.section--dark .phone-link svg, .cta-band .phone-link svg { color: var(--brand-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 74px; padding-block: .55rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  color: var(--ink-900); line-height: 1; letter-spacing: -.01em; white-space: nowrap;
}
.brand:hover .brand-name { color: var(--brand-700); }

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.primary-nav a {
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  color: var(--ink-900); text-decoration: none; white-space: nowrap;
}
.primary-nav a:hover { color: var(--brand-700); }

.header-actions { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; }
.header-actions .phone-link { font-size: 1.05rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: transparent; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm); cursor: pointer; color: var(--ink-900);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero (boxed inset) ---------- */
.hero { background: var(--ground-50); }
.hero-inner {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem);
}
.hero-content { max-width: 34rem; }
.location-pill {
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--body-700);
  margin-bottom: 1.4rem;
}
.location-pill svg { width: 15px; height: 15px; color: var(--brand-700); }
.hero-title {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.04; letter-spacing: -.02em;
  font-weight: 600; color: var(--ink-900); margin: 0;
}
.hero-title .soft { color: var(--brand-700); }
.hero-lead { margin-top: 1.4rem; font-size: 1.2rem; line-height: 1.55; color: var(--body-700); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.1rem 1.75rem; margin-top: 2.2rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; list-style: none; font-size: .95rem; font-weight: 600; color: var(--ink-900); }
.hero-trust svg { width: 18px; height: 18px; color: var(--brand-700); flex: 0 0 auto; }

/* boxed inset frame */
.hero-figure {
  position: relative; background: var(--paper); padding: clamp(.7rem, 1.4vw, 1.1rem);
  border-radius: var(--r-lg); box-shadow: var(--shadow-float); border: 1px solid var(--line);
}
.hero-figure img { border-radius: var(--r-md); width: 100%; object-fit: cover; aspect-ratio: 16/10; }
.hero-badge {
  position: absolute; left: -14px; bottom: 26px; background: var(--anchor-900); color: var(--paper);
  padding: .85rem 1.1rem; border-radius: var(--r-md); box-shadow: var(--shadow-float); max-width: 12.5rem;
}
.hero-badge strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--paper); line-height: 1.15; }
.hero-badge span { display: block; font-size: .82rem; color: var(--muted-300); margin-top: .2rem; }

/* ---------- Trust strip ---------- */
.trust-strip { padding-block: clamp(1.6rem, 3vw, 2.2rem); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; align-items: center; justify-content: space-between; }
.trust-item { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--paper); font-size: 1rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--brand-light); flex: 0 0 auto; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.75rem; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}
.section--cream .card { border-color: transparent; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow-float); transform: translateY(-3px); }
.icon-tile {
  width: 52px; height: 52px; border-radius: var(--r-md); background: var(--tint);
  display: inline-flex; align-items: center; justify-content: center; color: var(--brand-700);
  margin-bottom: 1.15rem; flex: 0 0 auto;
}
.icon-tile svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.2; margin-bottom: .5rem; color: var(--ink-900); }
.card p { font-size: .98rem; color: var(--body-700); margin: 0; }
.card-link {
  margin-top: 1.1rem; font-weight: 600; font-size: .95rem; color: var(--brand-700);
  display: inline-flex; align-items: center; gap: .4rem;
}
.card-link svg { width: 16px; height: 16px; }
a.card:hover .card-link { gap: .65rem; }

/* ---------- Split blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); width: 100%; object-fit: cover; box-shadow: var(--shadow-card); aspect-ratio: 4/3; }
.split-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 1.1rem; }
.split-body p + p { margin-top: 1rem; }

.stat-badge {
  position: absolute; right: -16px; bottom: -18px; background: var(--brand-700); color: #fff;
  padding: 1rem 1.25rem; border-radius: var(--r-md); box-shadow: var(--shadow-float); max-width: 13rem;
}
.stat-badge strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.1; color: #fff; }
.stat-badge span { display: block; font-size: .85rem; color: rgba(255,255,255,.85); margin-top: .25rem; }

/* two-column checklist */
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1.5rem; margin-top: 1.75rem; }
.check-list li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; color: var(--ink-900); font-size: 1rem; }
.check-list svg { width: 20px; height: 20px; color: var(--brand-700); flex: 0 0 auto; margin-top: 1px; }
.section--dark .check-list li { color: var(--paper); }
.section--dark .check-list svg { color: var(--brand-light); }

/* ---------- Numbered steps (process, on dark) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.75rem 2rem; counter-reset: step; }
.step { position: relative; }
.step-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; line-height: 1;
  color: var(--brand-light); display: block; margin-bottom: .75rem; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.2rem; font-weight: 600; color: var(--paper); margin-bottom: .45rem; }
.step p { font-size: .97rem; color: var(--muted-300); margin: 0; }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.map-placeholder {
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--r-lg);
  aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; color: var(--brand-700); text-align: center; padding: 2rem;
}
.map-placeholder svg { width: 44px; height: 44px; }
.map-placeholder span { font-weight: 600; color: var(--body-700); font-size: .95rem; }
.town-links { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.pill-link {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--paper);
  font-weight: 600; font-size: .95rem; color: var(--ink-900); text-decoration: none;
}
.pill-link svg { width: 15px; height: 15px; color: var(--brand-700); }
.pill-link:hover { border-color: var(--brand-600); background: var(--tint); color: var(--ink-900); }

/* ---------- Quotes / reviews ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.75rem; box-shadow: var(--shadow-card); margin: 0;
}
.quote .mark { font-family: var(--font-display); font-size: 2.4rem; line-height: .6; color: var(--brand-light); display: block; height: 1.2rem; }
.quote-text { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.45; color: var(--ink-900); font-weight: 500; margin: .4rem 0 1rem; }
.quote-attr { font-size: .92rem; font-weight: 600; color: var(--body-700); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.gallery-item { margin: 0; }
.gallery-item img { border-radius: var(--r-md); box-shadow: var(--shadow-card); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-item figcaption { font-size: .85rem; color: var(--body-700); margin-top: .5rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-700); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -.01em; margin-bottom: 1rem; max-width: 20ch; }
.cta-band .lead { color: rgba(255,255,255,.9); max-width: 52ch; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band .btn--light:hover { background:#fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-card);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; color: var(--ink-900); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink-900);
  padding: .8rem .9rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2.5px solid var(--brand-600); outline-offset: 1px; border-color: var(--brand-600);
}
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 1.25rem; }
.form-status { margin-top: 1rem; font-weight: 600; font-size: .97rem; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--brand-700); }
.form-status.is-err { color: #9a3324; }

/* contact info column */
.contact-info { list-style: none; display: grid; gap: 1.25rem; }
.contact-info li { display: flex; align-items: flex-start; gap: .8rem; }
.contact-info svg { width: 22px; height: 22px; color: var(--brand-700); flex: 0 0 auto; margin-top: 2px; }
.contact-info .k { display: block; font-weight: 700; color: var(--ink-900); font-size: .95rem; }
.contact-info .v { display: block; color: var(--body-700); font-size: 1rem; }
.contact-info a { color: var(--body-700); }
.contact-info a:hover { color: var(--brand-700); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 60rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-family: var(--font-display);
  font-weight: 600; font-size: 1.15rem; color: var(--ink-900); display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 12px; height: 12px; flex: 0 0 auto;
  border-right: 2px solid var(--brand-700); border-bottom: 2px solid var(--brand-700);
  transform: rotate(45deg); transition: transform .18s ease; margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.faq-item .faq-body { padding: 0 1.3rem 1.25rem; color: var(--body-700); }
.faq-item .faq-body p + p { margin-top: .75rem; }

/* ---------- Article / legal layout ---------- */
.article { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.article-header { margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); padding-bottom: 1.75rem; }
.article-header h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); line-height: 1.08; letter-spacing: -.01em; }
.article-header .meta { margin-top: .75rem; color: var(--body-700); font-size: .95rem; }
.article-body { color: var(--body-700); font-size: 1.06rem; }
.article-body h2 { font-size: 1.6rem; margin: 2.25rem 0 .85rem; line-height: 1.2; }
.article-body h3 { font-size: 1.25rem; margin: 1.75rem 0 .6rem; }
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.25rem; padding-left: .5rem; }
.article-body li { margin-bottom: .45rem; }
.article-body a { color: var(--brand-700); }

/* generic page hero for interior pages */
.page-hero { background: var(--ground-50); padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero .breadcrumb { font-size: .9rem; color: var(--body-700); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--body-700); }
.page-hero .breadcrumb a:hover { color: var(--brand-700); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; max-width: 20ch; }
.page-hero .lead { margin-top: 1.15rem; font-size: 1.2rem; color: var(--body-700); max-width: 54ch; }
.page-hero .hero-actions { margin-top: 1.75rem; }

/* interior page hero with media (text left, photo right ~42%) */
.page-hero--media .container {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
}
.page-hero--media .page-hero-text { max-width: 40rem; }
.page-hero-media { margin: 0; }
.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;          /* fixed crop: portrait & landscape sources both cover cleanly */
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
}

/* prose helper */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1rem; color: var(--body-700); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--anchor-900); color: var(--muted-300); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem 2rem; padding-bottom: 3rem; }
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-brand .brand-name { color: var(--paper); }
.footer-brand p { color: var(--muted-300); font-size: .97rem; max-width: 32ch; }
.footer-nap { list-style: none; margin-top: 1.25rem; display: grid; gap: .55rem; }
.footer-nap li { display: flex; align-items: flex-start; gap: .55rem; font-size: .95rem; color: var(--muted-300); }
.footer-nap svg { width: 17px; height: 17px; color: var(--brand-light); flex: 0 0 auto; margin-top: 3px; }
.footer-nap a { color: var(--muted-300); text-decoration: none; }
.footer-nap a:hover { color: var(--paper); }
.footer-col h3 { color: var(--paper); font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { color: var(--muted-300); text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: var(--paper); }
.footer-legal {
  border-top: 1px solid var(--line-dark); padding-block: 1.5rem; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
}
.footer-legal p { font-size: .88rem; color: var(--muted-300); }
.footer-legal nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { color: var(--muted-300); text-decoration: none; font-size: .88rem; }
.footer-legal a:hover { color: var(--paper); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-callbar { display: none; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--anchor-800); color: var(--muted-300); border-top: 1px solid var(--line-dark);
  padding: .9rem clamp(1rem, 4vw, 2rem);
  display: flex; align-items: center; justify-content: center; gap: 1rem 1.5rem; flex-wrap: wrap;
}
.cookie-banner p { font-size: .9rem; margin: 0; max-width: 60ch; }
.cookie-banner a { color: var(--brand-light); }
.cookie-banner .btn { padding: .6rem 1.2rem; min-height: 40px; }
.cookie-banner[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-figure { order: -1; }
  .hero-badge { left: 12px; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split-media { order: 0; }
  .area-grid { grid-template-columns: 1fr; }
  .page-hero--media .container { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero--media .page-hero-media img { aspect-ratio: 3 / 2; }
  .stat-badge { right: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
    padding: .5rem clamp(1.1rem, 4vw, 2.5rem) 1.25rem; display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .primary-nav a:last-child { border-bottom: none; }
  .header-actions .phone-link { display: none; }
  .check-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --callbar-h: 62px; }
  .header-actions .btn { display: none; }
  .mobile-callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
    background: var(--brand-700); padding: .55rem .9rem;
  }
  .mobile-callbar a {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; min-height: 48px;
  }
  .mobile-callbar svg { width: 20px; height: 20px; }
  .cookie-banner { bottom: var(--callbar-h); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; }
}
