/* ==========================================================================
   Components — buttons, badges, header, footer, cards, forms, shared blocks
   ========================================================================== */

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-base);
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background var(--t-fast) var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--color-accent); }
.btn--accent:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-accent); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--color-heading);
  border-color: var(--color-border);
}
.btn--ghost:hover { color: var(--color-heading); border-color: var(--color-primary); background: var(--green-50); }

.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--on-dark:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn--lg { padding: 1.15rem 2rem; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.btn .ic { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Badges / trust pills / rating chip
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--green-100);
  color: var(--color-primary-dark);
  border: 1px solid transparent;
}
.badge .ic { width: 18px; height: 18px; flex-shrink: 0; }
.badge--accent { background: var(--orange-100); color: var(--orange-800); }
.badge--ink { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.18); }
.badge--outline { background: transparent; border-color: var(--color-border); color: var(--color-heading); }

.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.45rem 0.9rem;
  background: var(--paper);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-heading);
}
.rating-chip .stars { color: #f5a623; letter-spacing: 1px; font-size: 0.95rem; }
.rating-chip strong { font-family: var(--font-display); }
.rating-chip a { color: var(--color-text-muted); }

/* Fractional star rating for aggregate scores (e.g. 4.6 of 5) */
.stars-frac { position: relative; display: inline-block; font-size: 0.95rem; line-height: 1; letter-spacing: 1px; }
.stars-frac__bg { color: rgba(140,140,140,0.45); }
.stars-frac__fg { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: #f5a623; }

/* --------------------------------------------------------------------------
   Top utility bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--color-ink-deep);
  color: var(--color-text-invert-muted);
  font-size: var(--fs-sm);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 40px;
  padding-block: 0.4rem;
}
.topbar__list { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: var(--space-2); }
.topbar__item .ic { width: 15px; height: 15px; color: var(--green-300); }
.topbar a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; min-height: 24px; }
.topbar a:hover { color: var(--orange-200); }
@media (max-width: 720px) { .topbar__hide-sm { display: none; } }

/* --------------------------------------------------------------------------
   Emergency storm bar
   -------------------------------------------------------------------------- */
.stormbar {
  background: linear-gradient(90deg, var(--orange-800), var(--orange-700));
  color: #fff;
  text-align: center;
}
.stormbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding: 0.6rem var(--gutter);
  font-weight: 600;
  font-size: var(--fs-sm);
}
.stormbar .ic { width: 18px; height: 18px; animation: pulse 2s infinite; }
.stormbar a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .stormbar .ic { animation: none; } }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 72px;
  padding-block: 0.5rem;
}

