/* ================================================
   Roof Repair of Grand Rapids - Heritage Craftsman
   Direction: established premium West MI contractor.
   Deep navy base, copper accents, cream warmth.
   Serif headlines for craftsmanship authority.
   Distinct from sister-site lead-gen aesthetic.
   ================================================ */

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

/* ── 1. CSS Variables ── */
:root {
  --primary:        #0f172a;
  --primary-dark:   #020617;
  --primary-light:  #1e293b;
  --primary-mid:    #334155;
  --accent:         #b45309;
  --accent-dark:    #92400e;
  --accent-light:   #d97706;
  --accent-glow:    rgba(180, 83, 9, 0.22);
  --gold:           #ca8a04;
  --cream:          #fef3c7;
  --cream-deep:     #fde68a;
  --warm-bg:        #fffbeb;
  --paper:          #fafaf9;
  --text:           #1c1917;
  --text-soft:      #44403c;
  --text-muted:     #78716c;
  --border:         #e7e5e4;
  --border-warm:    #d6d3d1;
  --white:          #ffffff;
  --success:        #15803d;
  --shadow-sm:      0 1px 3px rgba(15,23,42,0.08);
  --shadow:         0 4px 14px rgba(15,23,42,0.10);
  --shadow-md:      0 10px 30px rgba(15,23,42,0.12);
  --shadow-lg:      0 20px 60px rgba(15,23,42,0.16);
  --shadow-warm:    0 8px 24px rgba(180,83,9,0.18);
  --radius:         4px;
  --radius-lg:      8px;
  --max-width:      1180px;
  --header-h:       80px;
  --font-serif:     'Playfair Display', Georgia, serif;
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── 2. Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--warm-bg);
  line-height: 1.7;
  font-size: 17px;
  font-feature-settings: 'kern', 'liga';
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
.hidden { position: absolute; left: -9999px; }

/* ── 3. Typography ── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.18; color: var(--primary); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-sans); letter-spacing: 0.02em; text-transform: uppercase; }
p { margin-bottom: 1rem; color: var(--text-soft); }
p:last-child { margin-bottom: 0; }

/* ── 4. Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--primary); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.82); }
.content-narrow { max-width: 760px; margin: 0 auto; }

/* ── 5. Header ── */
.site-header {
  background: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  box-shadow: 0 2px 0 var(--accent), 0 4px 20px rgba(0,0,0,0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.logo-mark { display: flex; align-items: center; }
.logo-mark svg { display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--white); letter-spacing: -0.005em; }
.logo-sub { font-family: var(--font-sans); font-size: 0.65rem; font-weight: 600; color: var(--accent-light); letter-spacing: 0.18em; text-transform: uppercase; }

.main-nav > ul { display: flex; align-items: center; gap: 0.2rem; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 0.6rem 0.9rem;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.18s;
  text-decoration: none;
}
.main-nav > ul > li > a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.main-nav .has-dropdown > a::after { content: ' \25BE'; font-size: 0.65rem; opacity: 0.5; }
.main-nav .dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.18s; overflow: hidden; z-index: 100;
}
.main-nav .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .dropdown li a {
  display: block; padding: 0.75rem 1.25rem;
  color: var(--text); font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.15s;
}
.main-nav .dropdown li:last-child a { border-bottom: none; }
.main-nav .dropdown li a:hover { background: var(--cream); color: var(--accent-dark); padding-left: 1.5rem; }

.header-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent); color: var(--white);
  padding: 0.65rem 1.15rem; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent-dark); color: var(--white); box-shadow: var(--shadow-warm); }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ── 6. Hero ── */
