/* ============================================================
   ATLANTIC HARDWOOD FLOORING — DESIGN SYSTEM
   ------------------------------------------------------------
   STYLE GUIDE (short form)
   Brand tone ...... premium craftsmanship, local trust, timeless
   Palette ......... warm neutrals inspired by oak / walnut / ivory,
                     one deep teal accent used for EVERY primary CTA
   Typography ...... Playfair Display (serif) for H1/H2 display,
                     Inter (sans) for body, labels and buttons
   Layout .......... max content width 1240px, 12-col desktop grid,
                     section padding 96 / 64 / 48 (desktop/tablet/mobile)
   Radius .......... 20px cards, 999px pills/badges
   Shadows ......... barely visible, warm-tinted
   Motion .......... subtle fade/rise on scroll only, respects
                     prefers-reduced-motion
   Avoid ........... SaaS gradients, neon accents, glowing blobs,
                     icon clutter, heavy animation
   ============================================================ */

:root {
  /* Color system — light & warm: cream base, bronze-gold accent.
     The footer stays dark as an anchor; --charcoal is the heading/strong
     text color. */
  --bg:        #F2E9DA;  /* creamy sand page background */
  --header-bg: #F7F1E3;  /* slightly lighter header / callbar */
  --surface:   #FCF8F0;  /* warm off-white cards and alt sections */
  --sand:      #E7D8C5;
  --oak:       #C8A97E;
  --walnut:    #7A573A;  /* muted brown for small text */
  --charcoal:  #24201A;  /* heading + strong text */
  --ink-soft:  #4A443C;  /* body text on cream */
  --accent:    #96702E;  /* bronze gold — the ONLY CTA color */
  --accent-dk: #7C5C24;  /* hover state (deeper bronze) */
  --on-accent: #FBF6EA;  /* cream text on bronze */
  --gold-lt:   #E2C285;  /* light gold for use over dark photos/footer */
  --footer-bg: #221D15;  /* dark warm footer */
  --border:    #E2D4BE;
  --ivory-txt: #F7F3EC;

  /* Type scale */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --h1: clamp(2.4rem, 5.2vw, 3.9rem);   /* ~38–62px */
  --h2: clamp(1.75rem, 3.4vw, 2.6rem);  /* ~28–42px */
  --h3: clamp(1.3rem, 2vw, 1.6rem);     /* ~21–26px */
  --body: 1.0625rem;                    /* 17px */
  --small: 0.875rem;                    /* 14px */

  /* Layout */
  --maxw: 1240px;
  --section-y: clamp(48px, 8vw, 96px);
  --radius: 20px;
  --shadow: 0 2px 8px rgba(58, 42, 26, 0.05), 0 12px 32px rgba(58, 42, 26, 0.07);
  --header-h: 72px;
}

/* ---------- Base ---------- */

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

/* Note: no `scroll-behavior: smooth` — it can wedge scroll handling in
   embedded/preview renderers and adds little on a mostly single-jump site. */

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

/* Italic serif accent word inside display headings */
h1 em, h2 em { font-style: italic; color: var(--accent); }

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dk); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--walnut);
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Centered eyebrows get small flanking rules — a quiet editorial flourish */
.section-head.center .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.section-head.center .eyebrow::before,
.section-head.center .eyebrow::after {
  content: "";
  width: 30px;
  height: 1.5px;
  background: var(--oak);
}

.lede { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.9875rem;
  font-weight: 600;
  line-height: 1;
  padding: 17px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
              transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-dk); color: var(--on-accent); box-shadow: 0 8px 24px rgba(150, 112, 46, 0.28); }

.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: rgba(150, 112, 46, 0.1); color: var(--accent-dk); }

.btn-light { background: var(--surface); color: var(--accent); }
.btn-light:hover { background: var(--sand); }

.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- Badges / pills ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(150, 112, 46, 0.08);
  border: 1px solid rgba(150, 112, 46, 0.3);
  border-radius: 999px;
  padding: 7px 15px;
  white-space: nowrap;
}

.badge svg { width: 14px; height: 14px; flex: none; }

