/* site-specific color overrides for v2.5 */
:root {
  --color-accent:      #d97706;
  --color-accent-dark: #b45309;
  --color-accent-glow: rgba(217, 119, 6, 0.3);
  /* cta-banner gradient vars — v1.css uses --primary/--primary-dark, not --color-prefixed */
  --primary:           #1a1a2e;
  --primary-dark:      #0f172a;
}

/* ── Hamburger button ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ── */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(280px, 85vw);
  background: #0f172a;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 1000;
  box-shadow: -4px 0 24px rgba(0,0,0,.4);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  color: #f1f5f9;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a:last-child {
  color: #d97706;
  border-bottom: none;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
}

/* Fixed header clearance */
.page-hero    { padding-top: 7rem; padding-bottom: 3rem; }
.service-hero { padding-top: 7rem; }
@media (max-width: 768px) {
  .page-hero    { padding-top: 6rem; padding-bottom: 2.5rem; }
  .service-hero { padding-top: 6rem; }
}

/* Mobile contact grid */
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr !important; }
  .contact-info-card,
  .contact-info-column,
  .contact-form-column { min-width: 0; max-width: 100%; }
  .contact-email-link,
  .contact-info-card a,
  .contact-info-card span { word-break: break-word; overflow-wrap: anywhere; }
}

/* Scrollable wide tables */
main table,
.content-container table,
.content-section table,
.blog-article-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Restore list padding stripped by reset */
.svc-section ul,
.loc-section ul,
.blog-article-content ul,
.content-section ul,
.calc-content ul,
.faq-item ul { padding-left: 1.6rem; }
.svc-section li,
.loc-section li,
.blog-article-content li,
.content-section li,
.calc-content li { margin-bottom: 0.4rem; }

/* Trust bar: 5 items in 2-col grid — center the lone last item */
@media (max-width: 639px) {
  .trust-item:last-child {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

/* Testimonial legibility */
.testimonial-card::before,
.testimonial-section .testimonial-quote::before { content: none !important; }
.testimonial-card__text {
  font-style: normal !important;
  color: rgba(241, 245, 249, 0.95) !important;
}
.testimonial-section h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 2.5rem;
}
.testimonial-section .testimonial-quote { font-style: normal !important; }
