/*
Theme Name: FixMyRoof
Theme URI: https://fixmyroof.co.uk
Author: FixMyRoof
Description: Custom theme for FixMyRoof - UK's Dedicated Roofing Directory
Version: 1.0.0
Text Domain: fixmyroof
*/

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

:root {
  --navy: #0B1426;
  --navy-mid: #162033;
  --accent: #2D6AE0;
  --accent-hover: #1E56C4;
  --accent-subtle: #EBF1FD;
  --warm: #D97706;
  --warm-light: #FEF3C7;
  --warm-bg: #FFFBEB;
  --success: #059669;
  --success-bg: #ECFDF5;
  --surface: #FFFFFF;
  --surface-alt: #F7F9FC;
  --surface-muted: #EDF2F8;
  --text: #0F1D31;
  --text-secondary: #4A5E7A;
  --text-muted: #7B8BA5;
  --border: #D4DCE8;
  --border-light: #E8EDF4;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --max-w: 1180px;
  --shadow-sm: 0 1px 3px rgba(11,20,38,0.06);
  --shadow-md: 0 4px 16px rgba(11,20,38,0.08);
  --shadow-lg: 0 12px 40px rgba(11,20,38,0.12);
  --shadow-xl: 0 20px 60px rgba(11,20,38,0.18);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; color: var(--text); background: var(--surface); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; line-height: 1.2; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Skip to content - accessibility */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--accent); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ─── ANNOUNCEMENT BAR ─── */
.announcement-bar {
  background: var(--navy);
  color: #94A3B8;
  text-align: center;
  font-size: 13px;
  padding: 9px 16px;
  font-weight: 500;
}
.announcement-bar a {
  color: var(--warm);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(217,119,6,0.4);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}
.announcement-bar a:hover { text-decoration-color: var(--warm); }

/* ─── HEADER ─── */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.logo img { height: 22px; width: auto; }

/* Nav */
nav { display: flex; align-items: center; gap: 2px; }
nav > a, .nav-item > a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
nav > a:hover, .nav-item > a:hover { background: var(--surface-alt); color: var(--text); }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a::after { content: ' \25BE'; font-size: 10px; opacity: 0.5; }
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 6px;
  z-index: 200;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
}
.dropdown a:hover { background: var(--surface-alt); color: var(--accent); }

/* Mega-menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 740px;
  padding: 24px;
  z-index: 200;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu { display: grid; }
.mega-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}
.mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
  margin-bottom: 2px;
}
.mega-link:hover { background: var(--surface-alt); color: var(--accent); }
.mega-link-icon {
  width: 32px; height: 32px;
  background: var(--accent-subtle);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: background 0.15s;
}
.mega-link:hover .mega-link-icon { background: var(--warm-bg); color: var(--warm); }
.mega-link-text { display: flex; flex-direction: column; }
.mega-link-text span { font-size: 12px; color: var(--text-muted); font-weight: 400; margin-top: 1px; }
.mega-footer {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
}
.mega-footer-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}
.mega-footer-btn-primary { background: var(--accent); color: #fff; }
.mega-footer-btn-primary:hover { background: var(--accent-hover); }
.mega-footer-btn-ghost { background: var(--surface-alt); color: var(--text); }
.mega-footer-btn-ghost:hover { background: var(--surface-muted); }

/* Header CTAs */
.header-ctas { display: flex; align-items: center; gap: 8px; }
.btn-outline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  background: transparent;
}
.btn-outline:hover { border-color: var(--text-secondary); color: var(--text); }
.btn-primary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 8px 18px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent-hover); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ─── HERO ─── */
.hero {
  position: relative;
  background: var(--navy);
  overflow: visible;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* background-image: Set dynamically via ACF hero image field */
  background-size: cover;
  background-position: center 30%;
  opacity: 0.15;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,106,224,0.12);
  border: 1px solid rgba(45,106,224,0.25);
  color: #93B4F0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  width: fit-content;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); }
.hero h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  color: #F1F5F9;
  max-width: 580px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--warm);
}
.hero-sub {
  font-size: 17px;
  color: #8899B0;
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8899B0;
  font-size: 13px;
  font-weight: 500;
}
.trust-pill svg { color: var(--warm); flex-shrink: 0; }