.warranty-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--small);
  font-weight: 500;
  color: var(--accent);
}
.warranty-line svg { width: 15px; height: 15px; flex: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Solid background on purpose: backdrop-filter on sticky headers causes
     paint glitches (blank page regions) in some renderers. */
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(58, 42, 26, 0.1); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { height: 42px; width: auto; }
.logo .logo-img { height: 54px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap; /* the number must never wrap to two lines */
}
.header-phone svg {
  width: 36px;
  height: 36px;
  padding: 9px;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  flex: none;
}
.header-phone:hover { color: var(--accent); }
.header-phone:hover svg { background: rgba(150, 112, 46, 0.1); }
.header-cta .btn { padding: 13px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  color: var(--charcoal);
}
.nav-toggle svg { width: 20px; height: 20px; display: block; }

/* ---------- Full-bleed photo hero (home) ---------- */

.hero-full {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-full > .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10, 8, 6, 0.62), rgba(10, 8, 6, 0.18) 62%),
    linear-gradient(to bottom, rgba(10, 8, 6, 0.5), rgba(10, 8, 6, 0.12) 35%, rgba(10, 8, 6, 0.55));
}
.hero-full-inner {
  position: relative;
  width: 100%;
  padding: clamp(56px, 10vh, 120px) 0 clamp(96px, 16vh, 160px);
}
.hero-full h1 { color: var(--ivory-txt); max-width: 11em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero-full .eyebrow { color: var(--ivory-txt); }
.hero-full .lede { color: rgba(247, 243, 236, 0.88); max-width: 30em; }
.hero-warranty {
  position: absolute;
  left: 24px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-lt); /* light gold — sits over the dark photo overlay */
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.25;
}
.hero-warranty svg { width: 38px; height: 38px; flex: none; }
.hero-warranty img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  flex: none;
  margin-right: 10px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}

/* ---------- Hero (sub-page split layout, kept for reuse) ---------- */

.hero { padding: clamp(40px, 6vw, 80px) 0 var(--section-y); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 { margin-bottom: 18px; }
.hero .lede { margin-bottom: 28px; max-width: 34em; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: var(--small);
  font-weight: 500;
  color: var(--walnut);
}
.hero-trustline span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trustline svg { width: 14px; height: 14px; color: var(--accent); }

.hero-media {
  position: relative;
  border-radius: var(--radius);
  box-shadow: 20px 20px 0 -1px var(--sand), var(--shadow);
}
.hero-media img, .hero-media svg {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: var(--ivory-txt);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.25);
}
.hero-badge svg { width: 16px; height: 16px; flex: none; color: var(--oak); }

/* ---------- Trust bar ---------- */

.trust-bar { background: var(--accent); color: var(--on-accent); padding: 26px 0; }
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; text-align: left; }
.trust-item + .trust-item { border-left: 1px solid rgba(251, 246, 234, 0.28); }
.trust-item svg { width: 26px; height: 26px; flex: none; opacity: 0.85; }
.trust-item strong { display: block; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.trust-item small { font-size: 0.78rem; opacity: 0.78; }

/* ---------- Cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(58, 42, 26, 0.07), 0 20px 44px rgba(58, 42, 26, 0.12);
}

.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover .card-media img { transform: scale(1.045); }

.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.35rem; }
.card-body p { margin: 0; font-size: 0.9375rem; }
.card-link { font-weight: 600; font-size: 0.9375rem; text-decoration: none; margin-top: auto; }
.card-link::after { content: " →"; }

.card-footer {
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  background: rgba(150, 112, 46, 0.06);
}

/* ---------- Before / After slider ---------- */

.ba-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: pan-y;
  aspect-ratio: 16 / 9;
}
.ba-slider img, .ba-slider svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--ivory-txt);
  transform: translateX(-50%);
  cursor: ew-resize;
}
.ba-handle::after {
  content: "◂ ▸";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  color: var(--charcoal);
  font-size: 0.72rem;
  letter-spacing: 2px;
  padding: 10px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.ba-label {
  position: absolute;
  top: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(34, 34, 34, 0.72);
  color: var(--ivory-txt);
  padding: 6px 13px;
  border-radius: 999px;
  pointer-events: none;
}
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

.ba-caption { font-size: var(--small); color: var(--walnut); margin-top: 14px; }

/* ---------- Gallery ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.gallery-item img, .gallery-item svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 16px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ivory-txt);
  background: linear-gradient(to top, rgba(34, 34, 34, 0.68), rgba(34, 34, 34, 0));
}
.gallery-item.wide { grid-column: span 2; aspect-ratio: auto; }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--oak); }
.filter-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---------- Lightbox (tap a gallery photo to view it large) ---------- */

.gallery-item { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(24, 20, 15, 0.93);
  padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(94vw, 1100px);
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-caption { color: var(--ivory-txt); font-size: 0.9rem; margin-top: 14px; text-align: center; max-width: 90vw; }
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: none;
  background: rgba(247, 243, 236, 0.14);
  color: var(--ivory-txt);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(247, 243, 236, 0.28); }
.lightbox-close { top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 999px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border-radius: 12px; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ---------- Process ---------- */

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--oak);
  margin-bottom: 12px;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process-step p { margin: 0; font-size: 0.9rem; }

/* ---------- Reviews ---------- */

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(150, 112, 46, 0.22);
  pointer-events: none;
}
.review-stars { color: var(--oak); font-size: 1rem; letter-spacing: 3px; }

