/* ========================================
   YARD MASTERS — Design System
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand colors — pulled from logo */
  --green-darkest: #1a4d1a;
  --green-dark: #1f6b1f;
  --green-mid: #3e8e3e;
  --green-bright: #7bc142;
  --green-light: #e8f5e0;
  --green-faintest: #f7fce8;

  --yellow-sun: #f4c430;

  --ink: #1a2e1a;
  --ink-soft: #3a4a3a;
  --muted: #6b7a6b;
  --line: #e0e8e0;
  --bg: #ffffff;
  --bg-soft: #f7f9f5;

  /* Typography */
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Spacing */
  --container: 1240px;
  --gutter: 24px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(26, 77, 26, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 77, 26, 0.12);
  --shadow-lg: 0 16px 48px rgba(26, 77, 26, 0.18);
  --radius: 6px;
  --radius-lg: 12px;

  --header-h: 92px;
  --topbar-h: 36px;

  /* Active brand variables — overridden by .theme-winter */
  --brand-darkest: var(--green-darkest);
  --brand-dark: var(--green-dark);
  --brand-mid: var(--green-mid);
  --brand-bright: var(--green-bright);
  --brand-light: var(--green-light);
  --brand-faintest: var(--green-faintest);
  --brand-shadow-rgb: 26, 77, 26;
}

/* ========================================
   Winter / Snow theme — applied via <body class="theme-winter">
   Blue palette opposite to green on the colour wheel (cool, complementary).
   ======================================== */
.theme-winter {
  --brand-darkest: #0c2d52;   /* deep navy */
  --brand-dark: #1453a8;       /* primary blue */
  --brand-mid: #2a78d4;        /* mid blue */
  --brand-bright: #3aa0ff;     /* bright accent blue */
  --brand-light: #dceeff;      /* very light icy blue */
  --brand-faintest: #f1f8ff;   /* almost-white blue */
  --brand-shadow-rgb: 12, 45, 82;

  --ink: #0c1f3a;
  --ink-soft: #2a3d5a;
  --muted: #6b7a90;
  --line: #d8e4f0;
  --bg-soft: #f5f9fd;
  --shadow-sm: 0 2px 8px rgba(12, 45, 82, 0.08);
  --shadow-md: 0 8px 24px rgba(12, 45, 82, 0.12);
  --shadow-lg: 0 16px 48px rgba(12, 45, 82, 0.18);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--brand-bright); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--brand-darkest);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.35rem; }
p { margin-bottom: 1rem; color: var(--ink-soft); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ========================================
   Top utility bar
   ======================================== */
.topbar {
  background: var(--brand-darkest);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.topbar a { color: rgba(255, 255, 255, 0.85); }
.topbar a:hover { color: var(--brand-bright); }
.topbar-left, .topbar-right { display: flex; gap: 24px; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; }

/* ========================================
   Header
   ======================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 64px;
  width: auto;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  height: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.nav-link .chev {
  width: 10px;
  height: 10px;
  transition: transform 0.25s ease;
}
.nav-item:hover .nav-link {
  color: var(--brand-dark);
  background: var(--brand-faintest);
  border-bottom-color: var(--brand-bright);
}
.nav-item:hover .nav-link .chev {
  transform: rotate(180deg);
}

/* Mega dropdown — like BrightView */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 320px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--brand-bright);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  padding: 12px 0;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega a {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}
.mega a:hover {
  background: var(--brand-faintest);
  border-left-color: var(--brand-bright);
  color: var(--brand-dark);
  padding-left: 28px;
}
.mega a .arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s ease;
}
.mega a:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* CTA button in header */
.btn-estimate-header {
  margin-left: 12px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--brand-bright);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--brand-mid);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--brand-dark);
}
.btn-secondary:hover {
  background: var(--brand-dark);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--brand-dark);
}
.btn-white:hover {
  background: var(--brand-faintest);
  color: var(--brand-darkest);
}
.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(26, 77, 26, 0.85) 0%, rgba(31, 107, 31, 0.6) 50%, rgba(26, 77, 26, 0.4) 100%),
    url('../assets/hero.jpg') center/cover;
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(244, 196, 48, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--yellow-sun);
  color: var(--brand-darkest);
  padding: 6px 14px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 24px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.hero h1 .accent {
  color: var(--brand-bright);
}
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 90px 0;
}
.section-tight {
  padding: 60px 0;
}
.section-soft {
  background: var(--bg-soft);
}
.section-dark {
  background: var(--brand-darkest);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.85); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--brand-mid);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p {
  font-size: 1.05rem;
  color: var(--muted);
}

