/* ============================================================
   Crowborough Surveyor – Main Stylesheet
   crowboroughsurveyor.com
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary:       #1a3a5c;   /* deep navy */
  --primary-light: #2059a0;
  --accent:        #c8962a;   /* warm gold */
  --accent-light:  #e8b84b;
  --dark:          #111827;
  --mid:           #374151;
  --muted:         #6b7280;
  --light:         #f3f4f6;
  --white:         #ffffff;
  --border:        #e5e7eb;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.10);
  --shadow-md:     0 4px 16px rgba(0,0,0,.14);
  --shadow-lg:     0 10px 40px rgba(0,0,0,.18);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    0.3s ease;
  --font-body:     'Inter', sans-serif;
  --font-heading:  'Playfair Display', serif;
  --max-w:         1240px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--primary);
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(1.85rem, 4.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--mid); }
strong { color: var(--dark); }

/* ---------- Layout Utilities ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.bg-light    { background: var(--light); }
.bg-primary  { background: var(--primary); }
.bg-dark     { background: var(--dark); }

/* ---------- Flex / Grid Helpers ---------- */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1  { gap: 8px; }
.gap-2  { gap: 16px; }
.gap-3  { gap: 24px; }
.gap-4  { gap: 32px; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section    { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- Section Headings ---------- */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
}
.divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px auto 32px;
}
.divider-left {
  margin-left: 0;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 26px; height: 26px; fill: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.logo-tagline {
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--mid);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
}
.main-nav a:hover::after, .main-nav a.active::after {
  transform: scaleX(1);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav base – overridden by comprehensive block below */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

/* ============================================================
   HERO (shared base – overridden per page)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 94px;
  padding-bottom: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1f3a 0%, #1a3a5c 50%, #0d2b4a 100%);
  z-index: 0;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .32;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10,31,58,.88) 0%,
    rgba(26,58,92,.72) 60%,
    rgba(13,43,74,.55) 100%);
  z-index: 1;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
/* Hero mobile – full overrides in comprehensive block below */

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,150,42,.15);
  border: 1px solid rgba(200,150,42,.35);
  color: var(--accent-light);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero-title span { color: var(--accent-light); }
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--white);
  font-size: .82rem;
  font-weight: 500;
}
.trust-badge svg { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; }

/* Hero form card */
.hero-form-col {}
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-form-card .hs-form {
  font-size: .88rem !important;
}
.hero-form-card .hs-form .hs-input {
  width: 100% !important;
  font-size: .88rem !important;
  padding: 10px 12px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
}
.hero-form-card .hs-form .hs-button {
  width: 100% !important;
  background: var(--primary) !important;
  color: #fff !important;
  padding: 12px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: .9rem !important;
  cursor: pointer !important;
  border: none !important;
}
.hero-form-card .hs-form .hs-button:hover {
  background: var(--primary-dark, #0d2240) !important;
}
.hero-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--primary);
}
.hero-form-card p {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ── Hero CTA button row ──────────────────────────────── */
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* ── Hero survey picker widget ───────────────────────── */
.hero-survey-picker {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.picker-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  margin-bottom: 10px !important;
  display: flex;
  align-items: center;
  gap: 6px;
}
.picker-label i { color: var(--accent-light); }
.picker-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.picker-tab {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.7);
  background: transparent;
  transition: all var(--transition);
  font-family: var(--font-body);
  letter-spacing: .02em;
}
.picker-tab:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}
.picker-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.picker-panels { min-height: 52px; }
.picker-panel {
  display: none;
  font-size: .82rem;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  animation: fadeInPanel .25s ease;
}
.picker-panel.active { display: block; }
.picker-panel i {
  color: var(--accent-light);
  margin-right: 6px;
  font-size: .8rem;
}
.picker-panel strong { color: var(--white); }
.picker-panel a {
  color: var(--accent-light);
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
  font-size: .8rem;
}
.picker-panel a:hover { text-decoration: underline; }
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero native fallback form fields ────────────────── */
.hfc-native-form { display: none; }
.hfc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hfc-field {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}
.hfc-field label {
  font-size: .79rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}
