/* A to Z Tree Service: shared stylesheet for the staged recreation.
   Palette and band colors sampled from the live site's own stylesheet.
   Typeface: Rubik, the live site's theme font.
   Layout reference: the live theme is Bootstrap-based; the 1140px wrap and
   the 992px / 768px breakpoints below follow Bootstrap's container and
   grid breakpoints so responsive behavior tracks the original. No
   Bootstrap code is used. */

:root {
  --ink: #232323;
  --nav: #333333;
  --footer: #2e2e2e;
  --band-dark: #232323;
  --band-black: #000000;
  --teal: #073b4c;
  --wine: #7f1933;
  --green-deep: #004902;
  --green: #24720b;
  --green-job: #097a30;
  --cream: #fffde1;
  --mist: #f2f3f7;
  --paper: #f9f9f9;
  --pale: #f4f4f4;
  --pale-2: #efefef;
  --primary: #149dcc;
  --hover-green: #90ee90;
  --hover-ink: #232323;
  --text: #333333;
  --muted: #767676;
  --line: #e0e0e0;
  --wrap: 1140px;

  /* Type scale (Steve's normalization, November 7, 2026).
     Family: Rubik, the live site's own font (verified in its CSS).
     Retune the whole site from these variables. 1rem = 16px.
     Nothing in main content renders below --fs-small (16px). */
  --font: "Rubik", "Segoe UI", Arial, sans-serif;
  --fs-display: 3.25rem;   /* 52px: hero and value titles */
  --fs-h1: 2.75rem;        /* 44px */
  --fs-h2: 2.125rem;       /* 34px */
  --fs-h3: 1.625rem;       /* 26px */
  --fs-h4: 1.375rem;       /* 22px */
  --fs-h5: 1.1875rem;      /* 19px */
  --fs-lead: 1.3125rem;    /* 21px: lead paragraphs, testimonial quotes run larger, see .testimonial */
  --fs-body: 1.125rem;     /* 18px */
  --fs-small: 1rem;        /* 16px: floor for nav, footer, meta text */
  --lh-display: 1.15;
  --lh-head: 1.25;
  --lh-body: 1.65;
  --space-section: 4rem;
  --space-head: 1rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  color: var(--text);
  line-height: var(--lh-body);
  background: #ffffff;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: var(--space-section) 0; }

h1, h2, h3, h4, h5 { line-height: var(--lh-head); margin: 0 0 var(--space-head); color: var(--ink); }
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 700; }
/* Convention: eyebrow / kicker labels are the only uppercase headings. */
.eyebrow { text-transform: uppercase; letter-spacing: .06em; }
h5 { font-size: var(--fs-h5); font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--primary); }

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

.site-header {
  background: var(--nav);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.brand {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: var(--fs-h5);
  padding: .7rem 0;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.main-nav li { position: relative; }
.main-nav a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: .7rem .9rem;
  font-size: var(--fs-small);
  font-weight: 500;
}
.main-nav > ul > li > a { border-radius: .35rem; }
.nav-toggle, .sub-toggle { display: none; }
.nav-icon {
  width: 1.05em; height: 1.05em;
  vertical-align: -.18em;
  margin-right: .45em;
  fill: currentColor;
}
.main-nav a:hover, .main-nav a:focus-visible { background: var(--hover-green); color: var(--hover-ink); }
.main-nav .dropdown > ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: var(--nav);
  min-width: 17rem;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  padding: .4rem 0;
}
.main-nav .dropdown:hover > ul,
.main-nav .dropdown:focus-within > ul { display: flex; }
.main-nav .dropdown > ul a { padding: .5rem 1rem; white-space: nowrap; }
.main-nav .dropdown > a::after { content: " \25BE"; font-size: .8em; }

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

