/* ============================================================
   Treemate — style.css
   Mobile-first · Inter font · White header · Anthracite accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, sans-serif;

  --dark:       #383e42;
  --dark-deep:  #2a2e31;
  --green:      #4f9133;
  --green-mid:  #3d7228;
  --green-600:  #3d7228;
  --green-700:  #326020;
  --green-800:  #284e19;
  --amber:      #e8a020;
  --amber-dark: #c47a10;

  --paper:      #ffffff;
  --bg-alt:     #f4f4f2;
  --ink:        #1a1a1a;
  --ink-soft:   #5a5a5a;
  --ink-muted:  #8a8a8a;
  --border:     rgba(0,0,0,.10);

  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 2px 8px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
}

/* ── Reset / base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}
ul { list-style: none; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  width: min(100%, 1160px);
  margin-inline: auto;
  padding-inline: 20px;
}
section { padding: 56px 0; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-mid); border-color: var(--green-mid); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn-outline-white { border-color: rgba(255,255,255,.65); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 64px;
  max-width: 1160px;
  margin-inline: auto;
  gap: 16px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; }

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .22s, opacity .18s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav drawer */
.site-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 49;
}
.site-nav.open { display: block; }
.site-nav ul { display: flex; flex-direction: column; padding: 12px 0; }
.site-nav a {
  display: block;
  padding: 13px 24px;
  color: var(--ink);
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: color .15s, background .15s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--dark); background: rgba(0,0,0,.05); text-decoration: none; }
.site-nav ul li:last-child a { border-bottom: none; }

/* ── Section text helpers ──────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: 10px;
}
.section-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 14px; text-wrap: balance; }
.section-sub { font-size: 1.02rem; color: var(--ink-soft); max-width: 640px; margin-bottom: 36px; }

/* ── Hero (dark text-only) ─────────────────────────────────── */
.hero-text {
  background: var(--dark);
  padding: 56px 0 64px;
}
.hero-intro-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.hero-intro-text { flex: 1; }
.hero-text h1 { color: #fff; font-size: 2rem; font-weight: 800; margin-bottom: 14px; text-wrap: balance; }
.hero-text p { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 560px; margin-bottom: 0; }
.hero-intro-cta { flex-shrink: 0; flex-direction: column; align-items: stretch; min-width: 200px; }

/* ── Featured photo ────────────────────────────────────────── */
.featured-photo { width: 100%; height: 92vh; overflow: hidden; }
.hero-split {
  background: var(--dark);
  display: flex;
  align-items: stretch;
  min-height: 85vh;
}
.hero-split-video {
  flex: 0 0 42%;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  gap: 20px;
}
.hero-split-video video {
  width: auto;
  height: auto;
  max-height: 72vh;
  max-width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.hero-split-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
}
.hero-split-text h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 28px;
}
.hero-split-text p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  margin-bottom: 0;
}
.hero-split-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
@media (max-width: 860px) {
  .hero-split { flex-direction: column; min-height: auto; }
  .hero-split-video { flex: 0 0 auto; padding: 32px 24px 0; }
  .hero-split-video video { max-height: 55vh; margin: 0 auto; }
  .hero-split-text { padding: 32px 24px 48px; }
  .hero-split-text h1 { font-size: 1.9rem; }
  .hero-split-btns { flex-direction: column; }
  .hero-split-btns .btn { width: 100%; text-align: center; }
}
.featured-photo img, .featured-photo video { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; display: block; }

