/* ==========================================================================
   Max Yard — Landscaping & Lawn Care
   Colors come straight from the logo: deep forest, yard green, fresh leaf.
   ========================================================================== */

:root {
  --forest-900: #0b2a14;
  --forest-800: #0f3d1e;
  --forest-700: #1a5229;
  --green-600: #2f7a24;
  --green-500: #3f8a2e;
  --leaf-400: #7dbb3f;
  --leaf-200: #cfe7b4;
  --leaf-100: #eaf4df;
  --bg: #f6f8f3;
  --surface: #ffffff;
  --ink: #142017;
  --ink-soft: #3f4c42;
  --line: #dfe7d8;
  --star: #f2b01e;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 61, 30, 0.06);
  --shadow: 0 12px 32px rgba(15, 61, 30, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 61, 30, 0.16);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--forest-800);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--leaf-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--white { background: var(--surface); }
.section--tint { background: var(--leaf-100); }
.text-center { text-align: center; }
.lead { font-size: 1.125rem; max-width: 62ch; }
.text-center .lead { margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--forest-800); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

/* Eyebrow label ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--leaf-400); box-shadow: 0 0 0 4px rgba(125, 187, 63, 0.25);
}
.eyebrow--light { color: var(--leaf-200); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--green-500); color: #fff; box-shadow: 0 8px 20px rgba(63, 138, 46, 0.3); }
.btn--primary:hover { background: var(--green-600); box-shadow: 0 10px 26px rgba(63, 138, 46, 0.4); }
.btn--leaf { background: var(--leaf-400); color: var(--forest-900); }
.btn--leaf:hover { background: #8fcb50; }
.btn--outline { border-color: var(--forest-800); color: var(--forest-800); }
.btn--outline:hover { background: var(--forest-800); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--forest-800); }

/* Top bar ------------------------------------------------------------------ */
.topbar { background: var(--forest-800); color: #dfeedd; font-size: 0.875rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 16px; height: 16px; color: var(--leaf-400); }

/* Header / nav ------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 16px; font-weight: 500; color: var(--ink);
  border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--green-600); background: var(--leaf-100); }
.nav__link[aria-current="page"] { color: var(--green-600); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--leaf-400); border-radius: 2px;
}
.header__cta { display: flex; align-items: center; gap: 12px; }
.call-chip { display: flex; align-items: center; gap: 12px; }
.call-chip__icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-500); color: #fff;
}
.call-chip__icon svg { width: 20px; height: 20px; }
.call-chip small { display: block; font-size: 0.78rem; color: var(--ink-soft); line-height: 1.2; }
.call-chip strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--forest-800); }
.call-chip:hover strong { color: var(--green-600); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--forest-800);
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* Hero (home) -------------------------------------------------------------- */
.hero {
  position: relative; min-height: min(88vh, 760px);
  display: flex; align-items: center; color: #fff;
  background: var(--forest-900) url("../images/hero-home.jpg") center 60% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 13, 0.88) 0%, rgba(8, 28, 13, 0.65) 45%, rgba(8, 28, 13, 0.15) 100%);
}
.hero .container { position: relative; padding-top: 80px; padding-bottom: 140px; }
.hero__content { max-width: 640px; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--leaf-400); }
.hero p { color: #e4eee1; font-size: 1.15rem; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; }
.hero__badge { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 500; color: #fff; }
.hero__badge svg { width: 22px; height: 22px; color: var(--leaf-400); }

/* Quote bar ---------------------------------------------------------------- */
.quote-bar { position: relative; z-index: 5; margin-top: -80px; }
.quote-card {
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 28px 32px;
}
.quote-card h2 { font-size: 1.5rem; margin-bottom: 18px; }
.quote-form { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; }

/* Forms -------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--forest-800); }
.field label .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(63, 138, 46, 0.15);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b42318; }
.field__error { font-size: 0.85rem; color: #b42318; min-height: 0; }
.form-note { font-size: 0.875rem; color: var(--ink-soft); margin-top: 12px; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; display: none; }
.form-status.is-visible { display: block; background: var(--leaf-100); color: var(--forest-800); }

/* Split / about preview ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.media-badge {
  position: absolute; left: -18px; bottom: -22px;
  background: var(--forest-800); color: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
}
.media-badge strong { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--leaf-400); }
.media-badge span { font-size: 0.9rem; line-height: 1.3; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; }
.checklist svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--green-500); margin-top: 2px; }

/* Marquee band ------------------------------------------------------------- */
.marquee { background: var(--green-500); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; align-items: center; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 24px; padding-right: 24px;
  font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 600; white-space: nowrap;
}
.marquee__item svg { width: 26px; height: 26px; color: var(--leaf-200); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section heading ---------------------------------------------------------- */
.section-head { margin-bottom: 48px; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--row .lead { margin-bottom: 0; }

/* Service cards ------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--leaf-100); color: var(--green-600); margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__body p { flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-600); }
.card__link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

/* Gallery ------------------------------------------------------------------ */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255,255,255,0.95); color: var(--forest-800);
  font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}

/* Testimonials ------------------------------------------------------------- */
.reviews-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.reviews-layout__img img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; box-shadow: var(--shadow); }
.reviews { display: grid; gap: 18px; }
.review {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.review__stars { display: flex; gap: 2px; color: var(--star); margin-bottom: 10px; }
.review__stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 14px; color: var(--ink); font-size: 1.02rem; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest-800); color: #fff; font-weight: 600; font-family: var(--font-head);
}
.review__author strong { display: block; color: var(--forest-800); }
.review__author small { color: var(--ink-soft); }

