/* === GreenGuard Growth — Warm-Organic Pest Control === */
/* Direction: Warm-Organic | Signature: @property aurora in CTA + organic blob hero */

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .25s ease both; }
  ::view-transition-new(root) { animation: vt-in  .35s ease both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(8px); } }

/* === TOKENS === */
:root {
  --primary:    #1a2f1e;
  --secondary:  #2d5a3d;
  --accent:     #22c17a;
  --background: #f3faf4;
  --surface:    #ffffff;
  --text:       #1a2f1e;
  --muted:      #5a7a62;
  --border:     #c8e0cc;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-display: 'Lora', Georgia, serif;
  --radius:     8px;
  /* immutable constants — not overridden by presets */
  --theme-dark-band: #0c1a0d;
  --theme-leaf-tint: #e8f5eb;
  /* shadow scale */
  --shadow-sm: 0 1px 2px rgb(26 47 30 / .04), 0 1px 1px rgb(26 47 30 / .03);
  --shadow-md: 0 4px 12px rgb(26 47 30 / .08), 0 2px 4px rgb(26 47 30 / .05);
  --shadow-lg: 0 18px 40px rgb(26 47 30 / .12), 0 6px 12px rgb(26 47 30 / .07);
  /* 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);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans); color: var(--text);
  background: var(--background); line-height: 1.65; font-size: var(--step-0);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display); text-wrap: balance; line-height: 1.2;
}
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: var(--primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
img[src=""], img:not([src]) { display: none !important; }
img[src$="placeholder.jpg"] { display: none !important; }
.img-empty { min-height: 0; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }

/* === ACCESSIBILITY === */
.skip-link {
  position: absolute; left: -9999px; top: auto; z-index: 9999;
  padding: 0.5rem 1rem; background: var(--primary); color: #fff;
  border-radius: var(--radius); font-family: var(--font-sans);
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* === SCROLL PROGRESS === */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  z-index: 9999; transition: width 0.1s;
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed; bottom: 5.5rem; right: 1.5rem; width: 48px; height: 48px;
  border-radius: 50%; border: 2px solid var(--accent); background: var(--surface);
  color: var(--primary); font-size: 1.25rem; cursor: pointer;
  opacity: 0; transition: opacity 0.3s, transform 0.3s; z-index: 999;
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; }
.back-to-top:hover { background: var(--accent); color: var(--surface); transform: translateY(-3px); }

/* === LIVEWIRE LOADING === */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

/* === GRAIN TEXTURE === */
.grain { position: relative; }
.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  border-radius: inherit;
}

/* === CSS SCROLL-DRIVEN REVEAL (baseline, no JS needed) === */
/* `to` intentionally omits `transform` — the underlying (rule-level) value
   resolves it to `none` once the animation is filling forward, so a card's
   :hover transform (e.g. .service-card, .cert-card) is never permanently
   overridden. Never write `to { transform: none; }` here. */
@keyframes wb-reveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; } }
.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%;
    }
  }
}
.reveal-stagger > * { animation-delay: calc(var(--i, 0) * 80ms); }