.hfc-field label span { color: #dc2626; }
.hfc-input {
  padding: 10px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: .84rem;
  font-family: var(--font-body);
  color: #111827;
  background: #fafafa;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.hfc-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,.12);
  background: #fff;
}
.hfc-input::placeholder { color: #9ca3af; }
textarea.hfc-input { min-height: 72px; resize: vertical; }
select.hfc-input { cursor: pointer; appearance: auto; }
.hfc-btn {
  width: 100%;
  background: linear-gradient(135deg, #1a3a5c 0%, #2059a0 100%);
  color: #fff;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 700;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .2s, transform .15s;
}
.hfc-btn:hover { opacity: .88; transform: translateY(-1px); }
.hfc-privacy {
  font-size: .73rem !important;
  color: #9ca3af !important;
  text-align: center;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hfc-privacy i { color: #c8962a; }
@media (max-width: 520px) {
  .hfc-row { grid-template-columns: 1fr; }
}

/* ── Hero scroll indicator ───────────────────────────── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 3;
  opacity: .7;
  transition: opacity var(--transition);
}
.hero-scroll-indicator:hover { opacity: 1; }
.hero-scroll-indicator span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.8);
  border-bottom: 2px solid rgba(255,255,255,.8);
  transform: rotate(45deg);
  animation: scrollBounce 1.6s ease-in-out infinite;
}
.hero-scroll-indicator span:nth-child(2) { animation-delay: .2s; margin-top: -6px; }
.hero-scroll-indicator span:nth-child(3) { animation-delay: .4s; margin-top: -6px; }
@keyframes scrollBounce {
  0%, 100% { opacity: .3; }
  50%       { opacity: 1; }
}
/* Hero scroll indicator/picker mobile – see comprehensive block below */

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-body { padding: 28px; }
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(26,58,92,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; fill: var(--primary); }

/* Service card */
.service-card { height: 100%; display: flex; flex-direction: column; }
.service-card .card-body { flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 10px; }
.service-card p  { flex: 1; margin-bottom: 20px; }
.service-card .btn { align-self: flex-start; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--primary);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: .88rem; color: rgba(255,255,255,.75); }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 32px; }
}

/* ============================================================
   ACCREDITATIONS BAR
   ============================================================ */
.accred-bar {
  background: var(--light);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.accred-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.accred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--mid);
}
.accred-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--transition);
}
.accred-logo:hover { filter: none; }
.accred-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary);
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--primary);
  letter-spacing: .04em;
}

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews-section { background: var(--light); }
.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-text {
  font-size: .95rem;
  color: var(--mid);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.65;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: .9rem;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: .9rem; color: var(--dark); }
.review-date { font-size: .78rem; color: var(--muted); }
.review-source { font-size: .72rem; color: var(--accent); font-weight: 600; margin-top: 2px; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
  transition: background var(--transition);
}
.step-item:hover .step-num { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.step-item h4 { margin-bottom: 8px; font-size: 1rem; }
.step-item p { font-size: .88rem; }

@media (max-width: 768px) {
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .process-steps::before { display: none; }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  gap: 16px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 600px; }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card { height: 100%; }
.blog-card .card-img {
  height: 200px;
  transition: transform 0.4s ease;
}
.blog-card:hover .card-img { transform: scale(1.04); }
.blog-card .card-img-wrap { overflow: hidden; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.blog-tag {
  background: rgba(26,58,92,.08);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .75rem;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card h3 a { color: var(--primary); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-excerpt { font-size: .9rem; color: var(--muted); }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 14px;
}
.read-more:hover { color: var(--accent); gap: 10px; }

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}
.team-body { padding: 24px 20px; }
.team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.team-role {
  font-size: .85rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.team-desc { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(200,150,42,.08);
}

/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
.contact-form-section {
  background: var(--light);
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(26,58,92,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; fill: var(--primary); }
.contact-info-text h4 { font-size: .95rem; margin-bottom: 4px; }
.contact-info-text p  { font-size: .9rem; margin: 0; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0a1f3a;
  color: rgba(255,255,255,.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .02em;
}
.footer-col p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,.82); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-col ul li a::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
}
.footer-logo-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-logo-tagline {
  font-size: .75rem;
  color: var(--accent-light);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-accreds {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.footer-accred-badge {
  border: 1px solid rgba(255,255,255,.40);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,1);
  letter-spacing: .05em;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.80);
}
.footer-bottom a { color: rgba(255,255,255,.80); }
.footer-bottom a:hover { color: var(--accent-light); }

/* Footer responsive – see comprehensive block below */

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--muted);
  padding: 14px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary-light); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0a1f3a 0%, #1a3a5c 100%);
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero-dark::after { background: var(--light); }
.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
}
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 640px; line-height: 1.7; }

