/* ============================================================
   VELLUM LEGAL — Soft-Depth Growth Template
   Palette: Forest Green #1d3c2a + Warm Amber #d97706 + Ivory #f9f7f2
   ============================================================ */

/* ─── 1. TOKENS ─────────────────────────────────────────── */
:root {
  --primary:        #1d3c2a;
  --primary-dark:   #0e1e15;
  --primary-light:  #2d5c40;
  --secondary:      #d97706;
  --accent:         #d97706;
  --accent-dark:    #b45e05;
  --accent-light:   #f59f20;
  --background:     #f9f7f2;
  --surface:        #f0ece3;
  --text:           #1d3c2a;
  --muted:          #6b7260;
  --border:         #ccc8bc;

  --font-sans:      'Inter', system-ui, sans-serif;
  --font-display:   'Lora', Georgia, serif;
  --font-mono:      'DM Mono', 'Courier New', monospace;

  --radius:         8px;
  --radius-lg:      16px;
  --radius-xl:      24px;

  --shadow-sm:      0 1px 3px rgba(29,60,42,0.08), 0 1px 2px rgba(29,60,42,0.04);
  --shadow-md:      0 4px 12px rgba(29,60,42,0.10), 0 2px 4px rgba(29,60,42,0.06);
  --shadow-lg:      0 16px 40px rgba(29,60,42,0.12), 0 4px 12px rgba(29,60,42,0.06);

  --dur-micro:      160ms;
  --dur-ui:         280ms;
  --dur-reveal:     680ms;
  --ease-standard:  cubic-bezier(.34,1.3,.5,1);
  --ease-out:       cubic-bezier(.25,1,.3,1);

  /* Fluid type scale */
  --step--1:  clamp(0.83rem, 0.8rem + 0.18vw, 0.94rem);
  --step-0:   clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:   clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:   clamp(1.44rem, 1.28rem + 0.8vw, 2rem);
  --step-3:   clamp(1.73rem, 1.5rem + 1.2vw, 2.66rem);
  --step-4:   clamp(2.07rem, 1.7rem + 1.9vw, 3.55rem);
  --step-5:   clamp(2.49rem, 1.95rem + 2.7vw, 4.74rem);
}

/* ─── 2. RESET & BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p, li { text-wrap: pretty; }

a { color: inherit; text-decoration: none; transition: color var(--dur-micro) var(--ease-out); }

img { max-width: 100%; height: auto; display: block; }
img[src=""], img:not([src]) { display: none !important; }
img[src$="placeholder.jpg"] { display: none !important; }

/* ─── 3. WIRE:LOADING GUARD ─────────────────────────────── */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

/* ─── 4. DATA-LIST GRID FIX ─────────────────────────────── */
[data-list] { display: contents; }

/* ─── 5. UTILITY ─────────────────────────────────────────── */
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.section-pad { padding-block: clamp(4rem, 8vw, 7rem); }

.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
  z-index: 9999;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ─── 6. SCROLL PROGRESS ────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ─── 7. BACK TO TOP ─────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-standard);
  box-shadow: var(--shadow-md);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); background: var(--primary-light); }

/* ─── 8. REVEAL ANIMATIONS (CSS scroll-driven) ──────────── */
.reveal { opacity: 1; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: wb-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
    /* `to` intentionally omits `transform` — the underlying (rule-level)
       value resolves it to `none` once the animation is filling forward,
       so .service__tile's own :hover lift is never permanently overridden.
       Never write `to { transform: none; }` here. */
    @keyframes wb-reveal {
      from { opacity: 0; transform: translateY(40px); }
      to { opacity: 1; }
    }
    .reveal-stagger > * {
      animation-delay: calc(var(--i, 0) * 80ms);
    }

    /* Service tiles — previously entrance-animated by JS. No rule-level
       hide exists, but nothing replaces the entrance now. Reuse the
       wb-reveal lane, staggered via animation-range (never
       animation-delay on a view() timeline). */
    .service__tile {
      animation: wb-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .service__tile:nth-child(2) { animation-range: entry 7% entry 67%; }
    .service__tile:nth-child(3) { animation-range: entry 14% entry 74%; }
    .service__tile:nth-child(n+4) { animation-range: entry 21% entry 81%; }
  }
}