/* ── Values strip ──────────────────────────────────────────── */
.values-strip { background: #f2f4f5; padding: 64px 0; }
.values-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
  margin-top: 8px;
}
.value-item { border-top: 3px solid var(--green-700, #4f9133); padding-top: 18px; }
.value-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.value-item p { font-size: .95rem; line-height: 1.65; color: var(--ink-soft); }
.value-card {
  text-align: center;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--green);
}
.value-icon svg { width: 44px; height: 44px; }
.value-card h3 {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.value-card p { font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }

/* ── Image placeholder ─────────────────────────────────────── */
.img-placeholder {
  width: 100%;
  height: 220px;
  background: #d1d8dc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 600;
  color: #7a8a94;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.img-placeholder::after { content: attr(data-label) " · Photo coming soon"; }

/* ── Trusted / Council logos ───────────────────────────────── */
.trusted { background: #fff; padding: 40px 0 44px; border-top: 1px solid var(--border); }
.trusted .label {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.council-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}
.council-logos li { display: flex; align-items: center; justify-content: center; padding: 10px 20px; min-width: 100px; }
.council-logos img { max-height: 52px; max-width: 150px; width: auto; object-fit: contain; opacity: .75; transition: opacity .18s; }
.council-logos img[src*="mount-barker"] { height: 60px; max-height: 60px; max-width: 260px; width: auto; opacity: .75; }
.council-logos img:hover { opacity: 1; }
.council-name { display: none; font-size: .85rem; color: var(--ink-soft); font-weight: 500; }

/* ── Service cards ─────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 8px; }
.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.card-body p { font-size: .92rem; color: var(--ink-soft); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.card-link { font-size: .88rem; font-weight: 600; color: var(--green); }

/* ── Secondary services ────────────────────────────────────── */
.section-alt { background: var(--paper); }
.secondary-services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.secondary-svc {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.secondary-svc:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; }
.svc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  color: var(--green);
}
.svc-icon svg { width: 44px; height: 44px; }
.secondary-svc h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.secondary-svc p { font-size: .88rem; color: var(--ink-soft); line-height: 1.55; flex: 1; margin-bottom: 12px; }
.svc-link { font-size: .85rem; font-weight: 600; color: var(--green); }

/* ── Guarantee (dark accent) ───────────────────────────────── */
.guarantee { background: var(--dark); color: #fff; padding: 64px 0; }
.guarantee-inner { display: flex; gap: 56px; align-items: flex-start; flex-wrap: wrap; }
.guarantee-inner > div:first-child { flex: 0 0 280px; }
.guarantee-inner > div:last-child { flex: 1; min-width: 280px; }
.guarantee .eyebrow { color: rgba(255,255,255,.55); }
.guarantee .section-title { color: #fff; }
.guarantee h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 16px; text-wrap: balance; }
.guarantee p { font-size: 1.15rem; line-height: 1.7; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 10px; }
.guarantee .small { font-size: .82rem; color: rgba(255,255,255,.50); }
.guarantee strong { color: #fff; }

/* Values section heading */
.values-strip .section-title { margin-bottom: 8px; }

/* ── Recent work ───────────────────────────────────────────── */
.work-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 8px; }
.ba-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-item img { width: 100%; height: 240px; object-fit: cover; display: block; }
.ba-item figcaption { padding: 14px 16px; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; background: var(--paper); }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials { background: var(--paper); }
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 8px; }
blockquote { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); font-size: .97rem; color: var(--ink); line-height: 1.6; }
.stars { color: var(--amber); font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
cite { display: block; margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); font-style: normal; }
cite::before { content: "— "; }

/* ── CTA band (dark accent) ────────────────────────────────── */
.cta-band { background: var(--dark); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { font-size: 1.65rem; font-weight: 800; color: #fff; margin-bottom: 14px; text-wrap: balance; }
.cta-band .eyebrow { color: rgba(255,255,255,.55); }
.cta-band p { color: rgba(255,255,255,.80); font-size: 1.05rem; margin-bottom: 28px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.65); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--dark-deep); color: rgba(255,255,255,.75); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.site-footer p { font-size: .9rem; line-height: 1.65; color: rgba(255,255,255,.65); }
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.70); font-size: .9rem; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 18px 0; font-size: .8rem; color: rgba(255,255,255,.40); text-align: center; }

/* ── Mobile contact bar ────────────────────────────────────── */
.contact-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
.contact-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px 12px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  gap: 3px;
  transition: color .15s, background .15s;
}
.contact-bar a:hover { color: var(--green); background: rgba(79,145,51,.05); text-decoration: none; }
.contact-bar .ico { font-size: 1.3rem; line-height: 1; }
.contact-bar a.quote { background: var(--green); color: #fff; }
.contact-bar a.quote:hover { background: var(--green-mid); color: #fff; }

/* ── Combined values in blue-tree section ─────────────────── */
.values-list { list-style: none; margin: 0 0 4px; padding: 0; }
.values-list li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 1.02rem; line-height: 1.55; color: var(--ink-soft); max-width: 560px; }
.values-list li:last-child { border-bottom: none; }
.values-list strong { color: var(--ink); }
.blue-tree-note { font-size: .95rem; color: var(--ink-soft); max-width: 560px; margin-top: 18px; }

/* ── More-services text strip ──────────────────────────────── */
.more-strip { padding: 30px 0; }
.link-strip-wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; }
.link-strip-label {
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-soft);
}
.link-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; }
.link-strip a { font-weight: 600; white-space: nowrap; }
.link-strip a::after { content: " \2192"; }