.btn {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .8rem 2.2rem;
  border-radius: 999px;
  border: 2px solid transparent;
  margin: .25rem;
}
.btn-primary { background: var(--primary); border-color: var(--primary); color: #ffffff; }
.btn-primary:hover { background: #0d6786; border-color: #0d6786; }
.btn-outline { background: transparent; border-color: #ffffff; color: #ffffff; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-black { background: #333333; border-color: #333333; color: #ffffff; }
.btn-black:hover { background: #0d0d0d; }

/* ---------- Generic bands ---------- */

.band-black { background: var(--band-black); padding: 4rem 0; }
.band-dark { background: var(--band-dark); color: #ffffff; }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #ffffff; }
.band-charcoal { background: var(--footer); color: #ffffff; }
.band-teal { background: var(--teal); color: #ffffff; text-align: center; }
.band-teal h2, .band-teal h3 { color: #ffffff; }
.band-wine { background: var(--wine); color: #ffffff; }
.band-wine h1, .band-wine p { color: #ffffff; }
.band-green { background: var(--green-deep); color: #ffffff; }
.band-green h1, .band-green p { color: #ffffff; }
.band-cream { background: var(--cream); }
.band-mist { background: var(--mist); }
.band-paper { background: var(--paper); }
.band-pale { background: var(--pale); }
.center { text-align: center; }
.center img { margin-left: auto; margin-right: auto; }

.rule-light {
  width: 60px; height: 2px; background: #ffffff; margin: 0 auto;
}

/* ---------- Photo background bands ---------- */

.photo-band {
  background-size: cover;
  background-position: center;
  color: #ffffff;
  position: relative;
}
.photo-band::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}
.photo-band > .wrap { position: relative; }
.photo-band h1, .photo-band h2, .photo-band h3, .photo-band p { color: #ffffff; }
.photo-band.dark::before { background: rgba(0,0,0,.62); }
.photo-band.band-light { color: var(--ink); }
.photo-band.band-light::before { background: rgba(255,255,255,.86); }
.photo-band.band-light h1, .photo-band.band-light h2,
.photo-band.band-light h3, .photo-band.band-light p { color: var(--ink); }
.photo-band.band-green-tint::before { background: rgba(3,45,8,.58); }

/* ---------- Call band (shared) ---------- */

.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: left;
}
.cta-flex h3 { margin-bottom: .35rem; }
.cta-flex .cta-phone { color: var(--primary); margin: 0; font-size: var(--fs-h2); }
.band-teal .cta-phone, .band-dark .cta-phone { color: var(--primary); }

/* ---------- Social buttons ---------- */

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 0;
  margin: 0;
}
.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
}
.social-btn svg { display: block; }
.social-btn.fb { background: #1778f2; }
.social-btn.ig { background: #f00075; }

/* ---------- Hero (home) ---------- */

.hero { padding: 1.875rem 0 5.625rem; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(.96);
  transform: scale(1.06);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.18);
}
.hero > .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
  color: #ffffff;
}
.hero-grid h1, .hero-grid p { color: #ffffff; }
.hero .hero-logo { max-width: 380px; }
.hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); }
.hero h1 .call-line { display: block; font-size: var(--fs-h3); margin-top: .5rem; }
.hero .text-blue { color: var(--primary); }
.hero .lead { font-weight: 500; font-size: var(--fs-lead); }

/* ---------- Two column feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split .text { padding: 0 .5rem; }

/* ---------- Testimonials carousel (home) ----------
   Auto-rotating showcase like the live site's: large quotes,
   arrows at the sides, dot indicators, pauses on hover. */

#reviews { scroll-margin-top: 20vh; }
.testimonials { text-align: center; }
.testimonials .wrap[data-carousel] { position: relative; }
.testimonial { max-width: 56rem; margin: 0 auto; padding: 0 3.5rem; }
.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  line-height: 1.55;
  font-style: italic;
}
.testimonial .who { font-weight: 500; font-style: normal; font-size: var(--fs-lead); }
.testimonial .where { color: inherit; opacity: .85; }
.slide { display: none; }
.slide.active { display: block; animation: carFade .6s ease; }
@keyframes carFade { from { opacity: 0; } to { opacity: 1; } }
.car-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.25);
  background: rgba(255,255,255,.75);
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.car-btn:hover { background: #ffffff; }
.car-btn svg { width: 26px; height: 26px; fill: currentColor; }
.car-btn.prev { left: .25rem; }
.car-btn.next { right: .25rem; }
.car-dots { margin-top: 1.75rem; display: flex; gap: .55rem; justify-content: center; }
.car-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.4);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.car-dots button.active { background: var(--ink); }

/* On light backgrounds (service pages): gray cards, blue quotes, teal names, gold stars */
.pair-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.qcard { background: #f0f2f5; padding: 1.75rem; border-radius: 4px; }
.qcard blockquote { margin: 0 0 .75rem; font-style: italic; color: #103178; }
.qcard .who { font-weight: 500; margin: 0 0 .35rem; color: #0f7699; }
.qcard .stars { color: #ffc800; letter-spacing: .25em; margin: 0; }

/* ---------- Photo row (home) ---------- */

.photo-slider { background: var(--band-black); padding: 3.5rem 0; }
.photo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
}
.photo-row img { width: 100%; height: 190px; object-fit: cover; }

/* ---------- Numbered columns + check list (Tree Pruning) ---------- */

.num-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.num-cols .num { font-size: var(--fs-display); font-weight: 700; color: #74a3d8; line-height: 1; margin-bottom: .5rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 2.4rem; margin-bottom: .9rem; }
.check-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: .05rem;
  width: 1.5rem; height: 1.5rem;
  background: #0f7699; color: #ffffff;
  border-radius: 50%;
  text-align: center;
  line-height: 1.5rem;
  font-size: .95rem;
  font-weight: 700;
}

/* ---------- Services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.service-card { background: #ffffff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card .body { padding: 1.25rem 1.25rem 1.5rem; }
.service-card h5 { margin-bottom: .5rem; }
.service-card .card-link { color: #0196e3; }

/* ---------- Gallery + lightbox ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}
.gallery-grid img, .photo-row img { cursor: zoom-in; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 3px; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox .lb-img {
  max-width: min(88vw, 1100px);
  max-height: 84vh;
  width: auto; height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 48px rgba(0,0,0,.6);
}
.lb-btn, .lb-close {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  color: #ffffff;
  border-radius: 50%;
  width: 52px; height: 52px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-btn:hover, .lb-close:hover { background: rgba(255,255,255,.25); }
.lb-btn svg { width: 26px; height: 26px; fill: currentColor; }
.lb-btn.prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-btn.next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-close { top: 1.25rem; right: 1.25rem; font-size: 1.7rem; line-height: 1; }
.lb-count {
  position: absolute; bottom: 1.1rem; left: 0; right: 0;
  text-align: center; color: #ffffff; margin: 0;
  font-size: var(--fs-small);
}

/* ---------- Video (service pages) ---------- */

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 4px;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.play-line { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; font-weight: 500; }
.play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
  transition: background .2s ease, transform .2s ease;
}
.play-btn:hover { background: #0f7699; transform: scale(1.05); }
.play-btn::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #ffffff;
}
.video-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.video-modal[hidden] { display: none; }
.video-modal-box { position: relative; width: min(92vw, 960px); }
.video-modal-close {
  position: absolute; top: -3.2rem; right: 0;
  background: transparent; border: 0;
  color: #ffffff; font-size: 2.2rem; line-height: 1;
  cursor: pointer;
}

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

.site-footer { background: var(--footer); color: #ffffff; padding: 3.75rem 0 2rem; }
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
.site-footer h5 { color: #ffffff; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.site-footer a { color: #ffffff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .footer-logo { max-width: 220px; }
.site-footer .lower {
  border-top: 1px solid rgba(255,255,255,.25);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: var(--fs-small);
}

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

.form-box {
  max-width: 44rem;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem;
}
.form-box label { display: block; font-weight: 500; margin: 1rem 0 .35rem; }
.form-box input[type="text"],
.form-box input[type="email"],
.form-box input[type="tel"],
.form-box select,
.form-box textarea {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid #bbbbbb;
  border-radius: 4px;
  font: inherit;
  background: #ffffff;
  color: var(--text);
}
.form-box .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-box button { margin-top: 1.5rem; cursor: pointer; font: inherit; }

/* ---------- Values (Careers) ----------
   Matched to the live page: value titles and text sit centered in a
   wide column over a heavily darkened photo (live overlay is 0.8). */

.core-intro p { font-size: var(--fs-lead); max-width: 64rem; }
.value-band { padding: 6.5rem 0; text-align: center; }
.value-band .wrap { max-width: 60rem; }
.photo-band.value-band::before { background: rgba(0,0,0,.8); }
.value-band h1 { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 500; }
.value-band p { font-size: var(--fs-lead); line-height: 1.6; margin-bottom: 0; }
.ready-title { color: #109409; }
.ready-title span { color: #1c314e; }
.ready-phone a { color: var(--primary); font-weight: 700; text-decoration: none; font-size: var(--fs-h4); }

/* ---------- Contact page ---------- */

.contact-hero { padding-bottom: 3rem; }
.contact-hero .lead-line { font-size: var(--fs-lead); max-width: 46rem; margin: 0 auto 0; }
.contact-hero h1 { color: #ffffff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2, .contact-info h3 { margin-top: 2rem; }
.contact-info h2:first-child, .contact-info h3:first-child { margin-top: 0; }
.contact-phone { margin: .25rem 0 .5rem; }
.contact-phone a {
  color: var(--primary);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .01em;
}
.contact-phone a:hover { text-decoration: underline; }
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  padding: 2.25rem;
}
.contact-form-card h2 { margin-bottom: .25rem; }
.contact-form-card .form-box { border: 0; padding: 0; max-width: none; }
.contact-form-card button[type="submit"] { width: 100%; text-align: center; }

/* ---------- Job posting ---------- */

.job-band { background: var(--green-job); color: #ffffff; }
.job-band h2, .job-band h3 { color: #ffffff; }
.job-band a { color: #ffffff; font-weight: 500; }

/* ---------- Thank-you ---------- */

.thanks-band { background: var(--green); color: #ffffff; text-align: center; }
.thanks-band h2, .thanks-band p { color: #ffffff; }
.thanks-band img { margin: 0 auto 1.5rem; max-width: 260px; border-radius: 6px; }

/* Feedback thank-you page ONLY (REV5; REV6 polish): Steve's consulting
   brand as accents, scoped to this page's content block. Brand colors,
   by name: Magenta #A80066, Pink #F06BB4, Ink #0B0C0F, Paper #FAF8F5.
   The site chrome and the green band stay A to Z's; only Steve's card
   carries his brand. Layout remains the sibling of Thank-you.html.
   REV6 (Steve's verdict on REV5: "basic and boring"): the card takes
   pronounced 22px rounded corners and a soft shadow so it lifts off
   the green band; the photo is rounded (16px) in the same family, its
   Magenta frame following the curve; Go back home is a filled Magenta
   primary action button (.btn-home), no longer an outline button. */
.feedback-thanks .thanks-card {
  background: #FAF8F5; /* Paper */
  color: #0B0C0F; /* Ink */
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .30), 0 6px 16px rgba(0, 0, 0, .20);
}
.feedback-thanks .thanks-card h2,
.feedback-thanks .thanks-card p { color: #0B0C0F; /* Ink */ }
.feedback-thanks .thanks-card img { border: 3px solid #A80066; /* Magenta */ border-radius: 16px; }
.feedback-thanks .thanks-card > p:last-child { margin-bottom: 0; }
.feedback-thanks .thanks-rule {
  width: 64px;
  height: 4px;
  border-radius: 2px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(90deg, #A80066, #F06BB4); /* Magenta to Pink */
}
.feedback-thanks .signoff strong { font-weight: 700; }
.feedback-thanks .signoff-role { color: #A80066; /* Magenta */ font-weight: 500; }
.feedback-thanks .site-credit { font-size: var(--fs-small); }
.feedback-thanks .site-credit a { color: #A80066; /* Magenta */ }
.feedback-thanks .site-credit a:hover { color: #7a004a; /* darker Magenta */ }
.feedback-thanks .btn-home {
  background: #A80066; /* Magenta */
  border-color: #A80066; /* Magenta */
  color: #FAF8F5; /* Paper */
  font-weight: 700;
  padding: 1rem 2.75rem;
  box-shadow: 0 8px 20px rgba(168, 0, 102, .35);
}
.feedback-thanks .btn-home:hover {
  background: #7a004a; /* darker Magenta */
  border-color: #7a004a; /* darker Magenta */
  color: #FAF8F5; /* Paper */
  box-shadow: 0 10px 24px rgba(122, 0, 74, .40);
}
@media (max-width: 768px) {
  .feedback-thanks .thanks-card { padding: 2.25rem 1.25rem; }
}

/* ---------- Sticky call (seen at the foot of the live pages) ---------- */

.sticky-call { display: none; }

/* ---------- Responsive ---------- */

@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .pair-quotes { grid-template-columns: 1fr; }
  .num-cols { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-grid > * { min-width: 0; }
  .hero .hero-logo { margin: 0 auto; max-width: 100%; }
  .cta-flex { justify-content: center; text-align: center; }
}

@media (max-width: 768px) {
  section { padding: 2.5rem 0; }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.45rem; }
  .hero h1 { font-size: 2.35rem; }
  .value-band h1 { font-size: 2.35rem; }
  .testimonial { padding: 0 2.75rem; }
  .testimonial blockquote { font-size: 1.3rem; }
  .car-btn { width: 48px; height: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr; }
  .sticky-call {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0;
    min-height: 3.5rem;
    background: var(--green-deep);
    text-align: center;
    padding: .8rem 1rem;
    z-index: 60;
  }
  .sticky-call a { font-size: 1.05rem; }
  .sticky-call a { color: #ffffff; text-decoration: none; font-weight: 700; }
  body { padding-bottom: 4.25rem; }
}

/* ---------- Mobile navigation (<= 992px) ----------
   Hamburger toggle in the header bar; the nav becomes a panel under the
   sticky header (live mobile panel color #282828). Groups expand by
   touch through their own sub-toggle buttons; no hover dependence.
   Panel link rows are 52px+ tap targets; hover/focus uses the same
   light-green state as desktop. */

@media (max-width: 992px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .brand { padding: .55rem 0; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    flex: 0 0 auto;
    margin-left: auto;
    background: transparent;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: .5rem;
    cursor: pointer;
    padding: 0;
  }
  .nav-toggle-bars { display: flex; flex-direction: column; gap: 5px; }
  .nav-toggle-bars span {
    display: block;
    width: 22px; height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:focus-visible, .sub-toggle:focus-visible { outline: 2px solid var(--hover-green); outline-offset: 2px; }

  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #282828;
    box-shadow: 0 18px 30px rgba(0,0,0,.4);
    max-height: calc(100dvh - 8rem);
    overflow-y: auto;
    padding: .4rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease;
  }
  .main-nav ul { flex-direction: column; flex-wrap: nowrap; }
  .main-nav li { width: 100%; }
  .main-nav .dropdown { display: flex; flex-wrap: wrap; align-items: stretch; }
  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: .8rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.07);
    border-radius: 0;
  }
  .main-nav .dropdown > a { flex: 1 1 auto; }
  .main-nav .dropdown > a::after { content: none; }
  .sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-height: 52px;
    flex: 0 0 auto;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.07);
    border-left: 1px solid rgba(255,255,255,.07);
    color: #ffffff;
    cursor: pointer;
    padding: 0;
  }
  .sub-toggle svg { width: 20px; height: 20px; transition: transform .25s ease; }
  .main-nav .dropdown.expanded .sub-toggle svg { transform: rotate(180deg); }
  .sub-toggle:hover { background: var(--hover-green); color: var(--hover-ink); }
  .main-nav .dropdown:hover > ul,
  .main-nav .dropdown:focus-within > ul { display: none; }
  .main-nav .dropdown > ul {
    position: static;
    width: 100%;
    min-width: 0;
    background: rgba(0,0,0,.28);
    box-shadow: none;
    padding: 0;
  }
  .main-nav .dropdown.expanded > ul { display: block; }
  .main-nav .dropdown > ul a {
    white-space: normal;
    padding-left: 2.4rem;
    min-height: 48px;
  }
}

/* ---------- Mobile buttons and small-screen fit (<= 768px) ---------- */

@media (max-width: 768px) {
  .btn { width: 100%; min-height: 52px; padding: .9rem 1.5rem; }
  .cta-flex > p { width: 100%; }
  .contact-phone a { font-size: 2.5rem; }
  .car-dots button { position: relative; }
  .car-dots button::after { content: ""; position: absolute; inset: -16px; }
}