.hero {
  position: relative;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
  padding: 5rem 0 6rem;
  border-bottom: 4px solid var(--accent);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(180,83,9,0.18), transparent),
                    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(202,138,4,0.10), transparent);
  z-index: 0;
}
.hero-photo {
  position: absolute; right: 0; top: 0; bottom: 0; width: 50%;
  background-size: cover; background-position: center;
  opacity: 0.35;
  mask-image: linear-gradient(to left, black 50%, transparent);
  -webkit-mask-image: linear-gradient(to left, black 50%, transparent);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.hero-content { max-width: 680px; }
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(217,119,6,0.4);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--accent-light); font-weight: 500; }
.hero-sub { font-size: 1.18rem; color: rgba(255,255,255,0.85); line-height: 1.65; margin-bottom: 2.25rem; max-width: 600px; font-family: var(--font-sans); font-weight: 400; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.75rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-sans); font-size: 0.86rem; font-weight: 500; color: rgba(255,255,255,0.75); }
.hero-trust svg { color: var(--accent-light); }

/* ── 7. Page Hero (smaller version for non-homepage) ── */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0 4.5rem;
  border-bottom: 4px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(ellipse 50% 60% at 80% 30%, rgba(180,83,9,0.15), transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero-sub { font-size: 1.13rem; color: rgba(255,255,255,0.82); line-height: 1.6; max-width: 720px; }
.breadcrumb { font-family: var(--font-sans); font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--accent-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

.meta-line { font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-muted); font-style: italic; }

/* ── 8. Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  border: none; border-radius: var(--radius); cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-warm); }
.btn-secondary { background: var(--cream); color: var(--primary); border: 1px solid var(--cream-deep); }
.btn-secondary:hover { background: var(--cream-deep); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-lg { padding: 1.05rem 1.85rem; font-size: 1rem; }
.btn-xl { padding: 1.2rem 2.1rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ── 9. Section heads (different style from site 1) ── */
.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--accent);
}
.section-head h2 { margin-bottom: 1rem; }
.section-lede { font-size: 1.13rem; color: var(--text-soft); line-height: 1.65; }

/* ── 10. Trust strip (replaces stats-bar from site 1) ── */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.trust-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: center; }
.trust-item { text-align: center; }
.trust-item-num { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 0.4rem; }
.trust-item-num em { font-style: normal; color: var(--accent); font-size: 0.85em; }
.trust-item-label { font-family: var(--font-sans); font-size: 0.82rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

/* ── 11. Card grid (different visual from site 1) ── */
.card-grid { display: grid; gap: 1.75rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  transition: all 0.25s;
  display: block;
  text-decoration: none;
  color: var(--text);
  position: relative;
}
.card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent);
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
  transform: scaleY(0); transform-origin: top; transition: transform 0.25s;
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card:hover::before { transform: scaleY(1); }
.card h3 { color: var(--primary); margin-bottom: 0.75rem; }
.card p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.65; margin-bottom: 1rem; }
.card-meta { font-family: var(--font-sans); font-size: 0.83rem; color: var(--text-muted); font-weight: 500; padding-top: 0.85rem; border-top: 1px solid var(--border); }
.card-link { font-family: var(--font-sans); font-size: 0.88rem; font-weight: 600; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 0.4rem; }
.card-link:hover { gap: 0.6rem; }
.card-icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 1.25rem; }
.card-icon svg { width: 100%; height: 100%; }

/* ── 12. Content split (image + text) ── */
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.content-split-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.content-split.reverse > :first-child { order: 2; }

/* ── 13. Feature list & ordered list ── */
.feature-list { list-style: none; margin: 1.25rem 0; }
.feature-list li { padding: 0.55rem 0 0.55rem 1.85rem; position: relative; line-height: 1.7; color: var(--text-soft); border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '\2713';
  position: absolute; left: 0; top: 0.6rem;
  width: 1.25rem; height: 1.25rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.feature-list li strong { color: var(--primary); }

.ordered-bullets { list-style: none; counter-reset: bullets; margin: 1.25rem 0; }
.ordered-bullets li {
  counter-increment: bullets;
  padding: 0.7rem 0 0.7rem 2.5rem;
  position: relative;
  line-height: 1.65;
  color: var(--text-soft);
}
.ordered-bullets li::before {
  content: counter(bullets);
  position: absolute; left: 0; top: 0.7rem;
  width: 1.85rem; height: 1.85rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ── 14. FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.2s; }
.faq-item:hover { border-color: var(--border-warm); }
.faq-item.open { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-serif); font-size: 1.08rem; font-weight: 700;
  color: var(--primary); line-height: 1.4;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-question svg { flex-shrink: 0; color: var(--accent); transition: transform 0.2s; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; padding: 0 1.5rem; }
.faq-item.open .faq-answer { max-height: 600px; padding: 0 1.5rem 1.4rem; }
.faq-answer p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.7; }
.faq-answer a { color: var(--accent-dark); font-weight: 600; }

