/* Exact Pixel-Perfect Marietta Design System (plumbingcompanymarietta.com) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --navy:           #022c22;
  --navy-mid:       #064e3b;
  --primary:        #b45309;
  --primary-mid:    #d97706;
  --accent:         #f59e0b;
  --accent-hover:   #d97706;
  --emergency:       #dc2626;
  --emergency-hover: #b91c1c;

  --bg:       #f8fafc;
  --bg-white: #ffffff;
  --border:   #e2e8f0;
  --text:     #0f172a;
  --text-mid: #334155;
  --text-muted: #64748b;

  --font-head: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --max-width: 1240px;
  --radius: 14px;
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.15);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--navy);
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 72px;
  background: var(--bg);
}
@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 0.85rem;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); color: #ffffff; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p { margin-bottom: 1.25rem; color: var(--text-mid); }
a { color: var(--primary-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Site Header Sticky Container */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-top {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.header-top-info {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.header-top-info span strong { color: #ffffff; }
.header-top-cta a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-top-cta a:hover { color: #ffffff; }

/* Main Navigation Header Bar */
.main-header {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mobile-toggle .close-icon {
  display: none;
  font-size: 1.2rem;
}

.site-header.nav-open .mobile-toggle .hamburger-icon {
  display: none;
}

.site-header.nav-open .mobile-toggle .close-icon {
  display: block;
}

.site-header.nav-open .mobile-toggle {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo with Rounded Orange Square Icon */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy) !important;
  text-decoration: none !important;
  flex-shrink: 0;
  white-space: nowrap;
}
.logo-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
  font-size: 1.35rem;
  color: #ffffff;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; white-space: nowrap; }
.logo-text strong { line-height: 1.1; font-size: 1.15rem; color: var(--navy); white-space: nowrap; }
.logo-text span { font-size: 0.6875rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }

/* Nav Links & Dropdowns */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}
.nav-links li { position: relative; white-space: nowrap; flex-shrink: 0; }
.nav-links a.nav-item {
  font-weight: 700;
  color: var(--text);
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a.nav-item:hover { color: var(--primary-mid); text-decoration: none; }
.nav-links a.nav-item.active {
  background: #f1f5f9;
  color: var(--primary);
}
.nav-links a.nav-item .arrow { font-size: 0.75rem; opacity: 0.7; transition: transform 0.2s ease; }
.nav-links li:hover a.nav-item .arrow { transform: rotate(180deg); }

.nav-links li:hover .nav-dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
  z-index: 1100;
}
.nav-dropdown a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  white-space: normal;
}
.nav-dropdown a:hover { background: var(--bg); color: var(--primary-mid); text-decoration: none; }

.nav-cta { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  flex-shrink: 0;
}
.btn-emergency {
  background: var(--emergency);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  white-space: nowrap;
}
.btn-emergency:hover { background: var(--emergency-hover); }

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.8);
  color: #ffffff !important;
  background: transparent;
  white-space: nowrap;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--primary) !important;
  background: #ffffff;
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--bg); }

.btn-primary {
  background: var(--navy-mid);
  color: #ffffff !important;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--navy); }

.btn-accent {
  background: var(--emergency);
  color: #ffffff !important;
  white-space: nowrap;
}

/* Breadcrumbs Component */
.breadcrumbs {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  font-size: 0.9rem;
}
.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
}
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: #94a3b8;
  font-weight: 800;
  font-size: 1.1rem;
}
.breadcrumbs a {
  color: var(--navy-mid);
  text-decoration: none;
  font-weight: 700;
}
.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Page Content Typography & Section Styling */
.page-section {
  margin-bottom: 2.75rem;
}
.page-section h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #e2e8f0;
}
.page-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1.25rem;
}
.page-section ul, .page-section ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
  color: #334155;
  line-height: 1.8;
}
.page-section li {
  margin-bottom: 0.65rem;
  font-size: 1.025rem;
}

