/* ============================================================
   Upright Industries — Design Tokens
   Brand green sampled from logo: rgb(47,93,80) = #2F5D50
   Brand charcoal sampled from logo: rgb(31,36,40) = #1F2428
   ============================================================ */
:root {
  --green-900: #16332B;
  --green-800: #1F4438;
  --green-700: #2F5D50;   /* primary brand */
  --green-600: #3A705F;
  --green-500: #4A8873;
  --green-100: #E4EEE9;
  --green-50:  #F2F7F5;

  --charcoal-900: #1F2428; /* secondary brand */
  --charcoal-700: #363E44;
  --charcoal-500: #5B646B;
  --charcoal-300: #93A0A8;

  --gold-500: #D9A441;

  --white: #FFFFFF;
  --bg: #FBFAF8;
  --bg-alt: var(--green-50);
  --line: #E5E3DE;

  --text-body: #33393D;
  --text-muted: var(--charcoal-500);

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(22, 51, 43, 0.08);
  --shadow-md: 0 8px 24px rgba(22, 51, 43, 0.12);
  --shadow-lg: 0 20px 48px rgba(22, 51, 43, 0.18);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --container: 1200px;
  --dur-fast: 150ms;
  --dur-med: 300ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal-900);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}
p { margin: 0 0 var(--space-3); }
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
section { padding-block: var(--space-8); }
@media (max-width: 700px) {
  section { padding-block: var(--space-6); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
h2.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 40ch; }
.section-lead {
  color: var(--text-muted);
  max-width: 60ch;
  font-size: 1.05rem;
}
.section-head { margin-bottom: var(--space-6); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .section-lead { margin-inline: auto; }
.section-head.split {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-4);
}
.section-head.split .section-title { margin-bottom: 0; }
.rating-summary { text-align: right; flex-shrink: 0; }
.rating-summary-top { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.rating-summary-top .stars svg { width: 18px; height: 18px; color: var(--gold-500); }
.rating-summary-num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--green-700); line-height: 1; }
.rating-summary-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 560px) {
  .section-head.split { text-align: left; }
  .rating-summary { text-align: left; }
  .rating-summary-top { justify-content: flex-start; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-700); color: var(--white); border-color: var(--green-700); }
.btn-primary:hover { background: var(--green-800); border-color: var(--green-800); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-dark { background: var(--charcoal-900); color: var(--white); border-color: var(--charcoal-900); }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn-ghost:hover { background: var(--green-700); color: var(--white); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 248, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: var(--space-4);
}
.brand { display: flex; align-items: center; gap: var(--space-2); }
.brand img { height: 44px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--charcoal-900); }

.main-nav { display: flex; align-items: center; gap: var(--space-5); }
.main-nav a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal-700);
  position: relative;
  padding-block: 4px;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--green-700);
  transition: width var(--dur-fast) var(--ease);
}
.main-nav a:not(.btn):hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: var(--space-3); }
.call-pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--green-700); color: var(--white);
  padding: 14px 26px; border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  min-height: 48px; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.call-pill:hover { background: var(--green-800); box-shadow: var(--shadow-md); }
.call-pill svg { width: 18px; height: 18px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none; border: none; padding: 8px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--charcoal-900); }

@media (max-width: 920px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    padding: var(--space-2) var(--space-4) var(--space-4);
    border-top: 1px solid var(--line);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility 0s linear var(--dur-med);
  }
  .main-nav.open {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
    transition-delay: 0s;
  }
  .main-nav a:not(.btn) {
    font-size: 1rem; padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-6px);
    transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
  }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .btn {
    margin-top: var(--space-3); width: 100%;
    opacity: 0; transform: translateY(-6px);
    transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  }
  .main-nav.open a:not(.btn), .main-nav.open .btn { opacity: 1; transform: translateY(0); }
  .main-nav.open > :nth-child(1) { transition-delay: 40ms; }
  .main-nav.open > :nth-child(2) { transition-delay: 80ms; }
  .main-nav.open > :nth-child(3) { transition-delay: 120ms; }
  .main-nav.open > :nth-child(4) { transition-delay: 160ms; }
  .main-nav.open > :nth-child(5) { transition-delay: 200ms; }
  .main-nav.open > :nth-child(6) { transition-delay: 240ms; }
  .main-nav.open > :nth-child(7) { transition-delay: 280ms; }
  .header-cta .btn-ghost-text { display: none; }
  .nav-toggle { display: inline-flex; }
  .call-pill span.pill-label { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
  background: var(--charcoal-900);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 15% 30%;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(22,51,43,0.96) 10%, rgba(22,51,43,0.75) 45%, rgba(31,36,40,0.55) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7);
  align-items: center;
}
.hero-inner { max-width: 620px; }
.hero-reviews-badge { min-height: 28px; margin-bottom: var(--space-4); }
.hero-reviews-badge .ti-widget { text-align: left !important; }
.hero-reviews-badge .ti-header,
.hero-reviews-badge .ti-fade-container { padding: 0 !important; justify-content: flex-start !important; }
.hero-reviews-badge.hero-reviews-badge strong,
.hero-reviews-badge.hero-reviews-badge .ti-mob-row strong { color: #fff !important; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  margin-bottom: var(--space-3);
}
.hero-lead { color: rgba(255,255,255,0.88); font-size: 1.15rem; max-width: 54ch; margin-bottom: var(--space-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; color: var(--gold-500); }

/* Hero lead-capture form */
.hero-form {
  background: var(--white); color: var(--text-body);
  border-radius: var(--radius-lg); padding: var(--space-5);
  box-shadow: var(--shadow-lg);
}
.hero-form-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-700);
  margin-bottom: 6px;
}
.hero-form-eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--gold-500); display: inline-block; }
.hero-form-title { font-size: 1.4rem; margin-bottom: var(--space-4); }
.hero-form-title span { color: var(--green-700); }
.hero-form .field { margin-bottom: var(--space-3); }
.hero-form .field label { font-size: 0.78rem; margin-bottom: 4px; }
.hero-form .field input { padding: 10px 12px; min-height: 42px; font-size: 0.9rem; }
.hero-form .check-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-form .check-item { padding: 8px 10px; font-size: 0.82rem; }
.hero-form-note { text-align: center; font-size: 0.76rem; color: var(--text-muted); margin: var(--space-3) 0 0; }