/* ── Utility ───────────────────────────────────────────────── */
.trust-strip { display: none; }

/* ── 540px+ ────────────────────────────────────────────────── */
@media (min-width: 540px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── 860px+ (desktop) ──────────────────────────────────────── */
@media (min-width: 860px) {
  section { padding: 72px 0; }

  .logo img { height: 56px; }
  .nav-toggle { display: none; }

  .site-nav {
    display: block !important;
    position: static;
    box-shadow: none;
    background: none;
    border: none;
  }
  .site-nav ul { flex-direction: row; align-items: center; gap: 2px; padding: 0; }
  .site-nav a {
    border-bottom: none;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--ink);
    font-weight: 600;
    font-size: .96rem;
  }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(0,0,0,.06); color: var(--dark); }

  .hero-text { padding: 80px 0 88px; }
  .hero-text h1 { font-size: 2.8rem; }
  .hero-intro-inner { flex-direction: row; align-items: center; gap: 48px; }
  .hero-intro-cta { flex-direction: row; align-items: center; min-width: auto; }

  .values-row { grid-template-columns: repeat(4, 1fr); gap: 40px; }

  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.four { grid-template-columns: repeat(4, 1fr); }

  .secondary-services { grid-template-columns: repeat(4, 1fr); }

  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }

  .contact-bar { display: none; }

  .section-title { font-size: 2rem; }
  .cta-band h2 { font-size: 2rem; }
  .guarantee h2 { font-size: 2rem; }
}

/* ── 1100px+ ───────────────────────────────────────────────── */
@media (min-width: 1100px) {
  .header-inner { padding-inline: 32px; }
  .hero-text h1 { font-size: 3.1rem; }
}

