/* ============================================================
   Wolverhampton Surveyors – Main Stylesheet
   wolverhamptonsurveyors.com
   WCAG 2.1 AA Compliant – Updated April 2026
   ============================================================ */

/* ---------- CSS Custom Properties (WCAG-compliant palette) ---------- */
:root {
  /* Brand colours */
  --primary:        #1a3a5c;   /* Deep navy – on white: 9.73:1 ✓ */
  --primary-dark:   #1a252f;   /* Dark navy #1a252f as requested */
  --primary-bg:     #0f2540;   /* Darkest navy for gradients */
  --accent:         #c8a951;   /* Gold – decorative only on dark bg */
  --accent-dark:    #a8882e;   /* Darker gold */

  /* WCAG-safe named tokens */
  --nav-bg:         #1a252f;   /* Navigation background */
  --nav-link:       #ffffff;   /* Nav links on dark: 21:1 ✓ */
  --nav-hover:      #ffd700;   /* Nav hover/active: 13.6:1 on #1a252f ✓ */

  --btn-primary-bg: #2c3e50;   /* Button primary bg as requested */
  --btn-primary-fg: #ffffff;   /* White text on #2c3e50: 8.59:1 ✓ */
  --btn-primary-hover: #1a252f;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-fg: #2c3e50;  /* Dark text on white: 8.59:1 ✓ */
  --btn-secondary-border: #2c3e50;

  --accent-blue:    #0066cc;   /* Links – on white: 4.63:1 ✓ */
  --accent-blue-hover: #004499;/* Hover – on white: 8.59:1 ✓ */
  --link-visited:   #551a8b;   /* Visited – on white: 7.0:1 ✓ */
  --focus-ring:     #ffd700;   /* Focus outline */

  /* Background / surface */
  --light:          #f7f9fc;
  --dark:           #111827;
  --white:          #ffffff;
  --border:         #cbd5e0;   /* Slightly darker border for 3:1 contrast ✓ */

  /* Text */
  --text:           #2d3748;   /* Body text on white: 10.4:1 ✓ */
  --text-light:     #4a5568;   /* Secondary text – 7.0:1 ✓ (was 6b7280 ≈ 4.6) */
  --text-muted:     #718096;   /* Placeholder / muted – 4.6:1 ✓ (large text only) */

  /* Status / alert colours (all with white text) */
  --success:        #047857;   /* Success green – on white: 5.74:1 ✓ */
  --success-dark:   #065f46;
  --warning:        #d97706;   /* Warning amber – on white: 3.02:1 (large text) */
  --error:          #dc2626;   /* Error red – on white: 4.65:1 ✓ */
  --info:           #0369a1;   /* Info blue – on white: 7.0:1 ✓ */

  /* Footer */
  --footer-bg:      #1a1a1a;
  --footer-text:    #e2e8f0;   /* on #1a1a1a: 14.1:1 ✓ */
  --footer-heading: #ffffff;
  --footer-link:    #90cdf4;   /* on #1a1a1a: 8.7:1 ✓ */
  --footer-link-hover: #ffffff;

  /* Spacing / shape */
  --radius:         8px;
  --radius-lg:      16px;
  --shadow:         0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:      0 8px 48px rgba(0,0,0,0.16);
  --transition:     0.3s ease;
  --font-main:      'Inter', sans-serif;
  --font-heading:   'Merriweather', serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

/* WCAG-compliant global link colours */
a {
  color: var(--accent-blue);
  text-decoration: underline;
  transition: color var(--transition);
}
a:hover  { color: var(--accent-blue-hover); }
a:visited { color: var(--link-visited); }
a:focus  {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Focused-only skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--focus-ring);
  color: #000;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

ul { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.3;
}

/* ---------- Focus Styles (WCAG 2.4.7 / 2.4.11) ---------- */
*:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 3px;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* ---------- Typography Scale ---------- */
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--text); }

