/* ============================================================
   ALL BROTHERS LAWN SQUAD — "Elite Green" Design System
   Vibrant, premium, lively — signals excellence & authority
   ============================================================ */

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

/* — Custom Properties — */
:root {
  /* Core palette — Bright, vibrant, elite */
  --forest: #0d6b3f;
  --forest-light: #109e5a;
  --forest-deep: #074a2a;
  --sage: #2ecc71;
  --sage-light: #58d68d;
  --sage-muted: #a3e4be;
  --gold: #c5952b;
  --gold-light: #d4a843;
  --gold-glow: #f0d78c;
  --navy: #1a2744;
  --navy-light: #263a5e;
  --cream: #f8faf8;
  --cream-dark: #e9f0e9;
  --white: #ffffff;
  --charcoal: #1a1a2e;
  --text: #2d3436;
  --text-light: #636e72;
  --text-inv: #f0f7f0;

  /* Aliases for backward compat with existing class names */
  --wheat: var(--gold);
  --wheat-light: var(--gold-light);
  --wheat-glow: var(--gold-glow);
  --soil: var(--navy);
  --soil-light: var(--navy-light);

  /* Functional */
  --bg: var(--white);
  --bg-alt: var(--cream);
  --accent: var(--gold);
  --primary: var(--forest);
  --primary-light: var(--forest-light);

  /* Typography — Playfair for elegance, Inter for clean body */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 800px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows — slightly green-tinted for brand cohesion */
  --shadow-sm: 0 1px 4px rgba(13,107,63,0.07);
  --shadow-md: 0 4px 20px rgba(13,107,63,0.09);
  --shadow-lg: 0 8px 32px rgba(13,107,63,0.12);
  --shadow-xl: 0 20px 50px rgba(13,107,63,0.15);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Header */
  --header-h: 80px;
  --header-h-scrolled: 64px;
}

/* — Reset & Base — */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* — Typography — */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p { max-width: 65ch; }

.text-accent { color: var(--wheat); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 55ch;
  margin-top: var(--space-sm);
  line-height: 1.8;
}

/* — Layout — */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--forest);
  color: var(--text-inv);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark .section-label {
  color: var(--sage-muted);
}

.section--dark .section-subtitle {
  color: var(--sage-muted);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}

.btn--primary {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.btn--primary:hover {
  background: var(--forest-light);
  border-color: var(--forest-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,107,63,0.3);
}

.btn--accent {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn--accent:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197,149,43,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn--outline:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--forest);
  border-color: var(--white);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* — Header — */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(254,254,254,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  height: var(--header-h-scrolled);
  border-bottom: 1px solid rgba(26,58,42,0.08);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: auto;
  transition: height 0.3s var(--ease);
}

.site-header.scrolled .logo-img {
  height: 40px;
}

.logo-img--light {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-main a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--forest);
}

.nav-main a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--wheat);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav-main a:hover::after,
.nav-main a.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  display: none;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s var(--ease);
}

.nav-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  border: 1px solid rgba(26,58,42,0.06);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: var(--cream);
  color: var(--forest);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-phone svg {
  width: 16px;
  height: 16px;
}

/* My Account link — clones .header-phone styling. Stays visible on mobile
   (no display:none breakpoint) so existing customers can reach the portal
   from a phone screen without opening the hamburger menu. */
.header-account {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.header-account svg {
  width: 16px;
  height: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--forest);
  transition: all 0.3s var(--ease);
  display: block;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 1024px) {
  .hamburger { display: flex; }

  .nav-main {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 380px);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + 1rem) var(--space-md) var(--space-md);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    gap: 0;
    z-index: 1000;
  }

  .nav-main.open {
    transform: translateX(0);
  }

  .nav-main a {
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--cream-dark);
  }

  .nav-main a::after { display: none; }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 var(--space-sm);
    background: transparent;
  }

  .nav-dropdown-menu a {
    font-size: 0.9rem;
    border-bottom: 1px solid var(--cream);
    padding: 0.65rem 0;
  }

  .header-phone { display: none; }
}

@media (max-width: 600px) {
  .header-cta .btn { display: none; }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,58,42,0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* — Hero — */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero--short {
  min-height: auto;
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest) 40%, var(--forest-light) 80%, var(--sage) 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 640px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.hero-content h1 em {
  color: var(--gold-glow);
  font-style: italic;
  position: relative;
}

.hero-content h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0.5;
  border-radius: 2px;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.hero-image-placeholder {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 2rem;
  z-index: 1;
  pointer-events: none;
}

/* Decorative shapes */
.hero-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-decor--circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(196,163,90,0.15);
  right: -100px;
  top: -100px;
}

.hero-decor--dots {
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(196,163,90,0.25) 1px, transparent 1px);
  background-size: 12px 12px;
  bottom: 60px;
  left: 5%;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest) 60%, var(--forest-light) 100%);
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: var(--sage-muted);
  font-size: 1.1rem;
  max-width: 55ch;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--sage-muted);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: var(--sage-muted);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--wheat-glow); }