/* ============================================================
   ARTICLE / BLOG POST
   ============================================================ */
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h2 { margin: 40px 0 16px; }
.article-body h3 { margin: 28px 0 12px; }
.article-body p  { margin-bottom: 18px; font-size: 1.02rem; line-height: 1.8; color: var(--mid); }
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.article-body li { margin-bottom: 8px; font-size: 1rem; color: var(--mid); }
.article-body img {
  border-radius: var(--radius-md);
  margin: 28px 0;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--mid);
}

/* Article sidebar */
.article-sidebar {
  position: sticky;
  top: 90px;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  color: var(--primary);
}
.sidebar-toc li { margin-bottom: 8px; }
.sidebar-toc li a { font-size: .88rem; color: var(--mid); display: flex; align-items: center; gap: 6px; }
.sidebar-toc li a::before { content: '•'; color: var(--accent); }
.sidebar-toc li a:hover { color: var(--primary); }

/* ============================================================
   ANIMATED COUNTER
   ============================================================ */
.counter { display: inline-block; }

/* ============================================================
   MAP PLACEHOLDER
   ============================================================ */
.map-container {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   AREA TAGS
   ============================================================ */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--mid);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.area-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.area-tag::before { content: '📍'; font-size: .8rem; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Delay helpers */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ============================================================
   MISC
   ============================================================ */
.highlight-box {
  background: rgba(26,58,92,.06);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box.gold {
  background: rgba(200,150,42,.07);
  border-left-color: var(--accent);
}
.tag {
  display: inline-block;
  background: rgba(26,58,92,.08);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-right: 4px;
  margin-bottom: 4px;
}
.tag-gold { background: rgba(200,150,42,.12); color: var(--accent); }

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
  border: none;
  box-shadow: var(--shadow-md);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* Print */
@media print {
  .site-header, .site-footer, #back-to-top, .hero-form-col { display: none; }
  .hero { min-height: auto; padding: 20px 0; }
}

/* HubSpot form overrides */
.hs-form fieldset { max-width: 100% !important; }
.hs-form .hs-input {
  width: 100% !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border) !important;
  padding: 10px 14px !important;
  font-family: var(--font-body) !important;
  font-size: .95rem !important;
}
.hs-form .hs-button {
  background: var(--accent) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-family: var(--font-body) !important;
}

/* Schema JSON-LD hidden */
script[type="application/ld+json"] { display: none; }

/* ============================================================
   HERO IMAGE CROSSFADE SLIDER
   ============================================================ */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  /* Ken Burns pan-zoom effect */
  animation: kenBurns 10s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.hero-slide.active {
  opacity: 1;
}
/* Stagger Ken Burns direction per slide */
.hero-slide:nth-child(1) { animation-name: kenBurns1; }
.hero-slide:nth-child(2) { animation-name: kenBurns2; }
.hero-slide:nth-child(3) { animation-name: kenBurns3; }
.hero-slide:nth-child(4) { animation-name: kenBurns4; }

@keyframes kenBurns1 {
  from { transform: scale(1.00) translate(0, 0); }
  to   { transform: scale(1.08) translate(-1%, -1%); }
}
@keyframes kenBurns2 {
  from { transform: scale(1.08) translate(1%, 0); }
  to   { transform: scale(1.00) translate(0, 1%); }
}
@keyframes kenBurns3 {
  from { transform: scale(1.00) translate(-1%, 1%); }
  to   { transform: scale(1.08) translate(1%, -1%); }
}
@keyframes kenBurns4 {
  from { transform: scale(1.06) translate(0, -1%); }
  to   { transform: scale(1.00) translate(-1%, 0); }
}

/* Dot navigation for slider */
.hero-slider-dots {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}
.hero-slider-dot.active {
  background: var(--accent);
  transform: scale(1.35);
}

/* Reduce motion: disable Ken Burns & crossfade */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    transition: opacity 0.4s ease;
  }
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE DESIGN
   Breakpoints:
     XXL  ≥ 1400px
     XL   ≤ 1200px
     L    ≤  968px
     M    ≤  768px
     S    ≤  600px
     XS   ≤  480px
   ============================================================ */

/* ── Global mobile base fixes ──────────────────────────────── */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img, video, iframe, table {
  max-width: 100%;
}
table {
  width: 100%;
  overflow-x: auto;
  display: block;
}

/* ── XXL: min-width 1400px ─────────────────────────────────── */
@media (min-width: 1400px) {
  .container { padding: 0 40px; }
  h1 { font-size: 3.4rem; }
  .hero-title { font-size: 3.4rem; }
  .stats-grid { gap: 40px; }
}