/* Search box in hero */
.search-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 6px;
  display: flex;
  gap: 6px;
  max-width: 520px;
}
.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
}
.search-field svg { flex-shrink: 0; color: #64748B; }
.search-field input {
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #fff;
  width: 100%;
  outline: none;
}
.search-field input::placeholder { color: #64748B; }
.search-btn {
  background: var(--accent);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.search-btn:hover { background: var(--accent-hover); }

/* Hero form */
.hero-right { display: flex; align-items: flex-start; justify-content: center; }
.hero-form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  width: 100%;
}
.hero-form-header { margin-bottom: 20px; }
.hero-form-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.hero-form-header p { font-size: 13px; color: var(--text-muted); }
.hero-form-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.hero-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-field { display: flex; flex-direction: column; gap: 4px; }
.form-field label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-field input,
.form-field select {
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,106,224,0.1);
}
/* Validation states */
.form-field input.is-invalid,
.form-field select.is-invalid {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}
.form-field input.is-valid {
  border-color: var(--success);
}
.form-field .field-error {
  font-size: 12px;
  color: #DC2626;
  font-weight: 500;
  display: none;
  margin-top: 2px;
}
.form-field .field-error.visible { display: block; }

.hero-form-submit {
  width: 100%;
  background: var(--warm);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero-form-submit:hover { background: #B45309; }
.hero-form-submit:active { transform: scale(0.99); }
.hero-form-submit.is-loading {
  opacity: 0.7; pointer-events: none;
}
.hero-form-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* Success state */
.lead-form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
  animation: fadeUp 0.4s ease-out;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.lead-form-success .success-icon {
  width: 56px; height: 56px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 24px;
}
.lead-form-success h3 { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.lead-form-success p { font-size: 14px; color: var(--text-muted); max-width: 280px; margin: 0 auto; }

/* ─── SOCIAL PROOF BAR (merged stats + accreditations) ─── */
/* ─── STATS STRIP ─── */
.stats-strip {
  background: var(--accent);
  padding: 28px 24px;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
}
/* ─── ACCREDITATIONS ─── */
.accreditations {
  background: var(--surface);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.accred-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.accred-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.accred-logos { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.accred-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-alt);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
}

/* ─── SECTION SHARED ─── */
section { padding: 80px 0; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.7;
}

/* ─── SERVICES ─── */
.services { background: var(--surface-alt); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.services-grid .service-card:first-child {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  color: #F1F5F9;
  border-color: transparent;
}
.services-grid .service-card:first-child h3 { color: #F1F5F9; }
.services-grid .service-card:first-child p { color: #8899B0; }
.services-grid .service-card:first-child .service-icon { background: rgba(45,106,224,0.15); }
.services-grid .service-card:first-child .service-icon svg { color: #93B4F0; }
.services-grid .service-card:first-child .service-link { color: var(--warm); }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--accent-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { color: var(--accent); }
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.service-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.6; }
.service-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.service-card:hover .service-link { gap: 8px; }

/* ─── HOW IT WORKS ─── */
.how-it-works { background: var(--surface); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: step;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: var(--border-light);
}
.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
  counter-increment: step;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--surface-muted);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border-light);
  transition: background 0.3s, color 0.3s;
}
.step:first-child .step-num { background: var(--accent); color: #fff; box-shadow: 0 0 0 1px var(--accent); }
.step:last-child .step-num { background: var(--warm); color: #fff; box-shadow: 0 0 0 1px var(--warm); }
.step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.step p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ─── TESTIMONIALS ─── */
/* ─── TRUST SECTION ─── */
.trust-section { background: var(--surface-muted); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
}
.trust-card-icon {
  width: 52px; height: 52px;
  background: var(--success-bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.trust-card-icon svg { color: var(--success); }
.trust-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.trust-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.testimonials { background: var(--surface-alt); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
  align-items: start;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.testimonials-grid .testimonial-card:nth-child(2) {
  padding: 32px 28px;
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.stars {
  color: var(--warm);
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.author-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.author-location { font-size: 12px; color: var(--text-muted); }

/* ─── DUAL CTA ─── */
.dual-cta { background: var(--surface); padding: 80px 0; }
.dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cta-card {
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}
.cta-card-homeowner { background: var(--navy); color: #F1F5F9; }
.cta-card-trade { background: var(--accent); color: #fff; }
.cta-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-list {
  list-style: none;
  margin-bottom: 24px;
}
.cta-list li {
  font-size: 14px;
  opacity: 0.85;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.cta-list li::before {
  content: '\2713';
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  opacity: 0.7;
}
.cta-btn-light {
  display: inline-block;
  background: var(--warm);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cta-btn-light:hover { background: #B45309; }
.cta-btn-white {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.cta-btn-white:hover { opacity: 0.9; }

/* ─── CONTENT HUB ─── */
.content-hub { background: var(--surface-alt); }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.hub-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.hub-card:hover { box-shadow: var(--shadow-md); border-color: var(--border); }
.hub-card-icon {
  width: 40px; height: 40px;
  background: var(--warm-bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--warm);
  margin-bottom: 14px;
}
.hub-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.hub-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.hub-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hub-article-count {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-muted);
  padding: 3px 8px;
  border-radius: 100px;
}
.hub-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
/* Featured guides list */
.hub-featured {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hub-featured-header {
  background: var(--navy);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hub-featured-header h3 { font-size: 14px; font-weight: 700; color: #F1F5F9; }
.hub-featured-header a { font-size: 12px; font-weight: 700; color: var(--warm); }
.hub-featured-list { list-style: none; padding: 6px; }
.hub-featured-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  transition: background 0.15s;
}
.hub-featured-list li a:hover { background: var(--surface-alt); color: var(--accent); }
.hub-featured-list li a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--warm);
  flex-shrink: 0;
}

/* ─── LOCAL SEO / MAP ─── */
.local-seo { background: var(--surface); padding: 80px 0; }
.map-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}
.map-container {
  position: relative;
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-container svg { width: 100%; max-width: 360px; height: auto; }
.map-region {
  fill: var(--surface-muted);
  stroke: var(--surface);
  stroke-width: 0.8;
  cursor: pointer;
  transition: fill 0.2s;
}
.map-region:hover { fill: var(--accent); opacity: 0.7; }
.map-tooltip {
  position: absolute;
  background: var(--navy);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 10;
}
.map-tooltip.visible { opacity: 1; }
.map-panel {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.map-panel-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.map-selected-region {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  min-height: 28px;
}
.map-selected-count { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; min-height: 18px; }
.map-panel-cta {
  display: block;
  background: var(--accent);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-bottom: 10px;
  transition: background 0.15s;
}
.map-panel-cta:hover { background: var(--accent-hover); }
.map-panel-secondary {
  display: block;
  background: var(--surface-alt);
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.15s;
}
.map-panel-secondary:hover { background: var(--surface-muted); }
.map-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-style: italic;
  line-height: 1.5;
}

/* ─── NEWSLETTER ─── */
.newsletter {
  background: var(--navy);
  padding: 64px 0;
}
.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.newsletter h2 {
  font-size: 26px;
  font-weight: 800;
  color: #F1F5F9;
  margin-bottom: 10px;
}
.newsletter p { font-size: 15px; color: #8899B0; margin-bottom: 28px; line-height: 1.7; }
.newsletter-form {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 6px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #fff;
  padding: 10px 14px;
  outline: none;
}
.newsletter-form input::placeholder { color: #64748B; }
.newsletter-form button {
  background: var(--warm);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.newsletter-form button:hover { background: #B45309; }
.hp-field { display: none !important; }

/* ─── FOOTER ─── */
footer {
  background: #080E1A;
  color: #8899B0;
  padding: 56px 0 28px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo img { height: 20px; width: auto; }
.footer-brand p, .footer-col > p { font-size: 14px; line-height: 1.7; max-width: 260px; margin-top: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.06); color: #64748B; transition: all 0.15s; }
.footer-social a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #CBD5E1;
  margin-bottom: 14px;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col a { font-size: 14px; color: #8899B0; transition: color 0.15s; margin-bottom: 8px; }
.footer-col a:hover { color: var(--warm); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: #8899B0; transition: color 0.15s; margin-bottom: 0; }
.footer-col ul li a:hover { color: var(--warm); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span { font-size: 12px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: #64748B; transition: color 0.15s; }
.footer-legal a:hover { color: var(--warm); }

/* ─── MOBILE STICKY CTA ─── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  z-index: 900;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.mobile-cta a {
  display: block;
  background: var(--warm);
  color: #fff;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px;
  border-radius: var(--radius-sm);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px 48px; }
  .hero-right { order: -1; }
  .hero-form-card { max-width: 480px; }
  nav, .header-ctas { display: none; }
  .hamburger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .accreditations .accred-logos { display: none; }
  .map-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:first-child { grid-row: auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .dual-cta-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .mobile-cta { display: block; }
  body { padding-bottom: 64px; }
  .page-template-page-plans .mobile-cta { display: none; }
  .page-template-page-plans { padding-bottom: 0; }
}
@media (max-width: 480px) {
  .services-grid, .hub-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero-form-row { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── PAGE HERO (shared across inner pages) ─── */
.page-hero {
  background: var(--navy);
  padding: 72px 24px;
  text-align: center;
}
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,106,224,0.12);
  border: 1px solid rgba(45,106,224,0.25);
  color: #93B4F0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: #F1F5F9;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero p {
  font-size: 17px;
  color: #8899B0;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── STATS BAR (about page variant) ─── */
.stats-bar {
  background: var(--accent);
  padding: 28px 24px;
}

/* ─── INNER PAGE SECTIONS ─── */
.section { padding: 72px 24px; }
.section.alt { background: var(--surface-alt); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.section p.lead {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* Story two-col */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-grid.reverse { direction: rtl; }
.story-grid.reverse > * { direction: ltr; }
.story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-img-placeholder { font-size: 72px; }
.story-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}
.story-text p:last-child { margin-bottom: 0; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.value-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--accent-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.value-card h4 {
  font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.value-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.team-card { text-align: center; }
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--accent-subtle);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px; font-weight: 800;
  color: var(--accent);
}
.team-card h4 {
  font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.team-card .role {
  font-size: 13px; color: var(--warm);
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 8px;
}
.team-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Vetting steps */
.vet-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 36px;
}
.vet-step {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}
.vet-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px; top: 44px; bottom: 0;
  width: 2px;
  background: var(--border-light);
}
.vet-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vet-text h4 {
  font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
  padding-top: 8px;
}
.vet-text p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* CTA Banner */
.cta-banner-wrap {
  background: var(--surface-alt);
  padding: 0 24px 72px;
}
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  max-width: calc(var(--max-w) - 48px);
  margin: 0 auto;
}
.cta-banner h2 {
  font-size: 28px; font-weight: 800;
  color: #F1F5F9; margin-bottom: 12px;
}
.cta-banner p {
  font-size: 16px; color: #8899B0;
  margin-bottom: 28px; line-height: 1.7;
}
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btn-white {
  padding: 13px 26px; border-radius: var(--radius-sm);
  background: #fff; color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 700;
  transition: background 0.15s;
}
.cta-btn-white:hover { background: var(--surface-alt); }
.cta-btn-warm {
  padding: 13px 26px; border-radius: var(--radius-sm);
  background: var(--warm); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 700;
  transition: background 0.15s;
}
.cta-btn-warm:hover { background: #B45309; }

/* ─── HERO INNER & BADGE (inner pages) ─── */
.page-hero-inner { max-width: 680px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(45,106,224,0.15); color: #93C5FD; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 20px; margin-bottom: 18px; letter-spacing: 0.05em; text-transform: uppercase; }
.hero-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.hero-btn-accent { padding: 13px 26px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; transition: background 0.15s; }
.hero-btn-accent:hover { background: var(--accent-hover); }
.hero-btn-ghost { padding: 13px 26px; border-radius: var(--radius-sm); border: 1.5px solid rgba(255,255,255,0.18); color: #F1F5F9; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; transition: all 0.15s; }
.hero-btn-ghost:hover { border-color: rgba(255,255,255,0.45); }
.section--alt { background: var(--surface-alt); }

/* ─── PROCESS STEPS ─── */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 32px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--border-light); }
.process-step:last-child { border-bottom: none; }
.process-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 56px; font-weight: 900; color: var(--accent-subtle); line-height: 1; }
.step-content h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.step-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.step-visual { background: var(--surface-alt); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; min-height: 160px; display: flex; align-items: center; justify-content: center; }

/* Step visual: profile */
.step-vis-profile { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.vis-row { display: flex; gap: 8px; align-items: center; }
.vis-bar { height: 10px; border-radius: 5px; background: var(--border-light); }
.vis-bar.filled { background: var(--accent); }
.vis-bar.short { width: 40%; }
.vis-bar.medium { width: 65%; }
.vis-bar.long { width: 85%; }
.vis-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.vis-check { width: 20px; height: 20px; border-radius: 50%; background: var(--success); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Step visual: lead cards */
.step-vis-lead { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.lead-card { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 12px 14px; }
.lead-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.lead-tag { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px; }
.lead-tag.urgent { background: #FEF2F2; color: #DC2626; }
.lead-tag.flat { background: var(--accent-subtle); color: var(--accent); }
.lead-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--text); }
.lead-meta { font-size: 12px; color: var(--text-muted); }

/* Step visual: review */
.step-vis-review { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.review-card { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 12px 14px; }
.review-stars { color: var(--warm); font-size: 16px; margin-bottom: 4px; }
.review-text { font-size: 12px; color: var(--text-secondary); }
.review-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 600; color: var(--text); margin-top: 6px; }

/* ─── LEAD ANATOMY ─── */
.lead-anatomy { background: var(--navy); border-radius: var(--radius-lg); padding: 44px; margin-top: 56px; }
.lead-anatomy h3 { font-size: 22px; font-weight: 800; color: #F1F5F9; margin-bottom: 8px; }
.lead-anatomy > p { font-size: 15px; color: #8899B0; margin-bottom: 28px; }
.lead-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lead-field { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 14px; }
.lead-field-label { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.lead-field-value { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600; color: #fff; }

/* ─── PLAN COMPARISON ─── */
.plan-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.plan-col { border: 1.5px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.plan-col.featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.plan-col-head { padding: 24px; border-bottom: 1px solid var(--border-light); }
.plan-col.featured .plan-col-head { background: var(--accent); border-bottom-color: var(--accent); }
.plan-col-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.plan-col.featured .plan-col-name { color: #fff; }
.plan-col-price { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 900; color: var(--accent); }
.plan-col.featured .plan-col-price { color: #fff; }
.plan-col-period { font-size: 13px; color: var(--text-muted); }
.plan-col.featured .plan-col-period { color: #BFDBFE; }
.plan-col-features { padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.plan-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.feat-check { color: var(--success); flex-shrink: 0; margin-top: 1px; }
.feat-cross { color: var(--border); flex-shrink: 0; margin-top: 1px; }
.plan-col-cta { padding: 0 24px 24px; }
.plan-cta-btn { display: block; width: 100%; padding: 12px; border-radius: var(--radius-sm); text-align: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; transition: all 0.15s; }
.plan-cta-btn.outline { border: 1.5px solid var(--border); color: var(--text); }
.plan-cta-btn.outline:hover { border-color: var(--accent); color: var(--accent); }
.plan-cta-btn.solid { background: var(--accent); color: #fff; }
.plan-cta-btn.solid:hover { background: var(--accent-hover); }
.plan-cta-btn.gold { background: var(--warm); color: #fff; }
.plan-cta-btn.gold:hover { background: #B45309; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-q { width: 100%; background: none; border: none; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); text-align: left; gap: 16px; }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-subtle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.15s; }
.faq-item.open .faq-icon { background: var(--accent); }
.faq-icon svg { transition: transform 0.2s; }
.faq-item.open .faq-icon svg { transform: rotate(45deg); stroke: white; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 0 20px; font-size: 15px; color: var(--text-secondary); line-height: 1.8; }

/* ─── INNER PAGE RESPONSIVE ─── */
@media (max-width: 768px) {
  .story-grid, .story-grid.reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .values-grid, .team-grid { grid-template-columns: 1fr; }
  .cta-banner { margin: 0 16px 56px; padding: 40px 28px; }
  .process-step { grid-template-columns: 1fr; gap: 16px; }
  .process-num { font-size: 40px; }
  .step-visual { min-height: 100px; }
  .plan-compare { grid-template-columns: 1fr; }
  .lead-fields { grid-template-columns: 1fr 1fr; }
  .lead-anatomy { padding: 28px; }
}
@media (max-width: 480px) {
  .lead-fields { grid-template-columns: 1fr; }
}

/* ─── CONTACT PAGE ─── */
.contact-section { padding: 64px 24px; }
.contact-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 48px;
}
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.contact-card {
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 22px 20px; background: var(--surface-alt);
  transition: border-color 0.2s;
}
.contact-card:hover { border-color: var(--border); }
.contact-card-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent-subtle); display: flex; align-items: center;
  justify-content: center; margin-bottom: 12px;
}
.contact-card-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; }
.contact-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.contact-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.6; }
.contact-card a {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--accent);
}
.contact-card a:hover { text-decoration: underline; }

.faq-links {
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 22px 20px; background: var(--surface);
}
.faq-links h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.faq-link-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--border-light); font-size: 14px;
  color: var(--text-secondary);
}
.faq-link-item:last-child { border-bottom: none; }
.faq-link-item a {
  color: var(--accent); font-weight: 600; font-size: 13px;
  display: flex; align-items: center; gap: 4px; white-space: nowrap;
}
.faq-link-item a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--surface-alt); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 32px;
}
.contact-form-wrap h2 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.contact-form-wrap > p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 700; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 5px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--text); background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45,106,224,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
  width: 100%; padding: 13px; border-radius: var(--radius-sm);
  background: var(--warm); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; transition: background 0.15s;
}
.form-submit:hover { background: #B45309; }
.form-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 10px; }
.honeypot { display: none !important; }
.form-success {
  display: none; text-align: center; padding: 40px 20px;
  animation: fadeUp 0.4s ease-out;
}
.contact-form-wrap .success-icon {
  width: 60px; height: 60px; background: var(--success-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.contact-form-wrap .success-icon svg { width: 28px; height: 28px; stroke: var(--success); fill: none; }
.form-success h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Contact form CF7 styling */
.contact-form-wrap .wpcf7-form-control:not([type="submit"]) {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--text); background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  box-sizing: border-box;
}
.contact-form-wrap .wpcf7-form-control:not([type="submit"]):focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45,106,224,0.1);
}
.contact-form-wrap .wpcf7-submit {
  width: 100%; padding: 13px; border-radius: var(--radius-sm);
  background: var(--warm); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; transition: background 0.15s;
}
.contact-form-wrap .wpcf7-submit:hover { background: #B45309; }
.contact-form-wrap textarea.wpcf7-form-control { resize: vertical; min-height: 120px; }
.contact-form-wrap .wpcf7-form p { margin: 0; }
.contact-form-wrap .wpcf7-form .form-group { margin-bottom: 14px; }
.contact-form-wrap .wpcf7-form .form-group label {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 700; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px;
}
.contact-form-wrap .wpcf7-form .form-group .wpcf7-form-control-wrap { display: block; }
.contact-form-wrap .wpcf7-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.contact-form-wrap .wpcf7-form .form-row .form-group { margin-bottom: 0; }
.contact-form-wrap .wpcf7-form select { appearance: auto; -webkit-appearance: auto; }
.contact-form-wrap .wpcf7-form br { display: none; }
.contact-form-wrap .wpcf7-not-valid-tip { margin-top: 3px; }
.contact-form-wrap .wpcf7-response-output { margin: 10px 0 0; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; }

@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .contact-cards { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ─── FIND A ROOFER PAGE ─── */
.main-content { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.section-label::before {
  content: ''; display: inline-block; width: 20px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.section-header h2 {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 800;
  color: var(--text); line-height: 1.2;
}
.section-header p {
  font-size: 16px; color: var(--text-secondary); margin-top: 10px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}

/* FAR Search Box */
.far-search-box {
  max-width: 560px; margin: 28px auto 0;
}
.far-search-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px;
}
.far-search-row {
  display: flex; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 6px;
}
.far-search-input-wrap {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; position: relative;
}
.far-search-input-wrap svg { flex-shrink: 0; color: #64748B; }
.far-search-input-wrap input {
  border: none; background: transparent;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: #fff;
  width: 100%; outline: none;
}
.far-search-input-wrap input::placeholder { color: #64748B; }
.far-search-hints {
  font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 10px;
  display: flex; gap: 16px;
}
.far-search-hints span { display: flex; align-items: center; gap: 4px; }

/* Popular cities chips */
.featured-cities { padding: 32px 0 0; }
.cities-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px;
}
.cities-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.city-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 30px;
  border: 1.5px solid var(--border-light); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.18s; cursor: pointer; text-decoration: none;
}
.city-chip:hover {
  border-color: var(--accent); color: var(--accent); background: var(--accent-subtle);
  transform: translateY(-1px); box-shadow: 0 2px 10px rgba(45,106,224,0.12);
}
.city-chip .chip-count {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  background: var(--surface-alt); padding: 1px 7px; border-radius: 20px;
}
.city-chip:hover .chip-count { background: rgba(45,106,224,0.15); color: var(--accent); }

/* Autocomplete dropdown */
.autocomplete-dropdown {
  position: absolute; top: calc(100% + 6px); left: -12px; right: -12px;
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  z-index: 200; overflow: hidden; display: none;
}
.autocomplete-dropdown.open { display: block; }
.autocomplete-section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 10px 14px 6px; background: var(--surface-alt);
}
.autocomplete-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; cursor: pointer; transition: background 0.1s;
  border-top: 1px solid var(--border-light);
}
.autocomplete-item:hover { background: var(--surface-alt); }
.autocomplete-item .item-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--accent-subtle); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.autocomplete-item .item-icon svg { width: 14px; height: 14px; color: var(--accent); }
.autocomplete-item .item-text { flex: 1; }
.autocomplete-item .item-name { font-size: 14px; font-weight: 600; color: var(--text); font-family: 'Plus Jakarta Sans', sans-serif; }
.autocomplete-item .item-sub { font-size: 12px; color: var(--text-muted); }
.autocomplete-item .item-count {
  font-size: 12px; font-weight: 600; color: var(--accent);
  background: var(--accent-subtle); padding: 2px 8px; border-radius: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.autocomplete-item .item-count.region { color: var(--warm); background: var(--warm-bg); }

/* FAR Map section */
.far-map-section { background: var(--surface); padding: 56px 0 64px; }
.far-map-header { margin-bottom: 32px; }
.far-map-subtext { color: var(--text-secondary); font-size: 15px; margin: 0; }
.far-map-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.far-map-col {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; align-items: center; justify-content: center;
  min-height: 500px; position: sticky; top: 80px;
}
.far-map-wrap { position: relative; width: 100%; max-width: 460px; }
.far-map-wrap svg { width: 100%; height: auto; display: block; }
.far-map-wrap .map-region {
  fill: var(--border) !important; stroke: #fff !important; stroke-width: 0.8;
  cursor: pointer; transition: fill 0.18s;
}
.far-map-wrap .map-region:hover,
.far-map-wrap .map-region.active {
  fill: var(--accent) !important; opacity: 1;
}
.far-map-tooltip {
  position: absolute; background: var(--navy); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; pointer-events: none;
  white-space: nowrap; opacity: 0; transition: opacity 0.15s; z-index: 20;
}
.far-map-tooltip.visible { opacity: 1; }
.far-regions-col { display: flex; flex-direction: column; gap: 0; }
.far-regions-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; font-family: 'Plus Jakarta Sans', sans-serif;
}
.far-regions-header span {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted);
}
.far-view-all { font-size: 13px; font-weight: 600; color: var(--accent); }
.far-view-all:hover { text-decoration: underline; }
.far-region-list { display: flex; flex-direction: column; gap: 6px; }
.far-region-card {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md); padding: 11px 14px;
  text-decoration: none; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.far-region-card:hover, .far-region-card.active {
  border-color: var(--accent); background: var(--accent-subtle);
  box-shadow: var(--shadow-md);
}
.far-region-card-body { display: flex; flex-direction: column; gap: 2px; }
.far-region-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); }
.far-region-towns { font-size: 12px; color: var(--text-muted); }
.far-region-count {
  background: var(--accent-subtle); color: var(--accent);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.far-region-card.active .far-region-count { background: var(--accent); color: #fff; }

/* Service filter */
.service-filter { padding: 48px 0; background: var(--surface-muted); }
.service-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.service-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 30px;
  border: 2px solid var(--border-light); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.service-pill:hover { border-color: var(--accent); color: var(--accent); }
.service-pill.active { background: var(--accent); border-color: var(--accent); color: white; }

/* A-Z Towns */
.towns-az { padding: 64px 0; background: var(--surface); }
.az-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; }
.az-tab {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-light); background: var(--surface);
  font-size: 14px; font-weight: 700; color: var(--text-secondary);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; font-family: 'Plus Jakarta Sans', sans-serif;
}
.az-tab:hover { border-color: var(--accent); color: var(--accent); }
.az-tab.active { background: var(--accent); border-color: var(--accent); color: white; }
.az-tab.disabled { opacity: 0.35; cursor: default; }
.az-content { display: none; }
.az-content.active { display: block; }
.az-letter-heading {
  font-size: 28px; font-weight: 900; color: var(--accent);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}
.towns-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 40px; }
.town-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-light); background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: all 0.15s; text-decoration: none;
}
.town-link:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-subtle);
}
.town-link svg { width: 14px; height: 14px; color: var(--text-muted); flex-shrink: 0; }
.town-link:hover svg { color: var(--accent); }

/* FAR CTA Banner */
.far-cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2040 100%);
  padding: 64px 24px; text-align: center;
}
.far-cta-inner { max-width: 640px; margin: 0 auto; }
.far-cta-banner h2 {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 800;
  color: #F1F5F9; margin-bottom: 14px;
}
.far-cta-banner p { font-size: 16px; color: #8899B0; margin-bottom: 32px; line-height: 1.7; }
.btn-cta-warm {
  background: var(--warm); color: white;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-cta-warm:hover { background: #B45309; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(217,119,6,0.3); }
.btn-cta-outline {
  background: transparent; color: white;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.2s; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-cta-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

@media (max-width: 900px) {
  .far-map-grid { grid-template-columns: 1fr; }
  .far-map-col { min-height: 340px; }
  .far-region-list { max-height: none; }
}

/* ─── JOIN PAGE ─── */
.join-page { display: grid; grid-template-columns: 1fr 520px; min-height: calc(100vh - 105px); }
.join-left { background: var(--navy); padding: 60px 48px 60px calc((100vw - var(--max-w)) / 2 + 24px); display: flex; flex-direction: column; justify-content: center; }
.join-left-inner { max-width: 480px; width: 100%; }
.join-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(45,106,224,0.2); color: #93C5FD; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; margin-bottom: 24px; letter-spacing: 0.05em; text-transform: uppercase; }
.join-left h1 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -0.02em; }
.join-left h1 em { color: #60A5FA; font-style: normal; }
.join-left-inner > p { font-size: 16px; color: #94A3B8; margin-bottom: 40px; line-height: 1.7; }
.benefit-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.benefit-item { display: flex; align-items: flex-start; gap: 14px; }
.benefit-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(45,106,224,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #60A5FA; }
.benefit-text h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.benefit-text p { font-size: 13px; color: #94A3B8; margin: 0; line-height: 1.6; }
.social-proof { display: flex; align-items: center; gap: 12px; padding: 16px; background: rgba(255,255,255,0.05); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.08); }
.sp-avatars { display: flex; }
.sp-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); border: 2px solid var(--navy); display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; color: #fff; margin-left: -8px; }
.sp-avatar:first-child { margin-left: 0; }
.sp-text { font-size: 13px; color: #94A3B8; }
.sp-text strong { color: #fff; }

/* Join form right panel */
.join-right { background: #fff; padding: 48px 48px 60px; display: flex; flex-direction: column; }
.plan-strip { display: flex; align-items: center; justify-content: space-between; background: var(--accent-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 32px; }
.plan-strip-info { display: flex; align-items: center; gap: 8px; }
.plan-strip-icon { width: 28px; height: 28px; border-radius: 6px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.plan-strip-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); }
.plan-strip a { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.plan-strip a:hover { text-decoration: underline; }
.plan-strip-note { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Progress bar */
.progress-bar { display: flex; align-items: center; gap: 0; margin-bottom: 36px; }
.prog-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; position: relative; }
.prog-step:not(:last-child)::after { content: ''; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.prog-step.done:not(:last-child)::after { background: var(--accent); }
.prog-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; color: var(--text-muted); position: relative; z-index: 1; transition: all 0.2s; }
.prog-step.active .prog-dot, .prog-step.done .prog-dot { border-color: var(--accent); background: var(--accent); color: #fff; }
.prog-label { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 600; color: var(--text-muted); text-align: center; white-space: nowrap; }
.prog-step.active .prog-label, .prog-step.done .prog-label { color: var(--accent); }

/* Step panels */
.step-panel { display: none; }
.step-panel.active { display: block; }
.step-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 6px; letter-spacing: -0.01em; }
.step-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }

/* Service checkboxes */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.service-check { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--text); }
.service-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.service-check:has(input:checked) { border-color: var(--accent); background: var(--accent-subtle); color: var(--accent); }

/* T&C checkbox */
.tc-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; }
.tc-check input { width: 16px; min-width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.tc-check a { color: var(--accent); font-weight: 500; white-space: nowrap; }

/* Join form buttons */
.btn-next { width: 100%; padding: 14px; border-radius: var(--radius-sm); border: none; background: var(--accent); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.15s; margin-top: 8px; }
.btn-next:hover { background: var(--accent-hover); }
.btn-next:disabled { background: var(--border); cursor: not-allowed; }
.btn-back { background: none; border: none; color: var(--text-muted); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; margin-top: 12px; display: flex; align-items: center; gap: 4px; }
.btn-back:hover { color: var(--text); }

/* Form errors */
.form-error { font-size: 12px; color: #DC2626; font-weight: 500; display: none; margin-top: 4px; }
.form-error.visible { display: block; }

/* Success panel */
.success-panel { text-align: center; padding: 20px 0; }
.success-panel .success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--success-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-panel h2 { font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.success-panel > p { font-size: 15px; color: var(--text-secondary); margin-bottom: 28px; }
.next-steps { display: flex; flex-direction: column; gap: 12px; text-align: left; margin-bottom: 28px; }
.next-step { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--surface-alt); border-radius: var(--radius-sm); }
.ns-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ns-text h5 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ns-text p { font-size: 13px; color: var(--text-secondary); margin: 0; }
/* Join benefits (template class names) */
.join-benefits { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; padding: 0; }
.join-benefit { display: flex; align-items: flex-start; gap: 14px; }
.join-benefit-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(45,106,224,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #60A5FA; }
.join-benefit-content { display: flex; flex-direction: column; gap: 2px; }
.join-benefit-content strong { font-size: 15px; font-weight: 700; color: #fff; }
.join-benefit-content span { font-size: 13px; color: #94A3B8; line-height: 1.6; }

/* Join social proof (template class name) */
.join-social-proof { display: flex; align-items: center; gap: 12px; padding: 16px; background: rgba(255,255,255,0.05); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: #94A3B8; }
.join-social-proof strong { color: #fff; }

/* Plan strip link */
.plan-strip-link { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.plan-strip-link:hover { text-decoration: underline; }

/* Progress bar (template class names) */
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; position: relative; }
.progress-step:not(:last-child)::after { content: ''; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.progress-step.done:not(:last-child)::after { background: var(--accent); }
.progress-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; color: var(--text-muted); position: relative; z-index: 1; transition: all 0.2s; }
.progress-step.active .progress-dot, .progress-step.done .progress-dot { border-color: var(--accent); background: var(--accent); color: #fff; }
.progress-label { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 600; color: var(--text-muted); text-align: center; white-space: nowrap; }
.progress-step.active .progress-label, .progress-step.done .progress-label { color: var(--accent); }

/* Join form labels - sentence case, not uppercase */
.join-right .form-group label {
  text-transform: none;
  font-size: 13px;
}

/* Plan selection cards (Step 0) */
.plan-cards { display: flex; flex-direction: column; gap: 12px; }
.plan-select-card {
  border: 2px solid var(--border-light); border-radius: var(--radius-md);
  padding: 20px; cursor: pointer; transition: all 0.15s; position: relative;
}
.plan-select-card:hover { border-color: var(--accent); }
.plan-select-card.selected { border-color: var(--accent); background: var(--accent-subtle); }
.plan-select-card.featured { border-color: var(--accent); }
.plan-select-badge {
  position: absolute; top: -10px; right: 16px;
  background: var(--accent); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.plan-select-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.plan-select-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); }
.plan-select-price { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; font-weight: 900; color: var(--accent); }
.plan-select-price span { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.plan-select-card p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.5; }

.hp-field { display: none !important; }

@media (max-width: 900px) {
  .join-page { grid-template-columns: 1fr; }
  .join-left { padding: 40px 24px; }
  .join-right { padding: 36px 24px 48px; }
}
@media (max-width: 500px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* =============================================
   PLANS PAGE - NEW CSS RULES
   (Only classes NOT already in the theme)
   ============================================= */

/* ─── GBP PREVIEW BANNER ─── */
.gbp-preview-banner {
  background: var(--navy); padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.gbp-preview-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.gbp-preview-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700;
  color: var(--warm); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px;
}
.gbp-preview-text h3 {
  font-size: clamp(20px, 2.5vw, 26px); font-weight: 800;
  color: #F1F5F9; margin-bottom: 10px; line-height: 1.3;
}
.gbp-preview-text p {
  font-size: 15px; color: #8899B0; line-height: 1.7; margin-bottom: 18px;
}
.gbp-preview-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--warm); transition: gap 0.2s;
}
.gbp-preview-cta:hover { gap: 10px; }
.gbp-preview-media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.gbp-preview-media img {
  width: 100%; height: auto; display: block;
}
.gbp-preview-placeholder {
  background: rgba(255,255,255,0.04); padding: 60px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #64748B; text-align: center;
}
.gbp-preview-placeholder svg { color: #475569; margin-bottom: 4px; }
.gbp-preview-placeholder span { font-size: 14px; font-weight: 600; }
.gbp-preview-note { font-size: 12px !important; font-weight: 400 !important; color: #475569 !important; }
@media (max-width: 768px) {
  .gbp-preview-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── BILLING TOGGLE ─── */
.billing-toggle-wrap {
  display: flex; justify-content: center; align-items: center;
  gap: 14px; padding: 40px 0 32px;
}
.billing-label {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600;
  color: var(--text-muted); cursor: pointer; transition: color 0.15s;
}
.billing-label.active { color: var(--text); }
.toggle-switch {
  width: 52px; height: 28px;
  background: var(--surface-muted); border-radius: 100px;
  position: relative; cursor: pointer;
  border: 1.5px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}
.toggle-switch.annual { background: var(--accent); border-color: var(--accent); }
.toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff; border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-switch.annual .toggle-knob { transform: translateX(24px); }
.save-badge {
  background: var(--warm-bg); color: var(--warm);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  border: 1px solid rgba(217,119,6,0.2);
}

/* ─── LEAD ENGINE CALLOUT ─── */
.lead-engine {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  margin: 0 0 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.lead-engine::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(45,106,224,0.2), transparent 70%);
}
.lead-engine-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(45,106,224,0.2);
  border: 1px solid rgba(45,106,224,0.4);
  color: #93C5FD;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 14px;
  position: relative; z-index: 1;
}
.lead-engine h2 {
  font-size: 26px; font-weight: 800; color: #F1F5F9; margin-bottom: 10px;
  position: relative; z-index: 1;
}
.lead-engine > div > p { color: #8899B0; font-size: 15px; max-width: 560px; position: relative; z-index: 1; }
.lead-engine-steps {
  display: flex; flex-direction: column; gap: 12px; margin-top: 20px;
  position: relative; z-index: 1;
}
.lead-step {
  display: flex; align-items: flex-start; gap: 12px;
}
.lead-step-num {
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--accent); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.lead-step-text { color: #CBD5E1; font-size: 14px; line-height: 1.5; }
.lead-step-text strong { color: #fff; }
.lead-engine-visual {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 24px 28px;
  min-width: 240px; text-align: center;
  position: relative; z-index: 1;
}
.lead-engine-visual .big-num {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 52px; font-weight: 900;
  color: #60A5FA; line-height: 1;
}
.lead-engine-visual .big-label {
  color: #8899B0; font-size: 13px; margin-top: 6px; margin-bottom: 20px;
}
.lead-engine-visual .mini-stat {
  display: flex; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px; gap: 16px;
}
.mini-stat-item { text-align: center; }
.mini-stat-item .val {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800; color: #fff;
}
.mini-stat-item .lbl { font-size: 11px; color: #64748B; margin-top: 2px; }

/* ─── GBP FEATURE STRIP ─── */
.gbp-strip {
  background: var(--accent-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 28px;
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 10px;
  border: 1px solid var(--border-light);
}
.gbp-strip-label {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(45,106,224,0.1);
  border: 1px solid rgba(45,106,224,0.25);
  padding: 4px 12px; border-radius: 100px;
  white-space: nowrap; margin-right: 20px; flex-shrink: 0;
}
.gbp-strip-tools {
  display: flex; align-items: center; gap: 6px;
  flex: 1; flex-wrap: wrap;
}
.gbp-strip-tool {
  display: flex; align-items: center; gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
  white-space: nowrap;
}
.gbp-strip-tool svg { color: var(--accent); flex-shrink: 0; }
.gbp-strip-divider {
  width: 1px; height: 28px;
  background: var(--border);
  margin: 0 8px; flex-shrink: 0;
}
.gbp-strip-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--accent); white-space: nowrap; margin-left: 16px; flex-shrink: 0;
  text-decoration: none;
}
.gbp-strip-link:hover { color: var(--accent-hover); text-decoration: none; }
.gbp-strip-link svg { transition: transform 0.15s; }
.gbp-strip-link:hover svg { transform: translateX(3px); }

/* ─── PRICING SECTION & CARDS ─── */
.pricing-section { padding: 0 0 80px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(45,106,224,0.12);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(45,106,224,0.18);
  transform: translateY(-8px);
}
.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700;
  padding: 4px 16px; border-radius: 100px; white-space: nowrap;
}
.plan-name {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.plan-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px;
}
.price-amount {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 42px; font-weight: 900;
  color: var(--text);
}
.price-period { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.price-annual-note {
  font-size: 13px; color: var(--text-muted); margin-bottom: 20px; min-height: 20px;
}
.price-annual-note .saving { color: var(--success); font-weight: 600; }
.plan-tagline {
  font-size: 14px; color: var(--text-secondary); margin-bottom: 24px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border-light);
  line-height: 1.6;
}
.plan-cta {
  display: block; width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700;
  padding: 13px 20px; border-radius: var(--radius-md); text-align: center;
  border: none; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  margin-bottom: 24px; text-decoration: none;
}
.plan-cta-outline {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.plan-cta-outline:hover { background: var(--accent-subtle); text-decoration: none; }
.plan-cta-warm {
  background: var(--warm); color: #fff; border: 2px solid var(--warm);
}
.plan-cta-warm:hover { background: var(--warm-hover); border-color: var(--warm-hover); text-decoration: none; }

/* ─── LEAD HIGHLIGHT BOX ─── */
.lead-highlight {
  background: var(--accent-subtle);
  border: 1.5px solid rgba(45,106,224,0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 10px;
}
.lead-highlight svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.lead-highlight-text { font-size: 13px; color: var(--accent-hover); line-height: 1.5; }
.lead-highlight-text strong { font-weight: 700; }

/* ─── FEATURES LIST (inside pricing cards) ─── */
.features-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.features-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text); line-height: 1.45;
}
.features-list li .check {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  background: var(--success-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--success);
}
.features-list li .check-blue {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  background: var(--accent-subtle); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.features-list li .cross {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  color: var(--border);
}
.features-list li.muted { color: var(--text-muted); }
.features-section-label {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
  margin: 20px 0 10px; padding-top: 16px; border-top: 1px solid var(--border-light);
}

/* ─── ELITE-FEATURED CARD ─── */
.pricing-card.elite-featured {
  border-color: var(--warm);
  box-shadow: 0 16px 48px rgba(217,119,6,0.15);
  transform: translateY(-12px);
  z-index: 2;
  background: linear-gradient(180deg, var(--warm-bg) 0%, var(--surface) 80px);
}
.pricing-card.elite-featured:hover {
  border-color: var(--warm);
  box-shadow: 0 20px 56px rgba(217,119,6,0.22);
}
.elite-featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--warm); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700;
  padding: 4px 16px; border-radius: 100px; white-space: nowrap;
}
.elite-social-proof {
  display: flex; align-items: center; gap: 8px;
  background: var(--warm-bg); border: 1px solid rgba(217,119,6,0.2);
  border-radius: var(--radius-sm); padding: 10px 14px;
  margin-bottom: 20px;
}
.elite-social-proof svg { color: var(--warm); flex-shrink: 0; }
.elite-social-proof span { font-size: 13px; font-weight: 600; color: var(--warm-hover); }
.elite-roi-note {
  font-size: 13px; font-weight: 600; color: var(--success);
  margin: -14px 0 6px; display: flex; align-items: center; gap: 6px;
}
.elite-testimonial {
  background: var(--navy); border-radius: var(--radius-md); padding: 18px;
  margin-top: 24px;
}
.elite-testimonial blockquote {
  font-size: 13px; color: #CBD5E1; line-height: 1.6; font-style: italic; margin-bottom: 10px;
}
.elite-testimonial cite {
  font-size: 12px; color: #8899B0; font-style: normal; display: flex; align-items: center; gap: 8px;
}
.elite-testimonial cite .et-avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--warm);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 10px; font-weight: 700; color: #fff;
}
.plan-cta-elite {
  background: var(--warm); color: #fff; border: 2px solid var(--warm);
}
.plan-cta-elite:hover { background: var(--warm-hover); border-color: var(--warm-hover); text-decoration: none; }

/* ─── GBP TOOLS SECTION ─── */
.gbp-section {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin: 0 0 56px;
  position: relative;
  overflow: hidden;
}
.gbp-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(45,106,224,0.25), transparent 70%);
}
.gbp-section::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 40%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(45,106,224,0.15), transparent 70%);
}
.gbp-section-inner { position: relative; z-index: 1; }
.gbp-section-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; margin-bottom: 40px; }
.gbp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,106,224,0.2);
  border: 1px solid rgba(45,106,224,0.4);
  color: #93C5FD;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}
.gbp-section h2 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 900;
  color: #F1F5F9; margin-bottom: 12px; line-height: 1.2;
}
.gbp-section h2 span { color: #60A5FA; }
.gbp-section-top > div > p {
  font-size: 16px; color: #8899B0; max-width: 560px; line-height: 1.7;
}
.gbp-vs-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 24px 28px;
  min-width: 220px; text-align: center; flex-shrink: 0;
}
.gbp-vs-badge .vs-label { font-size: 11px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.gbp-vs-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.gbp-vs-row:last-child { margin-bottom: 0; }
.gbp-vs-name { font-size: 13px; color: #8899B0; flex: 1; text-align: left; }
.gbp-vs-price { font-size: 14px; font-weight: 800; color: #fff; }
.gbp-vs-price.you { color: #34D399; }
.gbp-vs-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 12px 0; }
.gbp-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.gbp-tool-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 20px;
  transition: background 0.2s, border-color 0.2s;
}
.gbp-tool-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(45,106,224,0.5);
}
.gbp-tool-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.gbp-icon-blue { background: rgba(45,106,224,0.2); color: #60A5FA; }
.gbp-icon-green { background: rgba(5,150,105,0.2); color: #34D399; }
.gbp-icon-amber { background: rgba(217,119,6,0.2); color: #FCD34D; }
.gbp-icon-purple { background: rgba(124,58,237,0.2); color: #C4B5FD; }
.gbp-tool-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700;
  color: #fff; margin-bottom: 6px;
}
.gbp-tool-card p { font-size: 13px; color: #8899B0; line-height: 1.55; }
.gbp-tool-card .tool-tag {
  display: inline-block; margin-top: 10px;
  font-size: 11px; font-weight: 700;
  color: #60A5FA; background: rgba(45,106,224,0.15);
  padding: 2px 9px; border-radius: var(--radius-sm);
}

/* ─── GBP GEO PREVIEW ─── */
.gbp-geo-preview {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  align-items: center;
}
.gbp-geo-preview h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.gbp-geo-preview p { font-size: 13px; color: #8899B0; line-height: 1.6; margin-bottom: 16px; }
.gbp-geo-stats { display: flex; gap: 20px; }
.gbp-geo-stat { text-align: center; }
.gbp-geo-stat .val { font-size: 24px; font-weight: 900; color: #fff; line-height: 1; }
.gbp-geo-stat .val.green { color: #34D399; }
.gbp-geo-stat .lbl { font-size: 11px; color: #64748B; margin-top: 3px; }
.gbp-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.gbp-mini-pin {
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff;
}

/* ─── GBP VIDEO PLACEHOLDER ─── */
.gbp-video-wrap { margin-bottom: 24px; }
.gbp-video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0D1F3C 0%, #0A1628 60%, #0F2A5C 100%);
  border: 1.5px dashed rgba(96,165,250,0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.gbp-video-placeholder:hover { border-color: rgba(96,165,250,0.8); }
.gbp-video-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(45,106,224,0.18) 0%, transparent 65%);
}
.gbp-video-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; text-align: center; padding: 32px;
}
.gbp-video-play {
  width: 72px; height: 72px;
  background: rgba(45,106,224,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 0 0 12px rgba(45,106,224,0.15), 0 0 0 24px rgba(45,106,224,0.07);
  transition: background 0.2s, transform 0.2s;
}
.gbp-video-placeholder:hover .gbp-video-play {
  background: var(--accent);
  transform: scale(1.06);
}
.gbp-video-play svg { margin-left: 4px; }
.gbp-video-title {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800;
  color: #fff; margin-bottom: 6px;
}
.gbp-video-sub {
  font-size: 14px; color: #8899B0; max-width: 480px; line-height: 1.6;
}
.gbp-video-badge {
  position: absolute; top: 14px; right: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em;
  color: #60A5FA;
  background: rgba(45,106,224,0.2);
  border: 1px solid rgba(45,106,224,0.4);
  padding: 4px 10px; border-radius: 6px;
}

/* ─── GBP CTA ROW ─── */
.gbp-cta-row {
  display: flex; align-items: center; gap: 16px; margin-top: 32px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
}
.gbp-cta-row p { font-size: 14px; color: #8899B0; }
.gbp-cta-row strong { color: #fff; }
.gbp-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 700;
  padding: 12px 24px; border-radius: var(--radius-md);
  white-space: nowrap; flex-shrink: 0;
  text-decoration: none; transition: background 0.15s;
}
.gbp-cta-btn:hover { background: var(--accent-hover); text-decoration: none; }

/* ─── HOW LEADS WORK ─── */
.how-leads { padding: 80px 0; }
.how-leads-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.how-leads-steps { display: flex; flex-direction: column; gap: 28px; }
.how-lead-step {
  display: flex; gap: 20px; align-items: flex-start;
}
.step-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--accent-subtle); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.step-content h4 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.step-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.how-leads-visual {
  background: var(--navy);
  border-radius: var(--radius-xl); padding: 32px;
  position: relative; overflow: hidden;
}
.how-leads-visual::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(45,106,224,0.3), transparent 70%);
}

/* ─── LEAD CARD (how-leads visual) ─── */
.lead-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 18px 20px;
  margin-bottom: 12px; position: relative; z-index: 1;
}
.lead-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.lead-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: #fff;
}
.lead-card-badge {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
}
.badge-new { background: var(--success-bg); color: var(--success); }
.badge-sent { background: var(--accent-subtle); color: var(--accent); }
.lead-card-detail { font-size: 13px; color: #8899B0; line-height: 1.5; }
.lead-card-detail strong { color: #CBD5E1; }
.lead-card-footer {
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #64748B;
}
.lead-card-footer svg { color: #60A5FA; }

/* ─── COMPARISON TABLE ─── */
.comparison-section {
  background: var(--surface-alt);
  padding: 80px 0;
}
.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
.compare-table th {
  background: var(--navy); color: #F1F5F9;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700;
  padding: 16px 20px; text-align: center;
}
.compare-table th:first-child { text-align: left; }
.compare-table th.featured-col { background: var(--accent); }
.compare-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border-light);
  font-size: 14px; text-align: center; color: var(--text);
}
.compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--surface-alt); }
.compare-table td.featured-col { background: var(--accent-subtle); }
.compare-table .group-header td {
  background: var(--surface-muted);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); padding: 10px 20px;
  text-align: left;
}
.tick { color: var(--success); font-size: 16px; }
.cross-icon { color: var(--border); font-size: 16px; }
.partial { color: var(--accent); font-size: 13px; font-weight: 600; }

/* ─── VALUE CALCULATOR ─── */
.value-calc {
  background: var(--surface-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  margin: 56px 0;
}
.value-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.value-calc h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--text); margin-bottom: 10px;
}
.value-calc p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px; }
.value-items { display: flex; flex-direction: column; gap: 12px; }
.value-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 14px 16px;
}
.value-item-icon {
  width: 40px; height: 40px; border-radius: var(--radius-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.value-item-body { flex: 1; }
.value-item-body strong { font-size: 14px; font-weight: 700; color: var(--text); display: block; margin-bottom: 2px; }
.value-item-body span { font-size: 13px; color: var(--text-muted); }
.value-item-price { font-size: 15px; font-weight: 800; color: var(--text); flex-shrink: 0; align-self: center; }
.value-total {
  background: var(--navy);
  border-radius: var(--radius-md); padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px;
}
.value-total-label { font-size: 14px; font-weight: 700; color: #8899B0; }
.value-total-price { font-size: 22px; font-weight: 900; color: #fff; }
.value-total-price span { font-size: 13px; color: #60A5FA; margin-left: 8px; }
.value-right { text-align: center; }
.value-right .big-saving { font-size: 64px; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.value-right .saving-label { font-size: 16px; color: var(--text-secondary); margin-bottom: 24px; }
.value-right .saving-note { font-size: 13px; color: var(--text-muted); line-height: 1.6; max-width: 260px; margin: 0 auto 24px; }
.value-right-cta {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700;
  padding: 13px 28px; border-radius: var(--radius-md);
  text-decoration: none; transition: background 0.15s;
}
.value-right-cta:hover { background: var(--accent-hover); text-decoration: none; }

/* ─── TRADE TESTIMONIALS (plans version) ─── */
.trade-testimonials { background: var(--surface-alt); padding: 80px 0; }
.author-meta { font-size: 12px; color: var(--text-muted); }

/* ─── FAQ SECTION (Grid version, NOT accordion) ─── */
.faq-section { padding: 80px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 24px 28px;
}
.faq-item h4 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.faq-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ─── FINAL CTA ─── */
.final-cta {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(45,106,224,0.3) 0%, transparent 65%);
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  color: #F1F5F9; margin-bottom: 16px;
}
.final-cta h2 span { color: #60A5FA; }
.final-cta p { font-size: 17px; color: #8899B0; max-width: 500px; margin: 0 auto 36px; }
.final-cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-cta-lg {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700;
  padding: 15px 32px; border-radius: var(--radius-md); cursor: pointer;
  transition: background 0.15s, color 0.15s; text-decoration: none;
}
.btn-cta-ghost {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
}
.btn-cta-ghost:hover { background: rgba(255,255,255,0.14); text-decoration: none; }

/* ─── HERO TRUST PILLS (plans version) ─── */
.hero-trust-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px;
}

/* =============================================
   RESPONSIVE RULES FOR NEW CLASSES
   ============================================= */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.elite-featured { transform: none; }
  .lead-engine { grid-template-columns: 1fr; }
  .lead-engine-visual { min-width: unset; }
  .how-leads-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .gbp-tools-grid { grid-template-columns: 1fr 1fr; }
  .gbp-section-top { grid-template-columns: 1fr; }
  .gbp-geo-preview { grid-template-columns: 1fr; }
  .gbp-cta-row { flex-direction: column; align-items: flex-start; }
  .gbp-cta-btn { width: 100%; justify-content: center; }
  .value-calc-grid { grid-template-columns: 1fr; }
  .compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -24px; padding: 0 24px; }
  .compare-table { font-size: 13px; min-width: 600px; }
  .compare-table th { padding: 12px 14px; font-size: 12px; }
  .compare-table td { padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 600px) {
  .lead-engine { padding: 28px 24px; }
  .gbp-section { padding: 28px 20px; }
  .value-calc { padding: 28px 24px; }
  .gbp-tools-grid { grid-template-columns: 1fr; }
  .how-leads { padding: 48px 0; }
  .plans-gbp-wrap { padding-bottom: 40px !important; }
}

/* ==========================================================================
   BLOG LISTING PAGE
   ========================================================================== */

/* Blog Header */
.blog-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 56px 24px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-header::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.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.blog-header-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.blog-header .section-eyebrow {
  color: var(--warm);
  margin-bottom: 18px;
}
.blog-header h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: #F1F5F9;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.blog-header p {
  font-size: 16px;
  color: #8899B0;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 28px;
}
.blog-header-search {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}
.blog-header-search input {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
  color: var(--text);
  background: var(--surface);
}
.blog-header-search input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.blog-header-search input::placeholder {
  color: var(--text-muted);
}
.blog-header-search button {
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.blog-header-search button:hover {
  background: var(--accent-hover);
}

/* Category Filter Bar */
.cat-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 64px;
  z-index: 100;
}
.cat-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-bar-inner::-webkit-scrollbar { display: none; }
.cat-btn {
  flex-shrink: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 14px 16px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  cursor: pointer;
  text-decoration: none;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.cat-btn:hover {
  color: var(--accent);
  text-decoration: none;
}
.cat-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Blog Main Content Area */
.blog-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* Featured Section */
.featured-section {
  margin-bottom: 56px;
}
.featured-card {
  display: grid;
  grid-template-columns: 1fr 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border-light);
  background: var(--surface);
  text-decoration: none;
  transition: all 0.2s;
}
.featured-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.featured-img {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.featured-img-placeholder {
  position: relative;
  z-index: 1;
}
.featured-img-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: rgba(255,255,255,0.15);
  fill: none;
  stroke-width: 1;
}
.featured-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,20,38,0.5), transparent);
}
.featured-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-section .featured-badge {
  position: static;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--warm-bg);
  color: var(--warm);
  margin-bottom: 16px;
  width: fit-content;
}
.featured-badge svg { width: 10px; height: 10px; fill: currentColor; }
.featured-cat-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--accent-subtle);
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
  width: fit-content;
}
.featured-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.featured-excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.featured-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
}
.featured-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--accent);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  width: fit-content;
}
.featured-read-btn:hover { background: var(--accent-hover); }
.featured-read-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform 0.15s; }
.featured-card:hover .featured-read-btn svg { transform: translateX(3px); }

/* Posts Section */
.posts-section {
  margin-bottom: 48px;
}
.posts-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.posts-grid-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}
.posts-count {
  font-size: 13px;
  color: var(--text-muted);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.posts-grid-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
  font-size: 15px;
}

/* Post Card */
.post-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.post-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card-img-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: rgba(255,255,255,0.15);
  fill: none;
  stroke-width: 1.5;
}
.post-card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Category Tags with colour variants */
.post-card-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
  width: fit-content;
}
.tag-flat-roofs       { background: var(--accent-subtle); color: var(--accent); }
.tag-pitched-roofs    { background: var(--success-bg, #ECFDF5); color: var(--success, #059669); }
.tag-chimneys         { background: var(--warm-bg, #FFFBEB); color: #92400E; }
.tag-fascias-soffits  { background: #F5F3FF; color: #7C3AED; }
.tag-condensation     { background: #ECFEFF; color: #0E7490; }
.tag-roof-windows     { background: #FFF7ED; color: #C2410C; }
.tag-costs-prices     { background: var(--success-bg, #ECFDF5); color: #15803D; }
.tag-repairs          { background: #FEF2F2; color: #B91C1C; }
.tag-general          { background: var(--surface-muted); color: var(--text-secondary); }

.post-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}
.post-card-excerpt {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.post-card-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
}
.post-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 12px;
}
.post-card-read-more svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform 0.15s; }
.post-card:hover .post-card-read-more svg { transform: translateX(3px); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.page-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}
.page-btn.active,
span.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.page-btn.wide { width: auto; padding: 0 14px; }
.page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

/* Blog Responsive */
@media (max-width: 1024px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-img {
    min-height: 240px;
  }
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
}
@media (max-width: 640px) {
  .blog-main {
    padding: 32px 16px 60px;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .blog-header {
    padding: 40px 16px 48px;
  }
  .cat-bar-inner {
    padding: 0 16px;
  }
  .featured-body {
    padding: 28px 22px;
  }
}

/* ---------------------------------------------------------------------------
   Live Search Dropdown
   --------------------------------------------------------------------------- */
.blog-search-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 0 24px 48px;
  position: relative;
  z-index: 101;
}
.blog-search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  z-index: 200;
}
.blog-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
}
.blog-search-results.open { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}
.search-result-item:last-of-type { border-bottom: 1px solid var(--border-light); }
.search-result-item:hover { background: var(--surface-alt); }

.search-result-body { flex: 1; min-width: 0; }
.search-result-tag {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 4px;
}
.search-result-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 2px;
}
.search-result-title mark { background: var(--warm-bg); color: var(--warm); border-radius: 2px; padding: 0 2px; }
.search-result-excerpt {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-excerpt mark { background: var(--warm-bg); color: var(--warm); border-radius: 2px; padding: 0 2px; }
.search-result-arrow {
  flex-shrink: 0;
  color: var(--border);
  transition: color 0.15s;
}
.search-result-item:hover .search-result-arrow { color: var(--accent); }

.search-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  background: var(--surface-alt);
  transition: background 0.15s;
}
.search-view-all:hover { background: var(--accent-subtle); }
.search-view-all strong { font-weight: 700; }

.search-no-results {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 18px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}
.search-no-results svg { flex-shrink: 0; color: var(--border); }

/* ---------------------------------------------------------------------------
   Search Results Page
   --------------------------------------------------------------------------- */
.search-empty {
  text-align: center;
  padding: 64px 24px;
}
.search-empty-icon {
  margin-bottom: 20px;
  color: var(--border);
}
.search-empty h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.search-empty p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.search-empty-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.search-empty-cats .cat-btn {
  padding: 8px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  text-decoration: none;
  transition: all 0.15s;
}
.search-empty-cats .cat-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.search-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}
.search-empty-btn:hover { background: var(--accent-hover); }

@media (max-width: 640px) {
  .blog-search-results {
    left: -16px;
    right: -16px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
}

/* ---------------------------------------------------------------------------
   Single Post
   --------------------------------------------------------------------------- */

/* Breadcrumb */
.breadcrumb { background: var(--surface-alt); border-bottom: 1px solid var(--border-light); padding: 14px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.breadcrumb a { color: var(--text-secondary); text-decoration: none; transition: color .15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; color: var(--text-muted); font-size: 12px; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* Post Hero */
.post-hero { background: var(--navy); color: #fff; padding: 56px 0 48px; }
.post-hero .container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.post-hero-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.post-hero-cat { background: rgba(45,106,224,0.2); color: #93B4F4; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.5px; }
.post-hero-badge { background: rgba(217,119,6,0.2); color: #FCD34D; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.5px; }
.post-hero h1 { font-size: 36px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; max-width: 760px; }
.post-hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; color: rgba(255,255,255,0.65); }
.post-hero-meta-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.post-hero-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.post-hero-meta-item svg { opacity: 0.5; }
.post-hero-meta-item strong { color: #fff; font-weight: 600; }

/* Reviewer tooltip */
.reviewer-badge { position: relative; cursor: help; border-bottom: 1px dotted rgba(255,255,255,0.4); }
.reviewer-tooltip {
  display: none; position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: var(--surface); color: var(--text-secondary);
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 280px; font-size: 13px; line-height: 1.6; font-weight: 400;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); z-index: 50; cursor: default;
}
.reviewer-tooltip::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--surface);
}
.reviewer-badge:hover .reviewer-tooltip,
.reviewer-badge:focus .reviewer-tooltip { display: block; }

/* Post Layout */
.post-layout { max-width: var(--max-w); margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

/* Post Body Typography */
.post-body { min-width: 0; }
.post-body p { font-size: 16px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 20px; }
.post-body h2 { font-size: 24px; font-weight: 700; color: var(--text); margin: 40px 0 16px; line-height: 1.3; scroll-margin-top: 100px; }
.post-body h3 { font-size: 19px; font-weight: 600; color: var(--text); margin: 32px 0 12px; line-height: 1.35; }
.post-body ul, .post-body ol { margin: 0 0 20px 20px; color: var(--text-secondary); overflow-wrap: break-word; word-wrap: break-word; }
.post-body ul li, .post-body ol li { font-size: 16px; line-height: 1.75; margin-bottom: 6px; }
.post-body ol { padding-left: 4px; }
.post-body ol li { padding-left: 4px; }
.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.post-body a:hover { color: var(--accent-hover); }
.post-body strong { color: var(--text); font-weight: 600; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 24px 0; }
.post-body blockquote { border-left: 4px solid var(--accent); padding: 16px 20px; margin: 24px 0; background: var(--surface-alt); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: 16px; font-style: italic; color: var(--text-secondary); }

/* Quick Facts Table */
.post-ref-table { background: var(--surface-alt); border: 1px solid var(--border-light); border-radius: var(--radius-md); margin: 24px 0; overflow: hidden; }
.post-ref-table-header { background: var(--navy); color: #fff; padding: 14px 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.post-ref-grid { display: grid; grid-template-columns: 1fr 1fr; }
.post-ref-cell { padding: 14px 20px; border-bottom: 1px solid var(--border-light); border-right: 1px solid var(--border-light); font-size: 14px; color: var(--text-secondary); }
.post-ref-cell:nth-child(even) { border-right: none; }
.post-ref-cell-title { font-weight: 600; color: var(--text); display: block; margin-bottom: 2px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.3px; }

/* Callout Boxes */
.post-callout { border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px 24px; margin: 24px 0; background: var(--accent-subtle); border-left: 4px solid var(--accent); }
.post-callout-title { font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 8px; }
.post-callout-warning { background: var(--warm-bg); border-left-color: var(--warm); }

/* Sidebar */
.post-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }

/* TOC */
.mobile-toc { display: none; }
.sidebar-toc { background: var(--surface-alt); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; }
.sidebar-toc-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 12px; }
.sidebar-toc-list { list-style: none; margin: 0; padding: 0; }
.sidebar-toc-list li { margin-bottom: 0; }
.sidebar-toc-list li a { display: block; padding: 7px 12px; font-size: 13px; color: var(--text-secondary); text-decoration: none; border-left: 2px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; transition: all .15s; }
.sidebar-toc-list li a:hover { color: var(--accent); background: var(--accent-subtle); }
.sidebar-toc-list li a.active { color: var(--accent); border-left-color: var(--accent); font-weight: 600; background: var(--accent-subtle); }

/* Sidebar CTA */
.sidebar-cta { background: var(--navy); border-radius: var(--radius-md); padding: 24px; color: #fff; text-align: center; }
.sidebar-cta-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--warm); margin-bottom: 8px; }
.sidebar-cta-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.sidebar-cta-text { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; margin-bottom: 16px; }
.sidebar-cta-btn { display: block; background: var(--accent); color: #fff; text-align: center; padding: 12px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; text-decoration: none; margin-bottom: 8px; transition: background .15s; }
.sidebar-cta-btn:hover { background: var(--accent-hover); }
.sidebar-cta-btn-outline { display: block; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); text-align: center; padding: 10px 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; text-decoration: none; transition: all .15s; }
.sidebar-cta-btn-outline:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* Sidebar Author */
.sidebar-author { background: var(--surface-alt); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; text-align: center; }
.sidebar-author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.sidebar-author-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.sidebar-author-title { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.sidebar-author-bio { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* Share Buttons */
.post-share { background: var(--surface-alt); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; }
.post-share-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 12px; }
.post-share-btns { display: flex; flex-direction: column; gap: 6px; }
.post-share-btn { display: flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 13px; color: var(--text-secondary); background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-sm); text-decoration: none; cursor: pointer; font-family: inherit; transition: all .15s; }
.post-share-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }

/* Related Posts */
.post-related { background: var(--surface-alt); border-top: 1px solid var(--border-light); padding: 64px 0; }
.post-related-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.post-related-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 28px; }
.post-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-related-card { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.post-related-card:hover { box-shadow: var(--shadow-md); border-color: var(--border); }
.post-related-img { height: 160px; background: var(--navy-mid); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post-related-img img { width: 100%; height: 100%; object-fit: cover; }
.post-related-body { padding: 16px 20px 20px; }
.post-related-tag { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent); background: var(--accent-subtle); padding: 3px 8px; border-radius: 99px; margin-bottom: 8px; }
.post-related-card-title { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 8px; }
.post-related-meta { font-size: 12px; color: var(--text-muted); }

/* Article CTA */
.post-article-cta { background: var(--navy); padding: 64px 0; text-align: center; }
.post-article-cta-inner { max-width: 600px; margin: 0 auto; padding: 0 24px; }
.post-article-cta-inner h2 { color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.post-article-cta-inner p { color: rgba(255,255,255,0.65); font-size: 16px; line-height: 1.6; margin-bottom: 28px; }
.post-article-cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.post-article-cta-btn-primary { display: inline-flex; align-items: center; padding: 14px 28px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; border-radius: var(--radius-sm); text-decoration: none; transition: background .15s; }
.post-article-cta-btn-primary:hover { background: var(--accent-hover); }
.post-article-cta-btn-secondary { display: inline-flex; align-items: center; padding: 14px 28px; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); font-size: 15px; font-weight: 500; border-radius: var(--radius-sm); text-decoration: none; transition: all .15s; }
.post-article-cta-btn-secondary:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* Single Post Responsive */
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; gap: 32px; }
  .post-layout { display: flex; flex-direction: column; gap: 32px; grid-template-columns: 1fr; }
  .post-sidebar { position: static; display: flex; flex-direction: column; gap: 20px; }
  .mobile-toc { display: block; order: -1; width: 100%; flex-shrink: 0; }
  .mobile-toc .sidebar-toc { width: 100%; }
  .desktop-only-toc { display: none; }
  .post-related-grid { grid-template-columns: repeat(2, 1fr); }
  .post-hero h1 { font-size: 30px; }

  /* TOC: collapsible on mobile */
  .sidebar-toc { position: relative; }
  .sidebar-toc-title {
    cursor: pointer; margin-bottom: 0;
    display: flex; align-items: center; justify-content: space-between;
  }
  .sidebar-toc-title::after {
    content: ''; display: inline-block; width: 8px; height: 8px;
    border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg); transition: transform 0.2s; flex-shrink: 0;
  }
  .sidebar-toc.open .sidebar-toc-title::after { transform: rotate(-135deg); }
  .sidebar-toc-list { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .sidebar-toc.open .sidebar-toc-list { max-height: 500px; margin-top: 12px; }
}
@media (max-width: 768px) {
  .post-hero { padding: 40px 0 36px; }
  .post-hero h1 { font-size: 26px; }
  .post-layout { padding: 32px 16px; }
  .post-related { padding: 40px 0; }
  .post-related-grid { grid-template-columns: 1fr; }
  .post-article-cta { padding: 40px 0; }
  .post-article-cta-inner h2 { font-size: 24px; }
  .breadcrumb-inner { padding: 0 16px; }
}

/* ─── TOWN / LOCATION PAGE ─── */

/* Town hero variant (left-aligned, with stats) */
.page-hero.page-hero--town { padding: 52px 0 48px; text-align: left; position: relative; overflow: hidden; }
.page-hero--town::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 0%, rgba(45,106,224,0.2) 0%, transparent 65%); }
.page-hero-inner--town { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; text-align: left; }
.page-hero--town h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 12px; text-align: left; }
.page-hero--town h1 span { color: #60A5FA; }
.page-hero--town .page-hero-sub { font-size: 16px; color: #8899B0; max-width: 560px; margin-bottom: 28px; line-height: 1.7; text-align: left; margin-left: 0; margin-right: auto; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stat {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px; border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 500; color: #CBD5E1;
}
.hero-stat svg { color: #60A5FA; flex-shrink: 0; }
.hero-stat strong { color: #fff; }

/* How It Works strip */
.how-it-works {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}
.hiw-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.hiw-step {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 0 32px; border-right: 1px solid var(--border-light);
}
.hiw-step:last-child { border-right: none; }
.hiw-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hiw-text strong {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px;
}
.hiw-text span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Service filter pills */
.service-filter-bar {
  background: var(--surface); border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}
.service-filter-bar .container { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.service-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.service-pill {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 100px;
  border: 1.5px solid var(--border-light);
  background: var(--surface); color: var(--text-muted);
  transition: all 0.15s;
}
.service-pill:hover { border-color: var(--accent); color: var(--accent); }
.service-pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Town main layout (2-column with sidebar) */
.town-main-layout {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 32px; padding: 40px 0 80px; align-items: start;
}

/* Section label */
.listings-section-label {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 10px;
}
.listings-section-label::before {
  content: ''; display: inline-block;
  width: 24px; height: 2px; background: var(--accent); border-radius: 2px;
}

/* Town filter bar */
.town-filter-bar {
  background: var(--surface); border-bottom: 1px solid var(--border-light);
  position: sticky; top: 64px; z-index: 80;
}
.town-filter-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 16px; flex-wrap: wrap;
}
.town-filter-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-label {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--text-secondary);
}
.filter-select {
  padding: 8px 32px 8px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--text); background: var(--surface);
  appearance: auto; cursor: pointer;
}
.filter-select:focus { border-color: var(--accent); outline: none; }

/* Listings toolbar */
.listings-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.listings-toolbar .listings-section-label { margin-bottom: 0; }
.listings-view-toggle { display: flex; gap: 4px; }
.view-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light); background: var(--surface);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); cursor: pointer; transition: all 0.15s;
}
.view-btn:hover { border-color: var(--accent); color: var(--accent); }
.view-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Map view placeholder */
.map-view-container { margin-bottom: 32px; }
.map-view-placeholder {
  background: var(--surface-alt); border: 2px dashed var(--border);
  border-radius: var(--radius-lg); padding: 80px 24px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.map-view-placeholder svg { color: var(--text-muted); }
.map-view-placeholder h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 0; }
.map-view-placeholder p { font-size: 14px; color: var(--text-secondary); margin: 0; max-width: 360px; }

/* Roofer card */
.roofer-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 22px; margin-bottom: 16px;
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 18px; align-items: start;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: inherit; cursor: pointer;
}
.roofer-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(45,106,224,0.1); }
a.roofer-card,
a.roofer-card:visited,
a.roofer-card:hover,
a.roofer-card:active { text-decoration: none; color: inherit; }
.service-tag-more { font-style: italic; opacity: 0.7; }

.roofer-card-photo {
  width: 80px; height: 80px; border-radius: var(--radius-md);
  background: var(--surface-alt); overflow: hidden; flex-shrink: 0;
}
.roofer-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.roofer-card-photo .photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px; font-weight: 800; color: var(--text-muted);
}

.roofer-card-top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.roofer-card-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); }

.tier-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 100px;
}
.tier-badge.pro { background: var(--accent-subtle); color: var(--accent); border: 1px solid #BFDBFE; }
.tier-badge.verified { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }

.roofer-card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.stars { display: inline-flex; align-items: center; gap: 1px; transform: translateY(4px); }
.stars svg { width: 14px; height: 14px; flex-shrink: 0; }
.rating-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; transform: translateY(-2px); }
.rating-count { font-size: 13px; }
.rating-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); }
.rating-count { font-size: 13px; color: var(--text-muted); }

