/* ==========================================================================
   main.css -- Rusty's Pro Wash & Seal shared component stylesheet

   Generated from the 461 selectors that are byte-identical across every
   page that uses them (454 from the original audit's Category 1, plus
   10 selectors that became fully identical after the green/blue naming
   fix and the .header-container bug fix -- see audit-report.md and
   color-audit-followup.md -- minus 3 selectors that only *looked*
   identical due to inconsistent "(max-width:900px)" vs "(max-width: 900px)"
   spacing in the source and turned out to differ once normalized).

   This file does NOT include :root -- each page keeps its own inline :root
   block, since the color-token VALUES genuinely differ page to page while
   the component rules referencing those tokens do not.

   NOT included here (left inline, still page-specific or still
   inconsistent across pages):
     - .reviews-prev:hover, .reviews-next:hover -- still has a 2-way split
       (128 files use color:var(--blue-800), 35 files use color:var(--navy))
       that predates and is unrelated to the green/blue naming cleanup.
     - .stat-num, .page-hero p, .sa-pill:hover, .sa-footer-note a, .eyebrow,
       a (base rule) -- these had specific incomplete/broken outlier groups
       fixed for completeness, but still carry genuine multi-value drift
       (deliberate template variants) across the wider file set.
   ========================================================================== */

/* ----------------------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------------------- */

#estimate { scroll-margin-top: 96px; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.divider { height: 1px; background: var(--border); }
a:hover { text-decoration: underline; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }

@media (max-width: 600px) {
  #estimate { scroll-margin-top: 76px; }
  .container { padding: 0 16px; }
}

@media (max-width: 768px) {
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* ----------------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------------- */

.breadcrumb a { color: var(--blue-600); }
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  color: #fff;
}
.menu-toggle .hamburger-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  text-align: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
  text-align: center;
}
.nav-links a.current { color: var(--blue-600); font-weight: 700; }
.nav-links a:hover { color: var(--text-primary); }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-phone svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav-phone-text { display: inline; }
.nav-sms { display: none; }
.nav-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-wa svg { width: 18px; height: 18px; display: block; }
.nav-wa:active { transform: scale(0.95); }
.nav-wa:hover { opacity: 0.88; }

@media (max-width: 400px) {
  .nav-logo img { height: 42px !important; }
}

@media (max-width: 600px) {
  .nav-actions { gap: 6px; }
  .nav-inner { height: 60px; gap: 6px; }
  .nav-links { display: none; }
  .nav-phone svg { width: 16px; height: 16px; }
  .nav-phone-text { display: none; }
  .nav-sms {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blue-50);
    color: var(--blue-600);
    flex-shrink: 0;
  }
  .nav-sms svg { width: 17px; height: 17px; }
}

@media (max-width: 768px) {
  .menu-toggle .hamburger-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .nav-links li { width: 100%; text-align: center; }
}

/* ----------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------- */

.footer-links a { font-size: 13px; color: var(--text-secondary); text-decoration: none; }
.footer-links a:hover { color: var(--text-primary); }
.footer-logo img { height: 44px; width: auto; }

/* ----------------------------------------------------------------------
   Buttons & CTAs
   ---------------------------------------------------------------------- */