.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-radio {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  padding: 7px 14px; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  color: var(--charcoal-700);
}
.pill-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-radio:has(input:checked) { border-color: var(--green-700); background: var(--green-700); color: var(--white); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-form { max-width: 520px; }

  /* The stacked hero is ~2000px tall on phones; a landscape video cover-fit to that
     is blown up ~3.5x and blurry. Pin the video to a viewport-sized frame instead so
     it stays at a sane scale (and centered on the roofer) while the content scrolls. */
  .hero { overflow: clip; }
  .hero-bg { overflow: clip; }
  .hero-video {
    position: sticky; top: 79px; /* sits just under the sticky header */
    height: 100vh; height: 100svh;
    object-position: 49% 50%; /* roofer is ~49% across the frame */
  }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(22,51,43,0.8) 0%, rgba(22,51,43,0.55) 50%, rgba(22,51,43,0.85) 100%);
  }
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--charcoal-900); padding-block: var(--space-4); }
.trust-list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--space-6) var(--space-7);
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.92);
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  white-space: nowrap;
}
.trust-item svg { width: 20px; height: 20px; color: var(--green-500); flex-shrink: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: center;
}
.about-body p { color: var(--text-muted); font-size: 1.02rem; }
.about-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; margin-top: var(--space-5); }
.about-panel {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
}
.about-rating { padding-bottom: var(--space-4); margin-bottom: var(--space-4); border-bottom: 1px solid var(--green-100); }
.about-rating .stars svg { color: var(--gold-500); width: 20px; height: 20px; }
.about-rating p { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--charcoal-900); margin: 8px 0 0; }
.about-list { display: grid; gap: var(--space-4); }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--charcoal-900); }
.about-list svg { width: 22px; height: 22px; color: var(--green-700); flex-shrink: 0; margin-top: 1px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.service-icon svg { width: 28px; height: 28px; color: var(--green-700); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Why Choose Us ---------- */
.why-section { background: var(--green-900); color: var(--white); }
.why-section .eyebrow { color: var(--gold-500); }
.why-section .eyebrow::before { background: var(--white); }
.why-section h2.section-title { color: var(--white); }
.why-section .section-lead { color: rgba(255,255,255,0.72); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  overflow: hidden;
  position: relative;
}
.why-num {
  font-family: var(--font-head); font-weight: 800; font-size: 0.8rem;
  color: var(--gold-500); letter-spacing: 0.08em;
  margin-bottom: var(--space-2); display: block;
}
.why-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.why-card p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin: 0; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Maintenance Plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}
.plan-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5) var(--space-5);
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative;
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.featured { border-color: var(--gold-500); background: rgba(217,164,65,0.07); }
.plan-tag {
  position: absolute; top: -14px; left: var(--space-5);
  background: var(--gold-500); color: var(--charcoal-900);
  font-family: var(--font-head); font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.plan-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: var(--space-3); }
.plan-card.featured h3 { color: var(--gold-500); }
.plan-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem;
  padding: 8px 16px; border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}