/* ── 15. Testimonial / Quote ── */
.quote-block {
  background: var(--cream);
  border-left: 4px solid var(--accent);
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  position: relative;
}
.quote-block p { font-family: var(--font-serif); font-style: italic; font-size: 1.18rem; color: var(--primary); line-height: 1.55; margin-bottom: 0.85rem; }
.quote-block cite { font-family: var(--font-sans); font-style: normal; font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }

/* ── 16. Locations grid ── */
.locations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; margin-top: 2rem; }
.location-tile {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.25rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  color: var(--primary);
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
}
.location-tile:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.location-tile-more { background: var(--cream); border-color: var(--cream-deep); font-size: 0.83rem; font-weight: 500; color: var(--text-soft); text-align: left; padding: 1.1rem 1.25rem; line-height: 1.5; cursor: default; grid-column: span 2; }
.location-tile-more:hover { background: var(--cream); color: var(--text-soft); transform: none; box-shadow: none; }

/* ── 17. Contact / Form ── */
.contact-section { background: var(--cream); padding: 6rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info p { font-size: 1.05rem; color: var(--text-soft); margin-bottom: 1.5rem; }
.contact-bullets { margin: 1.5rem 0; }
.contact-bullets li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); font-size: 0.97rem; color: var(--text-soft); }
.contact-bullets li:last-child { border-bottom: none; }
.contact-bullets strong { color: var(--primary); margin-right: 0.4rem; }
.contact-bullets a { color: var(--accent-dark); font-weight: 600; }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow-md); border-top: 4px solid var(--accent); }
.form-card h3 { margin-bottom: 1.25rem; color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-family: var(--font-sans); font-size: 0.83rem; font-weight: 600; color: var(--primary); margin-bottom: 0.4rem; letter-spacing: 0.02em; text-transform: uppercase; }
.form-group .req { color: var(--accent); margin-left: 0.15rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 0.95rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 1rem; color: var(--text);
  background: var(--paper); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; font-family: var(--font-sans); }
.form-fineprint { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 0.85rem; }

/* ── 18. CTA banner ── */
.cta-banner { background: var(--primary); color: var(--white); padding: 4rem 0; border-top: 4px solid var(--accent); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; }
.cta-inner h2 { color: var(--white); margin-bottom: 0.65rem; }
.cta-inner p { color: rgba(255,255,255,0.78); margin: 0; }

/* ── 19. Footer ── */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding-top: 4.5rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.7; margin-top: 1rem; max-width: 320px; }
.footer-nap { font-family: var(--font-sans); font-size: 0.92rem; color: rgba(255,255,255,0.7); line-height: 1.85; margin-top: 1.25rem; }
.footer-nap a { color: var(--accent-light); }
.footer-col h4 { color: var(--white); margin-bottom: 1.1rem; font-size: 0.78rem; letter-spacing: 0.18em; }
.footer-col ul li { padding: 0.32rem 0; }
.footer-col ul li a { color: rgba(255,255,255,0.62); font-size: 0.9rem; transition: color 0.18s; }
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.85rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; align-items: center; }
.footer-bottom p { font-family: var(--font-sans); font-size: 0.82rem; color: rgba(255,255,255,0.45); margin: 0; }
.footer-meta { color: rgba(255,255,255,0.4); }