.btn-primary { background: var(--blue-600); color: var(--blue-50); }
.btn:active { transform: scale(0.98); }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  min-width: 180px;
}
.cta-phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-100);
  text-decoration: none;
}
.cta-phone-link:hover { color: #fff; text-decoration: none; }
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  gap: 10px;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mobile-sticky-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  min-height: 52px;
  transition: opacity 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-sticky-cta__btn--call { background: var(--blue-600); color: var(--blue-50); }
.mobile-sticky-cta__btn:active { transform: scale(0.98); opacity: 0.9; }
.mobile-sticky-cta__icon { display: flex; flex-shrink: 0; }
.mobile-sticky-cta__icon svg { width: 18px; height: 18px; }

@media (max-width: 400px) {
  .btn.btn-primary { padding: 8px 10px; font-size: 11px; }
}

@media (max-width: 600px) {
  .btn.btn-primary { padding: 9px 12px; font-size: 12px; gap: 0; }
  .btn.btn-primary svg { display: none; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
}

@media (max-width: 768px) {
  .mobile-sticky-cta { display: flex; }
}

@media (max-width: 900px) {
  .cta-actions { align-items: flex-start; }
}

/* ----------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */

.hero-ba-teaser {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(181,212,244,0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hero-ba-teaser-arrow { font-size: 13px; color: var(--blue-100); white-space: nowrap; }
.hero-ba-teaser-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}
.hero-ba-teaser-cap span:first-child { font-size: 13px; font-weight: 600; color: #fff; }
.hero-ba-teaser-imgs { display: flex; position: relative; }
.hero-ba-teaser-imgs img {
  width: 50%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.hero-ba-teaser-imgs::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,.4);
  transform: translateX(-1.5px);
}
.hero-ba-teaser-tag {
  position: absolute;
  top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.hero-ba-teaser-tag.after { right: 10px; background: rgba(25,135,84,.85); }
.hero-ba-teaser-tag.before { left: 10px; background: rgba(220,53,69,.85); }
.hero-ba-teaser:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
/* Add class "has-hero-media" to .page-hero when this page has a hero teaser
   image (before/after card, video, etc.) to enable the 2-column layout. */
.page-hero.has-hero-media .container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: center;
}
.page-hero .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-100);
  margin-bottom: 10px;
}
.page-hero h1 em { font-style: italic; color: var(--blue-100); }
.page-hero-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,0.28); }
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
}

@media (max-width: 400px) {
  .hero-cta .btn { justify-content: center; }
}

@media (max-width: 600px) {
  .hero-cta .btn { justify-content: center; }
}

@media (max-width: 900px) {
  .hero-ba-teaser { max-width: 420px; }
  .page-hero.has-hero-media .container { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-media { order: -1; }
  .page-hero-media img { aspect-ratio: 16/9; }
}

/* ----------------------------------------------------------------------
   Section Headers & Typography
   ---------------------------------------------------------------------- */

.eyebrow a { color: inherit; }
.section-alt { background: var(--bg-alt); }
.section-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-top: 8px;
  max-width: 600px;
}
.section-title em { font-style: italic; color: var(--blue-600); }

/* ----------------------------------------------------------------------
   Reviews Carousel
   ---------------------------------------------------------------------- */

