/* ============================================================
   SEPTIC TANK REPAIR SERVICES — Master Stylesheet
   Domain: septictankrepair-services.com
   ============================================================ */

/* ============================================================
   1. VARIABLES
   ============================================================ */
:root {
  --primary:       #1B4332;
  --primary-mid:   #2D6A4F;
  --primary-light: #40916C;
  --primary-dark:  #0D2B1D;
  --accent:        #E85D04;
  --accent-dark:   #C44B03;
  --accent-light:  #FFF0E6;
  --green-50:      #F0FFF4;
  --green-100:     #D8F3DC;
  --text:          #111827;
  --text-muted:    #6B7280;
  --text-light:    #9CA3AF;
  --bg:            #FFFFFF;
  --bg-gray:       #F9FAFB;
  --bg-dark:       #0D2B1D;
  --border:        #E5E7EB;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.1);
  --shadow:        0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.12);
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     20px;
  --transition:    0.25s ease;
  --max-width:     1200px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.15);
}
textarea { resize: vertical; min-height: 100px; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: 80px 0; }
.bg-gray { background: var(--bg-gray); }

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(28px, 4vw, 52px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(22px, 3vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 600; line-height: 1.3; }
h4 { font-size: 16px; font-weight: 600; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 17px; max-width: 620px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: var(--green-50);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,67,50,0.3); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,93,4,0.3); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 18px 36px; font-size: 17px; border-radius: var(--radius-lg); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-full { width: 100%; }

/* ============================================================
   6. EMERGENCY STRIP
   ============================================================ */