.brand { display: inline-flex; align-items: center; gap: var(--space-3); }
.brand__logo { height: 52px; width: auto; }
.brand__img { height: 58px; width: auto; display: block; }
@media (max-width: 600px) { .brand__img { height: 46px; } }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: var(--ls-tight);
  color: var(--ink-800);
  text-transform: uppercase;
}
.brand__name .accent { color: var(--orange-600); }
.brand__tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 700;
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav__list { display: flex; align-items: center; gap: var(--space-1); }
.nav__link {
  display: block;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
}
.nav__link:hover { color: var(--green-700); background: var(--green-50); }
.nav__link[aria-current="page"] { color: var(--green-800); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.35rem;
  height: 2px;
  background: var(--orange-600);
  border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: var(--space-3); }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink-800);
  white-space: nowrap;
}
.header__phone .ic { width: 20px; height: 20px; color: var(--green-700); }
.header__phone:hover { color: var(--color-accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  /* backdrop-filter on the sticky header establishes a containing block for
     fixed descendants, which traps the mobile drawer inside the ~128px header
     instead of the viewport (only the first link shows). Drop the blur on mobile
     so the fixed .nav resolves against the viewport and fills the screen.
     !important beats the higher-specificity .v2 .site-header.is-stuck rule in
     redesign.css regardless of load order. Header stays legible on its opaque bg. */
  .site-header { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 6rem var(--gutter) 2rem;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    visibility: hidden; /* removes off-screen links from tab order + a11y tree when closed */
    transition: transform var(--t) var(--ease), visibility var(--t) var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__link { padding: 0.95rem 0.5rem; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: var(--space-4); }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(22,18,47,0.5);
    opacity: 0; visibility: hidden;
    transition: opacity var(--t) var(--ease);
    z-index: calc(var(--z-header) - 1);
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (max-width: 980px) {
  .header__phone span { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--color-ink-deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
/* Parallax layers: photo (if present) over the treeline fallback */
.hero__treeline {
  position: absolute;
  left: 0; right: 0; top: -12%;
  width: 100%; height: 124%;
  z-index: -3;
  will-change: transform;
}
.hero__photo {
  position: absolute;
  left: 0; right: 0; top: -12%;
  height: 124%;
  background-image: url('../assets/photos/hero-arborist.jpg');
  background-size: cover;
  background-position: 68% 30%;
  background-repeat: no-repeat;
  z-index: -2;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero__photo, .hero__treeline { transform: none !important; top: 0; height: 100%; }
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Only the very bottom EDGE darkens to a deep-forest tone — a thin feather that
     matches the cut section's top feather so the seam line between the two photos is
     hidden, without creating a tall dark band that would read as an empty gap. */
  background:
    linear-gradient(180deg,
      rgba(22,18,47,0.60) 0%,
      rgba(22,18,47,0.72) 62%,
      rgba(16,40,24,0.78) 90%,
      rgba(11,24,15,0.95) 100%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  gap: var(--space-6);
  padding-block: clamp(3.5rem, 3rem + 6vw, 8rem);
  max-width: 880px;
}
.hero__eyebrow { color: var(--orange-200); }
.hero h1 {
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.hero h1 .hl { color: var(--green-300); }
.hero__sub {
  font-size: var(--fs-lg);
  color: #e7e4f1;
  max-width: 620px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.hero__foot {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

/* --------------------------------------------------------------------------
   "The cut" — scroll-scrubbed frame sequence (a tall section with a pinned stage;
   js/main.js swaps the frame image based on scroll progress)
   -------------------------------------------------------------------------- */
.cutscroll { position: relative; height: 400vh; background: var(--color-ink-deep); }
.cutscroll__stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate;
}
.cutscroll__frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 45%; z-index: 0;
  background: var(--color-ink-deep);
  backface-visibility: hidden; transform: translateZ(0);
}
/* A THIN dark feather at the very top hides the seam against the hero's matching
   bottom edge, then clears fast so the canopy is visible almost immediately — no
   tall dark band, no empty gap. Darkens again at the bottom for caption legibility. */
.cutscroll__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(11,24,15,0.96) 0%,
    rgba(11,24,15,0.52) 4%,
    rgba(13,26,16,0.14) 9%,
    rgba(15,12,32,0.02) 17%,
    rgba(15,12,32,0.00) 46%,
    rgba(13,46,25,0.42) 73%,
    rgba(11,40,22,0.90) 100%);
}
.cutscroll__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: #fff; padding-bottom: clamp(2rem, 9vh, 5.5rem); }
.cutscroll__caption .eyebrow { color: var(--orange-200); }
.cutscroll__caption h2 { color: #fff; max-width: 16ch; margin: 0 0 var(--space-3); }
.cutscroll__sub { color: #e7e3f4; max-width: 48ch; margin: 0; }
@media (max-width: 700px) {
  .cutscroll { height: 280vh; }
  /* Lift the caption clear of the fixed mobile call bar so nothing hides behind it */
  .cutscroll__caption { padding-bottom: calc(76px + clamp(1.5rem, 5vh, 3rem)); }
  /* Hard caps so the copy always wraps inside the viewport (no horizontal cut-off) */
  .cutscroll__caption h2 { font-size: 1.9rem; max-width: 15ch; }
  .cutscroll__sub { max-width: 34ch; }
}
@media (prefers-reduced-motion: reduce) {
  .cutscroll { height: auto; }
  .cutscroll__stage { position: relative; height: 72vh; }
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-5);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: center;
  text-align: left;
}
.trust-item .ic {
  width: 34px; height: 34px;
  color: var(--green-700);
  flex-shrink: 0;
}
.trust-item__title { font-family: var(--font-display); font-weight: 800; color: var(--ink-800); font-size: var(--fs-base); line-height: 1.1; }
.trust-item__sub { font-size: var(--fs-sm); color: var(--color-text-muted); }
@media (max-width: 860px) {
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-4); }
}

/* --------------------------------------------------------------------------
   Cards / grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-300); }

/* Service card */
.service-card { display: flex; flex-direction: column; gap: var(--space-3); position: relative; }
.service-card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--green-100);
  color: var(--green-700);
  margin-bottom: var(--space-1);
}
.service-card__icon .ic { width: 30px; height: 30px; }
.service-card h3 { font-size: var(--fs-lg); }
.service-card p { font-size: var(--fs-base); color: var(--color-text-muted); margin-bottom: auto; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  color: var(--green-700);
  margin-top: var(--space-2);
}
.service-card__link .ic { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.service-card:hover .service-card__link .ic { transform: translateX(4px); }
.service-card--accent .service-card__icon { background: var(--orange-100); color: var(--orange-700); }

/* Feature / why-us item */
.feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.feature__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--green-300);
}
.feature__icon .ic { width: 26px; height: 26px; }
.feature h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }

/* Step / process */
.step { position: relative; padding-top: var(--space-5); }
.step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--green-300);
  -webkit-text-stroke: 1px var(--green-600);
  margin-bottom: var(--space-3);
}
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }

/* Stat */
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem);
  line-height: 1;
  color: var(--orange-500);
  letter-spacing: -0.03em;
}
.stat__label { font-size: var(--fs-sm); color: var(--color-text-invert-muted); margin-top: var(--space-2); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.review-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
}
.review-card__stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; }
.review-card__text { color: var(--slate-700); font-size: var(--fs-base); }
.review-card__author { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.review-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800;
}
.review-card__name { font-weight: 700; color: var(--ink-800); font-size: var(--fs-base); }
.review-card__meta { font-size: var(--fs-sm); color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.faq-item[open] { border-color: var(--green-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--ink-800);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--green-700);
  transition: transform var(--t) var(--ease);
}
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item__body { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-muted); }
.faq-item__body p + p { margin-top: var(--space-3); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: var(--space-4); }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink-800);
  margin-bottom: var(--space-2);
}
.field .req { color: var(--orange-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--sand-50);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  color: var(--slate-800);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(28,106,56,0.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: var(--fs-sm); color: var(--color-text-muted); margin-top: var(--space-3); }
.form-status { margin-top: var(--space-4); padding: var(--space-4); border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: var(--green-100); color: var(--green-800); }
.form-status.is-err { display: block; background: var(--orange-100); color: var(--orange-800); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-800), var(--green-700) 55%, var(--green-600));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin-inline: auto; }
.cta-band__actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; margin-top: var(--space-5); }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-ink-deep);
  color: var(--color-text-invert-muted);
  padding-block: var(--space-9) var(--space-6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-7) var(--space-6);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: var(--space-3); font-size: var(--fs-sm); color: rgba(255,255,255,0.72); }
/* Real logo on a clean light chip so the full-color brand reads on the dark footer */
.footer__logo { display: inline-block; background: #fff; padding: 9px 14px; border-radius: 12px; line-height: 0; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.footer__logo img { height: 46px; width: auto; display: block; }
/* BUGFIX: rule was .footer h3 but the element is .site-footer, so the white color
   never applied and the headings rendered dark-on-dark (unreadable). */
.site-footer h3 { color: #fff; font-size: var(--fs-base); margin-bottom: var(--space-4); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }
.footer__links li { margin-bottom: var(--space-2); }
.footer__links a { color: rgba(255,255,255,0.72); font-size: var(--fs-sm); }
.footer__links a:hover { color: var(--orange-200); }
.footer__contact { display: flex; flex-direction: column; gap: var(--space-3); font-size: var(--fs-sm); }
.footer__contact a { color: #fff; }
.footer__contact .row { display: flex; gap: var(--space-3); align-items: flex-start; }
.footer__contact .ic { width: 18px; height: 18px; color: var(--green-300); flex-shrink: 0; margin-top: 2px; }
.footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--fs-sm);
}
.footer__bottom a { color: var(--color-text-invert-muted); }
.footer__badges { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Sticky mobile call bar
   -------------------------------------------------------------------------- */
.mobile-callbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  display: none;
  gap: 1px;
  background: var(--line);
  box-shadow: 0 -6px 20px rgba(22,18,47,0.16);
}
.mobile-callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}
.mobile-callbar a .ic { width: 18px; height: 18px; }
.mobile-callbar__call { background: var(--green-700); }
.mobile-callbar__quote { background: var(--color-accent); }
@media (max-width: 720px) {
  .mobile-callbar { display: flex; }
  body { padding-bottom: 56px; }
}

/* --------------------------------------------------------------------------
   Breadcrumb / page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--color-ink-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 140% at 85% 0%, rgba(28,106,56,0.55), transparent 55%);
  z-index: -1;
}
.page-hero__inner { padding-block: clamp(2.75rem, 2rem + 4vw, 5rem); max-width: 760px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #ddd9ec; font-size: var(--fs-lg); margin-top: var(--space-3); }
.breadcrumb { display: flex; gap: var(--space-2); flex-wrap: wrap; font-size: var(--fs-sm); margin-bottom: var(--space-4); color: var(--color-text-invert-muted); }
.breadcrumb a { color: var(--green-300); }
.breadcrumb span[aria-current] { color: #fff; }

/* --------------------------------------------------------------------------
   Misc helpers
   -------------------------------------------------------------------------- */
.check-list { display: grid; gap: var(--space-3); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.check-list .ic { width: 22px; height: 22px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }
.section--ink .check-list .ic { color: var(--green-300); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.split--media-right { direction: ltr; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--green-100);
  aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.placeholder-img {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, var(--green-100), var(--green-100) 18px, var(--green-50) 18px, var(--green-50) 36px);
  color: var(--green-700);
}
.placeholder-img span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  background: rgba(255,255,255,0.85);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  text-align: center;
}

.pill-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pill {
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid var(--green-100);
}
.section--ink .pill { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.16); }