/* HERO SECTION (Matches Exact Marietta Screenshot) */
.hero {
  background: linear-gradient(135deg, rgba(2, 44, 34, 0.94) 0%, rgba(6, 78, 59, 0.90) 100%), url('/assets/images/areas/reedley-ca.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 4.5rem 0 5.5rem 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.badge-glass {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
}

.hero p.lead {
  color: #e2e8f0;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Right Floating Dark Glass Hero Card */
.hero-card {
  background: rgba(6, 78, 59, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 2.25rem;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.hero-card h3 { color: #ffffff; font-size: 1.35rem; margin-bottom: 0.85rem; font-weight: 800; }
.hero-card p { color: #e2e8f0; font-size: 0.95rem; margin-bottom: 1.5rem; }
.hero-card ul { list-style: none; margin-bottom: 1.75rem; }
.hero-card li {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}
.hero-card li span.check { color: #fbbf24; font-weight: 900; }

/* 4-COLUMN TRUST STRIP BAR (Matches Screenshot 2) */
.trust-strip-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.trust-icon {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.2;
}
.trust-item span {
  font-size: 0.7875rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* MARIETTA 3-COLUMN SERVICE CARDS GRID (Matches Screenshot 2 Exact Cards Layout) */
.marietta-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.marietta-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card-body h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.service-card-body p {
  font-size: 0.925rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}
.solves-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 1.25rem;
}
.solves-box strong {
  color: var(--navy);
}
.card-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.btn-card-primary {
  background: #b45309;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.btn-card-primary:hover {
  background: #92400e;
}
.btn-card-phone {
  background: #d97706;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.btn-card-phone:hover {
  background: #b45309;
}

/* Stylish 4-Step Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 3.25rem 0;
}

/* 2-Column Content Layout with Image on Right Side */
.content-image-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  margin: 1.5rem 0 2.5rem 0;
}

.content-text {
  display: flex;
  flex-direction: column;
}

.content-image-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.content-side-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-side-img:hover {
  transform: scale(1.015);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.image-caption-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.process-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.process-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.process-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #064e3b, #022c22);
  color: #fbbf24;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 44, 34, 0.25);
  border: 2px solid #fbbf24;
  flex-shrink: 0;
}

.process-icon {
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.3;
  border: none !important;
  padding: 0 !important;
}

.process-card p {
  font-size: 0.925rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Callout Box Component */
.callout-box {
  background: #ecfdf5;
  border-left: 4px solid #10b981;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem 0;
}
.callout-box h4 {
  color: #065f46;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}
.callout-box p {
  color: #047857;
  font-size: 0.975rem;
  margin-bottom: 0;
}

/* Price Box Component */
.price-box {
  background: #fffbeeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0 2rem 0;
}
.price-box h4 {
  color: #92400e;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.price-box p {
  color: #78350f;
  font-size: 0.975rem;
  margin-bottom: 0.85rem;
}

/* Location Pills Grid */
.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0;
}
.location-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--navy-mid);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.location-pill:hover {
  background: var(--navy-mid);
  color: #ffffff;
}

/* FAQ Accordion */
.faq-section {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
/* Stylish Pill Accordion FAQs */
.faq-section-wrapper {
  max-width: 860px;
  margin: 3.5rem auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.faq-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  border: none !important;
  margin-bottom: 0.5rem;
}

.faq-header p {
  color: #64748b;
  font-size: 1.05rem;
  margin: 0;
}

.faq-accordion, .faq-item {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.faq-accordion:hover, .faq-item:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.faq-accordion summary, .faq-item summary {
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  background: #ffffff;
}

.faq-accordion summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #475569;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.faq-accordion[open] .faq-chevron {
  transform: rotate(180deg);
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
}

.faq-answer-content, .faq-answer {
  padding: 1rem 1.5rem 1.25rem 1.5rem;
  font-size: 0.975rem;
  color: #334155;
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

.faq-answer-content p, .faq-answer p {
  margin: 0;
}


/* Pre-Footer Floating Card CTA Banner */
.pre-footer-cta-container {
  margin-top: 5rem;
  margin-bottom: -4rem;
  position: relative;
  z-index: 10;
}

.pre-footer-card {
  background: linear-gradient(135deg, #093424 0%, #153e2b 40%, #7a460b 100%);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.pre-footer-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 0.75rem;
  line-height: 1.25;
  border: none !important;
}

.pre-footer-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.5;
}

.pre-footer-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.pre-footer-phone-pill .phone-icon {
  background: var(--accent);
  color: #0f172a;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.pre-footer-phone-pill .phone-link {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.pre-footer-phone-pill .phone-link:hover {
  color: #f59e0b !important;
}

.pre-footer-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.pre-footer-buttons .btn-emergency {
  background: #dc2626;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.pre-footer-buttons .btn-emergency:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

.pre-footer-buttons .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.pre-footer-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
}

.pre-footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-pill {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
}

/* Main Site Footer */
footer.site-footer {
  background: #0b1325;
  color: #cbd5e1;
  padding-top: 6.5rem;
  padding-bottom: 2rem;
  border-top: 3px solid #d97706;
}

.footer-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}
.footer-logo .drop-icon {
  background: #d97706;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.footer-logo .brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.brand-tagline {
  color: #94a3b8;
  font-size: 0.875rem;
  margin: 0;
}

.footer-top-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-top-cta .dispatch-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}
.btn-footer-phone {
  background: #dc2626;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.55rem 1.35rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}
.btn-footer-phone:hover {
  background: #b91c1c;
}

/* Footer Main 4-Column Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr 0.95fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col-title {
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  border: none !important;
  padding: 0 !important;
}

/* Contact Column Items */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contact-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.contact-val {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.925rem;
  text-decoration: none;
}
a.contact-val:hover {
  color: #f59e0b !important;
}

/* Nav Lists with Dash Prefix */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: 0.75rem;
}

.footer-nav-list a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.925rem;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-nav-list a .dash {
  color: #f59e0b;
  font-weight: 800;
}

.footer-nav-list a:hover {
  color: #ffffff !important;
  transform: translateX(3px);
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Viewport & Body Overflow Protection */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Table Responsive Scrolling Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

/* Desktop / Mobile Helper Display Rules */
@media (max-width: 768px) {
  .desktop-only-inline {
    display: none !important;
  }
}

/* Header & Mobile Menu Drawer Breakpoint (< 1024px) */
@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid var(--primary-mid);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    gap: 1.25rem;
    z-index: 9999;
  }

  .site-header.nav-open .nav-container {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-links a.nav-item {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    justify-content: space-between;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background: #f1f5f9;
    margin-top: 0.4rem;
    border-radius: 8px;
    padding: 0.5rem;
  }

  .nav-links li.has-dropdown:hover .nav-dropdown,
  .nav-links li.has-dropdown:focus-within .nav-dropdown {
    display: block;
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
  }

  .nav-cta .btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
  }
}

/* Tablet Breakpoint (< 992px) */
@media (max-width: 992px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Breakpoint (< 768px) */
@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-text h1 {
    font-size: 1.85rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .trust-item {
    padding: 0.75rem 0.5rem;
    font-size: 0.825rem;
  }
  .service-cards-grid {
    grid-template-columns: 1fr;
  }
  .sticky-mobile-cta {
    display: block;
  }
}

@media (min-width: 769px) {
  .sticky-mobile-cta {
    display: none;
  }
}

/* Small Mobile Breakpoint (< 640px) */
@media (max-width: 640px) {
  .pre-footer-card {
    padding: 2.25rem 1.25rem;
    border-radius: 16px;
  }
  .pre-footer-title {
    font-size: 1.6rem;
  }
  .pre-footer-buttons {
    flex-direction: column;
    width: 100%;
  }
  .pre-footer-buttons .btn-emergency,
  .pre-footer-buttons .btn-outline {
    width: 100%;
    justify-content: center;
  }
  .footer-top-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}

/* Extra Small Phones (< 480px) */
@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .logo-text span {
    display: none;
  }
  .logo-text strong {
    font-size: 0.95rem;
  }
}

/* Sticky Mobile CTA Styling */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--emergency);
  color: #ffffff !important;
  text-align: center;
  padding: 1rem;
  font-weight: 800;
  font-size: 1.15rem;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
  text-decoration: none !important;
}