.emergency-strip {
  background: var(--primary-dark);
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
  text-align: center;
}
.emergency-strip strong { color: #FCA5A5; }
.emergency-strip a { color: var(--accent); font-weight: 700; }
.emergency-strip a:hover { color: #fff; }

/* ============================================================
   7. TOP BAR
   ============================================================ */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-phone { color: #fff; font-weight: 700; }
.top-bar-phone:hover { color: var(--accent); }

/* ============================================================
   8. NAVBAR
   ============================================================ */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links li { position: relative; }
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--green-50); }
.nav-links .has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.dropdown li a {
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 6px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-phone {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.nav-phone:hover { color: var(--accent); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   9. BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--text-light); }
.breadcrumb a { color: var(--primary-light); }
.breadcrumb a:hover { color: var(--primary); }

/* ============================================================
   10. HERO — HOMEPAGE
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-mid) 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { color: #fff; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); display: block; }
.hero-sub { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 28px; }
.hero-checks { margin-bottom: 32px; }
.hero-checks li {
  color: rgba(255,255,255,0.9);
  padding: 6px 0;
  font-size: 15px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { color: rgba(255,255,255,0.55); font-size: 13px; }
.hero-form-wrap { }
.hero-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}
.hero-form-header {
  background: var(--primary);
  padding: 24px 28px;
  text-align: center;
}
.hero-form-header h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.hero-form-header p { color: rgba(255,255,255,0.75); font-size: 13px; margin: 0; }
.hero-form { padding: 24px 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 12px; margin-bottom: 0; }

/* ============================================================
   11. TRUST BAR
   ============================================================ */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.trust-icon { font-size: 18px; }

/* ============================================================
   12. SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.services-grid--sm { grid-template-columns: repeat(3, 1fr); }
.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  display: block;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary-light);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card--accent::before { background: var(--accent); transform: scaleX(1); }
.svc-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}
.svc-card h3 { margin-bottom: 10px; font-size: 18px; color: var(--primary); }
.svc-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.svc-link { font-size: 13px; font-weight: 700; color: var(--primary-light); }
.svc-card:hover .svc-link { color: var(--accent); }

/* ============================================================
   13. WHY US SECTION
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-content .section-label { display: block; margin-bottom: 16px; }
.why-content h2 { margin-bottom: 16px; }
.why-list { margin-top: 8px; }
.why-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.why-list li:last-child { border-bottom: none; }
.why-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.why-list strong { display: block; font-size: 16px; margin-bottom: 4px; color: var(--text); }
.why-list p { color: var(--text-muted); font-size: 14px; margin: 0; }
.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
}
.stat-card--wide { grid-column: 1 / -1; }
.stat-num { font-size: 36px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; }

/* ============================================================
   14. STEPS / PROCESS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: steps;
}
.steps-grid--sm { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}
.step-num {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 20px;
}
.step-card h3 { margin-bottom: 12px; font-size: 17px; color: var(--primary); }
.step-card p { color: var(--text-muted); font-size: 14px; margin: 0; }
.step-card a { color: var(--primary-light); }

/* ============================================================
   15. REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.review-stars { color: #F59E0B; font-size: 18px; letter-spacing: 2px; margin-bottom: 16px; }
.review-card p { color: var(--text-muted); font-size: 15px; font-style: italic; line-height: 1.7; margin-bottom: 20px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 15px; color: var(--text); }
.reviewer span { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   16. FAQ
   ============================================================ */
.faq-list { }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--bg-gray); }
.faq-item.open .faq-q { background: var(--green-50); color: var(--primary); }
.faq-arrow { font-size: 16px; flex-shrink: 0; transition: transform var(--transition); color: var(--text-muted); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-a p { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin: 0; }
.faq-a a { color: var(--primary-light); text-decoration: underline; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 20px; }

/* ============================================================
   17. BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  color: var(--text);
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); border-color: transparent; }
.blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card:hover h3 a { color: var(--primary); }
.blog-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.blog-card-body { padding: 24px; }
.blog-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  background: var(--green-50);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 17px; margin-bottom: 10px; color: var(--text); line-height: 1.4; }
.blog-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.blog-link { font-size: 13px; font-weight: 700; color: var(--primary-light); }
.blog-card:hover .blog-link { color: var(--accent); }

/* Blog post page */
.blog-post-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0;
}
.blog-post-header h1 { color: #fff; max-width: 800px; }
.blog-post-meta { display: flex; gap: 24px; margin-top: 20px; color: rgba(255,255,255,0.7); font-size: 14px; flex-wrap: wrap; }
.blog-post-body { max-width: 800px; }
.blog-post-body h2 { margin: 40px 0 16px; color: var(--primary); }
.blog-post-body h3 { margin: 28px 0 12px; color: var(--primary-mid); }
.blog-post-body p { margin-bottom: 20px; color: var(--text-muted); line-height: 1.85; }
.blog-post-body ul, .blog-post-body ol { margin: 16px 0 20px 24px; color: var(--text-muted); }
.blog-post-body li { margin-bottom: 10px; line-height: 1.7; }
.blog-post-body a { color: var(--primary-light); text-decoration: underline; }

/* ============================================================
   18. STATES GRID
   ============================================================ */
.states-alpha-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.sa-state {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  text-align: center;
}
.sa-state:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

/* ============================================================
   19. CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-content { }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 18px; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   20. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; }
.footer-brand .nav-logo span { color: var(--accent); }
.footer-brand .logo-icon { background: rgba(255,255,255,0.1); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.footer-phone { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.footer-phone a { color: var(--accent); }
.footer-hours { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   21. SERVICE HERO (service pages)
   ============================================================ */
.svc-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-mid) 100%);
  padding: 60px 0 80px;
}
.svc-hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}
.svc-hero-content { color: #fff; }
.svc-hero-content .section-label { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); }
.svc-hero-content h1 { color: #fff; margin-bottom: 20px; }
.svc-hero-sub { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 28px; }
.svc-hero-form { }

/* ============================================================
   22. LOCATION PAGES (state / city / service-city)
   ============================================================ */
.loc-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.loc-hero h1 { color: #fff; margin-bottom: 16px; }
.loc-hero p { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 640px; margin: 0 auto 28px; }
.loc-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.loc-hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.loc-hero-stat { text-align: center; }
.loc-hero-stat .num { font-size: 32px; font-weight: 800; color: var(--accent); }
.loc-hero-stat .lbl { font-size: 13px; color: rgba(255,255,255,0.65); }

.loc-body-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.loc-main h2 { margin: 40px 0 16px; color: var(--primary); }
.loc-main h2:first-child { margin-top: 0; }
.loc-main h3 { margin: 24px 0 10px; color: var(--primary-mid); }
.loc-main p { color: var(--text-muted); line-height: 1.85; }

/* ============================================================
   23. SIDEBAR
   ============================================================ */
.loc-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--primary); }
.sidebar-card h4 { font-size: 15px; margin-bottom: 16px; color: var(--primary); }
.sidebar-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.sidebar-card--cta { background: var(--green-50); border-color: var(--primary-light); }
.sidebar-list { }
.sidebar-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list strong { color: var(--text); }
.sidebar-links { }
.sidebar-links li { padding: 7px 0; border-bottom: 1px solid var(--border); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a { font-size: 14px; color: var(--primary-light); font-weight: 500; }
.sidebar-links a:hover { color: var(--accent); }

/* ============================================================
   24. COST TABLE
   ============================================================ */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.cost-table thead { background: var(--primary); color: #fff; }
.cost-table th { padding: 14px 20px; font-weight: 600; text-align: left; font-size: 13px; }
.cost-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.cost-table tbody tr:last-child td { border-bottom: none; }
.cost-table tbody tr:nth-child(even) { background: var(--bg-gray); }
.cost-table td:last-child, .cost-table th:last-child { text-align: right; }

/* ============================================================
   25. CONTENT LIST
   ============================================================ */
.content-list { margin: 16px 0 24px; }
.content-list li {
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
}
.content-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}
.content-list li:last-child { border-bottom: none; }
.content-list strong { color: var(--text); }

/* ============================================================
   26. SERVICE AREAS / SITEMAP PAGE
   ============================================================ */
.sitemap-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.sitemap-hero h1 { color: #fff; margin-bottom: 12px; }
#sitemap-container .sa-state-block {
  margin-bottom: 40px;
}
#sitemap-container .sa-state-block h3 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
#sitemap-container .sa-cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
#sitemap-container .sa-city-link {
  font-size: 13px;
  color: var(--primary-light);
  padding: 6px 0;
}
#sitemap-container .sa-city-link:hover { color: var(--accent); }