/* === HEADER === */
[data-section="header"] {
  position: sticky; top: 0; z-index: 200;
  background: var(--background, rgba(243,250,244,.97));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
[data-section="header"].scrolled { box-shadow: var(--shadow-md); }
[data-section="header"] nav {
  display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0;
}
[data-section="header"] .logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--step-1); color: var(--primary);
}
[data-section="header"] .logo img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav-link {
  padding: 0.45rem 0.9rem; border-radius: 50px;
  font-size: var(--step--1); font-weight: 500; color: var(--text);
  transition: background 0.2s, color 0.2s; font-family: var(--font-sans);
}
.site-nav-link:hover, .site-nav-link.active {
  background: color-mix(in oklab, var(--accent) 12%, var(--background)); color: var(--primary);
}
.nav__cta {
  margin-left: 0.75rem; padding: 0.55rem 1.2rem;
  background: var(--accent); color: var(--primary);
  border-radius: 50px; font-weight: 600; font-size: var(--step--1);
  font-family: var(--font-sans); transition: background 0.2s, transform 0.2s; white-space: nowrap;
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.nav__cta:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.header__emergency {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: var(--step--1); font-weight: 600; color: var(--secondary);
  padding: 0.35rem 0.8rem; border: 1.5px solid var(--border);
  border-radius: 50px; transition: border-color 0.2s;
  font-family: var(--font-sans);
}
.header__emergency:hover { border-color: var(--accent); color: var(--primary); }
.nav__toggle {
  display: none; background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: var(--text); line-height: 1; padding: 0.4rem;
}
[data-section="header"] .nav__mobile {
  display: none; flex-direction: column;
  background: var(--background, rgba(243,250,244,.98));
  padding: 1rem 1.5rem 1.5rem; gap: 0.25rem;
  border-top: 1px solid var(--border);
}
[data-section="header"] .nav__mobile.open { display: flex; }
[data-section="header"] .nav__mobile .site-nav-link {
  display: block; padding: 0.65rem 1rem;
}
[data-section="header"] .nav__mobile .nav__cta {
  margin-left: 0; text-align: center; margin-top: 0.5rem;
}

/* === HERO === */
[data-section="hero"] {
  min-height: 100svh; background: var(--background);
  display: grid; align-items: center;
  position: relative; overflow: hidden; padding: 6rem 0 4rem;
}
.hero__layout {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem; align-items: center; position: relative; z-index: 2;
}
.hero__content { display: flex; flex-direction: column; gap: 1.5rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: color-mix(in oklab, var(--accent) 15%, var(--background));
  color: var(--secondary); font-size: var(--step--1); font-weight: 600;
  padding: 0.4rem 1rem; border-radius: 50px;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--border));
  width: fit-content; font-family: var(--font-sans);
}
.hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__badge-dot { animation: pulse-dot 2s ease-in-out infinite; }
  @keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
  }
}
.hero__kicker {
  font-family: var(--font-sans); font-size: var(--step--1); font-weight: 600;
  color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.hero__title {
  font-family: var(--font-display); font-size: var(--step-5);
  color: var(--primary); font-weight: 700; line-height: 1.1;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__subtitle { font-size: var(--step-1); color: var(--muted); max-width: 42ch; }
.hero__content-text { font-size: var(--step-0); color: var(--text); max-width: 48ch; line-height: 1.75; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem; background: var(--accent); color: var(--primary);
  border-radius: 50px; font-weight: 700; font-size: var(--step-0);
  font-family: var(--font-sans); border: none; cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 16px color-mix(in oklab, var(--accent) 40%, transparent);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.btn-primary:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem; background: transparent; color: var(--primary);
  border-radius: 50px; font-weight: 600; font-size: var(--step-0);
  font-family: var(--font-sans); border: 2px solid var(--border); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 8%, transparent); }
.hero__trust { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.hero__trust-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: var(--step--1); color: var(--muted); font-weight: 500;
}
.hero__trust-icon { color: var(--accent); font-size: 1rem; }
/* Hero visual */
.hero__visual { position: relative; }
.hero__img-wrapper {
  position: relative; z-index: 1;
  border-radius: 60% 40% 50% 50% / 40% 50% 60% 50%;
  overflow: hidden; aspect-ratio: 4/5;
}
.hero__img-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); transition: transform 6s ease;
}
.hero__img-wrapper:hover img { transform: scale(1); }
/* Blob decorators */
[data-section="hero"]::before {
  content: '';
  position: absolute; top: -8%; right: -6%;
  width: clamp(300px, 40vw, 500px); height: clamp(300px, 40vw, 500px);
  background: color-mix(in oklab, var(--accent) 18%, var(--background));
  clip-path: ellipse(55% 45% at 60% 40%);
  z-index: 0; pointer-events: none;
}
[data-section="hero"]::after {
  content: '';
  position: absolute; bottom: -4%; left: -5%;
  width: clamp(200px, 28vw, 360px); height: clamp(200px, 28vw, 360px);
  background: color-mix(in oklab, var(--primary) 8%, var(--background));
  clip-path: ellipse(50% 60% at 45% 55%);
  z-index: 0; pointer-events: none;
}
.hero__blob-float {
  position: absolute; top: 12%; right: -4%;
  width: 120px; height: 120px; z-index: 0; pointer-events: none;
  background: color-mix(in oklab, var(--secondary) 12%, var(--background));
  clip-path: ellipse(55% 45% at 55% 45%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__blob-float { animation: blob-float 8s ease-in-out infinite; }
  @keyframes blob-float {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(8px,-12px) scale(1.05); }
    66% { transform: translate(-6px,6px) scale(0.97); }
  }
  /* Hero entrance */
  @keyframes hero-fade-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; } }
  .hero__badge   { animation: hero-fade-up 0.6s ease both 0.1s; }
  .hero__kicker  { animation: hero-fade-up 0.6s ease both 0.2s; }
  .hero__title   { animation: hero-fade-up 0.7s ease both 0.3s; }
  .hero__subtitle { animation: hero-fade-up 0.6s ease both 0.45s; }
  .hero__content-text { animation: hero-fade-up 0.6s ease both 0.55s; }
  .hero__actions { animation: hero-fade-up 0.6s ease both 0.65s; }
  .hero__trust   { animation: hero-fade-up 0.6s ease both 0.75s; }
  .hero__visual  { animation: hero-fade-up 0.8s ease both 0.2s; }
}
/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: var(--step--1); color: var(--muted); z-index: 2;
}
.scroll-cue-arrow {
  width: 22px; height: 22px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue-arrow { animation: bounce-down 1.5s ease-in-out infinite; }
  @keyframes bounce-down {
    0%, 100% { transform: rotate(45deg) translate(0,0); }
    50% { transform: rotate(45deg) translate(4px,4px); }
  }
}