/* ========================================
   Service cards
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-bright);
}
.service-card-img {
  height: 200px;
  background: var(--brand-light);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 77, 26, 0.4));
}
.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.service-card p {
  flex: 1;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-link:hover { color: var(--brand-bright); gap: 10px; }

/* ========================================
   Two-column / split sections
   ======================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.split-content .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--brand-mid);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.split-content h2 { margin-bottom: 20px; }
.split-content p { font-size: 1.02rem; margin-bottom: 16px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

/* ========================================
   Why-us / value features
   ======================================== */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}
.value {
  text-align: center;
}
.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  transition: all 0.3s ease;
}
.value:hover .value-icon {
  background: var(--brand-bright);
  color: #fff;
  transform: scale(1.05);
}
.value-icon svg { width: 32px; height: 32px; }
.value h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--brand-darkest);
  letter-spacing: 0.04em;
}
.value p { font-size: 0.95rem; color: var(--muted); }

/* Dark variant */
.section-dark .value-icon { background: rgba(123, 193, 66, 0.15); color: var(--brand-bright); }
.section-dark .value:hover .value-icon { background: var(--brand-bright); color: var(--brand-darkest); }
.section-dark .value h4 { color: #fff; }
.section-dark .value p { color: rgba(255, 255, 255, 0.75); }

/* ========================================
   CTA Banner
   ======================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-darkest) 100%);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123, 193, 66, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 1.05rem; }

@media (max-width: 800px) {
  .cta-banner-inner { grid-template-columns: 1fr; text-align: center; }
}

/* ========================================
   Page hero (smaller, for inner pages)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--brand-darkest) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(244, 196, 48, 0.12), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(123, 193, 66, 0.18), transparent 50%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 820px; }
.breadcrumbs {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); }
.breadcrumbs a:hover { color: var(--brand-bright); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }
.page-hero h1 {
  color: #fff;
  margin-bottom: 16px;
}
.page-hero .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 660px;
}

/* ========================================
   Article / content pages
   ======================================== */
.article {
  max-width: 860px;
  margin: 0 auto;
}
.article h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--brand-bright);
  display: inline-block;
}
.article h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: 1.5rem;
}
.article p { font-size: 1.02rem; line-height: 1.75; margin-bottom: 18px; }
.article ul.checklist {
  margin: 20px 0;
}
.article ul.checklist li {
  position: relative;
  padding: 8px 0 8px 36px;
  font-size: 1rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.article ul.checklist li:last-child { border-bottom: none; }
.article ul.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 22px; height: 22px;
  background: var(--brand-bright);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.article hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 48px 0;
}

/* Highlighted feature blocks within article */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.feature-block {
  background: var(--bg-soft);
  border-left: 4px solid var(--brand-bright);
  padding: 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.feature-block h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brand-darkest);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.feature-block p { font-size: 0.95rem; margin: 0; color: var(--ink-soft); line-height: 1.6; }