.breadcrumb .sep { opacity: 0.5; }

/* — Cards — */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
  border: 1px solid rgba(26,58,42,0.04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  height: 220px;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--forest-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26,58,42,0.15));
}

.card-body {
  padding: var(--space-md);
}

.card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
  transition: gap 0.3s var(--ease);
}

.card-link:hover { gap: 0.75rem; }

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.card-link:hover svg { transform: translateX(2px); }

/* Service Card (icon-style) */
.svc-card {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13,107,63,0.06);
  border-top: 3px solid transparent;
  transition: all 0.35s var(--ease);
  text-align: center;
  position: relative;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--gold);
}

.svc-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--forest);
  transition: all 0.3s var(--ease);
}

.svc-card:hover .svc-card-icon {
  background: var(--forest);
  color: var(--gold-glow);
  transform: scale(1.05);
}

.svc-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.svc-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0 auto;
}

/* — Why Choose Us / Feature Blocks — */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature-image {
  border-radius: var(--radius-xl);
  height: 400px;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--forest-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}

.feature-text h2 {
  margin-bottom: var(--space-sm);
}

.feature-text p {
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  color: var(--wheat);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row--reverse {
    direction: ltr;
  }

  .feature-image {
    height: 250px;
  }
}

/* — Testimonials — */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,58,42,0.04);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--wheat);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--wheat);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--forest);
}

.testimonial-service {
  font-size: 0.8rem;
  color: var(--text-light);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--wheat);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

/* — Forms — */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: all 0.2s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(26,58,42,0.08);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-md);
}

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

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid--address {
    grid-template-columns: 1fr;
  }
}

/* Quick Quote Widget */
.quote-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26,58,42,0.06);
}

.quote-widget h3 {
  margin-bottom: var(--space-md);
  font-size: 1.4rem;
}

.quote-widget .form-group {
  margin-bottom: var(--space-sm);
}

/* — Stats Bar — */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-lg);
  text-align: center;
  padding: var(--space-xl) 0;
}

.stat-item {
  padding: var(--space-sm);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--sage);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  font-weight: 500;
}

.section--dark .stat-label {
  color: var(--sage-muted);
}

/* — Process Steps — */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: var(--space-md);
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--wheat);
  opacity: 0.25;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-sm);
}

.process-step h4 {
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* — FAQ Accordion — */
.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--forest-light);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--forest);
  transition: transform 0.3s var(--ease);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
  padding-bottom: var(--space-md);
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* — Portfolio / Our Work — */
.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.portfolio-filter {
  padding: 0.6rem 1.25rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 100px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.portfolio-filter:hover {
  border-color: var(--sage);
  color: var(--forest);
}

.portfolio-filter.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-md);
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
  border: 1px solid rgba(26,58,42,0.04);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card-image {
  height: 240px;
  background: linear-gradient(135deg, var(--sage-light), var(--forest));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  position: relative;
}

.portfolio-card-body {
  padding: var(--space-md);
}

.portfolio-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.portfolio-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.portfolio-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.portfolio-tag {
  padding: 0.25rem 0.75rem;
  background: var(--cream);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
}

/* — CTA Banner — */
.cta-banner {
  background: var(--forest);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(196,163,90,0.1);
  top: -250px;
  right: -100px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(196,163,90,0.08);
  bottom: -150px;
  left: -50px;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: var(--sage-muted);
  font-size: 1.1rem;
  margin: 0 auto var(--space-lg);
  max-width: 50ch;
}

/* — GC Callout — */
.gc-callout {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  color: var(--text-inv);
  position: relative;
  overflow: hidden;
}

.gc-callout::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(196,163,90,0.15);
}

.gc-callout h3 {
  color: var(--wheat-glow);
  margin-bottom: var(--space-sm);
  font-size: 1.6rem;
}

.gc-callout p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-md);
}

.gc-callout ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem var(--space-lg);
  margin-bottom: var(--space-lg);
}

.gc-callout ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}

.gc-callout ul li::before {
  content: '✓';
  color: var(--wheat);
  font-weight: 700;
}

@media (max-width: 600px) {
  .gc-callout ul {
    grid-template-columns: 1fr;
  }
}

/* — Footer — */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: var(--space-2xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 30ch;
}

.footer-social {
  display: none;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s var(--ease);
}

.footer-social a:hover {
  background: var(--wheat);
  color: var(--forest);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--wheat);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-certs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  font-size: 0.75rem;
  opacity: 0.6;
}

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

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

/* — Blog — */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,58,42,0.04);
  transition: all 0.35s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--sage-muted), var(--forest-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
}

.blog-card-body {
  padding: var(--space-md);
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.blog-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Blog Post */
.blog-post {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.blog-post h1 {
  margin-bottom: var(--space-sm);
}

.blog-post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--cream-dark);
}