/* ---------- Utility Classes ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 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(--primary-dark); }
.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ---------- Buttons (WCAG 1.4.3 + 1.4.11) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  min-height: 48px; /* touch target */
}
/* Primary button: #2c3e50 bg / white text – 8.59:1 ✓ */
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: var(--btn-primary-bg);
}
.btn-primary:hover {
  background: var(--btn-primary-hover);
  border-color: var(--btn-primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,37,47,0.35);
}
.btn-primary:visited { color: var(--white); }
/* Secondary button: white bg / dark text + dark border */
.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-fg);
  border: 2px solid var(--btn-secondary-border);
}
.btn-secondary:hover {
  background: var(--btn-primary-bg);
  color: var(--white);
  border-color: var(--btn-primary-bg);
  transform: translateY(-2px);
}
.btn-secondary:visited { color: var(--btn-secondary-fg); }
/* Outline (on dark backgrounds) */
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-outline:visited { color: var(--white); }
/* White button (on dark) */
.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-white:visited { color: var(--primary-dark); }
/* Accent / gold CTA */
.btn-accent {
  background: var(--accent);
  color: #1a252f;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 40px; font-size: 1.1rem; min-height: 56px; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; min-height: 40px; }

/* ---------- Alert / Notice Components ---------- */
.alert {
  padding: 14px 18px 14px 22px;
  border-radius: var(--radius);
  border-left: 5px solid transparent;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.alert-success { background: #d1fae5; border-left-color: var(--success); color: var(--success-dark); }
.alert-warning { background: #fef3c7; border-left-color: var(--warning); color: #92400e; }
.alert-error   { background: #fee2e2; border-left-color: var(--error); color: #991b1b; }
.alert-info    { background: #dbeafe; border-left-color: var(--info); color: #1e40af; }

/* ---------- Section Headers ---------- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
/* On dark backgrounds use lighter accent */
.bg-dark .section-label,
.bg-primary .section-label,
.cta-banner .section-label { color: var(--accent); }

.section-title { margin-bottom: 16px; }
.section-subtitle { color: var(--text-light); max-width: 640px; }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ============================================================
   NAVBAR — clean, single source of truth
   Desktop (≥ 901px): horizontal flex row, toggle hidden
   Mobile  (≤ 900px): toggle shown, nav hidden until .open
   ============================================================ */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--nav-bg);
  transition: box-shadow var(--transition);
}
#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ── Inner wrapper: [logo]  [nav items + CTA]  [toggle] ── */
.navbar-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 80px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

/* ── Logo — left side, never shrinks ── */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--nav-link);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;  /* pushes nav list to the right */
}
.navbar-logo:hover,
.navbar-logo:focus  { color: var(--nav-hover); text-decoration: none; }
.navbar-logo:visited { color: var(--nav-link); }

.logo-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ── Nav list — horizontal flex row on desktop ── */
.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

/* ── Nav list items — no bullets ── */
.navbar-nav li {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

/* ── Nav links ── */
.navbar-nav a {
  color: var(--nav-link);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--nav-hover);
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}
.navbar-nav a:visited { color: var(--nav-link); }

/* ── 'Get a Quote' CTA — extra left gap ── */
.navbar-nav li:last-child {
  margin-left: 12px;
}

/* ── Hamburger toggle — hidden on desktop ── */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: 2px solid transparent;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.navbar-toggle:focus-visible {
  outline: 3px solid var(--focus-ring);
}
.navbar-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease;
  transform-origin: center;
}

/* ── Desktop hard-lock (min-width: 901px) ── */
@media (min-width: 901px) {
  .navbar-toggle {
    display: none !important;
  }
  .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    border-top: none !important;
    align-items: center !important;
    gap: 2px !important;
  }
  .navbar-nav li {
    display: flex !important;
    flex-shrink: 0 !important;
    width: auto !important;
    border-bottom: none !important;
  }
  .navbar-nav a {
    display: flex !important;
    width: auto !important;
    padding: 8px 13px !important;
    font-size: 0.92rem !important;
    min-height: 44px !important;
    border-bottom: none !important;
  }
}

/* ── Mobile (≤ 900px): toggle shown, nav hidden until .open ── */
@media (max-width: 900px) {
  .navbar-inner {
    height: 68px;
  }
  .navbar-logo {
    margin-right: auto;
  }
  .navbar-toggle {
    display: flex !important;
    border-color: rgba(255,255,255,0.25);
    transition: border-color var(--transition), background var(--transition);
    z-index: 1001;
    position: relative;
    order: 3;
  }
  .navbar-toggle:hover {
    border-color: var(--nav-hover);
    background: rgba(255,255,255,0.06);
  }
  .navbar-nav {
    display: none !important;
    order: 4;
    flex-direction: column !important;
    position: fixed !important;
    top: 68px;
    left: 0; right: 0;
    background: var(--nav-bg) !important;
    padding: 12px 16px 24px !important;
    gap: 0 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 999;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .navbar-nav.open {
    display: flex !important;
    animation: navSlideDown 0.28s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
  }
  .navbar-nav li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-left: 0 !important;
  }
  .navbar-nav li:last-child {
    border-bottom: none;
    margin-left: 0 !important;
  }
  .navbar-nav a {
    display: flex !important;
    width: 100% !important;
    padding: 13px 16px !important;
    font-size: 1rem !important;
    min-height: 48px !important;
    justify-content: flex-start;
  }
  .navbar-nav li:last-child a {
    justify-content: center;
    margin-top: 8px;
  }
}

/* ---------- Hero (WCAG: dark overlay + white text) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-bg);
}

/* ── VIDEO BACKGROUND ────────────────────────────────────────── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* no opacity filter – overlay handles darkness */
}
/* WCAG overlay on top of video: ≥0.65 opacity */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1;
}

/* ── IMAGE SLIDER (mobile / no-video fallback) ───────────────── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* hidden by default on desktop when video is playing */
  opacity: 0;
  transition: opacity 0.4s;
}
.hero-slider.is-active {
  opacity: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1.0);
  animation: none;
}
.hero-slide--active {
  opacity: 1;
  animation: heroZoom 20s ease infinite alternate;
}
/* WCAG overlay on slider */
.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68); /* ≥ 0.65 as required */
  z-index: 1;
}
@keyframes heroZoom {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.08); }
}

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

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 100px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.hero-text {
  align-self: start;
  padding-top: 0;
  margin-top: 0;
}
/* Hero text: white on dark overlay – WCAG AAA ✓ */
.hero-text h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);  /* required */
}
.hero-text h1 span { color: var(--accent); }
.hero-text p {
  color: rgba(255,255,255,0.95);  /* upgraded from 0.85 */
  font-size: 1.15rem;
  margin-bottom: 32px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,215,0,0.5);
  border-radius: 40px;
  padding: 6px 14px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero-badge i { color: var(--focus-ring); }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