/* kinetic-rise — hero H1 + key h2s */
.kinetic-rise { opacity: 1; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .kinetic-rise {
      animation: kr-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
    @keyframes kr-rise {
      from { clip-path: inset(0 0 100% 0); opacity: 0.2; }
      to { clip-path: inset(0 0 0% 0); opacity: 1; }
    }
  }
}

/* ─── 9. FX-SPOTLIGHT (GROWTH SIGNATURE) ───────────────── */
.fx-spotlight {
  position: relative;
  overflow: hidden;
}
.fx-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px circle at calc(var(--mx, 50%) * 1px) calc(var(--my, 50%) * 1px),
    color-mix(in oklab, var(--accent) 20%, transparent),
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--dur-ui) var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.fx-spotlight:hover::before { opacity: 1; }
@media (pointer: coarse)           { .fx-spotlight::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .fx-spotlight::before { display: none; } }

/* ─── 10. HEADER / NAV ──────────────────────────────────── */
[data-section="header"] {
  position: sticky;
  top: 0;
  z-index: 200;
  background: color-mix(in oklab, var(--background) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

[data-section="header"] .container { padding-block: 0; }

[data-section="header"] nav:not(.nav__mobile) {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { height: 44px; width: auto; object-fit: contain; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--primary);
}

[data-section="header"] nav:not(.nav__mobile) .nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.nav__links a {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--dur-ui) var(--ease-out);
}
.nav__links a:hover::after { width: 100%; }
.nav__links a:hover { color: var(--primary-dark); }

.nav__phone {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--primary);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--dur-ui) var(--ease-out);
  white-space: nowrap;
}
.nav__phone:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.nav__cta {
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-size: var(--step--1);
  font-weight: 600;
  transition: all var(--dur-ui) var(--ease-out);
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
  font-size: 1.5rem;
  margin-left: auto;
  line-height: 1;
}

[data-section="header"] .nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  padding-block: 1rem;
}
[data-section="header"] .nav__mobile.open { display: flex; }
[data-section="header"] .nav__mobile a {
  padding: 0.75rem 1.5rem;
  font-size: var(--step-0);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
[data-section="header"] .nav__mobile a:last-child { border-bottom: none; }

/* ─── 11. HERO ───────────────────────────────────────────── */
[data-section="hero"] {
  background: var(--background);
  position: relative;
  overflow: hidden;
  min-height: 90svh;
  display: flex;
  align-items: center;
}

/* Organic blob — top-right */
[data-section="hero"]::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at 70% 30%, color-mix(in oklab, var(--accent) 5%, transparent) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

[data-section="hero"] .container { position: relative; z-index: 1; }

.hero__layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 6rem);
}

.hero__content { display: flex; flex-direction: column; gap: 1.5rem; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 400;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero__prefix {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-section="hero"] h1 {
  font-size: var(--step-5);
  color: var(--primary);
  line-height: 1.1;
  font-weight: 700;
}

.hero__subtitle {
  font-size: var(--step-1);
  color: var(--muted);
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.5;
}

.hero__body {
  font-size: var(--step-0);
  color: color-mix(in oklab, var(--text) 80%, transparent);
  max-width: 52ch;
  line-height: 1.75;
}

.hero__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--step-0);
  border: 2px solid var(--primary);
  transition: all var(--dur-ui) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--step-0);
  border: 2px solid var(--primary);
  transition: all var(--dur-ui) var(--ease-out);
  white-space: nowrap;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Hero image column */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4/5;
}

.hero__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid color-mix(in oklab, var(--accent) 30%, transparent);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

/* Amber ambient glow behind image */
.hero__image-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at 80% 40%, color-mix(in oklab, var(--accent) 15%, transparent) 0%, transparent 65%);
  z-index: -1;
  border-radius: var(--radius-xl);
}

.hero__image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Trust chips */
.hero__trust-chips {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  bottom: 2rem;
  left: -1.5rem;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: #fff;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  border: 1px solid var(--border);
}