.blog-post-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.blog-post-content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.blog-post-content p {
  margin-bottom: var(--space-md);
  max-width: none;
}

.blog-post-content ul,
.blog-post-content ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
}

.blog-post-content li {
  list-style: disc;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.blog-post-content ol li {
  list-style: decimal;
}

/* — Reviews — */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

/* — Contact Page — */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--wheat);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.map-placeholder {
  height: 250px;
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: var(--space-md);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* — Scroll Reveal Animation — */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* — Utility — */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* — Inline SVG icons (shared) — */
.icon-arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
}

/* — Coming Soon Banner — */
.coming-soon-banner {
  background: var(--gold-glow);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.coming-soon-banner strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.coming-soon-banner span {
  color: var(--text);
  flex: 1;
  min-width: 200px;
}

.coming-soon-banner .btn {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .coming-soon-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-sm) var(--space-md);
  }

  .coming-soon-banner .btn {
    width: 100%;
    margin-top: var(--space-xs);
  }
}

/* ============================================================
   MOBILE RESPONSIVENESS — Comprehensive
   ============================================================ */

/* — Tablet (768px and below) — */
@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

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

  .container { padding: 0 var(--space-sm); }

  /* Hero */
  .hero {
    min-height: 70vh;
    padding-top: var(--header-h);
  }

  .hero-content {
    max-width: 100%;
    padding: var(--space-lg) 0;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-image-placeholder {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    opacity: 0.2;
  }

  .hero-decor--circle { display: none; }
  .hero-decor--dots { display: none; }

  /* Page Hero */
  .page-hero {
    padding: calc(var(--header-h) + var(--space-lg)) 0 var(--space-lg);
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  /* Buttons */
  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .btn--lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  /* Stats */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-number {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }

  /* Grid layouts */
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Service cards */
  .svc-card {
    padding: var(--space-md);
  }

  /* Process steps */
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-xs);
    -webkit-overflow-scrolling: touch;
  }

  .portfolio-filter {
    flex-shrink: 0;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Reviews */
  .review-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Banner */
  .cta-banner {
    padding: var(--space-xl) 0;
  }

  .cta-banner h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .cta-banner .btn-group {
    flex-direction: column;
    align-items: center;
  }

  /* GC Callout */
  .gc-callout {
    padding: var(--space-lg);
  }

  .gc-callout h3 {
    font-size: 1.3rem;
  }

  /* Quote Widget */
  .quote-widget {
    padding: var(--space-md);
  }

  /* Testimonials */
  .testimonial-card {
    padding: var(--space-md);
  }

  /* Cards */
  .card-image {
    height: 180px;
  }
}

/* — Small phones (480px and below) — */
@media (max-width: 480px) {
  :root {
    --header-h: 64px;
    --header-h-scrolled: 56px;
    --space-xl: 2.5rem;
    --space-2xl: 3rem;
  }

  body {
    font-size: 15px;
  }

  h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  h3 { font-size: clamp(1.1rem, 4vw, 1.4rem); }

  .container { padding: 0 1rem; }

  /* Hero — full-bleed on small screens */
  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: var(--space-md) 0;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Header */
  .logo-img {
    height: 36px;
  }

  .site-header.scrolled .logo-img {
    height: 32px;
  }

  /* Stats — single column on very small */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    padding: var(--space-lg) 0;
  }

  .stat-item { padding: var(--space-xs); }

  /* Feature rows */
  .feature-image {
    height: 200px;
    border-radius: var(--radius);
  }

  /* Section labels */
  .section-label {
    font-size: 0.7rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Forms */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.7rem 0.85rem;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }

  /* Portfolio card images */
  .portfolio-card-image {
    height: 200px;
  }

  /* Blog cards */
  .blog-card-image {
    height: 160px;
  }

  /* Contact page */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .map-placeholder {
    height: 200px;
  }

  /* Coming Soon banner — stack on mobile */
  .gc-callout ul {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .faq-question {
    font-size: 1rem;
    padding: var(--space-sm) 0;
  }

  /* Breadcrumb */
  .breadcrumb {
    font-size: 0.8rem;
  }

  /* Testimonial quote mark */
  .testimonial-card::before {
    font-size: 3rem;
    top: 0.5rem;
    left: 1rem;
  }

  /* Nav mobile improvements */
  .nav-main {
    width: 100vw;
  }
}

/* — Touch-friendly tap targets — */
@media (pointer: coarse) {
  .btn {
    min-height: 44px;
  }

  .nav-main a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .faq-question {
    min-height: 48px;
  }

  .portfolio-filter {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-col a {
    padding: 0.5rem 0;
    min-height: 40px;
    display: flex;
    align-items: center;
  }
}

/* — Landscape phone — */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + var(--space-md)) 0 var(--space-lg);
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

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

/* — Print — */
@media print {
  .site-header, .site-footer, .cta-banner { display: none; }
  body { font-size: 12pt; }
}