/* FAQ ---------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 22px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; font-weight: 600; color: var(--forest-800); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--leaf-100); color: var(--green-600);
  font-size: 1.3rem; font-weight: 500; transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* CTA band ----------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--forest-800) url("../images/trimming.jpg") center / cover;
  padding: clamp(48px, 7vw, 80px); color: #fff;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,42,20,0.95) 30%, rgba(11,42,20,0.6)); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: #dfeedd; max-width: 50ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* Page hero (inner pages) -------------------------------------------------- */
.page-hero {
  position: relative; color: #fff; padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
  background-color: var(--forest-900); background-size: cover; background-position: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,28,13,0.9), rgba(8,28,13,0.45)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #e4eee1; font-size: 1.15rem; max-width: 56ch; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.9rem; color: var(--leaf-200); margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* Value / feature grid ----------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: border-color .25s, transform .25s var(--ease);
}
.feature:hover { border-color: var(--leaf-400); transform: translateY(-3px); }
.feature p { margin: 0; }

/* Stats -------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 24px 12px; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--leaf-400); line-height: 1.1; }
.stat span { color: #dfeedd; font-weight: 500; }
.section--dark { background: var(--forest-800); }
.section--dark h2 { color: #fff; }
.section--dark p { color: #cfdccc; }

/* Service detail ----------------------------------------------------------- */
.service-detail + .service-detail { margin-top: clamp(64px, 9vw, 110px); }
.tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  background: var(--leaf-100); color: var(--green-600); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.tag--featured { background: var(--green-500); color: #fff; }
.price-note { font-size: 0.95rem; color: var(--ink-soft); margin-top: -8px; }

/* Process steps ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--leaf-200);
  display: block; line-height: 1; margin-bottom: 14px;
}
.step p { margin: 0; }

/* Contact page ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: border-color .2s;
}
a.info-card:hover { border-color: var(--leaf-400); }
.info-card__icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-500); color: #fff;
}
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.info-card p { margin: 0; overflow-wrap: anywhere; }
.form-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field--full { grid-column: 1 / -1; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Footer ------------------------------------------------------------------- */
.footer { background: var(--forest-900); color: #c8d6c4; padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { background: #fff; display: inline-block; padding: 10px 16px; border-radius: var(--radius); margin-bottom: 18px; }
.footer__logo img { height: 64px; width: auto; }
.footer p { color: #aebfaa; }
.footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--leaf-400); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--leaf-400); flex-shrink: 0; margin-top: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.9rem; color: #8fa28b;
}

/* Reveal on scroll --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .call-chip small { display: none; }
  .quote-form { grid-template-columns: 1fr 1fr; }
  .quote-form .btn { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 20px 20px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 14px 16px; border-radius: var(--radius-sm); }
  .nav__link[aria-current="page"] { background: var(--leaf-100); }
  .nav__link[aria-current="page"]::after { display: none; }
  .split, .reviews-layout, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .reviews-layout__img img { aspect-ratio: 16 / 10; }
  .steps, .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .gallery figure:first-child { grid-row: auto; grid-column: span 2; }
  .gallery figure:nth-child(4) { grid-column: span 2; }
}

@media (max-width: 640px) {
  .topbar__info span.topbar__addr { display: none; }
  .topbar .container { justify-content: center; }
  .topbar__hours { display: none !important; }
  .header .container { min-height: 72px; }
  .logo img { height: 50px; }
  .call-chip strong { display: none; }
  .hero { min-height: auto; }
  .hero .container { padding-top: 64px; padding-bottom: 120px; }
  .hero::before { background: linear-gradient(180deg, rgba(8,28,13,0.82), rgba(8,28,13,0.7)); }
  .hero__actions .btn { width: 100%; }
  .quote-card { padding: 22px 20px; }
  .quote-form, .form-grid { grid-template-columns: 1fr; }
  .media-badge { left: 12px; bottom: -18px; }
  .steps, .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .gallery figure:first-child, .gallery figure:nth-child(4) { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .map iframe { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