/* Hero form panel: white bg with dark text */
.hero-form-panel {
  background: rgba(255,255,255,0.98);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  align-self: start;
  margin-top: 0;
}
.hero-form-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--primary-dark);  /* #1a252f on white: 16.75:1 ✓ */
}
.hero-form-panel p {
  color: var(--text-light);   /* #4a5568 on white: 7.0:1 ✓ */
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--focus-ring);  /* #ffd700 on dark overlay: 12.6:1 ✓ */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.hero-stat .lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--nav-bg);
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
/* Trust items: white on #1a252f – 16.75:1 ✓ */
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-item i { color: var(--focus-ring); font-size: 1.2rem; }

/* ---------- Cards / Feature Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 60px; height: 60px;
  background: rgba(26,58,92,0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);    /* on rgba overlay: sufficient contrast ✓ */
  margin-bottom: 20px;
  transition: background var(--transition);
}
.card:hover .card-icon {
  background: var(--btn-primary-bg);
  color: var(--white);
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--primary-dark); }
.card p  { font-size: 0.95rem; color: var(--text-light); margin-bottom: 0; }
.card-accent { border-top: 4px solid var(--accent); }
/* Dark card variant */
.card-dark {
  background: var(--primary-dark);
  color: var(--footer-text);
  border-color: var(--primary);
}
.card-dark h3 { color: var(--white); }
.card-dark p  { color: var(--footer-text); }
.card-dark .card-icon { background: rgba(255,255,255,0.12); color: var(--focus-ring); }

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body { padding: 28px; }
.service-card-level {
  display: inline-block;
  background: rgba(168,136,46,0.15);
  color: #7a5e1a;   /* darkened for 4.5:1 on white bg */
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--primary-dark); }
.service-card p  { font-size: 0.93rem; color: var(--text-light); margin-bottom: 16px; }
.service-card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

/* ---------- Reviews / Testimonials ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--transition);
}
.review-card:hover { transform: translateY(-4px); }
.review-stars {
  color: #b45309;  /* amber on white: 4.52:1 ✓ (was #f59e0b: 2.0:1 ✗) */
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 0.9rem; color: var(--primary-dark); }
.review-location { font-size: 0.8rem; color: var(--text-light); }
.review-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--success);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Team Section ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card-img-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}
.team-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card-img-wrap img { transform: scale(1.05); }
.team-card-body { padding: 24px 20px; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; color: var(--primary-dark); }
.team-role { color: #7a5e1a; font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }  /* 4.62:1 ✓ */
.team-bio  { font-size: 0.9rem; color: var(--text-light); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary) 60%, #1e4d7a 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(200,169,81,0.08);
  pointer-events: none;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-banner h2 { color: var(--white); margin-bottom: 10px; text-shadow: 1px 1px 3px rgba(0,0,0,0.3); }
.cta-banner p  { color: rgba(255,255,255,0.9); margin-bottom: 0; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--white);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-dark);   /* #1a252f on white: 16.75:1 ✓ */
  transition: background var(--transition);
  user-select: none;
  gap: 16px;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { background: var(--light); }
.faq-question[aria-expanded="true"] { background: var(--light); color: var(--primary); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform var(--transition), background var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--accent);
  color: #1a252f;
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text);    /* #2d3748 on #f7f9fc: 10.4:1 ✓ */
  font-size: 0.95rem;
  line-height: 1.8;
  background: var(--light);
}
.faq-answer.open { display: block; }

/* ---------- Process Steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}
.step-num {
  width: 80px; height: 80px;
  background: var(--primary-dark);
  color: var(--focus-ring);   /* #ffd700 on #1a252f: 13.6:1 ✓ */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto 20px;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 6px var(--white);
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; color: var(--primary-dark); }
.process-step p  { font-size: 0.88rem; color: var(--text-light); }

/* ---------- Stats Counter ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.15);
}
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--focus-ring);  /* #ffd700 on dark bg: 13.6:1 ✓ */
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.9); }

/* ---------- Areas Grid ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.area-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  color: var(--text);      /* #2d3748 on white: 10.4:1 ✓ */
  text-decoration: none;
}
.area-item i { color: var(--accent-dark); }
.area-item:hover {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.area-item:hover i { color: var(--focus-ring); }
.area-item:visited { color: var(--text); }
.area-item:hover:visited { color: var(--white); }

/* ---------- Blog Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); text-decoration: none; }
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-wrap { overflow: hidden; height: 200px; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  display: inline-block;
  background: rgba(122,94,26,0.12);
  color: #7a5e1a;   /* darkened: 4.62:1 on white ✓ */
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; color: var(--primary-dark); }
.blog-card p  { font-size: 0.9rem; color: var(--text-light); flex: 1; margin-bottom: 16px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.blog-meta i { color: var(--accent-dark); }

/* ---------- Contact / Form Panel ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; color: var(--primary-dark); }
.contact-info p  { color: var(--text-light); margin-bottom: 28px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 48px; height: 48px;
  background: rgba(26,58,92,0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text h4 {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-detail-text p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0;
}
/* Form panel */
.form-panel {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}
.form-panel h3 { margin-bottom: 20px; font-size: 1.3rem; color: var(--primary-dark); }

/* Form inputs (WCAG 1.4.3 + 1.4.11) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color var(--transition);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent-blue);
  outline: 3px solid rgba(0,102,204,0.25);
  outline-offset: 0;
}
label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 0.92rem;
}

/* ---------- HubSpot Form Styling ---------- */
.hs-form-container { width: 100%; }
.hs-form-container .hs-form fieldset { max-width: 100% !important; }
.hs-form-container .hs-input {
  width: 100% !important;
  border-radius: var(--radius) !important;
  border: 2px solid var(--border) !important;
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
  background: var(--white) !important;
  color: var(--text) !important;
}
.hs-form-container .hs-input:focus {
  border-color: var(--accent-blue) !important;
  outline: 3px solid rgba(0,102,204,0.25) !important;
}
.hs-form-container .hs-button {
  background: var(--accent-blue) !important; /* #0066cc on white: 4.63:1 ✓ */
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  cursor: pointer !important;
  font-size: 1rem !important;
  min-height: 48px !important;
}
.hs-form-container .hs-button:hover {
  background: #0052a3 !important;
  color: var(--white) !important;
}

/* ---------- Footer (WCAG-compliant: #1a1a1a bg) ---------- */
footer {
  background: var(--footer-bg);    /* #1a1a1a */
  color: var(--footer-text);        /* #e2e8f0 – 14.1:1 ✓ */
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; margin-bottom: 20px; max-width: 320px; color: var(--footer-text); }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--footer-heading);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}
.footer-logo:hover { color: var(--footer-link); text-decoration: none; }
.footer-col h4 {
  color: var(--footer-heading);   /* white on #1a1a1a: 21:1 ✓ */
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--footer-link);    /* #90cdf4 on #1a1a1a: 8.7:1 ✓ */
  font-size: 0.9rem;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--footer-link-hover); text-decoration: underline; }