/* Inline CTA box */
.inline-cta {
  background: var(--brand-faintest);
  border: 2px solid var(--brand-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 48px 0;
  text-align: center;
}
.inline-cta h3 {
  color: var(--brand-darkest);
  margin-bottom: 12px;
}
.inline-cta p { margin-bottom: 24px; }

/* ========================================
   Forms (estimate, contact)
   ======================================== */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group label .req { color: #d24545; }
.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 4px rgba(123, 193, 66, 0.15);
}
textarea.form-control { min-height: 130px; resize: vertical; font-family: inherit; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231f6b1f' stroke-width='2'%3E%3Cpolyline points='1 1 6 6 11 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 44px;
}
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.radio-card {
  flex: 1;
  min-width: 140px;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  background: #fff;
}
.radio-card input { display: none; }
.radio-card:hover { border-color: var(--brand-bright); }
.radio-card.active {
  border-color: var(--brand-bright);
  background: var(--brand-faintest);
  color: var(--brand-dark);
}

/* ========================================
   Footer — Grounds Guys style
   ======================================== */
.site-footer {
  background: var(--brand-darkest);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .logo-footer {
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin-bottom: 20px;
}
.footer-brand .social {
  display: flex;
  gap: 10px;
}
.footer-brand .social a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #fff;
  transition: all 0.2s ease;
}
.footer-brand .social a:hover {
  background: var(--brand-bright);
  color: var(--brand-darkest);
  transform: translateY(-2px);
}
.footer-brand .social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-bright);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  transition: all 0.2s ease;
}
.footer-col ul a:hover {
  color: var(--brand-bright);
  padding-left: 6px;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}
.footer-contact svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--brand-bright);
  margin-top: 2px;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--brand-bright); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

/* ========================================
   Mobile menu
   ======================================== */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
}
.mobile-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1100px) {
  .main-nav,
  .btn-estimate-header { display: none; }
  .mobile-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  padding: 80px 32px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
}
.mobile-menu-close svg { width: 28px; height: 28px; }
.mobile-menu .group {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.mobile-menu .group-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--brand-darkest);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: block;
}
.mobile-menu .group ul li {
  padding: 10px 0;
}
.mobile-menu .group ul a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
}
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 24px; }

/* ========================================
   Animations
   ======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeUp 0.7s ease both;
}
.fade-up.delay-1 { animation-delay: 0.15s; }
.fade-up.delay-2 { animation-delay: 0.3s; }
.fade-up.delay-3 { animation-delay: 0.45s; }

/* ========================================
   Utility
   ======================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }

/* ========================================
   Photo placeholders & galleries on service pages
   ======================================== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.photo-slot {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--brand-faintest) 0%, var(--brand-light) 100%);
  border: 2px dashed var(--brand-bright);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo-slot:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.photo-slot[style*="background-image"] {
  background: none;
  border: none;
  background-size: cover !important;
  background-position: center !important;
}
.photo-slot[style*="background-image"] .photo-slot-label { display: none; }
.photo-slot-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--brand-dark);
}
.photo-slot-label svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}
.photo-slot-label .ttl {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.photo-slot-label .sub {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.photo-slot.before-after::after {
  content: 'BEFORE / AFTER';
  position: absolute;
  top: 12px; left: 12px;
  background: var(--brand-bright);
  color: #fff;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  border-radius: 4px;
}

.photo-feature {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--brand-faintest) 0%, var(--brand-light) 100%);
  border: 2px dashed var(--brand-bright);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 36px 0;
  overflow: hidden;
}
.photo-feature[style*="background-image"] {
  background: none;
  border: none;
  background-size: cover !important;
  background-position: center !important;
}
.photo-feature[style*="background-image"] .photo-slot-label { display: none; }

/* Page hero accepts a background image */
.page-hero[style*="background-image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--brand-shadow-rgb), 0.85), rgba(var(--brand-shadow-rgb), 0.65));
  z-index: 0;
}
.page-hero { background-size: cover; background-position: center; }

/* ========================================
   Mobile optimization — refined breakpoints
   ======================================== */