/* ── XL: max-width 1200px ──────────────────────────────────── */
@media (max-width: 1200px) {
  .container { padding: 0 28px; }
  .hero-inner { gap: 40px; }
  .footer-grid { gap: 28px; }
  .process-steps { gap: 18px; }
  .stats-grid { gap: 18px; }
}

/* ── L: max-width 968px ────────────────────────────────────── */
@media (max-width: 968px) {
  /* Container */
  .container { padding: 0 20px; }

  /* Typography scale-down */
  h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
  h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
  h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

  /* Section padding */
  .section    { padding: 60px 0; }
  .section-lg { padding: 80px 0; }
  .section-sm { padding: 36px 0; }

  /* Grids collapse to 2 col */
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-steps::before { display: none; }

  /* Footer grid */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* Page hero padding */
  .page-hero { padding: 100px 0 52px; }

  /* Accred bar */
  .accred-inner { gap: 20px; }
  .accred-badge { font-size: .85rem; padding: 5px 12px; }

  /* Article sidebar stacks below */
  .article-sidebar { position: static; top: auto; }

  /* Map height */
  .map-container { height: 320px; }

  /* Contact form */
  .contact-form-wrap { padding: 32px 24px; }

  /* CTA section text */
  .cta-section .btn { width: 100%; justify-content: center; }
}

/* ── M: max-width 768px ────────────────────────────────────── */
@media (max-width: 768px) {
  /* Base font */
  html { font-size: 15px; }

  /* Container */
  .container { padding: 0 16px; }

  /* Section padding */
  .section    { padding: 48px 0; }
  .section-lg { padding: 60px 0; }
  .section-sm { padding: 28px 0; }

  /* Typography */
  h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h2 { font-size: clamp(1.2rem, 4vw, 1.7rem); }
  h3 { font-size: clamp(1rem, 3vw, 1.25rem); }
  .section-desc { font-size: .97rem; }

  /* ALL grids → single column */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; gap: 20px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 2.1rem; }

  /* Buttons: touch-friendly */
  .btn { padding: 13px 22px; min-height: 44px; font-size: .9rem; }
  .btn-lg { padding: 14px 28px; font-size: .95rem; }

  /* Hero CTAs stack */
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Trust badges wrap nicely */
  .hero-trust { gap: 10px; }
  .trust-badge { font-size: .78rem; padding: 6px 10px; }

  /* Survey picker */
  .picker-tabs { gap: 5px; }
  .picker-tab  { font-size: .74rem; padding: 5px 9px; }

  /* Stats strip padding */
  .stats-strip { padding: 36px 0; }

  /* Process steps */
  .process-steps { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-logo-name { font-size: 1.2rem; }
  .site-footer { padding: 48px 0 0; }

  /* Page hero */
  .page-hero { padding: 90px 0 44px; }
  .page-hero h1 { font-size: clamp(1.4rem, 5vw, 2.2rem); }
  .page-hero p  { font-size: .95rem; }

  /* Blog grid → 2 col */
  .blog-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Accred bar stacks */
  .accred-inner { flex-direction: column; gap: 14px; align-items: flex-start; }

  /* Contact form */
  .contact-form-wrap { padding: 24px 18px; }
  .contact-info-item { gap: 12px; margin-bottom: 20px; }

  /* Article body images */
  .article-body img { height: 240px; }

  /* Map */
  .map-container { height: 260px; }

  /* FAQ question font */
  .faq-question { font-size: .95rem; padding: 16px 0; }

  /* Back to top */
  #back-to-top { bottom: 20px; right: 16px; width: 40px; height: 40px; }
}