/* ── 20. Service block (services.html unique pattern) ── */
.service-block { padding: 3rem 0; border-top: 1px solid var(--border); }
.service-block:first-child { border-top: none; padding-top: 0; }
.service-block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.service-block-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ── 21. Pricing table ── */
.pricing-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-family: var(--font-sans); font-size: 0.95rem; }
.pricing-table thead { background: var(--primary); color: var(--white); }
.pricing-table th { padding: 0.95rem 1rem; text-align: left; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.pricing-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
.pricing-table tbody tr:hover { background: var(--cream); }
.pricing-table td { padding: 0.85rem 1rem; color: var(--text-soft); }
.pricing-table td:nth-child(2) { font-family: var(--font-serif); font-weight: 600; color: var(--primary); white-space: nowrap; }

/* ── 22. Thank you / 404 page ── */
.thank-you-section { padding: 6rem 0; min-height: 60vh; display: flex; align-items: center; }
.thank-you-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.thank-you-icon { margin-bottom: 1.5rem; display: flex; justify-content: center; }
.thank-you-lede { font-size: 1.18rem; color: var(--text-soft); margin-bottom: 2rem; line-height: 1.65; }
.thank-you-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.25rem; margin-bottom: 2rem; text-align: left; box-shadow: var(--shadow-sm); }
.thank-you-card h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.thank-you-cta { font-size: 1.05rem; margin-bottom: 1.5rem; }
.thank-you-back a { color: var(--text-muted); font-size: 0.9rem; }

/* ── 23. Mobile sticky bar ── */
.mobile-action-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--primary); border-top: 2px solid var(--accent); padding: 0.5rem; gap: 0.4rem; box-shadow: 0 -4px 20px rgba(0,0,0,0.3); }
.mab-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.7rem; background: var(--primary-light); color: var(--white); border-radius: var(--radius); font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.mab-call { background: var(--accent); }
.mab-quote { background: var(--accent); }
.mab-text { background: var(--primary-light); }
.mab-btn:hover { color: var(--white); }

/* ── 24. Exit intent ── */
.exit-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.85); z-index: 9999; opacity: 0; transition: opacity 0.25s; pointer-events: none; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.exit-overlay.is-visible { opacity: 1; pointer-events: auto; }
.exit-popup { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; max-width: 480px; width: 100%; position: relative; box-shadow: var(--shadow-lg); border-top: 5px solid var(--accent); }
.exit-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--text-muted); }
.exit-icon { font-size: 2.5rem; text-align: center; margin-bottom: 0.8rem; }
.exit-popup h2 { text-align: center; font-size: 1.5rem; margin-bottom: 0.85rem; }
.exit-popup p { text-align: center; margin-bottom: 1.25rem; color: var(--text-soft); }
.exit-form input { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.65rem; font-family: var(--font-sans); }
.exit-submit-btn { width: 100%; padding: 0.95rem; background: var(--accent); color: var(--white); border: none; border-radius: var(--radius); font-family: var(--font-sans); font-weight: 600; font-size: 1rem; cursor: pointer; margin-top: 0.5rem; }
.exit-submit-btn:hover { background: var(--accent-dark); }
.exit-fine { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 0.85rem; }

/* ── 25. Responsive ── */
@media (max-width: 968px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .content-split, .service-block-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .location-tile-more { grid-column: span 2; }
}
@media (max-width: 768px) {
  body { padding-bottom: 70px; font-size: 16px; }
  .mobile-menu-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--primary); border-top: 1px solid var(--primary-light); padding: 1rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav.mobile-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li > a { padding: 0.85rem 1rem; }
  .main-nav .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--primary-dark); border: none; border-radius: 0; margin: 0.4rem 0; max-height: 0; overflow: hidden; transition: max-height 0.3s; }
  .main-nav .has-dropdown.mobile-open .dropdown { max-height: 600px; }
  .main-nav .dropdown li a { color: rgba(255,255,255,0.75); padding: 0.7rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav .dropdown li a:hover { background: rgba(255,255,255,0.05); color: var(--white); padding-left: 1.7rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .mobile-action-bar { display: flex; }
  .section { padding: 4rem 0; }
  .hero { padding: 3.5rem 0 4.5rem; }
  .form-card { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .locations-grid { grid-template-columns: 1fr 1fr; }
  .location-tile-more { grid-column: span 2; }
}