.trust-chip__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 15%, var(--background));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ─── 12. ABOUT ──────────────────────────────────────────── */
[data-section="about"] {
  background: var(--surface);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about__image-col { position: relative; }

.about__image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about__image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about__accent-bar {
  position: absolute;
  top: 2rem; left: -1rem;
  width: 5px;
  height: 60%;
  background: var(--accent);
  border-radius: 4px;
}

.about__text-col { padding-top: 2rem; }

.about__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  display: block;
}

[data-section="about"] h2 { margin-bottom: 1.5rem; }

.about__body {
  color: var(--muted);
  font-size: var(--step-0);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Counters */
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  background: var(--background);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui);
}
.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-item strong {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.stat-item span {
  font-size: var(--step--1);
  color: var(--muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── 13. STATS BAND ─────────────────────────────────────── */
.stats-band {
  background: var(--primary-dark);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}

/* Decorative glow circles */
.stats-band::before,
.stats-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 18%, var(--primary));
  filter: blur(60px);
  pointer-events: none;
}
.stats-band::before { width: 300px; height: 300px; top: -80px; left: -60px; opacity: 0.5; }
.stats-band::after  { width: 250px; height: 250px; bottom: -80px; right: -40px; opacity: 0.4; }

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stats-band__item { text-align: center; }

.stats-band__num {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 700;
  color: var(--accent-light);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-band__label {
  font-size: var(--step--1);
  color: color-mix(in oklab, #fff 60%, transparent);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── 14. SERVICES (BENTO GRID + fx-spotlight) ──────────── */
[data-section="services"] {
  background: var(--background);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.services__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  display: block;
}

[data-section="services"] h2 { margin-bottom: 1rem; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Single template row — visual variety via :nth-child */
.service__tile {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui);
}
.service__tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Dark forest tiles every 4th+1 */
.service__tile:nth-child(4n+1) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-light);
}
.service__tile:nth-child(4n+1) h3,
.service__tile:nth-child(4n+1) .service__title { color: #fff; }
.service__tile:nth-child(4n+1) .service__subtitle { color: color-mix(in oklab, #fff 65%, transparent); }
.service__tile:nth-child(4n+1) .service__body { color: color-mix(in oklab, #fff 55%, transparent); }
.service__tile:nth-child(4n+1) .service__icon { color: var(--accent-light); }
.service__tile:nth-child(4n+1) .service__link { color: var(--accent-light); }
.service__tile:nth-child(4n+1) .service__link:hover { color: var(--accent); }

/* Accent (amber-tinted) tiles every 4th+3 */
.service__tile:nth-child(4n+3) {
  background: color-mix(in oklab, var(--accent) 6%, var(--surface));
  border-color: color-mix(in oklab, var(--accent) 20%, var(--border));
}

/* Wide tile — first child spans 2 columns */
.service__tile:first-child {
  grid-column: span 2;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}
.service__tile:first-child .service__icon-wrap { flex-shrink: 0; }
.service__tile:first-child .service__content { flex: 1; }

.service__icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--primary) 10%, var(--background));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service__tile:nth-child(4n+1) .service__icon-wrap {
  background: color-mix(in oklab, #fff 12%, transparent);
}

.service__icon { width: 28px; height: 28px; color: var(--primary); }

.service__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.service__subtitle {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent);
  letter-spacing: 0.06em;
}
.service__tile:nth-child(4n+1) .service__subtitle { color: var(--accent-light); }

.service__body {
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.service__price {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent-dark);
  font-weight: 600;
}
.service__tile:nth-child(4n+1) .service__price { color: var(--accent-light); }

.service__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  transition: gap var(--dur-micro);
}
.service__link:hover { gap: 0.7rem; }
.service__link svg { transition: transform var(--dur-micro); }
.service__link:hover svg { transform: translateX(3px); }

/* Service tile image (hidden by default, show if provided) */
.service__image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  display: none;
}
.service__tile:first-child .service__image {
  display: block;
  width: 180px;
  height: 160px;
  flex-shrink: 0;
}

/* ─── 15. SERVICE AREAS ──────────────────────────────────── */
[data-section="service_areas"] {
  background: var(--primary);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}

[data-section="service_areas"]::before {
  content: '';
  position: absolute;
  top: -30%; right: -5%;
  width: 40%; height: 160%;
  background: radial-gradient(ellipse, color-mix(in oklab, var(--accent) 10%, transparent) 0%, transparent 65%);
  pointer-events: none;
}

.service-areas__header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.service-areas__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.5rem;
}

[data-section="service_areas"] h2 {
  color: #fff;
  font-size: var(--step-3);
  margin-bottom: 0.75rem;
}

.service-areas__sub {
  color: color-mix(in oklab, #fff 60%, transparent);
  font-size: var(--step-0);
}

.service-areas__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: color-mix(in oklab, #fff 10%, transparent);
  border: 1px solid color-mix(in oklab, #fff 20%, transparent);
  border-radius: 100px;
  color: #fff;
  font-size: var(--step--1);
  font-weight: 500;
  transition: all var(--dur-ui) var(--ease-out);
  cursor: default;
}
.area-chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.area-chip__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  flex-shrink: 0;
}

.area-chip__note {
  display: none; /* hidden span for slug data */
}

/* ─── 16. CERTIFICATIONS ─────────────────────────────────── */
[data-section="certifications"] {
  background: var(--surface);
  padding-block: 4rem;
}

.certifications__header {
  text-align: center;
  margin-bottom: 3rem;
}

.certifications__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.5rem;
}

.certifications__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: var(--background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  min-width: 160px;
  transition: all var(--dur-ui) var(--ease-out);
  text-align: center;
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cert-card img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.6);
  transition: filter var(--dur-ui);
}
.cert-card:hover img { filter: none; }

.cert-card__name {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--primary);
}