.plan-freq { color: rgba(255,255,255,0.68); font-size: 0.92rem; margin-bottom: var(--space-6); }
.plan-card .btn { margin-top: auto; }
@media (max-width: 980px) { .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.plans-note { text-align: center; color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: var(--space-6); max-width: 60ch; margin-inline: auto; }

/* ---------- See us at work (video strip) ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.work-item {
  position: relative; margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--charcoal-900);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
}
.work-item video { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(22,51,43,0.88), transparent);
  color: var(--white); font-family: var(--font-head); font-size: 0.95rem; font-weight: 600;
  padding: 36px 18px 14px;
  pointer-events: none;
}
.work-play {
  position: absolute; top: 50%; left: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(22,51,43,0.6); border: 2px solid rgba(255,255,255,0.85);
  color: var(--white);
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.work-play svg { width: 28px; height: 28px; margin-left: 3px; }
.work-item.is-playing .work-play { opacity: 0; transform: scale(0.8); }
.work-item:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .work-item:hover, .work-item:focus-visible {
    transform: scale(1.07);
    box-shadow: var(--shadow-lg);
    z-index: 2;
  }
  .work-grid:hover .work-item:not(:hover) { opacity: 0.72; }
}
@media (max-width: 700px) {
  .work-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* ---------- Service Area ---------- */
.area-section { background: var(--bg-alt); }
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin: var(--space-5) 0; }
.area-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-family: var(--font-head); font-size: 0.95rem; }
.area-list svg { width: 18px; height: 18px; color: var(--green-700); flex-shrink: 0; }
.area-list li.hq { color: var(--green-700); }
.area-note { font-size: 0.9rem; color: var(--text-muted); }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  background: var(--green-50);
  position: relative;
}
#serviceMap { width: 100%; height: 100%; }
#serviceMap iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-fallback { display: flex; align-items: center; justify-content: center; height: 100%; font-weight: 600; color: var(--green-700); }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; gap: var(--space-5); } }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex; flex-direction: column;
}
.testi-card .stars { margin-bottom: var(--space-3); }
.testi-card .stars svg { width: 16px; height: 16px; }
.testi-quote { color: var(--charcoal-700); font-size: 0.95rem; flex-grow: 1; margin-bottom: var(--space-4); }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-700); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.testi-name { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--charcoal-900); }
.testi-loc { font-size: 0.82rem; color: var(--text-muted); }
.testi-cta { text-align: center; margin-top: var(--space-6); }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: var(--space-3); }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); padding: var(--space-4) var(--space-5);
  background: none; border: none; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--charcoal-900);
}
.faq-q svg { width: 20px; height: 20px; color: var(--green-700); flex-shrink: 0; transition: transform var(--dur-med) var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease); }
.faq-a-inner { padding: 0 var(--space-5) var(--space-4); color: var(--text-muted); font-size: 0.95rem; }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------- Quote / Contact ---------- */
.quote-section { background: var(--charcoal-900); color: var(--white); position: relative; overflow: hidden; }
.quote-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-7); }
.quote-info .eyebrow { color: var(--gold-500); }
.quote-info .eyebrow::before { background: var(--white); }
.quote-info h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.quote-info p { color: rgba(255,255,255,0.72); }
.quote-contacts { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.quote-contact-item { display: flex; align-items: center; gap: 14px; }
.quote-contact-item .ic {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.quote-contact-item .ic svg { width: 20px; height: 20px; color: var(--gold-500); }
.quote-contact-item a, .quote-contact-item span { font-weight: 600; color: var(--white); }
.quote-contact-item small { display: block; color: rgba(255,255,255,0.55); font-size: 0.78rem; font-weight: 500; }
.quote-response {
  margin-top: var(--space-5); padding: var(--space-4);
  background: rgba(255,255,255,0.06); border-radius: var(--radius-md);
  font-size: 0.88rem; color: rgba(255,255,255,0.8);
  display: flex; gap: 10px; align-items: flex-start;
}
.quote-response svg { width: 20px; height: 20px; color: var(--green-500); flex-shrink: 0; margin-top: 1px; }

.quote-form {
  background: var(--white); color: var(--text-body);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--charcoal-900); margin-bottom: 6px; font-family: var(--font-head); }
.field .req { color: var(--green-700); }
.field input,
.field select,
.field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; font-family: var(--font-body); font-size: 0.95rem;
  background: var(--bg); transition: border-color var(--dur-fast) var(--ease);
  min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px var(--green-100);
}
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-item {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.check-item:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.check-item input { width: 18px; height: 18px; accent-color: var(--green-700); flex-shrink: 0; }
.form-success {
  display: none; text-align: center; padding: var(--space-6) var(--space-4);
}
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--green-700); margin: 0 auto var(--space-3); }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }
.form-error {
  color: #B3261E; background: #FBEAE9; border: 1px solid #F2C9C6;
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-size: 0.88rem; text-align: center; margin: var(--space-3) 0 0;
}
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .form-row, .check-grid { grid-template-columns: 1fr; }
  .quote-form { padding: var(--space-4); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.75); padding-top: var(--space-7); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand img { height: 30px; margin-bottom: var(--space-3); filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; }
.social-row { display: flex; gap: 10px; margin-top: var(--space-4); }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.social-row a:hover { background: var(--green-700); color: var(--white); }
.social-row svg { width: 18px; height: 18px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--space-3); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.9rem; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.footer-col .contact-line svg { width: 16px; height: 16px; color: var(--gold-500); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-3);
  padding-block: var(--space-4);
  font-size: 0.82rem;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--green-700); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm);
  z-index: 2000; transition: top var(--dur-fast) var(--ease);
  font-weight: 700; font-size: 0.9rem;
}
.skip-link:focus { top: 12px; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}