.roofer-card-tags { display: flex; gap: 5px; flex-wrap: nowrap; margin-bottom: 10px; overflow: hidden; }
.service-tag {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 500;
  padding: 2px 8px; border-radius: 100px;
  background: var(--surface-alt); color: var(--text-muted);
  border: 1px solid var(--border-light); white-space: nowrap; flex-shrink: 0;
}

.roofer-card-location { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-muted); }

.roofer-card-ctas { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; min-width: 140px; }
span.cta-quote {
  background: #D97706;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.15s;
  display: block;
}
span.cta-quote:hover { background: #B45309; }
.cta-phone {
  background: var(--surface-alt); color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-sm); text-align: center;
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background 0.15s;
}
.cta-phone:hover { background: var(--surface-muted); }
.cta-website {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--accent); text-align: center;
}
.cta-website:hover { text-decoration: underline; }

/* Elite card variant */
.roofer-card--elite {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2A5C 100%);
  border-color: var(--warm); border-width: 2px;
  display: flex; flex-direction: column; padding: 0; overflow: hidden;
  grid-template-columns: none; cursor: pointer;
}
.roofer-card--elite:hover { border-color: var(--warm); box-shadow: 0 8px 32px rgba(217,119,6,0.15); }
.roofer-card--elite .roofer-card-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 28px 28px 24px;
}
.roofer-card--elite .roofer-card-header-left { display: flex; align-items: flex-start; gap: 18px; flex: 1; }
.roofer-card--elite .roofer-card-photo { width: 72px; height: 72px; border-radius: var(--radius-md); }
.roofer-card--elite .roofer-card-photo .photo-placeholder { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.roofer-card--elite .roofer-card-name { font-size: 20px; font-weight: 800; color: #F1F5F9; margin-bottom: 8px; display: block; }
.roofer-card--elite .roofer-card-badge-row { margin-bottom: 6px; }
.roofer-card--elite .roofer-card-rating { margin-bottom: 6px; }
.roofer-card--elite .roofer-card-tags { margin-bottom: 10px; }
.roofer-card--elite .roofer-card-tags { flex-wrap: nowrap; overflow: hidden; }
.roofer-card--elite .service-tag { background: rgba(255,255,255,0.1); color: #CBD5E1; border-color: transparent; font-size: 11px; padding: 2px 8px; white-space: nowrap; flex-shrink: 0; }
.roofer-card--elite .stars { color: var(--warm); }
.roofer-card--elite .rating-num { color: #F1F5F9; }
.roofer-card--elite .rating-count { color: rgba(255,255,255,0.5); }
.roofer-card--elite .roofer-card-location { color: rgba(255,255,255,0.5); display: inline-flex; align-items: center; gap: 4px; }
.roofer-card--elite .roofer-card-location svg { stroke: rgba(255,255,255,0.4); }
.roofer-card-meta-row {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 13px;
}
.roofer-card--elite .roofer-card-meta-row .meta-sep { color: rgba(255,255,255,0.3); }
.service-tag-more { background: rgba(255,255,255,0.12) !important; color: rgba(255,255,255,0.5) !important; border-color: rgba(255,255,255,0.15) !important; font-style: italic; }
.roofer-card--elite .roofer-card-ctas { flex-direction: column; gap: 8px; flex-shrink: 0; min-width: 160px; align-self: center; }
.roofer-card--elite .cta-quote { font-size: 14px; padding: 10px 20px; }
.roofer-card--elite .cta-phone { background: rgba(255,255,255,0.1); color: #fff; border: none; font-size: 13px; }
.roofer-card--elite .cta-phone:hover { background: rgba(255,255,255,0.18); }
.tier-badge.elite {
  background: var(--warm); color: #78350F; border: none;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px;
}

/* Elite gallery row */
.roofer-card-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 0 16px 16px;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}
.roofer-card-gallery-img { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/11; }
.roofer-card-gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.roofer-card-gallery-img:hover img { transform: scale(1.05); }

/* Pro card variant */
.roofer-card--pro {
  border-left: 3px solid var(--accent);
}
.roofer-card--pro:hover { border-color: var(--accent); border-left-width: 3px; }

/* Free card variant */
.roofer-card--free { }

@media (max-width: 768px) {
  .roofer-card--elite .roofer-card-header { flex-direction: column; }
  .roofer-card-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* No results state */
.town-no-results {
  text-align: center; padding: 64px 24px;
  background: var(--surface); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg); margin-bottom: 32px;
}
.town-no-results-icon { margin-bottom: 16px; color: var(--text-muted); }
.town-no-results h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 8px;
}
.town-no-results p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }
.town-no-results .btn-primary { display: inline-block; }

/* Content sections (costs, hire checklist, services, etc.) */
.content-section { margin-bottom: 48px; }
.content-section h2 {
  font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.content-section h2::before {
  content: ''; display: inline-block;
  width: 24px; height: 3px; background: var(--accent); border-radius: 2px;
}
.content-section p { color: var(--text-secondary); margin-bottom: 12px; line-height: 1.7; }

/* Nearby areas grid */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.area-link {
  display: block; text-align: center; padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 500;
  color: var(--text); transition: all 0.15s;
}
.area-link:hover { background: var(--accent-subtle); border-color: #BFDBFE; color: var(--accent); }

/* FAQ */
.faq-list { margin-top: 16px; }
.faq-item { border: 1px solid var(--border-light); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600;
  color: var(--text); background: var(--surface); transition: background 0.15s; gap: 12px;
}
.faq-q:hover { background: var(--surface-alt); }
.faq-q svg { flex-shrink: 0; color: var(--text-muted); transition: transform 0.2s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 18px 16px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
  border-top: 1px solid var(--border-light); padding-top: 14px;
}
.faq-item.open .faq-a { display: block; }

/* Trade CTA banner */
.trade-cta {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 40px 48px; margin-bottom: 80px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.trade-cta h2 { font-size: 24px; font-weight: 800; color: #F1F5F9; margin-bottom: 8px; }
.trade-cta h2::before { display: none; }
.trade-cta p { color: #8899B0; font-size: 15px; }
.trade-cta-btns { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.trade-cta-primary {
  background: var(--accent); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700;
  padding: 12px 24px; border-radius: var(--radius-md);
  text-align: center; white-space: nowrap; transition: background 0.15s;
}
.trade-cta-primary:hover { background: var(--accent-hover); }
.trade-cta-ghost {
  background: rgba(255,255,255,0.08); color: #CBD5E1;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600;
  padding: 11px 24px; border-radius: var(--radius-md);
  text-align: center; white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.15); transition: background 0.15s;
}
.trade-cta-ghost:hover { background: rgba(255,255,255,0.14); }

/* Sidebar (shared styles if not already present from other pages) */
.sidebar-col { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 22px; }
.sidebar-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.sidebar-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.sidebar-stat { text-align: center; padding: 10px; background: var(--surface-alt); border-radius: var(--radius-sm); }
.sidebar-stat .val { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800; color: var(--accent); }
.sidebar-stat .lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.sidebar-tip {
  background: var(--surface-alt); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 14px; font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-top: 4px;
}
.sidebar-tip strong { color: var(--text); }
.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid var(--border-light); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 500; color: var(--text); transition: color 0.15s;
}
.sidebar-links a:hover { color: var(--accent); }
.sidebar-links a svg { color: var(--text-muted); }

/* Town page responsive */
@media (max-width: 1024px) {
  .town-main-layout { grid-template-columns: 1fr; }
  .town-main-layout .sidebar-col { position: static; }
}
@media (max-width: 768px) {
  /* Hide how-it-works strip on mobile */
  .how-it-works { display: none; }

  /* Roofer cards - stack vertically */
  .listings-col { overflow: hidden; min-width: 0; }
  .roofer-grid { overflow: hidden; }
  .roofer-card { grid-template-columns: 1fr; gap: 12px; max-width: 100%; overflow: hidden; box-sizing: border-box; }
  .roofer-card-ctas { flex-direction: row; flex-wrap: wrap; }
  .roofer-card-photo { width: 56px; height: 56px; }
  .roofer-card-body { min-width: 0; }
  .roofer-card-tags { overflow: hidden; }

  /* Elite card mobile */
  .roofer-card--elite { max-width: 100%; overflow: hidden; box-sizing: border-box; width: 100%; }
  .roofer-card--elite * { max-width: 100%; box-sizing: border-box; }
  .roofer-card--elite .roofer-card-header { flex-direction: column; gap: 14px; padding: 16px; }
  .roofer-card--elite .roofer-card-header-left { gap: 12px; flex-wrap: wrap; }
  .roofer-card--elite .roofer-card-photo { width: 48px; height: 48px; }
  .roofer-card--elite .roofer-card-name { font-size: 16px; }
  .roofer-card--elite .roofer-card-ctas { flex-direction: column; min-width: unset; width: 100%; }
  .roofer-card--elite .roofer-card-meta-row { flex-wrap: wrap; font-size: 12px; }
  .roofer-card--elite .roofer-card-tags { flex-wrap: nowrap; overflow: hidden; }
  .roofer-card-gallery { grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px 16px 12px; justify-items: center; }
  .roofer-card-gallery-img { aspect-ratio: 1/1; max-height: 70px; width: 100%; }

  /* Pro/Free card mobile */
  .roofer-card--pro, .roofer-card--free { grid-template-columns: 1fr; }
  .roofer-card--pro .roofer-card-photo,
  .roofer-card--free .roofer-card-photo { display: none; }
  .roofer-card--pro .roofer-card-ctas,
  .roofer-card--free .roofer-card-ctas { flex-direction: column; gap: 8px; }
  .roofer-card--pro .cta-quote,
  .roofer-card--free .cta-quote { width: 100%; display: block; text-align: center; }
  .roofer-card--pro .cta-phone,
  .roofer-card--free .cta-phone { width: 100%; justify-content: center; }
  .roofer-card--pro .cta-website { width: 100%; display: block; text-align: center; font-size: 13px; }

  /* Allow tags to wrap on mobile */
  .roofer-card-tags { flex-wrap: wrap !important; overflow: visible !important; }
  .roofer-card--elite .roofer-card-tags { flex-wrap: wrap !important; overflow: visible !important; }

  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .trade-cta { grid-template-columns: 1fr; padding: 32px 24px; }
  .page-hero--town { padding: 40px 0 36px; }
  .town-filter-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .town-filter-left { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 8px; align-items: center; width: 100%; }
  .filter-select { width: 100%; }
  .listings-view-toggle { justify-content: flex-end; }
}
@media (max-width: 480px) {
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .service-pills { gap: 6px; }
  .town-filter-left { grid-template-columns: 1fr 1fr; }
  .town-filter-left .filter-label { display: none; }
}

/* ─── ROOFER PROFILE ─── */

/* Profile Hero */
.profile-hero { background: var(--surface); border-bottom: 1px solid var(--border-light); padding: 32px 0 0; }
.profile-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.profile-badge-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.elite-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--warm-bg); color: var(--warm); border: 1.5px solid #FDE68A; border-radius: 100px; padding: 4px 14px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pro-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-subtle); color: var(--accent); border: 1.5px solid #B8D0F8; border-radius: 100px; padding: 4px 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.verified-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--accent-subtle); color: var(--accent); border: 1.5px solid #B4CDFA; border-radius: 100px; padding: 4px 14px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 600; }
.profile-name { font-size: 32px; font-weight: 800; color: var(--text); margin-bottom: 8px; line-height: 1.2; }
.profile-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; font-size: 14px; color: var(--text-muted); }
.profile-meta-item { display: flex; align-items: center; gap: 5px; }
.profile-rating-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.profile-rating-row .stars { color: var(--warm); font-size: 20px; letter-spacing: 1px; }
.profile-rating-row .rating-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; font-weight: 800; color: var(--text); }
.profile-rating-row .rating-count { font-size: 14px; color: var(--text-muted); }
.profile-services { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.service-tag { background: var(--accent-subtle); color: var(--accent); border: 1px solid #B4CDFA; border-radius: var(--radius-sm); padding: 4px 12px; font-size: 13px; font-weight: 500; }
.service-tag.emergency { background: #FEF2F2; color: #DC2626; border-color: #FECACA; }

/* Profile Tabs */
.profile-tabs { display: flex; gap: 0; border-top: 1px solid var(--border-light); margin-top: 8px; }
.profile-tab { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--text-muted); padding: 14px 20px; border-bottom: 2px solid transparent; cursor: pointer; transition: all 0.15s; white-space: nowrap; text-decoration: none; }
.profile-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.profile-tab:hover:not(.active) { color: var(--text); text-decoration: none; }

/* CTA Card (profile page) */
.profile-cta-col { display: flex; flex-direction: column; gap: 12px; min-width: 280px; }
.profile-cta-col .cta-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.profile-cta-col .cta-card.primary { border-color: var(--accent); background: var(--accent-subtle); }
.profile-cta-col .cta-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.profile-cta-col .cta-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.profile-cta-col .cta-phone { display: flex; align-items: center; gap: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.profile-cta-col .cta-phone svg { color: var(--success); }
.btn-full { width: 100%; padding: 12px; border-radius: var(--radius-md); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: all 0.15s; }
.btn-full.blue { background: var(--accent); color: #fff; }
.btn-full.blue:hover { background: var(--accent-hover); }
.btn-full.outline { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); margin-top: 8px; }
.btn-full.outline:hover { border-color: var(--accent); color: var(--accent); }
.response-badge { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; background: var(--success-bg); border-radius: var(--radius-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 600; color: var(--success); margin-top: 8px; }
.cta-phone-display { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; background: var(--surface-alt); border: 1.5px solid var(--border-light); border-radius: var(--radius-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; text-decoration: none; }
.cta-phone-display svg { color: var(--success); }
.cta-website-display { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; background: var(--surface-alt); border: 1.5px solid var(--border-light); border-radius: var(--radius-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; color: var(--text) !important; margin-bottom: 10px; text-decoration: none !important; }
.cta-website-display:hover { border-color: var(--accent); color: var(--accent) !important; }
.cta-website-display svg { color: var(--accent); }
.cta-request-btn { width: 100%; padding: 12px; background: var(--accent); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.15s; margin-bottom: 8px; }
.cta-request-btn:hover { background: var(--accent-hover); }
.cta-request-btn.cta-cancel-btn { background: var(--surface-alt); color: var(--text-muted); border: 1.5px solid var(--border); font-size: 13px; padding: 8px; }
.cta-request-btn.cta-cancel-btn:hover { background: var(--surface-muted); color: var(--text); }
#ctaFormFields { margin-bottom: 8px; }
.cta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.cta-form-input { width: 100%; padding: 8px 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text); margin-bottom: 5px; box-sizing: border-box; outline: none; transition: border-color 0.15s; }
.cta-form-input:focus { border-color: var(--accent); }
.cta-submit-btn { width: 100%; padding: 10px; background: var(--warm); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: background 0.15s; margin-top: 2px; }
.cta-submit-btn:hover { background: #B45309; }
.cta-success { text-align: center; padding: 20px 0; }
.cta-success svg { margin: 0 auto 12px; display: block; }
.cta-success h4 { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.cta-success p { font-size: 14px; color: var(--text-secondary); }

/* Phone locked (Free tier) */
.phone-locked { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.phone-blur { font-size: 18px; font-weight: 800; color: var(--text-muted); filter: blur(4px); user-select: none; letter-spacing: 2px; }
.phone-lock-label { font-size: 12px; color: var(--text-muted); }

/* Profile Body Layout */
.profile-body { padding: 40px 0 80px; }
.profile-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.profile-sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; }

/* Profile Sections */
.profile-body .section { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.profile-body .section-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.profile-body .section-title::before { content: ''; width: 3px; height: 20px; background: var(--accent); border-radius: 2px; }
.profile-body .section-title svg { color: var(--accent); }

/* About */
.about-text { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }
.about-text p { margin-bottom: 12px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.about-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 100px; background: var(--surface-alt); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 16px; }
.about-stat strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; font-weight: 800; color: var(--accent); }
.about-stat span { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.about-locked { background: var(--surface-alt); border: 2px dashed var(--border); border-radius: var(--radius-md); padding: 28px 24px; text-align: center; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-img { aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-muted); cursor: pointer; position: relative; }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.gallery-img:hover img { transform: scale(1.04); }
.gallery-img.featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-locked { background: var(--surface-alt); border: 2px dashed var(--border); border-radius: var(--radius-md); padding: 40px 24px; text-align: center; }
.gallery-locked h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.gallery-locked p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }

/* Upgrade buttons */
.btn-upgrade { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm); padding: 10px 20px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; transition: background 0.15s; text-decoration: none; }
.btn-upgrade:hover { background: var(--accent-hover); text-decoration: none; color: #fff; }

/* Reviews */
.reviews-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.reviews-score { display: flex; align-items: center; gap: 16px; }
.big-score { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 48px; font-weight: 800; color: var(--text); line-height: 1; }
.score-detail { display: flex; flex-direction: column; gap: 4px; }
.score-stars { color: var(--warm); font-size: 22px; }
.score-count { font-size: 13px; color: var(--text-muted); }
.rating-bars { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 160px; }
.rating-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.rating-bar-row span:first-child { width: 24px; text-align: right; font-weight: 600; }
.rating-bar-row span:last-child { width: 24px; text-align: right; }
.bar { flex: 1; height: 8px; background: var(--surface-muted); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--warm); border-radius: 4px; }
.rating-bar-track { flex: 1; height: 6px; background: var(--border-light); border-radius: 3px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--warm); border-radius: 3px; }

.google-review-card { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border: 1.5px solid var(--border-light); border-radius: var(--radius-md); margin: 20px 0; }
.google-review-left { display: flex; align-items: center; gap: 8px; }
.google-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 16px; background: linear-gradient(90deg, #4285F4, #DB4437, #F4B400, #0F9D58); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.google-score { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); }
.google-star { color: var(--warm); font-size: 14px; }
.google-sep { color: var(--border); }
.google-count { font-size: 13px; color: var(--text-secondary); }
.google-review-link { display: flex; align-items: center; gap: 6px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--accent); padding: 8px 14px; border: 1.5px solid var(--border-light); border-radius: var(--radius-sm); text-decoration: none; }
.google-review-link:hover { border-color: var(--accent); background: var(--accent-subtle); text-decoration: none; }

.reviews-source-label { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin: 24px 0 16px; }

.review-list { display: flex; flex-direction: column; gap: 20px; }
.review-card { border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; transition: border-color 0.15s; }
.review-card:hover { border-color: var(--border); }
.review-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; gap: 12px; }
.reviewer-info { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.reviewer-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 14px; color: var(--text); }
.reviewer-meta { font-size: 12px; color: var(--text-muted); }
.review-stars { color: var(--warm); font-size: 14px; flex-shrink: 0; }
.review-text { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.verified-job { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12px; color: var(--success); background: var(--success-bg); border-radius: 4px; padding: 3px 8px; font-weight: 500; }
.load-more-reviews { width: 100%; padding: 12px; border-radius: var(--radius-md); border: 1.5px solid var(--border); background: var(--surface); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; margin-top: 16px; transition: all 0.15s; }
.load-more-reviews:hover { border-color: var(--accent); color: var(--accent); }

/* Leave a Review */
.leave-review { background: var(--surface-alt); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; margin-top: 20px; }
.leave-review h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.leave-review p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.star-picker { display: flex; gap: 6px; margin-bottom: 12px; }
.star-pick { font-size: 28px; color: var(--border); cursor: pointer; transition: color 0.15s; line-height: 1; }
.star-pick.lit { color: var(--warm); }
.star-rating-input { display: flex; gap: 4px; margin-bottom: 16px; }
.star-input { cursor: pointer; fill: var(--border-light); stroke: var(--border); stroke-width: 1; transition: fill 0.15s, stroke 0.15s; }
.star-input.active, .star-input.hover { fill: var(--warm); stroke: var(--warm); }
.review-textarea { width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; font-family: 'DM Sans', sans-serif; color: var(--text); resize: vertical; min-height: 80px; margin-bottom: 10px; transition: border-color 0.15s; }
.review-textarea:focus { outline: none; border-color: var(--accent); }
.review-input { width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; font-family: 'DM Sans', sans-serif; color: var(--text); margin-bottom: 10px; transition: border-color 0.15s; }
.review-input:focus { outline: none; border-color: var(--accent); }

/* Qualifications */
.quals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.qual-card { display: flex; align-items: center; gap: 12px; background: var(--surface-alt); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 14px; transition: border-color 0.15s; }
.qual-card:hover { border-color: var(--border); }
.qual-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--accent-subtle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qual-text strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--text); }
.qual-text span { font-size: 12px; color: var(--text-muted); }
.qual-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--success); font-weight: 600; margin-top: 2px; }

/* Coverage */
.coverage-map { background: var(--accent-subtle); border: 1px solid #B4CDFA; border-radius: var(--radius-md); height: 260px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; margin-bottom: 16px; position: relative; overflow: hidden; }
.coverage-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tag { background: var(--surface-alt); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 4px 12px; font-size: 13px; color: var(--text-muted); transition: all 0.15s; }
.area-tag:hover { border-color: var(--accent); color: var(--accent); }

/* Profile FAQs */
.profile-body .faq-item { border-bottom: 1px solid var(--border-light); }
.profile-body .faq-item:last-child { border-bottom: none; }
.profile-body .faq-q { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--text); gap: 12px; }
.profile-body .faq-q svg { flex-shrink: 0; transition: transform 0.2s; color: var(--text-muted); }
.profile-body .faq-q.open svg { transform: rotate(180deg); }
.profile-body .faq-a { font-size: 14px; color: var(--text-secondary); line-height: 1.7; padding-bottom: 16px; display: none; }
.profile-body .faq-a.open { display: block; }

/* Sidebar */
.sidebar-card { background: var(--surface); border: 1.5px solid var(--border-light); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.sidebar-card.elite-border { border-color: var(--warm); }
.sidebar-card h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.sidebar-stat-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; gap: 16px; }
.sidebar-stat-row:last-child { border-bottom: none; }
.sidebar-stat-row .label { color: var(--text-muted); flex-shrink: 0; white-space: nowrap; padding-top: 1px; }
.sidebar-stat-row .value { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; color: var(--text); text-align: right; }
.sidebar-stat-row .value.green { color: var(--success); }

/* Upgrade Banner */
.upgrade-banner { background: linear-gradient(135deg, #0B1426 0%, #1E3A8A 50%, var(--accent) 100%); border-radius: var(--radius-lg); padding: 24px; color: #fff; }
.upgrade-banner h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.upgrade-banner p { font-size: 13px; color: #B8D0F8; margin-bottom: 16px; line-height: 1.6; }
.upgrade-feature { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #B8D0F8; margin-bottom: 6px; }
.upgrade-feature svg { color: #60A5FA; flex-shrink: 0; }
.btn-upgrade-white { width: 100%; padding: 12px; border-radius: var(--radius-md); border: none; background: #fff; color: var(--accent); font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; margin-top: 16px; transition: all 0.15s; }
.btn-upgrade-white:hover { background: var(--accent-subtle); }

/* Nearby roofers */
.nearby-list { display: flex; flex-direction: column; gap: 10px; }
.nearby-item { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--border-light); border-radius: var(--radius-md); transition: border-color 0.15s; text-decoration: none; }
.nearby-item:hover { border-color: var(--accent); text-decoration: none; }
.nearby-avatar { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--surface-alt); display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; color: var(--text-muted); flex-shrink: 0; }
.nearby-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--text); }
.nearby-rating { font-size: 12px; color: var(--text-muted); }

/* Profile Responsive */
@media (max-width: 1024px) {
  .profile-hero-inner { grid-template-columns: 1fr; }
  .profile-cta-col { min-width: unset; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
}
@media (max-width: 640px) {
  .profile-name { font-size: 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-img.featured { grid-column: span 2; }
  .quals-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ─── CLAIM LISTING BANNER ─── */
.claim-banner {
  background: linear-gradient(135deg, #0F2A5C 0%, var(--navy) 100%);
  border-bottom: 3px solid var(--warm);
}
.claim-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px 0; flex-wrap: wrap;
}
.claim-banner-content {
  display: flex; align-items: flex-start; gap: 14px; flex: 1;
}
.claim-banner-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(217,119,6,0.2); color: var(--warm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.claim-banner h3 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px;
  font-weight: 800; color: #F1F5F9; margin-bottom: 4px;
}
.claim-banner p {
  font-size: 13px; color: #8899B0; line-height: 1.6; margin: 0;
}
.claim-banner-ctas { display: flex; gap: 8px; flex-shrink: 0; }
.claim-btn-primary {
  padding: 10px 22px; background: var(--warm); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700;
  border-radius: var(--radius-sm); transition: background 0.15s;
}
.claim-btn-primary:hover { background: #B45309; }
.claim-btn-ghost {
  padding: 10px 22px; background: transparent;
  color: rgba(255,255,255,0.7); border: 1.5px solid rgba(255,255,255,0.2);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600;
  border-radius: var(--radius-sm); transition: all 0.15s;
}
.claim-btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #F1F5F9; }

@media (max-width: 768px) {
  .claim-banner-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .claim-banner-ctas { width: 100%; }
  .claim-btn-primary, .claim-btn-ghost { flex: 1; text-align: center; }
}

/* ─── ROOFER PROFILE RESPONSIVE ─── */
@media (max-width: 768px) {
  /* Tabs: horizontal scroll */
  .profile-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .profile-tabs::-webkit-scrollbar { display: none; }
  .profile-tab { padding: 12px 14px; font-size: 13px; }

  /* Google review card: stack */
  .google-review-card { flex-direction: column; gap: 12px; align-items: flex-start; }
  .google-review-link { width: 100%; justify-content: center; }

  /* CTA card: constrain width */
  .cta-card { max-width: 100%; box-sizing: border-box; overflow: hidden; }
  .cta-card * { max-width: 100%; box-sizing: border-box; }
  .cta-request-btn { font-size: 14px; white-space: normal; word-wrap: break-word; }
  .cta-phone-display { font-size: 13px; }
  .cta-submit-btn { font-size: 13px; white-space: normal; }
  .cta-form-row { grid-template-columns: 1fr; }

  /* Profile hero layout: stack */
  .profile-hero-inner { flex-direction: column !important; }
  .profile-cta-col { width: 100%; }
  .profile-info-col { width: 100%; }

  /* Reviews header */
  .reviews-header { flex-direction: column; gap: 16px; }
  .reviews-score { flex-direction: row; align-items: center; gap: 16px; }

  /* Coverage map */
  #rooferProfileMap { height: 280px !important; }

  /* Sidebar */
  .profile-sidebar { position: static; }

  /* Nearby roofers */
  .nearby-grid { grid-template-columns: 1fr !important; }
}

/* ─── MULTI-STEP FORM (MSF) ─── */
.msf-card { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 8px 32px rgba(45,106,224,0.12); }
.msf-header { margin-bottom: 20px; }
.msf-header h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.msf-header p { font-size: 13px; color: var(--text-muted); }
.msf-progress { display: flex; align-items: center; gap: 0; margin-bottom: 24px; }
.msf-step-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; flex-shrink: 0; transition: all 0.2s; }
.msf-step-dot.done { background: var(--success); color: #fff; }
.msf-step-dot.active { background: var(--accent); color: #fff; }
.msf-step-dot.pending { background: var(--surface-muted); color: var(--text-muted); }
.msf-step-line { flex: 1; height: 2px; background: var(--border-light); transition: background 0.2s; }
.msf-step-line.done { background: var(--success); }
.msf-panel { display: none; }
.msf-panel.active { display: block; }
.msf-label { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; display: block; }
.msf-job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.msf-job-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border: 2px solid var(--border-light); border-radius: var(--radius-md); cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-muted); background: var(--surface); text-align: center; transition: all 0.15s; line-height: 1.3; }
.msf-job-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }
.msf-job-btn.selected { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }
.msf-job-btn svg { color: var(--accent); }
.msf-urgency-grid { display: flex; flex-direction: column; gap: 8px; }
.msf-urgency-btn { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid var(--border-light); border-radius: var(--radius-md); cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 500; color: var(--text); background: var(--surface); transition: all 0.15s; text-align: left; }
.msf-urgency-btn:hover { border-color: var(--accent); background: var(--accent-subtle); }
.msf-urgency-btn.selected { border-color: var(--accent); background: var(--accent-subtle); color: var(--accent); font-weight: 600; }
.msf-urgency-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.msf-input { width: 100%; padding: 10px 12px; border: 2px solid var(--border-light); border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: var(--surface); transition: border-color 0.15s; margin-bottom: 10px; box-sizing: border-box; }
.msf-input:focus { outline: none; border-color: var(--accent); }
.msf-input::placeholder { color: var(--text-muted); }
.msf-btn-row { display: flex; gap: 8px; margin-top: 16px; }
.msf-back { flex: 0 0 auto; background: var(--surface-alt); color: var(--text-muted); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-light); cursor: pointer; transition: background 0.15s; }
.msf-back:hover { background: var(--surface-muted); }
.msf-next { flex: 1; background: var(--accent); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; padding: 11px 16px; border-radius: var(--radius-sm); border: none; cursor: pointer; transition: background 0.15s; }
.msf-next:hover { background: var(--accent-hover); }
.msf-next:disabled { background: var(--border); cursor: not-allowed; }
.msf-success { text-align: center; padding: 8px 0; }
.msf-success-icon { width: 56px; height: 56px; background: var(--success-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.msf-success h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.msf-success p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Legal pages - document layout with sidebar TOC */
.doc-layout-wrap { padding: 48px 0 80px; }
.doc-layout { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }

/* Sidebar TOC */
.doc-toc { position: sticky; top: 84px; }
.doc-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.doc-toc a { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 500; color: var(--text-secondary); padding: 7px 12px; border-radius: var(--radius-sm); border-left: 3px solid transparent; transition: all 0.15s; line-height: 1.4; }
.doc-toc a:hover { background: var(--accent-subtle); color: var(--accent); }
.doc-toc a.active { background: var(--accent-subtle); color: var(--accent); font-weight: 600; border-left-color: var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* Doc metadata box */
.doc-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); padding: 14px 18px; background: var(--surface-alt); border: 1px solid var(--border-light); border-radius: var(--radius-sm); margin-bottom: 32px; }

/* Doc content body */
.doc-body { font-size: 15px; line-height: 1.8; color: #374151; }
.doc-body h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 40px 0 14px; padding-top: 16px; border-top: 2px solid var(--border-light); }
.doc-body h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.doc-body h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 28px 0 10px; }
.doc-body p { margin-bottom: 16px; }
.doc-body ul, .doc-body ol { margin-bottom: 16px; padding-left: 24px; }
.doc-body li { margin-bottom: 8px; }
.doc-body a { color: var(--accent); font-weight: 600; }
.doc-body a:hover { text-decoration: underline; }
.doc-body strong { font-weight: 700; color: var(--text); }

/* Cookie table */
.doc-body table { width: 100%; border-collapse: collapse; margin: 20px 0; border: 1px solid var(--border-light); border-radius: var(--radius-sm); overflow: hidden; }
.doc-body th { background: var(--navy); color: #F1F5F9; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; padding: 12px 16px; text-align: left; }
.doc-body td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.doc-body tr:last-child td { border-bottom: none; }

@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { display: none; }
}

/* ==========================================================================
   Thank You Pages — Shared
   ========================================================================== */
.ty-section { padding: 80px 0; background: var(--surface-alt); min-height: 70vh; }
.ty-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.ty-icon--success { background: var(--success-bg); }
.ty-icon--accent { background: var(--accent-subtle); }
.ty-subtitle { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.ty-btn { display: inline-block; padding: 13px 28px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; border-radius: var(--radius-sm); transition: background 0.15s, color 0.15s; cursor: pointer; }
.ty-btn--primary { background: var(--accent); color: #fff; }
.ty-btn--primary:hover { background: var(--accent-hover); }
.ty-btn--outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.ty-btn--outline:hover { background: var(--accent); color: #fff; }
.ty-btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ==========================================================================
   Homeowner Thank You — .ty-card
   ========================================================================== */
.ty-card { max-width: 620px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 48px 40px; box-shadow: var(--shadow-md); }
.ty-card h1 { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 12px; }

/* Steps */
.ty-steps { display: flex; flex-direction: column; gap: 20px; text-align: left; margin-bottom: 36px; }
.ty-step { display: flex; align-items: flex-start; gap: 16px; }
.ty-step-num { flex-shrink: 0; width: 36px; height: 36px; background: var(--accent); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ty-step p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; padding-top: 6px; }

/* Guides */
.ty-guides { background: var(--surface-alt); border-radius: var(--radius-md); padding: 28px; margin-bottom: 32px; text-align: left; }
.ty-guides h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.ty-guides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ty-guide-link { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--accent); font-weight: 600; transition: color 0.15s; }
.ty-guide-link:hover { color: var(--accent-hover); }
.ty-guide-link svg { flex-shrink: 0; }

/* ==========================================================================
   Roofer Thank You — .ty-welcome-card
   ========================================================================== */
.ty-welcome-card { max-width: 680px; margin: 0 auto 24px; text-align: center; background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 48px 40px; box-shadow: var(--shadow-md); }
.ty-welcome-card h1 { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 12px; }

/* Status bar */
.ty-status-bar { display: flex; justify-content: center; align-items: flex-start; gap: 0; margin: 8px 0 36px; padding: 24px 0; }
.ty-status-step { display: flex; flex-direction: column; align-items: center; position: relative; flex: 1; max-width: 140px; }
.ty-status-dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.ty-status-step--done .ty-status-dot { background: var(--success); }
.ty-status-step--active .ty-status-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-subtle); }
.ty-status-step--pending .ty-status-dot { background: var(--surface-muted); border: 2px solid var(--border); }
.ty-status-pulse { width: 10px; height: 10px; background: #fff; border-radius: 50%; animation: ty-pulse 1.5s ease-in-out infinite; }
@keyframes ty-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.ty-status-line { position: absolute; top: 16px; left: calc(50% + 16px); width: calc(100% - 32px); height: 2px; background: var(--border); z-index: 0; }
.ty-status-step--done .ty-status-line { background: var(--success); }
.ty-status-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-top: 10px; text-align: center; line-height: 1.3; }
.ty-status-step--pending .ty-status-label { color: var(--text-muted); }

/* Next steps */
.ty-next-steps { text-align: left; margin-top: 32px; }
.ty-next-steps h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.ty-next-step { display: flex; gap: 16px; margin-bottom: 20px; }
.ty-next-step-icon { flex-shrink: 0; width: 36px; height: 36px; background: var(--accent-subtle); color: var(--accent); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ty-next-step strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ty-next-step p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* Tip card */
.ty-tip-card { max-width: 680px; margin: 0 auto; background: var(--warm-bg); border: 1px solid var(--warm-light); border-radius: var(--radius-xl); padding: 32px 36px; }
.ty-tip-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.ty-tip-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ty-tip-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.ty-tip-check { flex-shrink: 0; }

/* Thank you responsive */
@media (max-width: 640px) {
  .ty-card, .ty-welcome-card, .ty-tip-card { padding: 32px 20px; }
  .ty-guides-grid { grid-template-columns: 1fr; }
  .ty-status-bar { flex-wrap: wrap; gap: 8px; }
  .ty-status-step { max-width: none; }
  .ty-status-line { display: none; }
  .ty-btn-group { flex-direction: column; align-items: center; }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,14,26,0.97);
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #F1F5F9;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover { color: var(--warm); }
.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #F1F5F9;
  font-size: 28px;
  cursor: pointer;
}
.mobile-nav .btn-primary {
  margin-top: 12px;
  font-size: 15px;
  padding: 12px 28px;
  background: var(--warm);
}
.mobile-nav .btn-primary:hover { background: #B45309; }

/* ─── FEATURED GUIDES (Content Hub) ─── */
.hub-featured {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 20px;
}
.hub-featured-header {
  background: var(--navy);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hub-featured-header h3 { font-size: 14px; font-weight: 700; color: #F1F5F9; margin: 0; }
.hub-featured-header a { font-size: 12px; font-weight: 700; color: var(--warm); }
.hub-featured-list { list-style: none; padding: 6px; margin: 0; }
.hub-featured-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  transition: background 0.15s;
}
.hub-featured-list li a:hover { background: var(--surface-alt); color: var(--accent); }
.hub-featured-list li a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--warm);
  flex-shrink: 0;
}

/* ─── CF7 FORM STYLING ─── */
.hero-form-card .wpcf7 { width: 100%; }
.hero-form-card .wpcf7-form { display: flex; flex-direction: column; gap: 0; }
.hero-form-card .wpcf7-form p { margin: 0; }
.hero-form-card .hero-form-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 4px; }
.hero-form-card .hero-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-form-card .form-field { display: flex; flex-direction: column; gap: 4px; }
.hero-form-card .form-field label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-form-card .wpcf7-form-control:not([type="submit"]) {
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.hero-form-card .wpcf7-form-control:not([type="submit"]):focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,106,224,0.1);
}
.hero-form-card .wpcf7-not-valid {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08) !important;
}
.hero-form-card .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #DC2626;
  font-weight: 500;
  margin-top: 2px;
}
.hero-form-card .wpcf7-response-output {
  font-size: 13px;
  margin: 8px 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.hero-form-card input[type="submit"],
.hero-form-card .wpcf7-submit {
  width: 100%;
  background: var(--warm);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.hero-form-card input[type="submit"]:hover,
.hero-form-card .wpcf7-submit:hover { background: #B45309; }
.hero-form-card .wpcf7 select {
  appearance: auto;
  -webkit-appearance: auto;
}

/* ---------------------------------------------------------------------------
   Category Hub
   --------------------------------------------------------------------------- */

/* Category hub - two column hero */
.cat-hero { background: var(--navy); padding: 56px 0 48px; }
.cat-hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.cat-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(217,119,6,0.2); border: 1px solid rgba(217,119,6,0.4); color: #FCD34D; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 16px; }
.cat-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: #F1F5F9; margin-bottom: 16px; line-height: 1.15; }
.cat-hero h1 span { color: var(--accent); }
.cat-hero-desc, .cat-hero-desc p { font-size: 16px; color: #8899B0; line-height: 1.7; margin-bottom: 28px; max-width: 520px; }
.cat-hero-stats { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cat-hero-stat { text-align: left; }
.cat-hero-stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; font-weight: 900; color: #F1F5F9; line-height: 1; }
.cat-hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 3px; }
.cat-hero-stat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }

/* Hero CTA card */
.cat-hero-cta { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 28px; }
.cat-hero-cta h3 { font-size: 18px; font-weight: 800; color: #F1F5F9; margin-bottom: 8px; line-height: 1.3; }
.cat-hero-cta p { font-size: 14px; color: #8899B0; line-height: 1.6; margin-bottom: 18px; }
.cat-hero-cta-btn { display: block; background: var(--warm); color: #fff; text-align: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; padding: 12px 20px; border-radius: var(--radius-sm); transition: background 0.15s; }
.cat-hero-cta-btn:hover { background: #B45309; }

/* Expert guides section */
.cat-guides-section { padding: 48px 0; }
.cat-blog-section { padding: 48px 0; background: var(--surface-alt); }
.cat-guides-header { margin-bottom: 32px; }
.cat-guides-header .section-eyebrow { margin-bottom: 10px; }
.cat-guides-header h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 8px; }
.cat-guides-header p { font-size: 15px; color: var(--text-secondary); max-width: 560px; }

/* Featured guide card */
.cat-featured-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-xl); overflow: hidden; border: 1.5px solid var(--border-light); margin-bottom: 24px; transition: all 0.2s; text-decoration: none; }
.cat-featured-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.cat-featured-card-img { background: linear-gradient(135deg, var(--navy-mid), var(--navy)); min-height: 280px; display: flex; align-items: center; justify-content: center; position: relative; }
.cat-featured-card-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cat-featured-card-img svg { width: 64px; height: 64px; stroke: rgba(255,255,255,0.15); fill: none; stroke-width: 1; }
.cat-featured-card-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.cat-featured-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--warm-bg); color: var(--warm); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; margin-bottom: 12px; width: fit-content; }
.cat-featured-card-body h3 { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.25; margin-bottom: 12px; }
.cat-featured-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.cat-featured-read { display: inline-flex; align-items: center; gap: 6px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--accent); }
.cat-featured-read svg { transition: transform 0.15s; }
.cat-featured-card:hover .cat-featured-read svg { transform: translateX(3px); }

/* WordPress pagination (.nav-links from the_posts_pagination) */
.nav-links { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; }
.nav-links a,
.nav-links span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-light); background: var(--surface); color: var(--text-secondary); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600; transition: all 0.15s; text-decoration: none; }
.nav-links a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }
.nav-links .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.nav-links .dots { border: none; background: none; }
.nav-links .prev,
.nav-links .next { width: auto; padding: 0 14px; }

@media (max-width: 960px) {
  .cat-hero-grid { grid-template-columns: 1fr; }
  .cat-hero-cta { max-width: 400px; }
}
@media (max-width: 768px) {
  .cat-featured-card { grid-template-columns: 1fr; }
  .cat-featured-card-img { min-height: 200px; }
  .cat-hero-stats { flex-wrap: wrap; gap: 20px; }
  .cat-hero { padding: 40px 0; }
}

/* ---------------------------------------------------------------------------
   Costs & Prices Hub
   --------------------------------------------------------------------------- */

/* Costs hub hero */
.page-hero--costs { padding: 56px 0 48px; text-align: left; }
.page-hero--costs h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: #F1F5F9; margin-bottom: 14px; max-width: 680px; letter-spacing: -0.02em; line-height: 1.15; }
.costs-hero-stats { display: flex; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.costs-hero-stat { display: flex; flex-direction: column; }
.costs-hero-stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 900; color: #F1F5F9; line-height: 1; margin-bottom: 4px; }
.costs-hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.45); }

