/* Maple Auto Glass — fresh static site design */
:root {
  --red: #ef4a49;
  --red-dark: #d63d3c;
  --red-light: #fff0f0;
  --dark: #1a1a2e;
  --dark-soft: #2d2d44;
  --text: #333340;
  --text-muted: #6b6b7b;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --border: #e8eaed;
  --shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 26, 46, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Inter", system-ui, sans-serif;
  --header-h: 72px;
  --max-w: 1200px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo img, .logo svg { height: 44px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--dark);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

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

.main-nav .has-dropdown { position: relative; }

.main-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  list-style: none;
}

.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown.open .dropdown { display: block; }

.main-nav .dropdown a { border-radius: 0; padding: 0.6rem 1rem; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
  white-space: nowrap;
}

.phone-link svg { color: var(--red); flex-shrink: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.btn-dark:hover {
  background: var(--dark-soft);
  color: #fff;
}

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

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-list {
  list-style: none;
  margin-bottom: 2rem;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.hero-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.hero-image img {
  width: 100%;
  max-height: 420px;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}

/* ---- Section utilities ---- */
section { padding: 5rem 0; }
section.bg-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 0.5rem;
}

/* ---- Feature cards ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.feature-card .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* ---- Service cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.service-card:hover { box-shadow: var(--shadow); }

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 220px;
  object-fit: contain;
  background: var(--bg-alt);
  padding: 0.5rem;
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-card .link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ---- Content blocks ---- */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }

.content-split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 420px;
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--bg-alt);
}

.content-split h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.content-split p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ---- Brands grid ---- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.brand-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

/* ---- Testimonials ---- */
.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
}

.stars { color: #fbbc04; font-size: 1.1rem; letter-spacing: 2px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.testimonial-card .stars { font-size: 0.9rem; margin-bottom: 0.75rem; }

.testimonial-card blockquote {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

/* ---- FAQ accordion ---- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--red-light); }

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--red);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-band .btn-outline { margin: 0 0.5rem; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  background: var(--dark);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }

/* ---- Article / page content ---- */
.page-content { padding: 4rem 0; }

.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 1rem;
}

.prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.5rem 0 0.75rem;
}

.prose p { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.75; }

.prose ul, .prose ol {
  margin: 0 0 1rem 1.5rem;
  color: var(--text-muted);
}

.prose li { margin-bottom: 0.4rem; }

.prose img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

.prose a { font-weight: 500; }

/* Legacy WordPress content migrated into new layout */
.wp-content h1, .wp-content h2, .wp-content h3, .wp-content h4 {
  font-weight: 700;
  color: var(--dark);
  margin: 1.5rem 0 0.75rem;
  line-height: 1.3;
}

.wp-content h2, .wp-content .heading-text { font-size: 1.5rem; }
.wp-content h3, .wp-content .title { font-size: 1.15rem; }

.wp-content p, .wp-content li { color: var(--text-muted); line-height: 1.75; margin-bottom: 0.75rem; }

.wp-content img {
  max-width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  background: var(--bg-alt);
}

.wp-content .banner-left-section img,
.wp-content .banner-section img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  background: var(--bg-alt);
}

.wp-content .post-img img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: var(--bg-alt);
}

.wp-content ul, .wp-content ol { margin: 0 0 1rem 1.25rem; }

.wp-content .featured-three-box-inner,
.wp-content .banner-content {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.wp-content .featured-three-box-inner .item,
.wp-content .banner-section {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.wp-content .banner-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.wp-content .free-quote-button,
.wp-content .btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--red);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-top: 0.5rem;
}

.wp-content .auto-brands-section .wpls-wrap { display: none; }

.wp-content .brands-grid-fallback {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}

.wp-content .faq-section .wpsm_panel-group,
.wp-content .wpsm_panel-group { margin: 1rem 0; }

.wp-content .wpsm_panel-title a,
.wp-content .ac_title_class {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--dark) !important;
  margin-bottom: 0.5rem;
}

.wp-content .wpsm_panel-body { padding: 0 1.25rem 1rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .wp-content .banner-section { grid-template-columns: 1fr; }
  .wp-content .featured-three-box-inner { grid-template-columns: 1fr; }
}

/* ---- Contact form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }

.contact-detail strong {
  display: block;
  color: var(--dark);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.contact-detail span, .contact-detail a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.25rem; }

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

.form-group label .req { color: var(--red); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-light);
}

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

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background: var(--red-light);
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.6fr 0.8fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo img,
.footer-brand .logo svg { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); }

.footer-brand p { font-size: 0.9rem; line-height: 1.65; margin-bottom: 1rem; }

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-locations li {
  margin-bottom: 1rem;
  line-height: 1.45;
}

.footer-locations li a {
  display: block;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.15rem;
}

.footer-locations .addr {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

.footer-locations .phone {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.15rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: rgba(255,255,255,0.7); }

/* ---- Blog listing ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.blog-card:hover { box-shadow: var(--shadow); }

.blog-card img {
  width: 100%;
  max-height: 200px;
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--bg-alt);
}

.blog-card-body { padding: 1.25rem; }

.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--red); }

.blog-card time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Locations ---- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.location-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.location-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.location-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .features-grid,
  .testimonials-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1rem;
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; align-items: stretch; }

  .main-nav .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }

  .header-cta .btn-primary { display: none; }

  .services-grid,
  .content-split,
  .contact-grid,
  .features-grid,
  .testimonials-grid,
  .blog-grid,
  .footer-grid,
  .locations-grid { grid-template-columns: 1fr; }

  .service-card { grid-template-columns: 1fr; }

  section { padding: 3.5rem 0; }
}

/* ---- Quote builder ---- */
.quote-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.quote-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.quote-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.quote-card > .quote-lead {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.quote-progress {
  margin-bottom: 1.75rem;
}

.quote-progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.quote-progress-bar span {
  display: block;
  height: 100%;
  width: 33%;
  background: var(--red);
  transition: width var(--transition);
}

.quote-progress-steps {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  list-style: none;
}

.quote-progress-step {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quote-progress-step.is-active,
.quote-progress-step.is-done { color: var(--red); }

.quote-step[hidden] { display: none !important; }

.quote-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote-grid .form-group.full { grid-column: 1 / -1; }

.quote-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--bg);
  color: var(--text);
}

.chip-group input { accent-color: var(--red); }

.chip-group label:has(input:checked) {
  border-color: var(--red);
  background: var(--red-light);
  color: var(--dark);
}

.quote-aside .aside-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.quote-aside h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.quote-aside ul {
  margin: 0.75rem 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.quote-aside li { margin-bottom: 0.35rem; }

/* ---- Article / blog extras ---- */
.article-meta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.prose-wide { max-width: 860px; }

.blog-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 0.5rem;
}

.blog-card .link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.check-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset 0 0 0 3px var(--red-light);
}

.legal-list { margin-left: 1.25rem; color: var(--text-muted); }
.legal-list li { margin-bottom: 0.5rem; }

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

