/* =============================================================================
   Spring Hill Septic Services - custom styles on top of Bootstrap 5
   Palette: navy + green (from logo), white, light gray
   ============================================================================= */

:root {
  --brand-navy: #103D5C;
  --brand-navy-dark: #0B2C44;
  --brand-green: #2F7D32;
  --brand-green-dark: #1F5B22;
  --brand-cta: #1F8A38;            /* form/secondary CTA */
  --brand-call: #B4291F;           /* tap-to-call red for urgency on emergency page */
  --gray-50: #f6f8fa;
  --gray-100: #eef2f5;
  --gray-200: #d8dee4;
  --gray-700: #404a55;
  --gray-900: #1a232c;
  --shadow-sm: 0 2px 6px rgba(16,61,92,.08);
  --shadow-md: 0 6px 22px rgba(16,61,92,.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  line-height: 1.65;
  background-color: #fff;
}
h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4, .display-5 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; margin-top: .25rem; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }

a { color: var(--brand-navy); }
a:hover { color: var(--brand-green); }

/* ---------------- Buttons --------------------------------------------------- */
.btn { font-weight: 600; border-radius: 8px; padding: .75rem 1.25rem; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-brand-call {
  background: var(--brand-green);
  color: #fff;
  border: none;
}
.btn-brand-call:hover,
.btn-brand-call:focus {
  background: var(--brand-green-dark);
  color: #fff;
}
.btn-brand-form {
  background: var(--brand-navy);
  color: #fff;
  border: 2px solid var(--brand-navy);
}
.btn-brand-form:hover,
.btn-brand-form:focus {
  background: #fff;
  color: var(--brand-navy);
}
.btn-outline-light-brand {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline-light-brand:hover { background: #fff; color: var(--brand-navy); }

/* ---------------- Header / Navigation -------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.site-header .header-top {
  background: var(--brand-navy);
  color: #fff;
  font-size: .9rem;
}
.site-header .header-top a { color: #fff; text-decoration: none; }
.site-header .header-top .hours-pill { opacity: .9; }
.site-header .navbar { padding: .65rem 0; }
.site-header .navbar-brand img { height: 50px; width: auto; }
.site-header .nav-link {
  color: var(--brand-navy);
  font-weight: 600;
  padding: .55rem 1rem !important;
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--brand-green);
}
.site-header .header-call-btn {
  background: var(--brand-green);
  color: #fff;
  padding: .65rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}
.site-header .header-call-btn:hover { background: var(--brand-green-dark); color: #fff; }

@media (max-width: 991px){
  .site-header .header-top { display: none; }
  .site-header .navbar-brand img { height: 42px; }
}

/* ---------------- Hero ----------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, rgba(11,44,68,.86) 0%, rgba(31,91,34,.78) 100%),
              url('../images/septic-pumping-truck-tennessee-hero.webp') center/cover no-repeat;
}
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.92); font-size: 1.15rem; }
.hero .trust-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero .hero-form-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  color: var(--gray-900);
}
.hero .hero-form-card h3 { color: var(--brand-navy); font-size: 1.35rem; margin-bottom: 1rem; }

/* ---------------- Section utilities --------------------------------------- */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-bg-light { background: var(--gray-50); }
.section-bg-navy { background: var(--brand-navy); color: #fff; }
.section-bg-navy h1, .section-bg-navy h2, .section-bg-navy h3 { color: #fff; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: .5rem;
}

/* ---------------- Service / feature cards --------------------------------- */
.svc-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  border: 1px solid var(--gray-100);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-green);
}
.svc-card .svc-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(31,138,56,.12);
  color: var(--brand-green);
  border-radius: 10px;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.svc-card h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.svc-card p { color: var(--gray-700); margin-bottom: 1rem; }
.svc-card .svc-link {
  color: var(--brand-navy);
  font-weight: 700;
  text-decoration: none;
}
.svc-card .svc-link:hover { color: var(--brand-green); }

/* ---------------- Process / steps ----------------------------------------- */
.process-step {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  border: 1px solid var(--gray-100);
  position: relative;
}
.process-step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: .85rem;
}
.process-step h3 { font-size: 1.15rem; }

/* ---------------- Google Rating block ------------------------------------- */
.google-rating-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  text-align: center;
}
.google-rating-card .rating-number {
  font-size: 3rem; font-weight: 800; color: var(--brand-navy);
  line-height: 1;
}
.google-rating-card .stars { color: #f5b400; font-size: 1.4rem; letter-spacing: .15rem; }
.google-rating-card .new-badge {
  display: inline-block;
  background: var(--brand-green);
  color: #fff;
  padding: .15rem .65rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------------- FAQ ----------------------------------------------------- */
.accordion-button:not(.collapsed) {
  background: var(--gray-50);
  color: var(--brand-navy);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--brand-green); }
.accordion-item { border-color: var(--gray-100); }

/* ---------------- Service area chips -------------------------------------- */
.area-chip {
  display: inline-block;
  background: #fff;
  color: var(--brand-navy);
  border: 1px solid var(--brand-navy);
  padding: .45rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  margin: .25rem;
}

/* ---------------- Map placeholder ----------------------------------------- */
.map-embed {
  width: 100%;
  min-height: 380px;
  background: var(--gray-100);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-700);
  border: 2px dashed var(--gray-200);
  text-align: center;
  padding: 1rem;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: 12px; }

/* ---------------- CTA stripe ---------------------------------------------- */
.cta-stripe {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-green-dark) 100%);
  color: #fff;
  padding: 3rem 0;
}
.cta-stripe h2 { color: #fff; }

/* ---------------- Footer -------------------------------------------------- */
.site-footer {
  background: var(--brand-navy-dark);
  color: rgba(255,255,255,.85);
  padding: 3rem 0 1.5rem;
}
.site-footer h5 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .footer-logo { height: 50px; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer .social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  margin-right: .5rem;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2rem; padding-top: 1.25rem;
  font-size: .85rem;
}

/* ---------------- Forms --------------------------------------------------- */
.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  padding: .75rem .9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 .15rem rgba(31,138,56,.18);
}
label { font-weight: 600; color: var(--gray-700); margin-bottom: .35rem; }
.form-success { background: #e8f5ea; color: #1b5e20; border: 1px solid #c8e6c9; border-radius: 8px; padding: 1rem; }
.form-error   { background: #fdecea; color: #8b1c14; border: 1px solid #f4c7c3; border-radius: 8px; padding: 1rem; }

/* ---------------- Floating call button on mobile -------------------------- */
.mobile-call-fab {
  display: none;
  position: fixed;
  bottom: 18px; right: 18px;
  background: var(--brand-green);
  color: #fff;
  width: 60px; height: 60px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  z-index: 1040;
  text-decoration: none;
}
.mobile-call-fab:hover { background: var(--brand-green-dark); color: #fff; }
@media (max-width: 767px){
  .mobile-call-fab { display: inline-flex; }
}

/* ---------------- Misc ---------------------------------------------------- */
.text-brand-navy { color: var(--brand-navy) !important; }
.text-brand-green { color: var(--brand-green) !important; }
.bg-brand-navy { background: var(--brand-navy) !important; }
.bg-brand-green { background: var(--brand-green) !important; }
.rounded-12 { border-radius: 12px; }
img { max-width: 100%; height: auto; }
.img-card { border-radius: 12px; box-shadow: var(--shadow-sm); }