/* === STATS BAND === */
.stats-band {
  background: color-mix(in oklab, var(--primary) 6%, var(--background));
  padding: 3rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stats-band__item { display: flex; flex-direction: column; gap: 0.3rem; }
.stats-band__num {
  font-family: var(--font-display); font-size: var(--step-4);
  color: var(--primary); font-weight: 700; line-height: 1;
}
.stats-band__label {
  font-size: var(--step--1); color: var(--muted); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* === SECTION HELPERS === */
.section { padding: 5rem 0; }
.section--light { background: var(--background); }
.section--tint { background: color-mix(in oklab, var(--primary) 4%, var(--background)); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--theme-dark-band); color: #e8f5eb; position: relative; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p, .section--dark span:not(.section__eyebrow) { color: rgba(232,245,235,0.8); }

.section__eyebrow {
  font-family: var(--font-sans); font-size: var(--step--1); font-weight: 600;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
  display: block; margin-bottom: 0.6rem;
}
.section__heading { font-family: var(--font-display); color: var(--primary); margin-bottom: 1rem; }
.section__sub { font-size: var(--step-0); color: var(--muted); max-width: 54ch; line-height: 1.7; }
.section__header { margin-bottom: 3rem; }
.section__header--center { text-align: center; }
.section__header--center .section__sub { margin: 0 auto; }

/* === ABOUT === */
[data-section="about"] { padding: 5rem 0; background: var(--surface); }
/* The leaf accent sits past the photo's corner; clip it to the section (clip, never hidden) so it
   cannot widen a phone's layout viewport. */
[data-section="about"] { overflow-x: clip; }
.about__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__img-wrapper { position: relative; }
.about__img { border-radius: 48% 52% 42% 58% / 46% 44% 56% 54%; overflow: hidden; box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about__leaf-accent {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 130px; height: 130px;
  background: color-mix(in oklab, var(--accent) 20%, var(--background));
  clip-path: ellipse(52% 48% at 48% 52%); z-index: -1;
}
.about__content { display: flex; flex-direction: column; gap: 1.5rem; }
.about__content p { color: var(--text); line-height: 1.75; }
.about__bullets { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.about__bullets li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--step-0); color: var(--text); }
.about__bullets-icon { color: var(--accent); font-size: 1.1rem; margin-top: 0.1rem; flex-shrink: 0; }

/* === SERVICES === */
[data-section="services"] { padding: 5rem 0; background: color-mix(in oklab, var(--primary) 4%, var(--background)); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
[data-section="services"] [data-list] { display: contents; }
.service-card {
  background: var(--surface); border-radius: calc(var(--radius) * 2);
  padding: 2rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in oklab, var(--accent) 40%, var(--border)); }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  opacity: 0; transition: opacity 0.25s;
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: color-mix(in oklab, var(--accent) 15%, var(--background));
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.service-card__title { font-family: var(--font-display); font-size: var(--step-1); color: var(--primary); font-weight: 600; }
.service-card__sub { font-size: var(--step--1); color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.service-card__body { font-size: var(--step-0); color: var(--muted); line-height: 1.7; flex: 1; }
.service-card__price { font-family: var(--font-display); font-size: var(--step-1); color: var(--secondary); font-weight: 700; }
.service-card__link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--step--1); font-weight: 600; color: var(--accent); font-family: var(--font-sans); }
.service-card__link:hover { color: var(--primary); }

/* === SERVICE AREAS === */
[data-section="service_areas"] { padding: 4rem 0; background: var(--surface); }
.service-areas__chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
[data-section="service_areas"] [data-list] { display: contents; }
.area-chip {
  display: flex; align-items: center; gap: 0.5rem;
  background: color-mix(in oklab, var(--primary) 5%, var(--background));
  border: 1.5px solid var(--border); border-radius: 50px;
  padding: 0.5rem 1.1rem; font-size: var(--step--1); color: var(--primary); font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.area-chip:hover { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, var(--background)); }
.area-chip__icon { color: var(--accent); font-size: 0.9rem; }
.area-chip__note { color: var(--muted); font-size: 0.8em; }

/* === EMERGENCY CONTACT === */
[data-section="emergency_contact"] {
  background: var(--secondary); color: #fff;
  padding: 3.5rem 0; position: relative; overflow: hidden;
  color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
[data-section="emergency_contact"]::before {
  content: ''; position: absolute; right: -80px; top: -60px;
  width: 320px; height: 320px;
  background: color-mix(in oklab, var(--accent) 20%, transparent);
  clip-path: ellipse(55% 50% at 55% 45%); pointer-events: none;
}
[data-section="emergency_contact"]::after {
  content: ''; position: absolute; left: -60px; bottom: -50px;
  width: 260px; height: 260px;
  background: color-mix(in oklab, var(--primary) 30%, transparent);
  clip-path: ellipse(50% 55% at 45% 55%); pointer-events: none;
}
.emergency__layout {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1;
}
.emergency__content { display: flex; flex-direction: column; gap: 0.5rem; }
.emergency__headline { font-family: var(--font-display); font-size: var(--step-3); color: #fff; font-weight: 700; }
.emergency__subline { font-size: var(--step-0); color: rgba(255,255,255,0.8); }
.emergency__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.emergency__phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; color: var(--primary);
  padding: 0.8rem 1.8rem; border-radius: 50px;
  font-weight: 700; font-size: var(--step-1);
  font-family: var(--font-display);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.emergency__phone:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); color: var(--primary); }
.emergency__whatsapp {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35); padding: 0.75rem 1.4rem;
  border-radius: 50px; font-weight: 600; font-size: var(--step-0);
  font-family: var(--font-sans); transition: background 0.2s;
}
.emergency__whatsapp:hover { background: rgba(255,255,255,0.25); color: #fff; }
.emergency__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent); color: var(--primary);
  padding: 0.75rem 1.4rem; border-radius: 50px;
  font-weight: 700; font-size: var(--step-0);
  font-family: var(--font-sans); transition: background 0.2s;
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.emergency__cta:hover { background: #fff; }

/* === CERTIFICATIONS === */
[data-section="certifications"] { padding: 4.5rem 0; background: var(--background); }
.certs__grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-top: 2.5rem; }
[data-section="certifications"] [data-list] { display: contents; }
.cert-card {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: calc(var(--radius) * 2); padding: 1.75rem 2rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.75rem; text-align: center; min-width: 180px; max-width: 220px; flex: 1;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.cert-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 15%, transparent);
  transform: translateY(-3px);
}
.cert-card img { height: 60px; width: auto; object-fit: contain; }
.cert-card__name { font-family: var(--font-display); font-size: var(--step-0); color: var(--primary); font-weight: 600; }
.cert-card__issuer { font-size: var(--step--1); color: var(--accent); font-weight: 600; }
.cert-card__note { font-size: var(--step--1); color: var(--muted); }