/* ============================================================
   27. ABOUT / CONTACT PAGES
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 600px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form { }
.contact-info { }
.contact-info h3 { margin-bottom: 16px; color: var(--primary); }
.contact-info p { color: var(--text-muted); margin-bottom: 24px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-info-item h4 { font-size: 15px; color: var(--text); margin-bottom: 4px; }
.contact-info-item p { color: var(--text-muted); font-size: 14px; margin: 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ============================================================
   28. BLOG INDEX PAGE
   ============================================================ */
.blog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.blog-filter-btn {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  background: #fff;
  color: var(--text-muted);
}
.blog-filter-btn:hover, .blog-filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.blog-grid-lg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ============================================================
   29. BLOG CARDS — MISSING STYLES
   ============================================================ */
/* Emoji image inside blog card */
.blog-emoji {
  font-size: 64px;
  line-height: 1;
  display: block;
  text-align: center;
  /* filter intentionally omitted — breaks emoji rendering on Safari/WebKit */
}
.blog-card-img {
  position: relative;
  overflow: hidden;
}
.blog-card-img .category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}
.category-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.blog-meta .read-time { color: var(--text-muted); }
.read-time { font-size: 12px; color: var(--text-muted); }
.blog-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-light);
  display: inline-block;
}
.blog-card:hover .blog-read-more { color: var(--accent); }