/* ── Before & After ─────────────────────────────────────────── */
.before-after-preview {
  background: #fff;
  padding: 64px 0 72px;
  border-top: 1px solid var(--border);
}
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 10px;
  overflow: hidden;
}
.ba-wrap {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.ba-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ba-wrap:hover img { transform: scale(1.03); }
.ba-wrap--placeholder {
  background: #d1d8dc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-ph-inner {
  font-size: .75rem;
  font-weight: 600;
  color: #7a8a94;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ba-label {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.ba-label--after { background: rgba(79,145,51,.85); }
.ba-cta {
  text-align: center;
  margin-top: 40px;
}
.btn-outline-dark {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid var(--dark);
  color: var(--dark);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline-dark:hover {
  background: #fff;
  color: #fff;
}
@media (min-width: 860px) {
  .ba-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ── Before/After full page ─────────────────────────────────── */
.ba-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0;
}
@media (min-width: 860px) {
  .ba-full-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ── Blue Tree caption overlay ──────────────────────────────── */
.featured-photo { position: relative; }
.blue-tree-caption {
  color: #2e94f7;
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(46,148,247,.3);
  text-align: center;
  transition: background .2s;
  z-index: 10;
}
.blue-tree-caption:hover {
  color: #7dd4fc;
}

/* ── Reviews marquee ────────────────────────────────────────── */
.testimonials { background: #fff; padding: 64px 0; border-top: 1px solid var(--border); }
.marquee-outer {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  width: 300px;
  flex-shrink: 0;
  text-align: left;
  margin: 0;
}
.marquee-card p {
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.55;
  margin: 8px 0 14px;
}
.marquee-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink-muted);
}
.marquee-card .stars { color: #f5a623; font-size: 1rem; letter-spacing: 1px; }

/* Google reviews button */
.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.btn-google-reviews:hover {
  border-color: #4285F4;
  box-shadow: 0 2px 8px rgba(66,133,244,.15);
  color: var(--ink);
}

/* ── Google rating display ──────────────────────────────────── */
.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 1rem;
}
.gr-stars { color: #f5a623; font-size: 1.2rem; letter-spacing: 2px; }
.gr-score { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.gr-label { color: var(--ink-muted); font-size: .95rem; }

/* ── Photo hero ────────────────────────────────────────────── */
.hero-photo { position: relative; min-height: 85vh; background: var(--dark); overflow: hidden; }
.hero-photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
  display: block;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,18,13,.85) 0%, rgba(8,18,13,.38) 45%, rgba(8,18,13,.08) 75%);
}
.hero-photo-overlay {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 85vh;
  max-width: 1160px; margin: 0 auto;
  padding: 60px 32px 72px;
}
.hero-photo-overlay h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800; line-height: 1.1;
  color: #fff; margin-bottom: 20px;
  max-width: 640px; text-wrap: balance;
}
.hero-photo-overlay p {
  font-size: 1.15rem; line-height: 1.7;
  color: rgba(255,255,255,.85);
  max-width: 560px; margin-bottom: 0;
}
.hero-photo-overlay .hero-trust {
  margin-top: 20px;
  font-size: .92rem;
  color: rgba(255,255,255,.72);
  letter-spacing: .02em;
}
@media (max-width: 860px) {
  .hero-photo, .hero-photo-overlay { min-height: 88vh; }
  .hero-photo-overlay { padding: 40px 20px 40px; }
  .hero-photo-overlay h1 { font-size: 1.8rem; margin-bottom: 14px; }
  .hero-photo-overlay p { font-size: 1rem; line-height: 1.6; }
  .hero-photo-overlay .hero-trust { margin-top: 14px; font-size: .85rem; }
}

/* ── Blue Tree band ────────────────────────────────────────── */
.blue-tree-band {
  background: var(--dark);
  padding: 64px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.blue-tree-band video {
  max-height: 70vh; max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  display: block;
}

/* ── Blue Tree story section ───────────────────────────────── */
.blue-tree-story { background: var(--paper); padding: 88px 0; }
.blue-tree-grid { display: flex; align-items: center; gap: 64px; }
.blue-tree-media { flex: 0 0 38%; }
.blue-tree-media img {
  width: 100%; display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.blue-tree-text { flex: 1; }
.blue-tree-title {
  color: #1e40d8;
  font-size: 1.75rem;
  font-weight: 800; line-height: 1.2;
  margin-bottom: 14px; text-wrap: balance;
}
.blue-tree-text p { color: var(--ink-soft); font-size: 1.1rem; line-height: 1.7; max-width: 560px; margin-bottom: 16px; }
.blue-tree-text .hero-split-btns { margin-top: 28px; }
.btn-bluetree { background: var(--green); color: #fff; }
.btn-bluetree:hover { background: var(--green-mid); color: #fff; }
@media (max-width: 860px) {
  .blue-tree-story { padding: 56px 0; }
  .blue-tree-grid { flex-direction: column; gap: 36px; }
  .blue-tree-media { flex: 0 0 auto; width: 100%; max-width: 400px; margin: 0 auto; }
}

/* ── Blue Tree inline carousel (article pages) ─────────────── */
.bt-inline { max-width: 440px; margin: 0 auto; }
.bt-inline .bt-stage {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  background: #232624;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.bt-inline .bt-stage video { width:100%; height:100%; object-fit: contain; display:block; }
.bt-inline .bt-stage img { width:100%; height:100%; object-fit: cover; display:block; }
.bt-inline .bt-stage [hidden] { display:none !important; }
.bt-inline .bt-dots { position:absolute; bottom:14px; left:0; right:0; }

/* ── Values rows (What we stand for, v39) ──────────────────── */
.values-rows { background: var(--bg-alt); padding: 80px 0; }
.values-rows .vhead { max-width: 620px; margin-bottom: 44px; }
.values-rows .vhead .section-sub { margin-top: 10px; }
.values-rows .vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 56px; }
.vrow { display: flex; gap: 20px; align-items: flex-start; }
.vrow .vicon {
  flex: none; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border-radius: 14px;
  color: var(--green-700); box-shadow: var(--shadow);
}
.vrow .vicon svg { width: 26px; height: 26px; }
.vrow h3 { font-size: 1.05rem; margin-bottom: 6px; }
.vrow p { font-size: .95rem; line-height: 1.65; color: var(--ink-soft); max-width: 440px; }
@media (max-width: 780px) { .values-rows .vgrid { grid-template-columns: 1fr; } }

/* ── Blue Tree band (v39) ──────────────────────────────────── */
.bt-band { position: relative; background: var(--dark-deep); color: #fff; padding: 76px 0; overflow: hidden; }
.bt-band::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,127,193,.28), transparent 65%);
  top: -160px; left: 8%; pointer-events: none;
}
.bt-band .bt-flex { position: relative; display: flex; gap: 64px; align-items: center; }
.bt-band .bt-photo { flex: 0 0 300px; }
.bt-band .bt-photo img {
  border-radius: var(--radius-lg); box-shadow: 0 16px 48px rgba(0,0,0,.45);
  transform: rotate(-1.5deg); border: 5px solid rgba(255,255,255,.08);
}
.bt-band .eyebrow { color: #7cbcec; }
.bt-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.bt-band p { color: rgba(255,255,255,.85); max-width: 580px; margin-bottom: 13px; line-height: 1.75; }
.bt-band .bt-btns { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-bt { background: #2f7fc1; color: #fff; padding: 13px 26px; border-radius: 8px; font-weight: 600; display: inline-block; }
.btn-bt:hover { background: #276da8; color: #fff; text-decoration: none; }
.btn-bt-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; padding: 13px 26px; border-radius: 8px; font-weight: 600; display: inline-block; }
.btn-bt-ghost:hover { border-color: #fff; color: #fff; text-decoration: none; }
@media (max-width: 780px) {
  .bt-band { padding: 56px 0; }
  .bt-band .bt-flex { flex-direction: column; gap: 36px; }
  .bt-band .bt-photo { flex: 0 0 auto; width: 100%; max-width: 320px; margin: 0 auto; }
}


/* ── Services dropdown (v40) ───────────────────────────────── */
.site-nav .has-sub > a::after { content: " \25BE"; font-size: .75em; opacity: .65; }
.site-nav .sub-menu { display: none; }
.site-nav .has-sub.open > .sub-menu { display: block; }
.site-nav .sub-menu a { padding-left: 42px; font-size: .93rem; font-weight: 500; }
@media (min-width: 860px) {
  .site-nav .has-sub { position: relative; }
  .site-nav .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    border-top: 8px solid transparent; background-clip: padding-box;
    background-color: #fff; border-radius: 12px;
    box-shadow: var(--shadow-lg); padding: 8px; z-index: 60;
  }
  .site-nav .has-sub:hover > .sub-menu,
  .site-nav .has-sub:focus-within > .sub-menu { display: block; }
  .site-nav .sub-menu li a { padding: 10px 14px; border-radius: 8px; font-size: .95rem; font-weight: 500; border-bottom: none; }
}