.review-card {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.review-card.rc-hidden { display: none; }
.review-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
  font-style: italic;
}
.reviewer { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.reviewer-loc { font-size: 11px; color: var(--text-muted); }
.reviews-carousel { position: relative; }
.reviews-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: 1px solid var(--text-muted);
  cursor: pointer;
  transition: background 0.15s;
}
.reviews-dot.active { background: var(--blue-600); border-color: var(--blue-600); }
.reviews-dots { display: flex; gap: 6px; align-items: center; }
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.reviews-prev, .reviews-next {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-secondary);
  transition: background 0.15s, border-color 0.15s;
}
.reviews-stack { display: flex; flex-direction: column; gap: 12px; }
.stars {
  color: #b8860b;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* ----------------------------------------------------------------------
   Stats
   ---------------------------------------------------------------------- */

.stat-cell { padding: 22px 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-cell:nth-child(2n) { border-right: none; }
.stat-cell:nth-last-child(-n+2) { border-bottom: none; }
.stat-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ----------------------------------------------------------------------
   Before/After Slider
   ---------------------------------------------------------------------- */

.after-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
  max-width: none;
}
.after-label { right: 20px; background: rgba(25,135,84,.85); }
.after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.after-wrapper::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,.4);
}
.ba-after { background: #1B5EAB; }
.ba-after .ba-label { background: rgba(0,0,0,0.35); color: #ffffff; }
.ba-before { background: #c8c5bc; }
.ba-before .ba-label { background: rgba(0,0,0,0.35); color: #fff; }
.ba-before, .ba-after { overflow: hidden; position: relative; }
.ba-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.ba-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.8);
  z-index: 1;
}
.ba-image-single { width: 100%; display: block; }
.ba-image-single img { width: 100%; height: auto; display: block; }
.ba-info { padding: 14px 16px; background: var(--bg); }
.ba-loc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.ba-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.bas-info { position: relative; padding: 14px 16px; background: var(--bg); }
.bas-loc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.bas-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.before-after-container { max-width: 1000px; margin: 0 auto; margin-bottom: 40px; }
.before-label { left: 20px; background: rgba(220,53,69,.85); }
.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.image-wrapper img { width: 100%; display: block; }
.image-wrapper.ba-mini { border-radius: 0; box-shadow: none; height: clamp(160px, 22vw, 220px); }
.image-wrapper.ba-mini .after-label { right: 10px; }
.image-wrapper.ba-mini .before-label { left: 10px; }
.image-wrapper.ba-mini .label {
  top: 10px;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.image-wrapper.ba-mini .slider-handle { width: 28px; height: 28px; right: -14px; }
.image-wrapper.ba-mini .slider-handle svg { width: 14px; height: 14px; }
.image-wrapper.ba-mini > img:not(.after-image) { width: 100%; height: 100%; object-fit: cover; }
.label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  font-weight: 600;
  color: white;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease;
}
.label.label-hidden { opacity: 0; pointer-events: none; }
.lp-section .before-after-container { margin-top: 28px; }
.slider-cta .btn { background: var(--blue-600); color: var(--blue-50); }
.slider-cta .sub {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 13px;
  display: block;
  margin-top: 2px;
}
.slider-cta p {
  margin: 0;
  font-size: 14.5px;
  color: var(--navy);
  font-weight: 600;
}
.slider-handle {
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.slider-handle svg { width: 20px; height: 20px; color: var(--blue-600); }
.slider::-moz-range-thumb {
  width: 48px;
  height: 48px;
  opacity: 0;
  border: none;
  cursor: ew-resize;
}
.slider::-moz-range-track { background: transparent; border: none; }
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 48px;
  height: 48px;
  opacity: 0;
  cursor: ew-resize;
}
.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  z-index: 2;
  transition: background 0.15s;
  padding: 0;
}
.slideshow-arrow svg { width: 18px; height: 18px; }
.slideshow-arrow.next { right: 10px; }
.slideshow-arrow.prev { left: 10px; }
.slideshow-arrow:hover { background: #fff; }
.slideshow-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 34px 18px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.slideshow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: 1px solid var(--text-muted);
  cursor: pointer;
  transition: background 0.15s;
  padding: 0;
}
.slideshow-dot.active { background: var(--green-600); border-color: var(--green-600); }
.slideshow-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}
.slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slideshow-slide.active { opacity: 1; z-index: 1; }

@media (max-width: 600px) {
  .image-wrapper.ba-mini { height: clamp(140px, 45vw, 200px); }
}

/* ----------------------------------------------------------------------
   Video & Media Embeds
   ---------------------------------------------------------------------- */

.map-embed-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 20px;
}
.map-embed-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}
.project-photo-caption {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 10px 12px;
  line-height: 1.5;
}
.project-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg);
}
.project-photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.project-slideshow { max-width: 720px; margin: 28px auto 0; }
.project-slideshow-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--navy);
  aspect-ratio: 4 / 3;
}
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a1828;
  box-shadow: 0 6px 20px rgba(10,24,40,0.14);
  transition: transform 0.2s ease;
}
.video-card:hover { transform: translateY(-3px); }
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed-cta { margin: 12px auto 0; text-align: center; }
.video-embed-frame {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--navy);
}
.video-embed-frame iframe { position: absolute; border: none; }
.video-embed-frame.crop-portrait iframe {
  top: 50%;
  left: 50%;
  width: 316%;
  height: 316%;
  transform: translate(-50%, -50%);
}
.video-embed-frame.native-portrait iframe {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.watch-video-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  margin-top: 16px;
}
.watch-video-link .play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.watch-video-link .play-icon svg { width: 26px; height: 18px; }
.watch-video-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .project-photo-card img { height: 240px; }
  .project-slideshow { max-width: 100%; }
}

@media (max-width: 700px) {
  .embed-estimate { grid-template-columns: 1fr; padding: 28px 24px; }
}