/* Platform rating line (Reviews page cards) */
.rating-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rating-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--charcoal); line-height: 1; }
.rating-line .review-stars { font-size: 0.95rem; }
.rating-count { font-size: 0.85rem; color: var(--walnut); font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.review-card blockquote { margin: 0; font-size: 0.9875rem; font-style: italic; color: var(--ink-soft); }
.review-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-meta cite { font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.review-meta small { color: var(--walnut); font-size: 0.78rem; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--charcoal);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--accent); }
.faq-body { padding: 0 24px 22px; font-size: 0.9375rem; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--accent); color: var(--on-accent); border-top: 3px solid var(--oak); }
.cta-band h2 { color: var(--on-accent); }
.cta-band .lede { color: rgba(251, 246, 234, 0.85); }
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band .warranty-line { color: rgba(251, 246, 234, 0.82); }

/* ---------- Forms ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; min-width: 0; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.875rem; font-weight: 600; color: var(--charcoal); }
.form-field label small { font-weight: 400; color: var(--walnut); }

.form-field input,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
/* File inputs have a large intrinsic width that can blow the layout
   open on narrow phones — never let them exceed their column */
.form-field input[type="file"] { padding: 12px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.8125rem; color: var(--walnut); margin-top: 14px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  color: rgba(247, 243, 236, 0.72);
  padding: 64px 0 0;
  font-size: 0.9rem;
  border-top: 3px solid var(--accent);
}
.site-footer a:hover { color: var(--gold-lt); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer h4 {
  color: var(--ivory-txt);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(247, 243, 236, 0.75); text-decoration: none; }
.site-footer a:hover { color: var(--ivory-txt); }
.footer-brand svg { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand .logo-img { height: 76px; width: auto; display: block; margin-bottom: 18px; }
.footer-brand p { max-width: 30em; }

/* Bona partner strip — prominent certification callout for content pages */
.bona-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid #6CA438;
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px) clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow);
}
.bona-strip img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  flex: none;
  background: #fff;
  padding: 4px;
  box-shadow: var(--shadow);
}
.bona-strip h3 { margin: 0 0 6px; font-size: 1.3rem; }
.bona-strip p { margin: 0; font-size: 0.95rem; }
@media (max-width: 560px) {
  .bona-strip { flex-direction: column; text-align: center; align-items: center; gap: 16px; }
}

/* Bona feature card (in the Why us grid) */
.card-body img.bona-inline { width: 84px; height: 84px; margin-bottom: 4px; }

/* Certification note in the footer brand column */
.footer-cert {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(247, 243, 236, 0.82);
}
.footer-cert img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  flex: none;
  background: #fff;
  padding: 3px;
}
.footer-cert strong { color: var(--gold-lt); font-weight: 600; }

/* Discreet social icons — monochrome, quiet until hovered */
.social-row { display: flex; gap: 16px; margin-top: 20px; }
.social-row a {
  color: rgba(247, 243, 236, 0.55);
  transition: color 0.18s ease, transform 0.18s ease;
}
.social-row a:hover { color: var(--oak); transform: translateY(-1px); }
.social-row svg { width: 20px; height: 20px; display: block; margin: 0; }
.footer-legal {
  border-top: 1px solid rgba(247, 243, 236, 0.14);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(247, 243, 236, 0.55);
}

/* ---------- Mobile sticky call bar ---------- */

.mobile-callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--header-bg);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -6px 24px rgba(58, 42, 26, 0.14);
}
.mobile-callbar .btn { flex: 1; justify-content: center; padding: 15px 10px; }

/* ---------- Scroll reveal (subtle) ----------
   Content is VISIBLE by default. Only when JS is running (html.js) do
   elements start hidden and fade in — so a script failure can never
   leave the page blank. */

html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Page hero (subpages) ---------- */

.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.page-hero .lede { max-width: 640px; }
.breadcrumbs { font-size: 0.8125rem; color: var(--walnut); margin-bottom: 14px; }
.breadcrumbs a { color: var(--walnut); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Two-column content block ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.checklist { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; }
.checklist svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 4px; }

/* ---------- Area chips ---------- */

.area-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.area-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1220px) {
  /* Mid widths (small MacBook windows): tighten the header so the phone
     number and CTA always fit on one line */
  .main-nav { gap: 18px; }
  .header-inner { gap: 16px; }
  .logo svg { height: 36px; }
  .logo .logo-img { height: 46px; }
  .header-cta { gap: 10px; }
  .header-cta .btn { padding: 12px 18px; }
}

@media (max-width: 1080px) {
  /* Not enough room for the full number: keep the tappable icon only */
  .header-phone span { display: none; }
}

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    box-shadow: 0 16px 32px rgba(58, 42, 26, 0.12);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 24px; border-bottom: none; }
  .main-nav a[aria-current="page"] { background: rgba(22, 78, 79, 0.06); }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }

  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-media { order: -1; }

  .mobile-callbar { display: flex; }
  body { padding-bottom: 74px; }

  .form-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .card-grid, .card-grid.cols-3, .card-grid.cols-2,
  .process-grid, .gallery-grid { grid-template-columns: 1fr; }
  .trust-bar-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-item { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-item.wide { grid-column: auto; }
  .header-phone span { display: none; }
}