.cert-card__issuer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.cert-card__note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ─── 17. QUOTE REQUEST ──────────────────────────────────── */
[data-section="quote_request"] {
  background: var(--background);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.quote__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.quote__trust { display: flex; flex-direction: column; gap: 2rem; }

.quote__trust-title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--primary);
}

.quote__trust-subtitle {
  font-size: var(--step-0);
  color: var(--muted);
  line-height: 1.75;
}

.trust-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--step-0);
  color: var(--text);
}

.trust-list__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 15%, var(--background));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent-dark);
}

/* Form */
.quote__form-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.quote__form-title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.quote__form-sub {
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.form-grid .form-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  color: var(--text);
  background: var(--background);
  transition: border-color var(--dur-micro), box-shadow var(--dur-micro);
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 12%, transparent);
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-submit {
  margin-top: 1.25rem;
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-ui) var(--ease-out);
}
.form-submit:hover:not(:disabled) {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; }

/* ─── 18. TESTIMONIALS ───────────────────────────────────── */
[data-section="testimonials"] {
  background: var(--surface);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.5rem;
}

.testimonials__reel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 1.5rem;
  padding-inline: 1px;
}
.testimonials__reel::-webkit-scrollbar { display: none; }

.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(280px, 38vw, 420px);
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--primary);
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}
.testimonial-card__quote::before {
  content: '\201C';
  position: absolute;
  left: 0; top: -0.25rem;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--primary);
  display: block;
}

.testimonial-card__role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ─── 19. OPENING HOURS ──────────────────────────────────── */
[data-section="opening_hours"] {
  background: var(--background);
  padding-block: 4rem;
}

.opening-hours__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.opening-hours__text h2 { margin-bottom: 1rem; }
.opening-hours__text p { color: var(--muted); font-size: var(--step-0); line-height: 1.75; }

.opening-hours__card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td {
  padding: 0.75rem 0;
  font-size: var(--step--1);
}
.hours-table td:first-child {
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-mono);
}
.hours-table td:last-child {
  text-align: right;
  color: var(--muted);
}
.hours-table tr.today td { color: var(--accent-dark); font-weight: 700; }
.hours-table tr.today td:first-child { color: var(--primary); }