/* Blog post article content */
.post-content h2 { margin: 2rem 0 1rem; color: var(--primary); font-size: 1.4rem; }
.post-content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.15rem; }
.post-content p { margin-bottom: 1.2rem; }
.post-content ul, .post-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.post-content li { margin-bottom: 6px; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.post-content table th { background: var(--primary); color: #fff; padding: 10px 16px; text-align: left; font-size: 14px; }
.post-content table td { padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.post-content table tr:nth-child(even) td { background: var(--bg-gray); }
.post-content blockquote { border-left: 4px solid var(--primary-light); margin: 1.5rem 0; padding: 16px 24px; background: var(--green-50); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--primary-dark); }
.post-content .callout { background: var(--accent-light); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }

/* Location hero title/sub */
.loc-hero-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.loc-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.loc-hero .hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Loading SPINNER
   ============================================================ */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   30. MISC
   ============================================================ */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.city-link {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--primary-light);
  font-weight: 500;
  display: block;
  transition: all var(--transition);
}
.city-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.svc-combo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.svc-combo-link {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--primary);
  display: block;
  transition: all var(--transition);
}
.svc-combo-link:hover { background: var(--primary); color: #fff; }
.nearby-cities { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.nearby-city { font-size: 14px; color: var(--primary-light); padding: 4px 12px; border: 1px solid var(--green-100); border-radius: 16px; }
.nearby-city:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   31. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid--sm { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-wrap { max-width: 480px; }
  .svc-hero-inner { grid-template-columns: 1fr; }
  .svc-hero-form { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid--sm { grid-template-columns: repeat(2, 1fr); }
  .states-alpha-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .section-pad { padding: 56px 0; }
  .loc-body-grid { grid-template-columns: 1fr; }
  .loc-sidebar { position: static; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid-lg { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-combo-grid { grid-template-columns: repeat(3, 1fr); }
  .states-alpha-grid { grid-template-columns: repeat(3, 1fr); }
  #sitemap-container .sa-cities-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .navbar.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  .navbar.mobile-open .nav-cta { display: flex; flex-direction: column; padding: 0 16px 16px; }
  .trust-items { gap: 20px; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid--sm { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid-lg { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid--sm { grid-template-columns: 1fr; }
  .states-alpha-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-combo-grid { grid-template-columns: repeat(2, 1fr); }
  .top-bar .container { justify-content: center; gap: 20px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; }
  .loc-hero-stats { gap: 24px; }
  #sitemap-container .sa-cities-grid { grid-template-columns: repeat(2, 1fr); }
  .cost-table { font-size: 13px; }
  .cost-table th, .cost-table td { padding: 10px 14px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .section-pad { padding: 40px 0; }
  .states-alpha-grid { grid-template-columns: 1fr 1fr; }
  .why-stats { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-items { gap: 16px; }
  .trust-item { font-size: 13px; }
}

/* ============================================================
   TOC — Table of Contents
   ============================================================ */
.toc-box {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.toc-box .toc-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.toc-box ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.toc-box ol li { font-size: 14px; }
.toc-box ol li a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.toc-box ol li a:hover { text-decoration: underline; }
@media (max-width: 767px) { .toc-box { display: none; } }

/* ============================================================
   Service Areas Search
   ============================================================ */
.sa-search-wrap {
  max-width: 560px;
  margin: 0 auto 40px;
  padding: 0 16px;
}
.sa-search-input {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  border: 2px solid var(--border);
  border-radius: 50px;
  outline: none;
  font-family: var(--font);
  color: var(--text);
  transition: border-color .2s;
  box-sizing: border-box;
}
.sa-search-input:focus { border-color: var(--primary); }
.sa-state-block[hidden] { display: none !important; }

/* ============================================================
   E-E-A-T STYLES: Author Bio, Team Page, GMB Link
   ============================================================ */

/* --- Author Bio Box (Blog Posts) --- */
.author-bio-box {
  display: flex;
  gap: 20px;
  background: #f8fdf8;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 24px;
  margin: 40px 0 32px;
  align-items: flex-start;
}
@media (max-width: 600px) {
  .author-bio-box { flex-direction: column; align-items: center; text-align: center; }
}
.author-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 1px;
}
.author-name-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 3px;
}
.author-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}
.author-title-line {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.author-bio-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 8px;
}
.author-certs-line {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
}
.author-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.author-link:hover { border-bottom-color: var(--primary); }
.post-author-meta { font-size: 14px; color: #666; }
.post-author-meta a { color: var(--primary); text-decoration: none; font-weight: 600; }
.post-author-meta a:hover { text-decoration: underline; }

/* --- Blog Card Author Line --- */
.blog-card-author {
  font-size: 12px;
  color: #888;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- GMB Footer Link --- */
.gmb-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4CAF50;
  margin-top: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.gmb-footer-link:hover { color: var(--primary); text-decoration: underline; }

/* --- GMB Button (Location/City Hero) --- */
.btn-gmb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-gmb:hover { background: var(--primary); color: #fff; }

/* --- Team Page --- */
.team-hero { background: linear-gradient(135deg, var(--primary) 0%, #1b5e20 100%); color: #fff; padding: 64px 0 48px; text-align: center; }
.team-hero h1 { font-size: clamp(28px, 5vw, 46px); font-weight: 800; margin-bottom: 14px; }
.team-hero p { font-size: 18px; opacity: .9; max-width: 620px; margin: 0 auto 24px; }
.team-hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 24px; }
.team-hero-stat { text-align: center; }
.team-hero-stat strong { display: block; font-size: 32px; font-weight: 800; }
.team-hero-stat span { font-size: 13px; opacity: .85; }

.blog-contributors-strip {
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 36px;
}
.blog-contributors-strip h3 { font-size: 16px; color: #E65100; margin-bottom: 12px; }
.blog-contributors-strip .contrib-list { display: flex; flex-wrap: wrap; gap: 10px; }
.contrib-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #FFE082;
  border-radius: 40px;
  padding: 6px 14px 6px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: box-shadow .15s;
}
.contrib-chip:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.contrib-chip-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 12px;
}
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .team-grid { grid-template-columns: 1fr; } }

.expert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.expert-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.expert-avatar-lg {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 12px;
  letter-spacing: 1px;
}
.expert-state-badge {
  display: inline-block;
  background: var(--green-50);
  color: var(--primary);
  border-radius: 4px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.expert-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}
.expert-title-sm {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}
.expert-exp-badge {
  display: inline-block;
  background: #E8F5E9;
  color: var(--primary);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.expert-specialty {
  font-size: 11px;
  color: #888;
  font-style: italic;
  margin-bottom: 10px;
}
.expert-certs {
  font-size: 11px;
  color: #666;
  text-align: left;
  margin-top: 6px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.expert-certs li { margin-bottom: 3px; list-style: none; padding-left: 0; }
.expert-certs li::before { content: '✓ '; color: var(--primary); font-weight: 700; }
.blog-author-badge {
  display: inline-block;
  background: #FFF3E0;
  color: #E65100;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
  letter-spacing: .3px;
}

/* --- GMB Trust Section (About page) --- */
.gmb-trust-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 2px solid #4CAF50;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
}
.gmb-trust-icon { font-size: 40px; flex-shrink: 0; }
.gmb-trust-content h3 { font-size: 18px; color: var(--dark); margin-bottom: 6px; }
.gmb-trust-content p { font-size: 14px; color: var(--text); margin-bottom: 12px; }
.gmb-trust-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4CAF50;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.gmb-trust-btn:hover { background: var(--primary); }
@media (max-width: 600px) {
  .gmb-trust-box { flex-direction: column; text-align: center; }
}

/* ============================================================
   AUTHOR PROFILE PAGE
   ============================================================ */
.author-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.author-hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  border: 4px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.author-trust-bar {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
  width: fit-content;
}
.author-trust-item {
  padding: 12px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.author-trust-item:last-child { border-right: none; }
.author-trust-item strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 3px;
}
.author-trust-item span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.75;
}
.expert-state-badge-lg {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.3);
}
.blog-author-badge-lg {
  display: inline-block;
  background: #FFF3E0;
  color: #E65100;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
@media (max-width: 640px) {
  .author-hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .author-trust-bar { flex-wrap: wrap; width: 100%; justify-content: center; }
  .author-trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); flex: 1 1 45%; min-width: 100px; }
}

/* Expert card profile link */
.expert-profile-link {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  text-align: center;
  padding: 6px 0;
  border-top: 1px solid var(--border);
}
.expert-profile-link:hover { text-decoration: underline; }

/* Cost disclaimer */
.cost-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
  padding: 8px 12px;
  background: #fffde7;
  border-left: 3px solid #FFC107;
  border-radius: 4px;
}
.cost-disclaimer a { color: var(--primary); }

/* ── Call Modal ─────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 9999;
  align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px; padding: 40px 32px;
  max-width: 420px; width: 90%; text-align: center;
  position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 20px;
  cursor: pointer; color: #888; line-height: 1;
}
.modal-icon { font-size: 48px; margin-bottom: 8px; }
.modal-title { font-size: 1.6rem; margin: 0 0 8px; color: var(--text); }
.modal-sub { color: var(--text-muted); margin: 0 0 20px; }
.modal-phone {
  display: block; font-size: 2rem; font-weight: 800;
  color: var(--primary); text-decoration: none; letter-spacing: -0.5px;
  background: var(--bg-light); border-radius: 10px;
  padding: 14px 24px; margin-bottom: 8px;
  transition: background 0.2s;
}
.modal-phone:hover { background: #e8f5e9; }
.modal-hint { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.modal-divider {
  font-size: 12px; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 16px;
  border-top: 1px solid var(--border); padding-top: 16px;
}

/* Floating call button (bottom-right on mobile) */
.floating-call-btn {
  display: none; position: fixed; bottom: 24px; right: 24px;
  background: var(--primary); color: #fff; border-radius: 50px;
  padding: 14px 22px; font-weight: 700; font-size: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25); z-index: 999;
  text-decoration: none; align-items: center; gap: 8px;
}
@media (max-width: 768px) {
  .floating-call-btn { display: flex; }
}

/* ── Newsletter (Footer) ─────────────────────────────────────── */
.footer-newsletter {
  background: var(--primary-dark, #1a5c2a); color: #fff;
  padding: 40px 0; text-align: center; margin-bottom: 0;
}
.footer-newsletter h3 { font-size: 1.3rem; margin: 0 0 6px; }
.footer-newsletter p { font-size: 14px; opacity: 0.8; margin: 0 0 18px; }
.newsletter-form {
  display: flex; gap: 10px; max-width: 440px;
  margin: 0 auto; flex-wrap: wrap; justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1; min-width: 200px; padding: 12px 16px;
  border-radius: 8px; border: none; font-size: 14px;
  outline: none;
}
.newsletter-form button {
  padding: 12px 24px; background: var(--accent, #e65c00);
  color: #fff; border: none; border-radius: 8px;
  font-weight: 700; font-size: 14px; cursor: pointer;
}
.newsletter-form button:hover { opacity: 0.9; }
.newsletter-disclaimer { font-size: 11px; opacity: 0.6; margin-top: 10px; }

/* ── Expert Card Articles ───────────────────────────────────── */
.expert-articles {
  width: 100%; margin: 10px 0 4px; text-align: left;
  border-top: 1px solid var(--border, #eee); padding-top: 10px;
}
.expert-articles-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--primary, #2e7d32); margin-bottom: 6px;
}
.expert-article-link {
  display: block; font-size: 12px; color: var(--text, #333);
  text-decoration: none; padding: 4px 0; border-bottom: 1px solid var(--border, #f0f0f0);
  line-height: 1.4; transition: color 0.2s;
}
.expert-article-link:last-child { border-bottom: none; }
.expert-article-link:hover { color: var(--primary, #2e7d32); }