/* ----------------------------------------------------------------------
   FAQ Accordion
   ---------------------------------------------------------------------- */

.faq-a { display: none; padding: 0 20px 18px; border-top: 1px solid var(--border); }
.faq-a p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  padding-top: 14px;
}
.faq-a.open { display: block; }
.faq-chevron {
  font-size: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
  display: inline-block;
}
.faq-item p { margin: 10px 0 0; font-size: 14.5px; color: var(--text-secondary); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--blue-600);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform .15s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans',sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  line-height: 1.4;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-q[aria-expanded="true"] { background: var(--bg-alt); color: var(--blue-600); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(90deg); color: var(--blue-600); }

/* ----------------------------------------------------------------------
   Service Area Grid
   ---------------------------------------------------------------------- */

.city-link {
  padding: 6px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.city-link:hover { border-color: var(--blue-400); color: var(--navy); text-decoration: none; }
.city-links-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.nbhd-pill {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  margin: 3px 3px 3px 0;
}
.neighborhood-card {
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.neighborhood-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }
.sa-also {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.sa-city-divider { height: 1px; background: var(--border); }
.sa-city-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.sa-counties {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.sa-county {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sa-county-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sa-county-head { padding: 14px 16px 12px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.sa-county-meta { font-size: 11px; color: var(--text-muted); padding-left: 17px; }
.sa-divider { height: 1px; background: var(--border); }
.sa-footer-note a:hover { text-decoration: underline; }
.sa-footer-note p { font-size: 13px; color: var(--text-secondary); margin: 0; }
.sa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sa-service-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
a.sa-pill:hover { border-color: var(--blue-400); color: var(--blue-800); background: var(--blue-50); }

@media (max-width: 600px) {
  .sa-counties { grid-template-columns: 1fr; }
  .sa-service-pills { gap: 4px; }
}

@media (max-width: 900px) {
  .sa-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------------
   Landing Page / Sidebar
   ---------------------------------------------------------------------- */

.lp-intro {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.lp-section { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.lp-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}
.lp-section p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }
.lp-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.lp-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 56px 0 80px;
  align-items: start;
}
.quick-answer {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 8px;
}
.quick-answer p { color: var(--navy); font-size: 15.5px; margin-bottom: 0; }
.quick-answer p strong { color: var(--blue-600); }
.related-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.related-link {
  padding: 7px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.related-link:hover { border-color: var(--blue-400); color: var(--navy); text-decoration: none; }
.related-services { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-services h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.sidebar-card .phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-100);
  margin-top: 10px;
  text-decoration: none;
}
.sidebar-card .phone-link:hover { color: #fff; text-decoration: none; }
.sidebar-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
}
.sidebar-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}
.sidebar-card.cta { background: var(--dark-hero); border-color: var(--dark-hero); }
.sidebar-card.cta h3 { color: #fff; }
.sidebar-card.cta p { color: var(--blue-100); }
.sidebar-cta { background: var(--dark-hero); border: none; }
.sidebar-cta .btn { width: 100%; justify-content: center; margin-bottom: 8px; }
.sidebar-cta .cta-phone {
  display: block;
  text-align: center;
  font-size: 12.5px;
  color: var(--blue-100);
}
.sidebar-cta p {
  font-size: 13px;
  color: var(--blue-100);
  margin-bottom: 14px;
  line-height: 1.6;
}
.sidebar-related a {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
}
.sidebar-related a:hover { color: var(--blue-600); }
.sidebar-related ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toc-card h4, .sidebar-related h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.toc-card li { counter-increment: toc; font-size: 13px; }
.toc-card li a { color: var(--text-secondary); display: flex; gap: 8px; }
.toc-card li a::before {
  content: counter(toc);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toc-card li a:hover { color: var(--blue-600); text-decoration: none; }
.toc-card ol {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  counter-reset: toc;
}
.toc-card, .sidebar-cta, .sidebar-related {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

@media (max-width: 900px) {
  .lp-sidebar { position: static; }
  .lp-sidebar-form { order: -1; }
  .lp-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ----------------------------------------------------------------------
   Article / Blog Layout
   ---------------------------------------------------------------------- */

.article-body h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 27px);
  color: var(--navy);
  margin: 44px 0 14px;
  line-height: 1.2;
  scroll-margin-top: 88px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 26px 0 8px;
}
.article-body li { margin-bottom: 6px; }
.article-body p { margin-bottom: 16px; color: var(--text-secondary); font-size: 15.5px; }
.article-body strong { color: var(--text-primary); }
.article-body ul, .article-body ol { margin: 0 0 16px 20px; color: var(--text-secondary); font-size: 15.5px; }
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(15,34,64,0.10);
  border-color: var(--blue-400);
  text-decoration: none;
}
.article-card:hover .read-more::after { transform: translateX(3px); }
.article-header { padding: 44px 0 32px; border-bottom: 1px solid var(--border); }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 56px;
  padding: 48px 0 64px;
  align-items: start;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; padding-bottom: 0; }
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}
.read-more::after { content: "→"; transition: transform .15s ease; }

@media (max-width: 600px) {
  .article-layout { padding: 36px 0 48px; gap: 32px; }
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------------
   Comparison Cards (Method / Roof / Sealer / Tint / Service)
   ---------------------------------------------------------------------- */

.compare-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; }
.compare-card h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.compare-card ol { margin: 0 0 0 18px; font-size: 13.5px; }
.compare-card ul { margin: 0 0 0 18px; font-size: 13.5px; }
.compare-card.restore { background: var(--amber-50); border-color: #EBD5A5; }
.compare-card.routine { background: var(--blue-50); border-color: var(--blue-100); }
.compare-card.warn { background: var(--red-50); border-color: #EBC3B5; }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 16px;
  margin: 16px 0 20px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table td {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.compare-table td.compare-col-rusty { background: var(--blue-50); color: var(--navy); font-weight: 600; }
.compare-table td.compare-col-rusty::before { content: "✓ "; color: var(--blue-600); font-weight: 700; }
.compare-table th {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 18px;
  text-align: left;
  background: var(--bg-alt);
  color: var(--text-primary);
}
.compare-table th.compare-col-rusty { background: var(--blue-600); color: #fff; }
.finish-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; }
.finish-card h3 { font-size: 15px; margin-bottom: 6px; }
.finish-card p.tag {
  font-size: 11.5px;
  color: var(--blue-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.finish-card ul { margin: 0 0 0 18px; font-size: 13.5px; }
.finish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px,1fr));
  gap: 14px;
  margin: 16px 0 20px;
}
.info-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.info-card h3 {
  font-family: 'DM Serif Display',serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.info-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.method-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.method-card.featured { border-color: var(--blue-400); }
.method-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}
.method-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.method-list li::before {
  content: "✓";
  color: var(--blue-600);
  font-weight: 700;
  flex-shrink: 0;
}
.method-name {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.checklist-card { background: var(--blue-50); border: 1px solid rgba(27,94,171,0.18); border-radius: var(--radius-lg); padding: 26px 28px; margin: 16px 0 22px; }
.checklist-card-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; }
.checklist-item { display: flex; align-items: flex-start; gap: 12px; }
.checklist-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-600); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.checklist-item-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.checklist-item-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
@media (max-width: 640px) {
  .checklist-grid { grid-template-columns: 1fr; }
}
.pkg-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.pkg-card .sealer-swatch { margin: 0; flex-shrink: 0; }
.pkg-card.featured { border: 1.5px solid var(--green-400); background: var(--green-50); }
.pkg-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.pkg-row-alone { grid-template-columns: 1fr; }
.pkg-row-alone .pkg-card { max-width: calc(50% - 8px); }
.price-amount {
  font-size: 20px;
  font-family: 'DM Serif Display', serif;
  color: var(--green-400);
  margin-bottom: 4px;
}
.price-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-card.featured { border: 1.5px solid var(--green-400); background: var(--green-50); }
.price-desc { font-size: 12px; color: var(--text-secondary); }
.price-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.price-note {
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 4px;
  margin-top: 4px;
}
.roof-card ul li {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.roof-card ul li::before {
  content: "✓";
  color: var(--blue-600);
  font-weight: 700;
  flex-shrink: 0;
}
.roof-card-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 6px;
}
.roof-card.featured { border-color: var(--blue-400); }
.sealer-card {
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  text-align: center;
  margin-bottom: 72px;
}
.sealer-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 12px;
  border: 2px solid var(--border);
}
.sealer-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.sealer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sealer-grid.compact { grid-template-columns: repeat(2, 1fr); }
.sealer-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.sealer-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 2px solid var(--border);
}
.service-card:hover .service-link { text-decoration: underline; }
.service-link { font-size: 13px; font-weight: 600; color: var(--blue-600); }
.surf-card {
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  text-align: center;
}
.surf-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.surf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lp-section .surf-grid { grid-template-columns: repeat(3, 1fr); }
.surf-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.tint-card {
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  text-align: center;
}
.tint-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.tint-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

@media (max-width: 400px) {
  .sealer-grid { grid-template-columns: 1fr; }
  .sealer-grid.compact { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .sealer-card { padding: 16px 12px; }
  .surf-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-section .surf-grid { grid-template-columns: repeat(2, 1fr); }
  .tint-card { padding: 12px 8px; }
}

@media (max-width: 640px) {
  .compare-table td { border-top: none; border-bottom: 1px solid var(--border); }
  .compare-table td.compare-col-rusty::before { content: attr(data-label) ": "; color: var(--text-primary); }
  .compare-table td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
  }
  .compare-table td:last-child { border-bottom: none; }
  .compare-table thead { display: none; }
  .compare-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .compare-table, .compare-table thead, .compare-table tbody, .compare-table th, .compare-table td, .compare-table tr { display: block; }
}

@media (max-width: 700px) {
  .pkg-price-row { grid-template-columns: 1fr; }
  .pkg-row-alone .pkg-card { max-width: 100%; }
}

@media (max-width: 900px) {
  .surf-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-section .surf-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----------------------------------------------------------------------
   Forms — Estimate Form (.hero-form-wrap)
   ---------------------------------------------------------------------- */

.hero-form-wrap {
  background: var(--blue-600);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}
.hero-form-wrap h2 { font-family: 'DM Serif Display', serif; font-size: 22px; font-weight: 400; color: #ffffff; }
.hero-form-wrap h3 { font-family: 'DM Serif Display', serif; font-size: 22px; font-weight: 400; color: var(--blue-50); }
.hero-form-wrap p  { font-size: 14px; color: var(--blue-100); margin-top: -6px; }

.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.form-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-100);
}
.form-input, .form-select {
  padding: 10px 13px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(181,212,244,0.35);
  background: rgba(10,24,40,0.40);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.15s;
}
.form-input::placeholder { color: rgba(255,255,255,0.38); }
.form-input:focus, .form-select:focus { border-color: rgba(181,212,244,0.65); }

/* Services custom multi-select */
.services-select { position: relative; }
.services-select-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 13px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(181,212,244,0.35);
  background: rgba(10,24,40,0.40);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s;
}
.services-select-toggle:hover,
.services-select.open .services-select-toggle { border-color: rgba(181,212,244,0.65); }
.services-select-summary.placeholder { color: rgba(255,255,255,0.38); }
.services-select-arrow { width: 14px; height: 14px; flex-shrink: 0; margin-left: 8px; transition: transform 0.15s; }
.services-select.open .services-select-arrow { transform: rotate(180deg); }

.services-select-panel { display: none; }
.services-select.open .services-select-panel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(181,212,244,0.35);
  background: #0F2240;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
.services-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.1s;
}
.services-select-option:hover { background: rgba(255,255,255,0.08); }
.services-select-option input[type="checkbox"] {
  accent-color: #2E7DD1;
  width: 14px;
  height: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-form-submit {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--blue-50);
  color: var(--blue-900);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.15s, transform 0.1s;
}
.btn-form-submit:hover { opacity: 0.88; }
.btn-form-submit:active { transform: scale(0.99); }