/* ─── 20. CONTACT ────────────────────────────────────────── */
[data-section="contact"] {
  background: var(--background);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.contact__info {
  background: var(--primary-dark);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact__info::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse, color-mix(in oklab, var(--accent) 15%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.contact__info-title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.contact__info-sub {
  color: color-mix(in oklab, #fff 60%, transparent);
  font-size: var(--step-0);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.contact-details { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; position: relative; z-index: 1; }

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-details__icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--accent) 20%, transparent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent-light);
}

.contact-details__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: color-mix(in oklab, #fff 45%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.2rem;
}

.contact-details__value {
  font-size: var(--step-0);
  color: #fff;
  font-weight: 500;
  line-height: 1.5;
}

.contact-details__value a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact__form-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact__form-title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.contact__form-sub {
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ─── 21. FAQS ───────────────────────────────────────────── */
[data-section="faqs"] {
  background: var(--surface);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.faqs__header { text-align: center; margin-bottom: 3rem; }

.faqs__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.5rem;
}

.faqs__list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--dur-ui);
}
.faq-item:hover { box-shadow: var(--shadow-md); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  transition: color var(--dur-micro);
}
.faq-trigger:hover { color: var(--primary-light); }

.faq-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--primary) 10%, var(--background));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1rem;
  font-style: normal;
  transition: transform var(--dur-ui) var(--ease-standard), background var(--dur-ui);
}
.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-reveal) var(--ease-out);
}

.faq-body-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: var(--step-0);
  color: var(--muted);
  line-height: 1.8;
}

/* ─── 22. FOOTER ─────────────────────────────────────────── */
[data-section="footer"] {
  background: var(--background);
  border-top: 2px solid var(--accent);
  padding-block: 4rem 2rem;
}

.footer__statement {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-3);
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.3;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand img {
  height: 48px; width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.6;
  max-width: 36ch;
}

.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col ul li a {
  font-size: var(--step--1);
  color: var(--muted);
  transition: color var(--dur-micro);
  position: relative;
  padding-bottom: 1px;
}
.footer__col ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--dur-ui);
}
.footer__col ul li a:hover { color: var(--accent-dark); }
.footer__col ul li a:hover::after { width: 100%; }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  transition: color var(--dur-micro);
}
.footer__legal a:hover { color: var(--accent-dark); }

/* ─── 23. PAGE HERO (interior pages) ────────────────────── */
.page-hero {
  background: var(--primary);
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 50%; height: 160%;
  background: radial-gradient(ellipse, color-mix(in oklab, var(--accent) 12%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 1rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  color: #fff;
  font-weight: 700;
  max-width: 18ch;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: color-mix(in oklab, #fff 65%, transparent);
  max-width: 55ch;
}

/* ─── 24. MOBILE NAV ─────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__toggle { display: block; }

  [data-section="header"] nav:not(.nav__mobile) .nav__links,
  [data-section="header"] nav:not(.nav__mobile) .nav__cta { display: none; }

  [data-section="header"] nav:not(.nav__mobile) .nav__phone { display: none; }
}

/* ─── 25. RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero__layout { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service__tile:first-child { grid-column: span 2; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
}

@media (max-width: 900px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__trust-chips { position: static; flex-direction: row; flex-wrap: wrap; }
  .about__layout { grid-template-columns: 1fr; }
  .quote__layout { grid-template-columns: 1fr; }
  .contact__layout { grid-template-columns: 1fr; }
  .opening-hours__layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
  .service__tile:first-child { grid-column: auto; flex-direction: column; }
  .service__tile:first-child .service__image { width: 100%; height: 160px; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .stats-band__grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__trust-chips { flex-direction: column; align-items: flex-start; }
  .quote__form-card, .contact__form-card { padding: 1.5rem; }
}


/* __wobooks-defensive__ — appended by HtmlZipThemeConverterV2.
   Hide images whose src resolves to empty (e.g. data-src-field bindings
   for Items / categories the owner hasn't uploaded a photo for yet).
   Without this rule, the browser shows the alt-text fallback —
   that's the bug behind the literal word 'image' showing in avatar
   slots and About images on the production Braise theme. */
img[src=""], img:not([src]) { display: none !important; }

/* Grid-collapse fix: [data-list] is the WoBooks repeater wrapper. When the
   grid/flex layout lives on the PARENT, the wrapper would otherwise become
   a single grid/flex item and collapse every [data-item] row into one cell.
   display:contents makes the wrapper layout-transparent so each row
   participates in the parent track. Mirrors TemplateSkeletonGenerator so
   converted themes match skeleton/AI-generated themes. (Convention: never
   put the grid/flex container ON the [data-list] element itself.) */
[data-list] { display: contents; }