.footer-col ul li a:visited { color: var(--footer-link); }
.footer-accreditation {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.accreditation-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--focus-ring);   /* #ffd700 on dark: 13.6:1 ✓ */
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-bottom p { margin-bottom: 0; color: var(--footer-text); }
.footer-bottom-links {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.footer-bottom-links a {
  color: var(--footer-link);
  text-decoration: none;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
}
.footer-bottom-links a:hover { color: var(--footer-link-hover); text-decoration: underline; }

/* footer-legal — alias used in some blog pages */
.footer-legal {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.footer-legal a {
  color: var(--footer-link);
  text-decoration: none;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
}
.footer-legal a:hover { color: var(--footer-link-hover); text-decoration: underline; }

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary-bg), var(--primary));
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/wolverhampton-street.jpg') center/cover no-repeat;
  opacity: 0.12;
}
/* Extra dark overlay for text contrast */
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.page-header-content {
  position: relative;
  z-index: 2;
}
/* Ensure all direct container children sit above the ::after overlay */
.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.page-header p {
  color: rgba(255,255,255,0.92);
  font-size: 1.1rem;
  max-width: 600px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
/* Legal / simple page header — left-aligned layout */
.page-header--legal {
  padding: 130px 0 56px;
}
.page-header--legal .container {
  max-width: 1200px;
  width: 100%;
}
.page-header--legal p {
  max-width: 100%;
}

/* ---------- Legal Page Hero (Privacy / Terms) ---------- */
.legal-page-hero {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary) 100%);
  padding: 120px 0 56px;
  width: 100%;
  position: relative;
}
.legal-page-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.legal-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  margin-bottom: 18px;
}
.legal-hero-breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-hero-breadcrumb a:hover { color: var(--focus-ring); }
.legal-hero-breadcrumb span { color: rgba(255,255,255,0.55); }
.legal-page-hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 10px;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.35);
  line-height: 1.2;
}
.legal-hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin: 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: underline; }
.breadcrumb a:hover { color: var(--focus-ring); }
.breadcrumb span { color: var(--focus-ring); }

/* ---------- Legal Pages (Privacy Policy / Terms of Service) ---------- */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal-intro {
  font-size: 1.03rem;
  color: var(--text);
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--border);
}
.legal-toc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px 24px;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px rgba(26,58,92,0.08);
}
.legal-toc h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 16px 0;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  font-family: var(--font-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-toc h2::before {
  content: '\f02d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent);
  font-size: 1rem;
}
.legal-toc ol {
  list-style: decimal;
  margin: 0 0 0 18px;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}
.legal-toc ol li {
  margin-bottom: 8px;
  break-inside: avoid;
  padding-left: 2px;
}
.legal-toc ol li a {
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.legal-toc ol li a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}
@media (max-width: 580px) {
  .legal-toc ol { columns: 1; }
}
.legal-content section { margin-bottom: 40px; }
.legal-content h2 { font-size: 1.35rem; color: var(--primary-dark); margin-bottom: 14px; padding-top: 8px; border-top: 1px solid var(--border); }
.legal-content h3 { font-size: 1.05rem; color: var(--primary-dark); margin: 18px 0 8px; }
.legal-content p { font-size: 0.95rem; color: var(--text); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { list-style: disc; margin-left: 22px; margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 6px; font-size: 0.95rem; }
.legal-content address { font-style: normal; line-height: 1.9; font-size: 0.95rem; color: var(--text); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.legal-table th { background: var(--primary-dark); color: var(--white); padding: 10px 14px; text-align: left; }
.legal-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); color: var(--text); }
.legal-table tr:nth-child(even) td { background: var(--light); }
.cookies-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }

/* ---------- Map & Image Sections ---------- */
.image-section {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.image-section img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-grid.reversed { direction: rtl; }
.split-grid.reversed > * { direction: ltr; }
.split-text .section-label { display: block; }
.split-text h2 { margin-bottom: 16px; }
.split-text p  { margin-bottom: 16px; }
.check-list { margin: 20px 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.check-list li i { color: var(--success); margin-top: 4px; flex-shrink: 0; }

/* ---------- Blog Single Page ---------- */
.blog-single-hero {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
  box-shadow: var(--shadow-lg);
}
.blog-content {
  max-width: 780px;
  margin: 0 auto;
}
.blog-content h2 { margin: 36px 0 16px; color: var(--primary-dark); }
.blog-content h3 { margin: 28px 0 12px; color: var(--primary-dark); }
.blog-content p  { margin-bottom: 18px; color: var(--text); }
.blog-content ul, .blog-content ol {
  margin: 16px 0 20px 24px;
  list-style: disc;
}
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 8px; font-size: 0.97rem; color: var(--text); }
.blog-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--light);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--text);    /* #2d3748 on #f7f9fc: 10.4:1 ✓ */
}
.blog-content img {
  border-radius: var(--radius-lg);
  margin: 28px 0;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}
.blog-content a { color: var(--accent-blue); text-decoration: underline; }
.blog-content a:hover { color: var(--accent-blue-hover); }
.blog-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 36px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.blog-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
}
.share-fb  { background: #1877f2; color: #fff; }
.share-tw  { background: #1da1f2; color: #fff; }
.share-li  { background: #0077b5; color: #fff; }
.share-wa  { background: #25d366; color: #fff; }
.blog-share a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-author-box {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 36px 0;
  border: 1px solid var(--border);
}
.blog-author-img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.blog-author-name { font-weight: 700; margin-bottom: 4px; color: var(--primary-dark); }
.blog-author-role { font-size: 0.82rem; color: #7a5e1a; font-weight: 700; margin-bottom: 8px; }
.blog-author-bio  { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 4px;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fade-in.visible { opacity: 1; }
.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-image-bg { animation: none; }
  .fade-up, .fade-in, .slide-left, .slide-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--nav-bg);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--focus-ring); }
.cookie-accept {
  background: var(--accent);
  color: #1a252f;
  border: none;
  border-radius: var(--radius);
  padding: 9px 22px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
}
.cookie-accept:hover { background: var(--accent-dark); color: var(--white); }

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

/* ---------- Tab Component ---------- */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  border-radius: var(--radius) var(--radius) 0 0;
  min-height: 44px;
}
.tab-btn:hover { color: var(--primary); background: var(--light); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Survey Comparison Table ---------- */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.comparison-table th {
  background: var(--primary-dark);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
}
.comparison-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: var(--text); }
.comparison-table tr:nth-child(even) td { background: var(--light); }
.comparison-table tr:hover td { background: rgba(122,94,26,0.06); }
.tick { color: var(--success); font-size: 1.1rem; }
.cross { color: var(--error); font-size: 1.1rem; }

/* ============================================================
   RESPONSIVE BREAKPOINTS — Mobile-First
   xs  ≤ 480px  (mobile portrait  – iPhone SE, Galaxy S21)
   sm  ≤ 600px  (mobile landscape – large phones)
   md  ≤ 768px  (tablets          – iPad Mini)
   lg  ≤ 968px  (small laptops    – tablet landscape)
   xl  ≤ 1200px (laptops          – 1366px screens)
   xxl ≥ 1400px (large desktops   – 1920px screens)
   ============================================================ */

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

/* ── Smooth scroll (already on html; reinforced here) ──────── */
html { scroll-behavior: smooth; }

/* ── Responsive images ─────────────────────────────────────── */
img, video, iframe, embed, object {
  max-width: 100%;
}

/* ── Grid utility classes ──────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ── Feature grid (used on About / Services pages) ─────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-item { text-align: left; }

/* ─────────────────────────────────────────────────────────────
   XXL: Large desktops (≥ 1400px)
───────────────────────────────────────────────────────────── */
@media (min-width: 1400px) {
  .container      { max-width: 1320px; }
  .hero-grid      { gap: 72px; }
  h1              { font-size: 3.4rem; }
  h2              { font-size: 2.5rem; }
  .section        { padding: 96px 0; }
}

/* ─────────────────────────────────────────────────────────────
   XL: Laptops (≤ 1200px)
───────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .container      { max-width: 100%; padding: 0 28px; }
  .footer-grid    { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
  .hero-grid      { gap: 36px; }
}

/* ─────────────────────────────────────────────────────────────
   LG: Tablets landscape / small laptops (≤ 968px)
───────────────────────────────────────────────────────────── */
@media (max-width: 968px) {

  /* ── Layout ── */
  .section                { padding: 64px 0; }
  .section-sm             { padding: 44px 0; }
  .section-header         { margin-bottom: 40px; }

  /* ── Hero: single-column, centred ── */
  .hero-grid              { grid-template-columns: 1fr; gap: 32px; }
  .hero-form-panel        { max-width: 500px; margin: 0 auto; width: 100%; }
  .hero-text              { text-align: center; }
  .hero-badges            { justify-content: center; }
  .hero-buttons           { justify-content: center; }
  .hero-stats             { justify-content: center; gap: 24px; }
  .hero-content           { padding: 110px 0 64px; }

  /* ── Grids ── */
  .grid-3                 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .split-grid             { grid-template-columns: 1fr; gap: 40px; }
  .split-grid.reversed    { direction: ltr; }
  .contact-grid           { grid-template-columns: 1fr; gap: 36px; }
  .cards-grid             { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .blog-grid              { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .team-grid              { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .reviews-grid           { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .areas-grid             { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stats-grid             { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .feature-grid           { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* ── Process ── */
  .process-steps          { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before  { display: none; }

  /* ── Footer: 2-column ── */
  .footer-grid            { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  /* ── Services page ── */
  .service-detail-grid    { grid-template-columns: 1fr; }

  /* ── Blog layout: sidebar stacks ── */
  .blog-layout            { display: block; }
  .blog-sidebar           {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .blog-sidebar .sidebar-widget { break-inside: avoid; }
  .blog-sidebar .cta-widget     { grid-column: 1 / -1; }
}

/* ─────────────────────────────────────────────────────────────
   MD: Tablets / phablets (≤ 768px)
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* ── Base font ── */
  html { font-size: 15px; }

  /* ── Fluid typography ── */
  h1              { font-size: 1.9rem;  line-height: 1.25; }
  h2              { font-size: 1.55rem; }
  h3              { font-size: 1.25rem; }
  .section-header h2 { font-size: 1.55rem; }
  .section-header p  { font-size: 0.97rem; }
  .lead           { font-size: 1.05rem; }

  /* ── Spacing ── */
  .section        { padding: 52px 0; }
  .section-sm     { padding: 36px 0; }
  .container      { padding: 0 20px; }
  .section-header { margin-bottom: 32px; }

  /* ── Navigation ── */
  .navbar-inner   { height: 68px; padding: 0 16px; }

  /* ── Hero ── */
  .hero-content           { padding: 96px 0 56px; }
  .hero-text h1           { font-size: 2rem; }
  .hero-text p            { font-size: 1rem; margin-bottom: 24px; }
  .hero-badges            { gap: 8px; }
  .hero-badge             { font-size: 0.8rem; padding: 5px 12px; }
  .hero-stats             { flex-wrap: wrap; gap: 16px; margin-top: 28px; }
  .hero-stat .num         { font-size: 1.8rem; }
  .hero-stat .lbl         { font-size: 0.75rem; }
  .hero-buttons           { gap: 10px; }
  /* ── Hero video: hide on tablets, activate slider instead ── */
  .hero-video-bg          { display: none; }
  .hero-slider            { opacity: 1; } /* always show slider on tablet/mobile */

  /* ── Grids ── */
  .grid-2         { grid-template-columns: 1fr; gap: 20px; }
  .cards-grid     { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .blog-grid      { grid-template-columns: 1fr; gap: 20px; }
  .reviews-grid   { grid-template-columns: 1fr; gap: 16px; }
  .team-grid      { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .areas-grid     { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process-steps  { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .feature-grid   { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* ── Feature items centred ── */
  .feature-item   { text-align: center; }

  /* ── CTA Banner ── */
  .cta-banner-inner       { flex-direction: column; text-align: center; gap: 24px; }
  .cta-banner-actions     { justify-content: center; flex-wrap: wrap; gap: 10px; }
  .cta-banner h2          { font-size: 1.5rem; }
  .cta-banner p           { font-size: 1rem; }

  /* ── Footer ── */
  .footer-grid            { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom          { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom-links    { justify-content: center; }
  .footer-brand p         { max-width: 100%; }

  /* ── Contact – reorder: form first on mobile ── */
  .contact-info   { order: 2; }
  .form-panel     { order: 1; padding: 28px 24px; }
  .contact-grid   { gap: 28px; }

  /* ── Forms: prevent iOS auto-zoom (≥ 16px required) ── */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select          { font-size: 16px; }
  label           { font-size: 0.9rem; }

  /* ── HubSpot ── */
  .hs-form-container .hs-input   { font-size: 16px !important; }
  .hs-form-container .hs-button  { width: 100% !important; }

  /* ── Tables ── */
  .comparison-table-wrapper,
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table { min-width: 480px; }
  .comparison-table th,
  .comparison-table td { padding: 10px 12px; font-size: 0.87rem; }

  /* ── Blog ── */
  .blog-sidebar   { order: 2; }
  article.blog-post { order: 1; }

  /* ── Page header ── */
  .page-header    { padding: 100px 0 48px; }
  .page-header h1 { font-size: 1.8rem; }
  .breadcrumb     { font-size: 0.8rem; flex-wrap: wrap; }

  /* ── Split grid image ── */
  .split-grid .image-section { height: 280px; }

  /* ── Trust bar ── */
  .trust-bar-inner { gap: 16px; justify-content: flex-start; }
  .trust-item      { font-size: 0.85rem; }
}

/* ─────────────────────────────────────────────────────────────
   SM: Mobile landscape / large phones (≤ 600px)
───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {

  /* ── Fluid typography ── */
  h1              { font-size: 1.5rem;  line-height: 1.2; }
  h2              { font-size: 1.35rem; }
  h3              { font-size: 1.15rem; }
  p               { font-size: 0.95rem; }
  .section-header h2 { font-size: 1.35rem; }
  .lead           { font-size: 1rem; }

  /* ── Spacing ── */
  .section        { padding: 44px 0; }
  .section-sm     { padding: 32px 0; }
  .container      { padding: 0 16px; }
  .section-header { margin-bottom: 28px; }

  /* ── Hero ── */
  .hero-content           { padding: 2rem 1rem; padding-top: 88px; }
  .hero-text h1           { font-size: 1.5rem; }
  .hero-text p            { font-size: 0.9rem; }
  .hero-form-panel        { padding: 1.25rem; max-width: 100%; border-radius: var(--radius); }
  .hero-form-panel h3     { font-size: 1.1rem; }
  .hero-form-panel p      { font-size: 0.85rem; margin-bottom: 14px; }
  .hero-badges            { gap: 6px; flex-wrap: wrap; }
  .hero-badge             { font-size: 0.75rem; padding: 4px 10px; }
  .hero-buttons           { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-buttons .btn      { width: 100%; max-width: 100%; justify-content: center; }
  .hero-stats             { gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
  .hero-stat .num         { font-size: 1.6rem; }
  .hero-stat .lbl         { font-size: 0.72rem; }

  /* ── Grids ── */
  .grid-3         { grid-template-columns: 1fr; gap: 14px; }
  .cards-grid     { grid-template-columns: 1fr; gap: 14px; }
  .team-grid      { grid-template-columns: 1fr; gap: 20px; }
  .areas-grid     { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .process-steps  { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid   { grid-template-columns: 1fr; gap: 14px; }
  .feature-item   { text-align: center; }

  /* ── Cards ── */
  .card           { padding: 24px 20px; }
  .card-icon      { width: 52px; height: 52px; font-size: 1.4rem; }

  /* ── Service cards ── */
  .service-card-img   { height: 180px; }
  .service-card-body  { padding: 20px 18px; }
  .service-card h3    { font-size: 1rem; }
  .service-card p     { font-size: 0.88rem; }

  /* ── Buttons: full-width on mobile ── */
  .btn            { display: block; width: 100%; min-height: 44px;
                    padding: 0.75rem 1.5rem; text-align: center;
                    justify-content: center; }
  .btn-sm         { display: inline-flex; width: auto; }
  .cta-buttons,
  .hero-buttons,
  .cta-banner-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-buttons .btn,
  .cta-banner-actions .btn { width: 100%; justify-content: center; }

  /* ── FAQ ── */
  .faq-list       { margin: 0; }
  .faq-question   { padding: 14px 16px; font-size: 0.92rem; line-height: 1.45; gap: 12px; }
  .faq-answer     { padding: 0 16px 16px; font-size: 0.92rem; line-height: 1.7; }
  .faq-icon       { width: 24px; height: 24px; font-size: 0.8rem; }
  .faq-item       { margin-bottom: 10px; }

  /* ── Footer: single column, centred ── */
  .footer-grid    { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .footer-accreditation { justify-content: center; }
  .footer-col h4  { margin-bottom: 14px; }
  .footer-col ul li { margin-bottom: 8px; }

  /* ── Forms ── */
  .form-panel     { padding: 1.25rem; }
  .hero-form-panel { margin: 0; }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select          { padding: 0.6rem 0.9rem; font-size: 16px; }
  label           { font-size: 0.9rem; }

  /* ── HubSpot ── */
  .hs-form-container .hs-input  { padding: 0.6rem 0.9rem !important; font-size: 16px !important; }
  .hs-form-container .hs-button { padding: 0.75rem 1rem !important; font-size: 1rem !important;
                                   width: 100% !important; }
  .hs-form-field                { margin-bottom: 0.75rem !important; }

  /* ── Stats ── */
  .stat-item      { padding: 24px 16px; }
  .stat-num       { font-size: 2.4rem; }

  /* ── Blog cards ── */
  .blog-card-body { padding: 18px; }
  .blog-card h3   { font-size: 1rem; }
  .blog-grid      { grid-template-columns: 1fr; gap: 16px; }
  .blog-sidebar   { grid-template-columns: 1fr; gap: 16px; }
  .blog-sidebar .cta-widget { grid-column: auto; }

  /* ── Blog article ── */
  .blog-single-hero         { height: 220px; margin-bottom: 24px; }
  .blog-content h1          { font-size: 1.5rem; line-height: 1.25; }
  .blog-content h2          { font-size: 1.25rem; margin: 24px 0 12px; }
  .blog-content h3          { font-size: 1.1rem;  margin: 20px 0 10px; }
  .blog-content p           { font-size: 0.93rem; }
  .blog-author-box          { flex-direction: column; gap: 14px; padding: 20px; }
  .blog-author-img          { width: 64px; height: 64px; }

  /* ── Page header ── */
  .page-header    { padding: 90px 0 40px; }
  .page-header h1 { font-size: 1.55rem; }
  .page-header p  { font-size: 0.95rem; }

  /* ── CTA section ── */
  .cta-banner.section { padding: 44px 0; }
  .cta-banner h2  { font-size: 1.35rem; }
  .cta-banner p   { font-size: 0.95rem; }

  /* ── Trust bar ── */
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* ── Table scrolling ── */
  table           { display: block; overflow-x: auto;
                    -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .comparison-table { min-width: 400px; font-size: 0.82rem; }
}

/* ─────────────────────────────────────────────────────────────
   XS: Mobile portrait (≤ 480px)
   Targets: iPhone SE 375px, Galaxy S21 360px
───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* ── Base font: scale down to 14px ── */
  html { font-size: 14px; }

  /* ── Fluid typography ── */
  h1              { font-size: 1.25rem; line-height: 1.2; }
  h2              { font-size: 1.2rem; }
  h3              { font-size: 1.1rem; }
  p               { font-size: 0.95rem; line-height: 1.65; }
  .section-header h2 { font-size: 1.2rem; }

  /* ── Spacing ── */
  .section        { padding: 36px 0; }
  .section-sm     { padding: 28px 0; }
  .container      { padding: 0 14px; }
  .section-header { margin-bottom: 24px; }

  /* ── Nav ── */
  .navbar-inner   { height: 60px; padding: 0 14px; }
  .navbar-logo    { font-size: 1rem; gap: 8px; }
  .logo-icon      { width: 38px; height: 38px; font-size: 1.2rem; }

  /* ── Hero ── */
  .hero-content           { padding: 80px 0 40px; }
  .hero-text h1           { font-size: 1.25rem; }
  .hero-text p            { font-size: 0.9rem; }
  .hero-form-panel        { padding: 1.25rem 1rem; border-radius: var(--radius); }
  .hero-form-panel h3     { font-size: 1.1rem; }
  .hero-form-panel p      { font-size: 0.85rem; }
  .hero-stats             { gap: 8px; flex-wrap: wrap; justify-content: center; }
  .hero-stat              { min-width: 80px; }
  .hero-stat .num         { font-size: 1.45rem; }
  .hero-stat .lbl         { font-size: 0.7rem; }
  .hero-badge             { font-size: 0.72rem; padding: 4px 8px; }

  /* ── Inputs: tighter padding ── */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select          { padding: 0.6rem 0.75rem; font-size: 16px; }

  /* ── Buttons ── */
  .btn            { padding: 0.7rem 1rem; font-size: 0.9rem; min-height: 44px; }
  .btn-lg         { padding: 0.85rem 1.25rem; font-size: 0.95rem; min-height: 44px; }

  /* ── Grids ── */
  .cards-grid     { grid-template-columns: 1fr; }
  .reviews-grid   { grid-template-columns: 1fr; }
  .blog-grid      { grid-template-columns: 1fr; }
  .areas-grid     { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stats-grid     { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-grid      { grid-template-columns: 1fr; }
  .process-steps  { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid   { grid-template-columns: 1fr; gap: 12px; }

  /* ── Stat ── */
  .stat-item      { padding: 20px 12px; }
  .stat-num       { font-size: 2.1rem; }
  .stat-label     { font-size: 0.82rem; }

  /* ── Step numbers ── */
  .step-num       { width: 64px; height: 64px; font-size: 1.3rem; }

  /* ── Area items ── */
  .area-item      { padding: 12px 14px; font-size: 0.88rem; }

  /* ── Blog ── */
  .blog-single-hero       { height: 185px; border-radius: var(--radius); }
  .blog-card-body         { padding: 16px; }
  .blog-content h1        { font-size: 1.25rem; }
  .blog-content h2        { font-size: 1.1rem; }

  /* ── Breadcrumb: hidden at XS ── */
  .breadcrumb     { display: none; }

  /* ── Page header ── */
  .page-header    { padding: 80px 0 32px; }
  .page-header h1 { font-size: 1.4rem; }
  .page-header p  { font-size: 0.9rem; max-width: 100%; }

  /* ── Cards compact ── */
  .card           { padding: 20px 16px; }
  .card-icon      { width: 48px; height: 48px; font-size: 1.3rem; margin-bottom: 14px; }
  .card h3        { font-size: 1rem; }

  /* ── Service card ── */
  .service-card-img   { height: 160px; }
  .service-card-body  { padding: 16px; }
  .service-card h3    { font-size: 1rem; }

  /* ── Team card ── */
  .team-card-img-wrap { height: 240px; }

  /* ── Back to top ── */
  .back-to-top    { bottom: 16px; right: 16px; width: 42px; height: 42px; }

  /* ── Cookie banner ── */
  .cookie-banner  { flex-direction: column; text-align: center; padding: 14px 16px; gap: 10px; }
  .cookie-accept  { width: 100%; }

  /* ── Footer ── */
  .footer-grid    { gap: 16px; }
  footer          { padding: 48px 0 0; }
  .footer-bottom  { gap: 8px; font-size: 0.78rem; }

  /* ── FAQ ── */
  .faq-question   { padding: 12px 14px; font-size: 0.9rem; }
  .faq-answer     { padding: 0 14px 14px; font-size: 0.9rem; }

  /* ── Review card ── */
  .review-card    { padding: 20px 18px; }

  /* ── Blog author box ── */
  .blog-author-box { padding: 16px; }

  /* ── Comparison table ── */
  .comparison-table     { font-size: 0.78rem; }
  .comparison-table th,
  .comparison-table td  { padding: 8px 10px; }

  /* ── Blog sidebar ── */
  .blog-sidebar .sidebar-widget { padding: 18px 16px; }
}

/* ── Animated hamburger → X ── */
.navbar-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.navbar-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Background overlay behind open mobile nav ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  cursor: pointer;
}
.nav-overlay.active { display: block; }

/* ─────────────────────────────────────────────────────────────
   BLOG ARTICLE LAYOUT
───────────────────────────────────────────────────────────── */
@media (max-width: 968px) {
  .blog-layout    { display: block; }
  .blog-sidebar   {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .blog-sidebar .sidebar-widget { break-inside: avoid; }
  .blog-sidebar .cta-widget     { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .blog-sidebar   { grid-template-columns: 1fr; gap: 16px; }
  .blog-sidebar .cta-widget { grid-column: auto; }
}

/* ─────────────────────────────────────────────────────────────
   PRINT STYLES
───────────────────────────────────────────────────────────── */
@media print {
  #navbar, .cookie-banner, .back-to-top,
  .hero-video-bg, .hero-slider, .hero-particles, .hero-slider-dots,
  .nav-overlay, .navbar-toggle { display: none !important; }
  body    { font-size: 12pt; color: #000; }
  .hero   { min-height: auto; padding: 40px 0; background: #1a3a5c !important; }
  .hero-content { z-index: 1; }
  a       { color: #000; text-decoration: underline; }
  .blog-sidebar { display: none; }
  .section { padding: 24pt 0; }
  .card, .blog-card, .review-card { break-inside: avoid; }
}