/* Quick Price Table */
.quick-prices { padding: 56px 0; background: var(--surface-alt); }
.qp-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.price-table th { background: var(--navy); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; padding: 14px 20px; text-align: left; letter-spacing: 0.04em; text-transform: uppercase; }
.price-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--accent-subtle); }
.price-table td:first-child { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; color: var(--text); }
.price-range { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--accent); }
.price-link { display: inline-flex; align-items: center; gap: 4px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 600; color: var(--accent); text-decoration: none; }
.price-link:hover { color: var(--accent-hover); text-decoration: underline; }
.price-note { font-size: 13px; color: var(--text-muted); margin-top: 12px; }

/* Cost Guide Cards */
.guides-section { padding: 56px 0; }
.guides-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.category-block { margin-bottom: 56px; }
.cat-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--border-light); }
.cat-icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--accent-subtle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.cat-header h2 { font-size: 22px; font-weight: 800; color: var(--navy); }
.cat-header a { margin-left: auto; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; text-decoration: none; }
.cat-header a:hover { color: var(--accent-hover); text-decoration: underline; }
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 22px; background: var(--surface); transition: all 0.2s ease; display: flex; flex-direction: column; text-decoration: none; }
.guide-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.guide-card-price { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.guide-card-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.guide-card-desc { font-size: 13px; color: var(--text-secondary); flex: 1; margin-bottom: 14px; line-height: 1.6; }
.guide-card-link { display: flex; align-items: center; gap: 4px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--accent); }
.guide-card-link svg { width: 14px; height: 14px; }
.guide-card:hover .guide-card-link { color: var(--accent-hover); }