/* === @property AURORA — QUOTE REQUEST CTA === */
@property --hue { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
[data-section="quote_request"] {
  background: var(--theme-dark-band); position: relative; overflow: hidden; padding: 5rem 0;
}
.quote-aurora {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.07;
  background: conic-gradient(from var(--hue) at 70% 50%, var(--accent), var(--secondary), var(--primary), var(--accent));
}
@media (prefers-reduced-motion: no-preference) {
  .quote-aurora { animation: aurora-spin 16s linear infinite; }
  @keyframes aurora-spin { to { --hue: 360deg; } }
}
.quote__layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
  position: relative; z-index: 1;
}
.quote__intro { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 1rem; }
.quote__intro .section__eyebrow { color: var(--accent); }
.quote__intro h2 { color: #fff; }
.quote__intro p { color: rgba(232,245,235,0.75); font-size: var(--step-0); line-height: 1.75; }
.quote__features { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.5rem; }
.quote__feat-item { display: flex; align-items: center; gap: 0.75rem; font-size: var(--step-0); color: rgba(232,245,235,0.85); }
.quote__feat-icon { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; }
.quote-form {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: calc(var(--radius) * 2.5); padding: 2.5rem;
  backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: var(--step--1); font-weight: 600; color: rgba(232,245,235,0.85); font-family: var(--font-sans); }
.form-input {
  width: 100%; padding: 0.8rem 1.1rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); color: #fff; font-size: var(--step-0);
  font-family: var(--font-sans); transition: border-color 0.2s, background 0.2s;
}
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.12); }
.form-input option { color: var(--text); background: var(--surface); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  width: 100%; padding: 1rem; background: var(--accent); color: var(--primary);
  border: none; border-radius: 50px; font-weight: 700; font-size: var(--step-0);
  font-family: var(--font-display); cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px color-mix(in oklab, var(--accent) 40%, transparent);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.btn-submit:hover { background: #fff; transform: translateY(-2px); }

/* === TESTIMONIALS === */
[data-section="testimonials"] { padding: 5rem 0; background: var(--surface); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
[data-section="testimonials"] [data-list] { display: contents; }
.testimonial-card {
  background: var(--background); border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2.5); padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem; position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-family: var(--font-display); font-size: 4rem;
  color: var(--accent); line-height: 0.8;
  position: absolute; top: 1.5rem; right: 1.5rem; opacity: 0.4;
}
.testimonial-card__body { font-size: var(--step-0); color: var(--text); line-height: 1.75; flex: 1; }
.testimonial-card__author { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: color-mix(in oklab, var(--primary) 10%, var(--background));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--secondary); font-size: 1rem;
}
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__name { font-family: var(--font-display); font-weight: 600; color: var(--primary); font-size: var(--step-0); }
.testimonial-card__role { font-size: var(--step--1); color: var(--muted); }
.testimonial-card__stars { color: var(--accent); font-size: 0.9rem; letter-spacing: 0.1em; }

/* === OPENING HOURS === */
[data-section="opening_hours"] { padding: 4rem 0; background: color-mix(in oklab, var(--primary) 4%, var(--background)); }
.hours__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.hours__table-wrap { max-width: 480px; }
[data-section="opening_hours"] [data-list] { display: contents; }
.hours__row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border); padding: 0.85rem 0.5rem;
  transition: background 0.15s; border-radius: var(--radius);
}
.hours__row:hover { background: color-mix(in oklab, var(--accent) 6%, var(--background)); }
.hours__row.today-row {
  background: color-mix(in oklab, var(--accent) 12%, var(--background));
  border-color: color-mix(in oklab, var(--accent) 30%, var(--border));
}
.hours__day { font-weight: 600; color: var(--primary); font-family: var(--font-sans); display: flex; align-items: center; gap: 0.4rem; }
.hours__time { color: var(--muted); font-family: var(--font-sans); text-align: right; }
.hours__row.today-row .hours__day { color: var(--secondary); }
.hours__row.today-row .hours__time { color: var(--accent); font-weight: 600; }
.today-badge {
  background: var(--accent); color: var(--primary);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.15rem 0.5rem; border-radius: 50px; display: inline-block;
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.hours__notice {
  background: color-mix(in oklab, var(--accent) 15%, var(--background));
  border: 1px solid color-mix(in oklab, var(--accent) 25%, var(--border));
  border-radius: calc(var(--radius) * 2); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem; align-self: start;
}
.hours__notice h4 { color: var(--primary); font-family: var(--font-display); }
.hours__notice p { color: var(--muted); font-size: var(--step-0); }

/* === CONTACT === */
[data-section="contact"] { padding: 5rem 0; background: var(--surface); }
.contact__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact__info-items { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.contact__info-row {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 1rem 1.25rem;
  background: color-mix(in oklab, var(--primary) 4%, var(--background));
  border-radius: var(--radius); border: 1px solid var(--border);
}
.contact__info-icon { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact__info-label { font-size: var(--step--1); color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; display: block; }
.contact__info-value { font-size: var(--step-0); color: var(--text); font-weight: 500; display: block; margin-top: 0.15rem; }
.contact__map-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--step--1); color: var(--accent); font-weight: 600; margin-top: 0.35rem; }
.contact__form-card {
  background: var(--background); border: 1.5px solid var(--border);
  border-radius: calc(var(--radius) * 2.5); padding: 2.5rem; box-shadow: var(--shadow-md);
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-form .field-group { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form label { font-size: var(--step--1); font-weight: 600; color: var(--text); font-family: var(--font-sans); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.8rem 1rem;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: var(--step-0); font-family: var(--font-sans);
  color: var(--text); transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-submit { font-family: var(--font-display); }

/* === FAQS === */
[data-section="faqs"] { padding: 5rem 0; background: var(--background); }
.faqs__list { display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; }
[data-section="faqs"] [data-list] { display: contents; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0.5rem; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 600;
  color: var(--primary); text-align: left; gap: 1rem;
}
.faq-trigger:hover { color: var(--secondary); }
.faq-icon { font-size: 1.3rem; color: var(--accent); flex-shrink: 0; transition: transform 0.3s; }
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 0.5rem; }
.faq-body-inner { padding-bottom: 1.25rem; font-size: var(--step-0); color: var(--muted); line-height: 1.75; }

/* === FOOTER === */
[data-section="footer"] {
  background: var(--theme-dark-band); color: #e8f5eb;
  padding: 4rem 0 1.5rem; border-top: 3px solid var(--secondary);
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__brand img { height: 48px; width: auto; }
.footer__brand-tagline { font-size: var(--step-0); color: rgba(232,245,235,0.65); line-height: 1.65; max-width: 30ch; }
.footer__col h4 {
  font-family: var(--font-sans); font-size: var(--step--1); font-weight: 700;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.1rem;
}
.footer__col a {
  display: flex; align-items: center; gap: 0.4rem;
  color: rgba(232,245,235,0.65); font-size: var(--step--1); margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--accent); }
.footer__phone {
  font-family: var(--font-display) !important; font-size: var(--step-1) !important;
  font-weight: 700 !important; color: var(--accent) !important; margin-bottom: 0.75rem !important;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: var(--step--1); color: rgba(232,245,235,0.4);
}
.footer__cert-strip { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.footer__cert-badge {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  padding: 0.25rem 0.65rem; border-radius: 50px; font-size: 0.75rem;
  color: rgba(232,245,235,0.55);
}

/* === MOBILE CTA BAR === */
.mobile-cta-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--primary); color: #fff;
  padding: 0.75rem 1rem; box-shadow: 0 -4px 20px rgba(0,0,0,0.2); gap: 0.5rem;
}
.mobile-cta-bar.visible { display: flex; }
.mobile-cta-bar__call {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: #fff; color: var(--primary); border-radius: 50px;
  padding: 0.7rem 1rem; font-weight: 700; font-size: var(--step-0);
  font-family: var(--font-display);
}
.mobile-cta-bar__quote {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: var(--accent); color: var(--primary); border-radius: 50px;
  padding: 0.7rem 1rem; font-weight: 700; font-size: var(--step-0); font-family: var(--font-sans);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}

/* === data-list grid fix === */
[data-list] { display: contents; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero__layout { grid-template-columns: 1fr; gap: 2rem; }
  .hero__visual { order: -1; }
  .hero__img-wrapper { max-width: 420px; margin: 0 auto; aspect-ratio: 4/3; border-radius: 52% 48% 44% 56% / 50% 52% 48% 50%; }
  .about__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .quote__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hours__layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav__toggle { display: block; }
  .services__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .emergency__layout { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .hero__trust { flex-direction: column; gap: 0.6rem; }
  .mobile-cta-bar.visible { display: flex; }
  .header__emergency { display: none; }
}
@media (max-width: 480px) {
  .stats-band__grid { grid-template-columns: 1fr 1fr; }
  .certs__grid { flex-direction: column; align-items: center; }
  .service-areas__chips { gap: 0.5rem; }
}

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


/* __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; }