/* ── S: max-width 600px ────────────────────────────────────── */
@media (max-width: 600px) {
  /* Container */
  .container { padding: 0 14px; }

  /* ALL grids → single column */
  .grid-2,
  .grid-3,
  .grid-4,
  .stats-grid,
  .blog-grid-3 { grid-template-columns: 1fr; gap: 16px; }

  /* Stats: 2-col retained for visual balance */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Process steps → 1 col */
  .process-steps { grid-template-columns: 1fr; gap: 20px; }

  /* Sections */
  .section    { padding: 40px 0; }
  .section-lg { padding: 50px 0; }

  /* Typography */
  h1 { font-size: clamp(1.3rem, 6vw, 1.75rem); }
  h2 { font-size: clamp(1.1rem, 5vw, 1.5rem); }
  h3 { font-size: 1rem; }
  .section-label { font-size: .72rem; }
  .section-desc  { font-size: .92rem; }

  /* Section headings centred on mobile */
  .divider { margin: 12px auto 24px; }

  /* Buttons */
  .btn { padding: 12px 18px; font-size: .88rem; }
  .btn-lg { padding: 13px 22px; font-size: .9rem; }

  /* Hero title */
  .hero-title { font-size: clamp(1.35rem, 6vw, 1.9rem); line-height: 1.25; }
  .hero-desc  { font-size: .92rem; }
  .hero-label { font-size: .72rem; padding: 5px 11px; }

  /* Survey picker compact */
  .hero-survey-picker { padding: 12px 14px; margin-bottom: 20px; }
  .picker-panels { min-height: 44px; }
  .picker-panel  { font-size: .8rem; }

  /* Form card padding */
  .hero-form-card { padding: 22px 18px 20px; }
  .hfc-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-accreds { justify-content: flex-start; }
  .site-footer { padding: 40px 0 0; }

  /* Page hero */
  .page-hero { padding: 80px 0 36px; }

  /* Contact form */
  .contact-form-wrap { padding: 20px 14px; }

  /* HubSpot form */
  .hs-form .hs-input { font-size: 16px !important; padding: 11px 12px !important; }
  .hs-form .hs-button { width: 100% !important; padding: 13px !important; font-size: .9rem !important; }

  /* Card body */
  .card-body { padding: 20px 18px; }

  /* Review cards */
  .review-card { padding: 20px 16px; }

  /* Blog cards */
  .blog-card .card-img { height: 180px; }

  /* Team photo */
  .team-photo { height: 220px; }

  /* FAQ */
  .faq-question { font-size: .9rem; }
  .faq-answer-inner { font-size: .9rem; }

  /* Accred bar */
  .accred-inner { gap: 12px; }
  .accred-badge { font-size: .8rem; padding: 5px 10px; }

  /* Article body */
  .article-body img { height: 200px; }
  .article-body p   { font-size: .97rem; }

  /* Map */
  .map-container { height: 220px; }

  /* Sidebar stacks */
  .article-sidebar { margin-top: 32px; }
  .sidebar-widget   { padding: 18px 16px; }
}

/* ── XS: max-width 480px ───────────────────────────────────── */
@media (max-width: 480px) {
  /* Base font smaller */
  html { font-size: 14px; }

  /* Container */
  .container { padding: 0 12px; }

  /* Prevent overflow */
  * { word-break: break-word; overflow-wrap: break-word; }

  /* Logo: compact on very small screens */
  .logo-name    { font-size: 1.1rem; }
  .logo-tagline { display: none; }

  /* Nav toggle bigger hit area */
  .nav-toggle { padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; }
  .nav-toggle span { width: 24px; }

  /* Hero */
  .hero { padding-top: 74px; padding-bottom: 40px; }
  .hero-title  { font-size: clamp(1.2rem, 6.5vw, 1.6rem); }
  .hero-desc   { font-size: .88rem; }
  .hero-ctas .btn { font-size: .85rem; padding: 11px 16px; }

  /* Form card */
  .hero-form-card { padding: 18px 14px 16px; border-radius: 10px; }
  .hero-form-card h3 { font-size: 1.1rem; }

  /* Stats numbers */
  .stat-number { font-size: 1.8rem; }
  .stat-label  { font-size: .78rem; }

  /* Headings */
  h1 { font-size: clamp(1.2rem, 7vw, 1.55rem); }
  h2 { font-size: clamp(1.05rem, 5.5vw, 1.35rem); }

  /* Sections */
  .section    { padding: 36px 0; }
  .section-lg { padding: 44px 0; }

  /* Footer */
  .footer-logo-name { font-size: 1.1rem; }
  .footer-col ul li a { font-size: .84rem; }
  .footer-bottom { font-size: .76rem; }

  /* Card */
  .card-body { padding: 16px 14px; }
  .card-img  { height: 180px; }

  /* Page hero */
  .page-hero { padding: 74px 0 32px; }
  .page-hero h1 { font-size: clamp(1.15rem, 7vw, 1.6rem); }

  /* Article */
  .article-body img { height: 160px; }
  .article-body h2  { font-size: 1.2rem; }

  /* Blog card title */
  .blog-card h3 { font-size: .98rem; }

  /* FAQ */
  .faq-question { font-size: .88rem; gap: 10px; }
  .faq-icon { width: 20px; height: 20px; font-size: .9rem; }

  /* Back-to-top */
  #back-to-top { width: 38px; height: 38px; bottom: 16px; right: 12px; font-size: .85rem; }

  /* Smooth scroll offset for very small headers */
  :target { scroll-margin-top: 80px; }

  /* Map */
  .map-container { height: 190px; }
}