/* Factors */
.factors { padding: 56px 0; background: var(--surface-alt); }
.factors-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.factors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.factor-card { background: var(--surface); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border-light); transition: box-shadow 0.2s; }
.factor-card:hover { box-shadow: var(--shadow-sm); }
.factor-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 32px; font-weight: 800; color: var(--border-light); margin-bottom: 8px; }
.factor-card h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.factor-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* CTA Strip */
.cta-strip { background: var(--navy); border-radius: var(--radius-lg); padding: 48px; text-align: center; margin: 0 auto; max-width: calc(var(--max-w) - 48px); padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.cta-strip h2 { font-size: 28px; font-weight: 800; color: #F1F5F9; margin-bottom: 10px; }
.cta-strip p { font-size: 15px; color: #8899B0; margin-bottom: 24px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btn-warm { display: inline-block; padding: 13px 26px; border-radius: var(--radius-sm); background: var(--warm); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; text-decoration: none; transition: background 0.15s; }
.cta-btn-warm:hover { background: #C2690A; text-decoration: none; }
.cta-btn-white { display: inline-block; padding: 13px 26px; border-radius: var(--radius-sm); background: #fff; color: var(--navy); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; text-decoration: none; transition: background 0.15s; }
.cta-btn-white:hover { background: var(--surface-alt); text-decoration: none; }

/* Latest Cost Guides */
.costs-latest { padding: 56px 0; background: var(--surface-alt); }
.costs-latest h2 { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 28px; }

@media (max-width: 768px) {
  .guide-cards { grid-template-columns: 1fr 1fr; }
  .factors-grid { grid-template-columns: 1fr 1fr; }
  .page-hero--costs .hero-stats { gap: 20px; }
  .price-table { font-size: 13px; }
  .price-table th, .price-table td { padding: 10px 12px; }
  .costs-latest { padding: 40px 0; }
}
@media (max-width: 480px) {
  .guide-cards { grid-template-columns: 1fr; }
  .factors-grid { grid-template-columns: 1fr; }
  .cat-header { flex-wrap: wrap; }
  .cat-header a { margin-left: 0; }
}