@media (max-width: 380px) {
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .hero-form-wrap { padding: 26px 22px; } }
@media (max-width: 600px) { .hero-form-wrap { padding: 22px 16px; } }

/* Short-viewport screens (notebook monitors) — width-independent */
@media (max-height: 700px) {
  .hero-form-wrap { padding: 20px 22px; gap: 7px; }
  .hero-form-wrap p { margin-top: -4px; font-size: 13px; }
  .form-group { gap: 3px; }
  .form-row { gap: 8px; }
  .form-input, .form-select, .services-select-toggle { padding: 8px 12px; font-size: 13px; }
  .services-select-option { padding: 5px 8px; }
  .btn-form-submit { padding: 10px; font-size: 14px; margin-top: 2px; }
}

/* ----------------------------------------------------------------------
   Trust, Icons & Checklists
   ---------------------------------------------------------------------- */

.about-aside { display: flex; flex-direction: column; gap: 14px; }
.about-body p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }
.about-body p + p { margin-top: 14px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.callout-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  margin-top: 20px;
}
.callout-info p {
  font-size: 13px;
  color: var(--green-800);
  line-height: 1.65;
  margin-bottom: 0 !important;
}
.callout-info strong { color: var(--navy); }
.callout-info-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.callout-warn {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: #FFF8E6;
  border: 1px solid #E5C44A;
  border-radius: var(--radius-lg);
  margin-top: 20px;
}
.callout-warn p {
  font-size: 13px;
  color: #6B4C00;
  line-height: 1.65;
  margin-bottom: 0 !important;
}
.callout-warn strong { color: #4A3400; }
.callout-warn-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.cause-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  background: var(--bg);
}
.cause-card h3 { margin: 0 0 6px; font-size: 15px; }
.cause-card p { font-size: 14px; margin-bottom: 8px; }
.cause-card ul { margin: 0 0 0 18px; font-size: 13.5px; }
.cause-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 14px;
  margin: 16px 0 20px;
}
.check-list {
  list-style: none;
  margin: 16px 0 20px 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 8px 20px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14.5px;
  margin-bottom: 0 !important;
}
.check-list li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--green-50);
  color: var(--green-600);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.checklist li::before {
  content: "→";
  color: var(--blue-400);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.coming-soon {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}
.community-chip {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.community-note { font-size: 11px; color: var(--text-muted); line-height: 1.45; }
.industry-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.industry-icon svg { width: 24px; height: 24px; }
.sign-item {
  display: flex;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.sign-item h3 { margin: 0 0 4px; font-size: 15.5px; }
.sign-item p { font-size: 14px; margin-bottom: 0; }
.sign-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 24px;
}
.sign-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.step-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--blue-400);
  line-height: 1;
  min-width: 36px;
  flex-shrink: 0;
}
.svc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
  color: var(--text-primary);
}
.svc-card.disabled-link { pointer-events: none; opacity: 1.0; cursor: default; }
.svc-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  text-decoration: none;
}
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.svc-icon { font-size: 22px; }
.svc-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}
.svc-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid var(--blue-400);
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 500;
  cursor: default;
}
.test-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 14px;
  margin: 6px 0;
}
.test-no { color: var(--red-600); font-weight: 700; }
.test-yes { color: var(--green-600); font-weight: 700; }
.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.trust-list li::before {
  content: "✓";
  color: var(--blue-600);
  font-weight: 700;
  flex-shrink: 0;
}
.warn-card {
  display: flex;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.warn-card h3 { font-size: 14px; margin-bottom: 3px; }
.warn-card p { font-size: 13px; margin-bottom: 0; }
.warn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px,1fr));
  gap: 12px;
  margin: 16px 0 20px;
}
.warn-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red-600);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
}

/* ----------------------------------------------------------------------
   Schedule / Data Tables
   ---------------------------------------------------------------------- */

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 14.5px;
}
.schedule-table th {
  text-align: left;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.schedule-table th:first-child { border-top-left-radius: 8px; }
.schedule-table th:last-child { border-top-right-radius: 8px; }
.schedule-table tr:nth-child(even) td { background: var(--bg-alt); }

@media (max-width: 600px) {
  .schedule-table { font-size: 13px; }
  .schedule-table th, .schedule-table td { padding: 10px 10px; }
}