/* ── Navigation overlay for mobile ────────────────────────── */
@media (max-width: 900px) {
  /* Full-width nav dropdown with overlay effect */
  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 20px;
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    transform: translateY(-110%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 999;
    gap: 0;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .main-nav.open {
    transform: translateY(0);
  }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.active {
    background: var(--light);
    color: var(--primary);
    padding-left: 32px;
  }
  /* Nav overlay backdrop */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 74px 0 0 0;
    background: rgba(0,0,0,.4);
    z-index: 998;
    backdrop-filter: blur(2px);
  }
  .nav-overlay.active { display: block; }

  /* Hamburger: larger hit area */
  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
  }
  .nav-toggle:hover { background: var(--light); }
  .nav-toggle span {
    width: 26px;
    height: 2.5px;
    border-radius: 2px;
  }
  /* Animated X */
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* Header CTA hidden */
  .header-cta { display: none; }
}

/* ── Hero section mobile overrides ────────────────────────── */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-text-col { order: 1; }
  .hero-form-col { order: 2; }
  .hero-bg-video { display: none; } /* hide video on mobile – use bg image fallback */
  .hero-scroll-indicator { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 84px 0 48px; }
  .hero-trust { gap: 8px; margin-top: 20px; }
  .trust-badge { font-size: .75rem; padding: 5px 9px; gap: 5px; }
  .hero-survey-picker { margin-bottom: 16px; }
}
@media (max-width: 480px) {
  .hero { padding: 74px 0 36px; }
  .hero-content { padding: 24px 0; }
}

/* ── Forms: iOS-friendly, accessible ──────────────────────── */
@media (max-width: 600px) {
  /* iOS zoom prevention: inputs ≥ 16px */
  input, select, textarea,
  .hfc-input,
  .hs-form .hs-input { font-size: 16px !important; }

  /* Full-width buttons */
  .hfc-btn { padding: 14px 16px; font-size: .9rem; }

  /* Native form labels */
  .hfc-field label { font-size: .82rem; }

  /* Contact form */
  .contact-form-wrap input,
  .contact-form-wrap select,
  .contact-form-wrap textarea { font-size: 16px; }
}

/* ── Blog grid responsive ──────────────────────────────────── */
@media (max-width: 968px) {
  /* Assuming blog uses .grid-3 */
  .blog-section .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .blog-section .grid-3 { grid-template-columns: 1fr; }
}

/* ── FAQ mobile padding ────────────────────────────────────── */
@media (max-width: 600px) {
  .faq-list { max-width: 100%; }
  .faq-question { padding: 14px 0; gap: 12px; }
  .faq-answer-inner { padding: 0 0 16px; }
}

/* ── CTA section mobile ────────────────────────────────────── */
@media (max-width: 600px) {
  .cta-section { text-align: center; }
  .cta-section .btn { width: 100%; max-width: 320px; margin: 0 auto; }
}

/* ── Areas & contact pages ─────────────────────────────────── */
@media (max-width: 600px) {
  .area-tags { gap: 8px; }
  .area-tag  { padding: 5px 12px; font-size: .8rem; }
  .contact-info-item { flex-direction: column; gap: 8px; }
  .contact-info-icon { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .contact-info-icon { display: none; }
}

/* ── Accreditations bar responsive ────────────────────────── */
@media (max-width: 768px) {
  .accred-inner { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .accred-item  { font-size: .82rem; }
  .accred-logo  { height: 32px; }
}
@media (max-width: 480px) {
  .accred-bar { padding: 20px 0; }
  .accred-badge { font-size: .75rem; padding: 4px 9px; }
}

/* ── Reviews carousel mobile ───────────────────────────────── */
@media (max-width: 600px) {
  .review-card { padding: 18px 14px; }
  .review-text { font-size: .88rem; }
}

/* ── Utility: hide on mobile ───────────────────────────────── */
@media (max-width: 600px) { .hide-mobile { display: none !important; } }
@media (min-width: 601px) { .show-mobile { display: none !important; } }