@media (max-width: 768px) {
  :root {
    --gutter: 18px;
    --header-h: 72px;
    --topbar-h: auto;
  }
  body { font-size: 15.5px; }

  /* Topbar — vertical stack on mobile, hide secondary info */
  .topbar {
    height: auto;
    padding: 8px 0;
    font-size: 0.78rem;
  }
  .topbar .container {
    flex-wrap: wrap;
    gap: 6px 14px;
    justify-content: center;
  }
  .topbar-left, .topbar-right {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .topbar-right span:last-child { display: none; }

  /* Header — tighter, logo smaller */
  .logo img { height: 48px; }
  .header-inner { height: 72px; }

  /* Hero */
  .hero { min-height: 460px; padding: 60px 0; }
  .hero h1 { font-size: 2.2rem; line-height: 1.1; }
  .hero p.lead { font-size: 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { justify-content: center; }

  /* Sections */
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 1.9rem; }

  /* Service cards — single column, full width */
  .services-grid { gap: 18px; }
  .service-card-img { height: 180px; }
  .service-card-body { padding: 22px; }
  .service-card h3 { font-size: 1.3rem; }

  /* Page hero (inner pages) */
  .page-hero { padding: 50px 0 44px; }
  .page-hero h1 { font-size: 1.9rem; line-height: 1.15; }
  .page-hero .subtitle { font-size: 1rem; }
  .breadcrumbs { font-size: 0.78rem; }

  /* Article */
  .article h2 { margin-top: 32px; font-size: 1.7rem; }
  .article h3 { margin-top: 24px; font-size: 1.25rem; }
  .article p { font-size: 0.98rem; }
  .feature-grid { gap: 16px; margin: 24px 0; }
  .feature-block { padding: 20px; }
  .article ul.checklist li { padding: 8px 0 8px 32px; font-size: 0.95rem; }
  .article ul.checklist li::before { width: 20px; height: 20px; top: 12px; }

  /* CTA banner */
  .cta-banner { padding: 50px 0; }
  .cta-banner-inner { gap: 24px; }
  .cta-banner h2 { font-size: 1.9rem; }
  .cta-banner .btn { width: 100%; justify-content: center; }

  /* Inline CTA */
  .inline-cta { padding: 28px 22px; margin: 36px 0; }
  .inline-cta .btn { width: 100%; justify-content: center; }

  /* Form */
  .form-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }

  /* Estimate page sidebar — stacks below form */
  .form-card + aside,
  .form-page-grid { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Photo strip */
  .photo-strip { grid-template-columns: 1fr; gap: 14px; margin: 28px 0; }
  .photo-slot { aspect-ratio: 4/3; }
  .photo-feature { aspect-ratio: 4/3; margin: 24px 0; }

  /* Buttons — tap targets */
  .btn { padding: 13px 22px; }
  .btn-lg { padding: 15px 26px; font-size: 0.95rem; }

  /* Footer — more breathing room */
  .site-footer { padding: 48px 0 0; }
  .footer-top { gap: 32px; padding-bottom: 36px; }
  .footer-bottom { padding: 20px 0; flex-direction: column; text-align: center; }

  /* Mobile menu inner pages — content scrollable */
  .mobile-menu { padding: 70px 24px 32px; }

  /* Page hero typography for inner pages */
  .breadcrumbs { margin-bottom: 12px; }

  /* Anywhere with split layout — stack */
  .split { gap: 32px; }

  /* Mobile menu close — bigger tap area */
  .mobile-menu-close { top: 18px; right: 18px; }
}

/* Very small phones */
@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .hero h1 { font-size: 1.95rem; }
  .page-hero h1 { font-size: 1.65rem; }
  .section-head h2 { font-size: 1.65rem; }
  .logo img { height: 42px; }
  .header-inner { height: 64px; }
  --header-h: 64px;
}

/* Touch-friendly hover states (no hover on touch) */
@media (hover: none) {
  .service-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .value:hover .value-icon { transform: none; }
  .photo-slot:hover { transform: none; }
}

/* ========================================
   Form-page-grid utility (used by request-estimate)
   ======================================== */
.form-page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .form-page-grid { grid-template-columns: 1fr; gap: 24px; }
}
