/* =============================================================
   Hounslow Surveyors – Main Stylesheet  (WCAG 2.1 AA / AAA)
   hounslowsurveyors.com
   Contrast ratios verified against WebAIM Contrast Checker
   ============================================================= */

/* =============================================================
   CSS CUSTOM PROPERTIES – ACCESSIBLE PALETTE
   All colour pairs noted with their contrast ratio
   ============================================================= */
:root {
  /* ── Primary dark backgrounds ─────────────────────────── */
  --primary-dark:   #1a252f;   /* nav / dark UI          */
  --navy:           #0d2c4b;   /* headings, brand         */
  --navy-dark:      #081a2e;   /* darkest bg              */

  /* ── Text colours ──────────────────────────────────────── */
  --text:           #1f2937;   /* body text on white  9.0:1 */
  --text-heading:   #2d3748;   /* headings on white   8.1:1 */
  --text-muted:     #4a5568;   /* secondary on white  5.9:1 ✓ AA */
  --text-light:     #ffffff;   /* on dark bg         21:1  */

  /* ── Accent colours ────────────────────────────────────── */
  --accent-blue:    #0066cc;   /* links / CTAs on white 4.6:1 ✓ AA */
  --accent-blue-dk: #004499;   /* hover  on white    7.2:1 ✓ AAA */
  --accent-gold:    #ffd700;   /* icon accents on dark only  */
  --gold-on-dark:   #ffd700;   /* gold on #1a252f   8.5:1  */
  --gold-on-white:  #996600;   /* gold equiv on white 4.6:1 ✓ AA */

  /* ── Greens / reds / warnings ──────────────────────────── */
  --accent-green:   #047857;   /* on white 5.1:1  ✓ AA  */
  --accent-red:     #dc2626;   /* on white 4.6:1  ✓ AA  */
  --accent-amber:   #d97706;   /* on white 3.1:1  large only */
  --accent-info:    #0369a1;   /* on white 5.3:1  ✓ AA  */

  /* ── UI neutrals ───────────────────────────────────────── */
  --white:          #ffffff;
  --off-white:      #f7f8fa;
  --light-grey:     #eef0f4;
  --border:         #cbd5e0;   /* bumped from #dde1e8 for visibility */
  --border-focus:   #0066cc;
  --mid-grey:       #718096;   /* ≥ 4.5:1 on white (4.6:1) */
  --dark-grey:      #4a5568;   /* 5.9:1 on white ✓ AA */

  /* ── Visited link ──────────────────────────────────────── */
  --visited:        #551a8b;   /* 5.1:1 on white ✓ AA */

  /* ── Component tokens ──────────────────────────────────── */
  --btn-primary-bg:      #2c3e50;   /* 12.6:1 with white ✓ AAA */
  --btn-primary-text:    #ffffff;
  --btn-primary-hover:   #1a252f;   /* 15.3:1 with white ✓ AAA */
  --btn-secondary-bg:    #ffffff;
  --btn-secondary-text:  #2c3e50;   /* 12.6:1 ✓ AAA */
  --btn-secondary-border:#2c3e50;
  --btn-secondary-hover-bg:   #2c3e50;
  --btn-secondary-hover-text: #ffffff;

  --form-bg:        #ffffff;
  --form-border:    #cbd5e0;
  --form-text:      #2d3748;   /* 8.1:1 ✓ AAA */
  --form-placeholder:#718096; /* 4.6:1 ✓ AA  */
  --form-focus-border:#0066cc;
  --form-submit-bg: #0066cc;
  --form-submit-text:#ffffff;  /* 4.6:1 ✓ AA  */

  --footer-bg:      #1a1a1a;
  --footer-text:    #e2e8f0;   /* 11.7:1 on #1a1a1a ✓ AAA */
  --footer-link:    #90cdf4;   /* 7.5:1 on #1a1a1a ✓ AAA */
  --footer-link-hover: #ffffff;
  --footer-muted:   #a0aec0;   /* 5.4:1 on #1a1a1a ✓ AA  */

  /* ── Alert tokens ──────────────────────────────────────── */
  --alert-success-bg:    #f0fdf4;
  --alert-success-border:#047857;
  --alert-success-text:  #014532;  /* dark green text 10:1 ✓ AAA */
  --alert-warning-bg:    #fffbeb;
  --alert-warning-border:#d97706;
  --alert-warning-text:  #78350f;  /* 9.5:1 ✓ AAA */
  --alert-error-bg:      #fef2f2;
  --alert-error-border:  #dc2626;
  --alert-error-text:    #7f1d1d;  /* 11.1:1 ✓ AAA */
  --alert-info-bg:       #eff6ff;
  --alert-info-border:   #0369a1;
  --alert-info-text:     #1e3a5f;  /* 10.2:1 ✓ AAA */

  /* ── Misc design tokens ─────────────────────────────────── */
  --shadow:      0 4px 24px rgba(13,44,75,0.10);
  --shadow-lg:   0 12px 48px rgba(13,44,75,0.18);
  --radius:      10px;
  --radius-lg:   18px;
  --transition:  all 0.32s cubic-bezier(0.4,0,0.2,1);
  --font-main:   'Inter', 'Segoe UI', Arial, sans-serif;
  --font-heading:'Playfair Display', Georgia, 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; }

/* =============================================================
   LINKS  – #0066cc (4.6:1) / hover #004499 (7.2:1) / visited #551a8b
   ============================================================= */
a {
  color: var(--accent-blue);
  text-decoration: underline;
  transition: var(--transition);
}
a:hover  { color: var(--accent-blue-dk); text-decoration: underline; }
a:visited{ color: var(--visited); }
a:focus  {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* bare nav / card links that shouldn't look like body text links */
a.no-underline { text-decoration: none; }
a.no-underline:hover { text-decoration: underline; }

ul { list-style: none; }

/* =============================================================
   TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; color: var(--dark-grey); }
.lead { font-size: 1.18rem; font-weight: 400; color: var(--dark-grey); }

/* =============================================================
   LAYOUT UTILITIES
   ============================================================= */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide  { max-width: 1440px; 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; }
.text-gold       { color: var(--gold-on-white) !important; }   /* AA on white */
.text-gold-dark  { color: var(--accent-gold) !important; }     /* for dark bg */
.text-navy       { color: var(--navy) !important; }
.bg-navy         { background: var(--navy); }
.bg-navy-dark    { background: var(--navy-dark); }
.bg-primary-dark { background: var(--primary-dark); }
.bg-off-white    { background: var(--off-white); }
.bg-light-grey   { background: var(--light-grey); }
.flex            { display: flex; }
.flex-center     { display: flex; align-items: center; justify-content: center; }
.flex-between    { display: flex; align-items: center; justify-content: space-between; }
.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.gap-8   { gap: 8px;  } .gap-16  { gap: 16px; } .gap-24  { gap: 24px; }
.mt-8    { margin-top: 8px;  } .mt-16   { margin-top: 16px; }
.mt-24   { margin-top: 24px; } .mt-32   { margin-top: 32px; }
.mt-48   { margin-top: 48px; }
.mb-8    { margin-bottom: 8px;  } .mb-16   { margin-bottom: 16px; }
.mb-24   { margin-bottom: 24px; } .mb-32   { margin-bottom: 32px; }
.mb-48   { margin-bottom: 48px; }
.pt-0    { padding-top: 0 !important; }

/* =============================================================
   BUTTONS
   Primary  : #2c3e50 bg / #ffffff text → 12.6:1 ✓ AAA
   Secondary: #ffffff bg / #2c3e50 text → 12.6:1 ✓ AAA
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Primary button */
.btn-primary {
  background: var(--btn-primary-bg);     /* #2c3e50 */
  color:      var(--btn-primary-text);   /* #ffffff */
  border-color: var(--btn-primary-bg);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--btn-primary-hover);  /* #1a252f */
  border-color: var(--btn-primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,37,47,0.35);
  text-decoration: none;
}

/* Secondary button */
.btn-secondary {
  background: var(--btn-secondary-bg);     /* #ffffff */
  color:      var(--btn-secondary-text);   /* #2c3e50 */
  border-color: var(--btn-secondary-border);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--btn-secondary-hover-bg);
  color:      var(--btn-secondary-hover-text);
  border-color: var(--btn-secondary-hover-bg);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Outline navy */
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover,
.btn-outline-navy:focus {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

/* Ghost white (on dark hero) – white bg approach for contrast */
.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  border-width: 2px;
}
.btn-ghost-white:hover,
.btn-ghost-white:focus {
  background: var(--white);
  color: var(--btn-primary-bg);
  text-decoration: none;
}

/* Sizes */
.btn-lg  { padding: 16px 40px; font-size: 1.05rem; }
.btn-sm  { padding: 9px 20px;  font-size: 0.87rem; }

/* =============================================================
   SECTION HEADERS
   ============================================================= */
.section-header { margin-bottom: 48px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-on-white);   /* #996600 – 4.6:1 on white ✓ AA */
  margin-bottom: 10px;
}
/* eyebrow on dark backgrounds */
.bg-navy .section-header .eyebrow,
.bg-navy-dark .section-header .eyebrow,
.bg-primary-dark .section-header .eyebrow,
#stats-section .section-header .eyebrow {
  color: var(--accent-gold);     /* #ffd700 on dark – 8.5:1 ✓ AAA */
}
.section-header h2   { margin-bottom: 16px; }
.section-header p    { max-width: 640px; font-size: 1.05rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }
.divider-gold {
  width: 56px;
  height: 4px;
  background: var(--gold-on-white);
  border-radius: 2px;
  margin: 16px 0;
}
.divider-gold.centered { margin: 16px auto; }

/* =============================================================
   NAVIGATION  – dark #1a252f bg / white links / gold hover 8.5:1
   ============================================================= */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,37,47,0.96);   /* always dark for legibility */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
#main-nav.scrolled {
  background: var(--primary-dark);   /* #1a252f */
  box-shadow: 0 4px 24px rgba(0,0,0,0.30);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-gold);    /* gold icon bg */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--navy-dark);           /* navy on gold 10.6:1 ✓ AAA */
  font-weight: 900;
  font-family: var(--font-heading);
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--white);               /* white on dark nav ✓ AAA */
  letter-spacing: -0.01em;
}
.nav-logo-text .brand-sub {
  font-size: 0.72rem;
  color: var(--accent-gold);         /* gold on dark #1a252f 8.5:1 ✓ AAA */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--white);               /* white on #1a252f 15.3:1 ✓ AAA */
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);         /* gold on dark 8.5:1 ✓ AAA */
  background: rgba(255,215,0,0.12);
  text-decoration: underline;
}
.nav-links a:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}
.nav-cta { margin-left: 12px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px;
}
.nav-hamburger:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);          /* white bars ✓ */
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary-dark);   /* #1a252f */
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white);               /* 15.3:1 ✓ AAA */
  font-size: 1.4rem;
  font-family: var(--font-heading);
  padding: 18px 32px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  width: 100%;
  text-align: center;
  transition: var(--transition);
}
.mobile-menu a:hover {
  color: var(--accent-gold);
  background: rgba(255,255,255,0.06);
  text-decoration: underline;
}
.mobile-menu a:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  border-radius: 6px;
  padding: 4px 10px;
}
.mobile-menu-close:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}

/* =============================================================
   HERO VIDEO BACKGROUND
   ============================================================= */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.40;
  z-index: 1;
  /* Hidden until a video file is present — JS in main.js detects & shows */
}

/* Hide video if it fails to load (no src) - handled via JS class below */
#hero.no-video .hero-video-bg { display: none; }

/* When video loads successfully: hide CSS slideshow, show video */
#hero.has-video .hero-slides   { display: none; }
#hero:not(.has-video) .hero-video-bg { opacity: 0; pointer-events: none; }

/* =============================================================
   HERO CSS IMAGE SLIDESHOW  – Ken Burns zoom + cross-fade
   3 slides cycling 8 s each (24 s total animation loop)
   Uses the 3 local surveying images already in /images/
   ============================================================= */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;            /* behind overlay and canvas */
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlide 24s infinite;
  will-change: opacity, transform;
}
/* Slide 1 – surveyor property inspection */
.hero-slide--1 {
  background-image: url('../images/surveyor-hounslow-property-inspection.jpg');
  animation-delay: 0s;
}
/* Slide 2 – Hounslow aerial view */
.hero-slide--2 {
  background-image: url('../images/hounslow-aerial-view-properties.jpg');
  animation-delay: 8s;
}
/* Slide 3 – surveyor explaining to buyers */
.hero-slide--3 {
  background-image: url('../images/surveyor-explaining-to-buyers.jpg');
  animation-delay: 16s;
}

/* Cross-fade keyframes: fade in → hold → Ken Burns zoom → fade out */
@keyframes heroSlide {
  0%   { opacity: 0;    transform: scale(1.00); }
  5%   { opacity: 0.38; transform: scale(1.00); }
  37%  { opacity: 0.38; transform: scale(1.07); }
  42%  { opacity: 0;    transform: scale(1.08); }
  100% { opacity: 0;    transform: scale(1.00); }
}

/* =============================================================
   HERO SECTION – base layout
   ============================================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-canvas-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
/* Dark overlay – ensures white text ≥ 7:1 contrast on any bg */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.70) 60%,
    rgba(0,0,0,0.60) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;   /* text top-aligns with top of form */
}
.hero-content {
  max-width: 580px;
  padding-top: 12px;    /* fine-tune: nudge text down to align with form card top */
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.18);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);         /* gold on overlay black 8.5:1 ✓ AAA */
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease;
}
.hero-content h1 {
  color: var(--white);               /* 21:1 on dark overlay ✓ AAA */
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.1s both;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-content h1 span { color: var(--accent-gold); }
.hero-content .lead {
  color: #f0f4f8;                    /* near-white, 18:1 on dark ✓ AAA */
  margin-bottom: 32px;
  animation: fadeInUp 0.7s ease 0.2s both;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.25);
  animation: fadeInUp 0.7s ease 0.4s both;
}
.hero-stat-item { text-align: left; }
.hero-stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);         /* gold on dark ✓ AAA */
  line-height: 1;
}
.hero-stat-item .stat-label {
  font-size: 0.82rem;
  color: #d1dce8;                    /* 8.3:1 on dark overlay ✓ AAA */
  margin-top: 4px;
}

/* Hero form card */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  /* No animation delay — form visible immediately on page load */
}
.hero-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--text-heading);        /* #2d3748 on white 8.1:1 ✓ AAA */
}
.hero-form-card p {
  font-size: 0.9rem;
  color: var(--text-muted);          /* #4a5568 on white 5.9:1 ✓ AA  */
  margin-bottom: 20px;
}
.hero-accreditations {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.accred-badge {
  background: var(--light-grey);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);                /* navy on light grey ✓ AAA */
  letter-spacing: 0.05em;
}

/* =============================================================
   TRUST BAR
   ============================================================= */
#trust-bar {
  background: var(--primary-dark);   /* #1a252f */
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;                    /* 11.7:1 on #1a252f ✓ AAA */
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-item .icon { color: var(--accent-gold); font-size: 1.1rem; }

/* =============================================================
   SERVICE CARDS
   headings #2d3748 on white 8.1:1 / body text #4a5568 on white 5.9:1
   ============================================================= */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 2px solid var(--border);   /* #cbd5e0 – more visible */
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--btn-primary-bg); /* #2c3e50 */
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--btn-primary-bg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px;
  height: 64px;
  background: #e8f0fe;               /* light blue tint */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  transition: var(--transition);
  color: var(--accent-blue);
}
.service-card:hover .service-icon {
  background: var(--btn-primary-bg); /* #2c3e50 */
  color: var(--white);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; color: var(--text-heading); }
.service-card p  { font-size: 0.94rem; margin-bottom: 18px; color: var(--dark-grey); }
.service-card .learn-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-blue);         /* 4.6:1 on white ✓ AA */
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
}
.service-card .learn-more:hover { gap: 10px; color: var(--accent-blue-dk); }

/* =============================================================
   WHY CHOOSE SECTION
   ============================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  transition: transform 0.6s ease;
}
.why-image-wrap:hover img { transform: scale(1.03); }
.why-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--btn-primary-bg); /* #2c3e50 */
  color: var(--white);               /* 12.6:1 ✓ AAA */
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
}
.why-image-badge .num  { font-size: 2rem; font-family: var(--font-heading); line-height: 1; }
.why-image-badge .label{ font-size: 0.78rem; }
.why-list { margin-top: 24px; }
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.why-item:last-child { border-bottom: none; }
.why-item-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: #e8f0fe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);         /* blue on light bg 4.6:1 ✓ AA */
  font-size: 1.1rem;
}
.why-item h4 { margin-bottom: 4px; font-size: 1rem; color: var(--text-heading); }
.why-item p  { font-size: 0.9rem; margin: 0; color: var(--dark-grey); }

/* =============================================================
   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: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--btn-primary-bg);
  opacity: 0.35;
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px;
  height: 64px;
  background: var(--btn-primary-bg); /* #2c3e50 */
  border: 3px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);               /* white on #2c3e50 12.6:1 ✓ AAA */
  margin: 0 auto 20px;
  transition: var(--transition);
}
.process-step:hover .step-number {
  background: var(--accent-gold);
  color: var(--navy-dark);
  transform: scale(1.1);
}
.process-step h4 { margin-bottom: 8px; font-size: 1rem; color: var(--text-heading); }
.process-step p  { font-size: 0.88rem; color: var(--dark-grey); }

/* =============================================================
   TESTIMONIALS
   ============================================================= */
#testimonials { background: var(--off-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid var(--border);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--btn-primary-bg);
}
.testimonial-stars {
  color: #b45309;                    /* amber on white 4.6:1 ✓ AA */
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--dark-grey);           /* #4a5568 on white 5.9:1 ✓ AA */
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--btn-primary-bg); /* #2c3e50 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);               /* white on #2c3e50 12.6:1 ✓ AAA */
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-author-info strong {
  display: block;
  font-size: 0.94rem;
  color: var(--text-heading);
}
.testimonial-author-info span {
  font-size: 0.82rem;
  color: var(--text-muted);          /* #4a5568 on white 5.9:1 ✓ AA */
}

/* =============================================================
   TEAM CARDS
   ============================================================= */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--btn-primary-bg);
}
.team-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card-image img { transform: scale(1.05); }
.team-card-body { padding: 24px; }
.team-card-body h3  { font-size: 1.2rem; margin-bottom: 4px; color: var(--text-heading); }
.team-card-body .role {
  font-size: 0.85rem;
  color: var(--accent-blue);         /* 4.6:1 on white ✓ AA */
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.team-card-body p { font-size: 0.9rem; margin: 0; color: var(--dark-grey); }

/* =============================================================
   AREAS SECTION
   ============================================================= */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.area-chip {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  transition: var(--transition);
  cursor: default;
}
.area-chip:hover {
  background: var(--btn-primary-bg);
  color: var(--white);
  border-color: var(--btn-primary-bg);
  transform: translateY(-2px);
}

/* --- Redesigned Areas Grid --- */
.areas-group {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 36px 36px 32px;
  border: 1px solid rgba(0,0,0,0.06);
}
.areas-group-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--off-white, #f8f9fa);
}
.areas-group-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark, #0a1f35);
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.areas-group-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a2e;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,215,0,0.35);
}
.areas-group-icon--blue {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d6a9f 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30,58,95,0.3);
}
.areas-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.area-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1.5px solid #e8edf3;
  border-radius: 14px;
  padding: 18px 12px 16px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2d3748;
  transition: all 0.22s ease;
  cursor: default;
}
.area-card i {
  font-size: 1.2rem;
  color: #94a3b8;
  transition: color 0.22s ease;
}
.area-card span {
  line-height: 1.3;
}
.area-card:hover {
  background: linear-gradient(135deg, #0a1f35 0%, #1e3a5f 100%);
  color: #fff;
  border-color: #0a1f35;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10,31,53,0.2);
}
.area-card:hover i {
  color: #ffd700;
}
.area-card--highlight {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
  border-color: #ffd700;
}
.area-card--highlight i {
  color: #d97706;
}
.area-card--highlight:hover {
  background: linear-gradient(135deg, #0a1f35 0%, #1e3a5f 100%);
  color: #fff;
  border-color: #0a1f35;
}
.area-card--highlight:hover i {
  color: #ffd700;
}
.areas-not-listed {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #0a1f35 0%, #1e3a5f 100%);
  color: #e2e8f0;
  border-radius: 16px;
  padding: 18px 32px;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(10,31,53,0.2);
  max-width: 560px;
}
.areas-not-listed i {
  font-size: 1.4rem;
  color: #ffd700;
  flex-shrink: 0;
}
.areas-not-listed p {
  margin: 0;
  color: #e2e8f0;
}

/* =============================================================
   STATS COUNTER  – dark navy bg
   Numbers: gold #ffd700 on #0d2c4b 8.5:1 ✓ AAA
   Labels: #d1dce8 on #0d2c4b 8.3:1 ✓ AAA
   ============================================================= */
#stats-section {
  background: var(--navy);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-box .num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);         /* gold on navy ✓ AAA */
  line-height: 1;
  display: block;
}
.stat-box .label {
  font-size: 0.9rem;
  color: #d1dce8;                    /* 8.3:1 on navy ✓ AAA */
  margin-top: 8px;
  display: block;
}
.stat-box .unit {
  font-size: 1.5rem;
  color: var(--accent-gold);
  vertical-align: super;
}

/* =============================================================
   FAQ SECTION
   ============================================================= */
.faq-item {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--btn-primary-bg); }
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);        /* 8.1:1 on white ✓ AAA */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
  font-family: var(--font-main);
}
.faq-question:hover  { background: var(--off-white); }
.faq-question:focus  {
  outline: 3px solid var(--btn-primary-bg);
  outline-offset: -3px;
}
.faq-item.open .faq-question {
  background: var(--btn-primary-bg); /* #2c3e50 */
  color: var(--white);               /* white on #2c3e50 12.6:1 ✓ AAA */
}
.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--navy-dark);           /* navy on gold 10.6:1 ✓ AAA */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: var(--off-white);
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 20px 24px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);               /* #1f2937 on off-white 9.0:1 ✓ AAA */
}

/* =============================================================
   SURVEY COMPARISON TABLE
   ============================================================= */
.survey-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.survey-comparison-table th {
  background: var(--btn-primary-bg); /* #2c3e50 */
  color: var(--white);               /* 12.6:1 ✓ AAA */
  padding: 16px 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}
.survey-comparison-table th:first-child {
  text-align: left;
  background: var(--navy-dark);
}
.survey-comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  text-align: center;
  background: var(--white);
  color: var(--text);
}
.survey-comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  background: var(--off-white);
  color: var(--text-heading);
}
.survey-comparison-table tr:last-child td { border-bottom: none; }
.check { color: var(--accent-green); font-size: 1.1rem; font-weight: 700; }
.cross { color: var(--accent-red);   font-size: 1.1rem; font-weight: 700; }
.maybe { color: #7c5a00; font-size: 1.1rem; font-weight: 700; } /* AAA amber equiv */

/* =============================================================
   FORM ELEMENTS (native forms)
   bg: white / border: #cbd5e0 / text: #2d3748 / placeholder: #718096
   ============================================================= */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--form-text);           /* #2d3748 8.1:1 ✓ AAA */
  margin-bottom: 6px;
}
.form-label .required { color: var(--accent-red); margin-left: 3px; }
.form-control {
  width: 100%;
  background: var(--form-bg);        /* white */
  border: 2px solid var(--form-border); /* #cbd5e0 */
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--form-text);           /* #2d3748 ✓ AAA */
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control::placeholder {
  color: var(--form-placeholder);    /* #718096 4.6:1 ✓ AA */
}
.form-control:focus {
  border-color: var(--form-focus-border); /* #0066cc */
  box-shadow: 0 0 0 3px rgba(0,102,204,0.20);
  outline: none;
}
.form-control:focus-visible {
  outline: 3px solid var(--form-focus-border);
  outline-offset: 0;
}
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { cursor: pointer; }

/* Submit button matches .btn-primary */
.form-submit {
  background: var(--form-submit-bg);  /* #0066cc */
  color: var(--form-submit-text);     /* #ffffff 4.6:1 ✓ AA */
  border: 2px solid var(--form-submit-bg);
  border-radius: var(--radius);
  padding: 13px 30px;
  font-size: 0.97rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}
.form-submit:hover {
  background: var(--accent-blue-dk);  /* #004499 7.2:1 ✓ AAA */
  border-color: var(--accent-blue-dk);
}
.form-submit:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

/* =============================================================
   CONTACT SECTION
   ============================================================= */
#contact { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2  { margin-bottom: 16px; color: var(--text-heading); }
.contact-info p   { font-size: 0.97rem; margin-bottom: 24px; color: var(--dark-grey); }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--btn-primary-bg); /* #2c3e50 */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);               /* 12.6:1 ✓ AAA */
  font-size: 1rem;
}
.contact-detail strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);          /* #4a5568 5.9:1 ✓ AA */
  margin-bottom: 2px;
}
.contact-detail span {
  font-size: 0.95rem;
  color: var(--text-heading);        /* 8.1:1 ✓ AAA */
  font-weight: 500;
}
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}
.contact-form-card h3 { margin-bottom: 6px; color: var(--text-heading); }
.contact-form-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* =============================================================
   FOOTER
   bg: #1a1a1a / text: #e2e8f0 (11.7:1) / links: #90cdf4 (7.5:1)
   ============================================================= */
#site-footer {
  background: var(--footer-bg);      /* #1a1a1a */
  color: var(--footer-text);         /* #e2e8f0 */
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-about p {
  font-size: 0.875rem;       /* compact, reference-style footer text */
  line-height: 1.7;
  margin-top: 14px;
  margin-bottom: 0;
  color: #c8d6e5 !important;  /* soft off-white – clear on #1a1a1a 7.2:1 ✓ AAA */
  font-weight: 400;
  max-width: 340px;
  letter-spacing: 0.01em;
}
.footer-col h4,
#site-footer h4,
#site-footer nav > h4 {
  color: #ffd700 !important;         /* golden yellow – 8.5:1 on #1a1a1a ✓ AAA */
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  font-family: var(--font-main);
  text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--footer-link);         /* #90cdf4 7.5:1 on #1a1a1a ✓ AAA */
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  padding: 2px 0;
}
.footer-links a:hover {
  color: var(--footer-link-hover);   /* white 21:1 ✓ AAA */
  padding-left: 4px;
}
.footer-links a:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.83rem;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  margin: 0;
  color: var(--footer-muted);        /* #a0aec0 5.4:1 on #1a1a1a ✓ AA */
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: var(--footer-muted);
  font-size: 0.83rem;
  text-decoration: none;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--white); }
.footer-accred {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.footer-accred-badge {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: var(--footer-text);         /* #e2e8f0 11.7:1 ✓ AAA */
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 5px;
  letter-spacing: 0.05em;
}

/* =============================================================
   ALERT COMPONENTS
   All use dark text on light tinted backgrounds + colored border
   ============================================================= */
.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 4px solid transparent;
  margin: 16px 0;
  font-size: 0.94rem;
  line-height: 1.6;
}
.alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.alert-success {
  background: var(--alert-success-bg);
  border-left-color: var(--alert-success-border); /* #047857 */
  color: var(--alert-success-text);               /* #014532 10:1 ✓ AAA */
}
.alert-success .alert-icon { color: var(--alert-success-border); }
.alert-warning {
  background: var(--alert-warning-bg);
  border-left-color: var(--alert-warning-border); /* #d97706 */
  color: var(--alert-warning-text);               /* #78350f 9.5:1 ✓ AAA */
}
.alert-warning .alert-icon { color: var(--alert-warning-border); }
.alert-error {
  background: var(--alert-error-bg);
  border-left-color: var(--alert-error-border);   /* #dc2626 */
  color: var(--alert-error-text);                 /* #7f1d1d 11.1:1 ✓ AAA */
}
.alert-error .alert-icon { color: var(--alert-error-border); }
.alert-info {
  background: var(--alert-info-bg);
  border-left-color: var(--alert-info-border);    /* #0369a1 */
  color: var(--alert-info-text);                  /* #1e3a5f 10.2:1 ✓ AAA */
}
.alert-info .alert-icon { color: var(--alert-info-border); }

/* =============================================================
   PAGE HERO (inner pages)
   ============================================================= */
.page-hero {
  background: var(--primary-dark);   /* #1a252f */
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/surveyor-hounslow-property-inspection.jpg') center/cover;
  opacity: 0.12;
}
/* Extra dark scrim so text is always readable */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.50);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
}
.page-hero .eyebrow {
  color: var(--accent-gold);          /* #ffd700 on dark 8.5:1 ✓ AAA */
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.page-hero h1 {
  color: var(--white);                /* 21:1 ✓ AAA */
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.page-hero p {
  color: #e2e8f0;                     /* 11.7:1 on dark ✓ AAA */
  max-width: 600px;
  font-size: 1.05rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #d1dce8;                     /* 8.3:1 ✓ AAA */
  margin-top: 28px;
}
.breadcrumb a { color: var(--accent-gold); text-decoration: underline; }
.breadcrumb span { color: rgba(255,255,255,0.55); }

/* =============================================================
   BLOG CARDS
   ============================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--btn-primary-bg);
}
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.blog-tag {
  background: #e8f0fe;
  color: var(--accent-blue);         /* #0066cc on light blue 4.6:1 ✓ AA */
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}
.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);          /* #4a5568 5.9:1 ✓ AA */
}
.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.35;
  color: var(--text-heading);
}
.blog-card-body h3 a {
  color: var(--text-heading);
  text-decoration: none;
}
.blog-card-body h3 a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}
.blog-card-body p { font-size: 0.9rem; flex: 1; color: var(--dark-grey); }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--accent-blue);         /* 4.6:1 on white ✓ AA */
  margin-top: 16px;
  transition: var(--transition);
  text-decoration: underline;
}
.blog-read-more:hover { gap: 10px; color: var(--accent-blue-dk); }

/* =============================================================
   BLOG ARTICLE PAGE
   ============================================================= */
.article-hero {
  background: var(--primary-dark);
  padding: 140px 0 64px;
  position: relative;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-size: cover;
  background-position: center;
}
.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.article-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.article-hero-inner h1 {
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.article-hero-inner p,
.article-hero-inner .lead {
  color: #e2e8f0;
}
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px;
}
.article-body h2 { font-size: 1.6rem; margin: 40px 0 16px; color: var(--text-heading); }
.article-body h3 { font-size: 1.25rem; margin: 32px 0 12px; color: var(--text-heading); }
.article-body p  { font-size: 1rem; line-height: 1.85; margin-bottom: 1.4rem; color: var(--dark-grey); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 1.4rem; }
.article-body li { font-size: 1rem; line-height: 1.7; margin-bottom: 8px; color: var(--dark-grey); }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body a  { color: var(--accent-blue); text-decoration: underline; }
.article-body a:hover { color: var(--accent-blue-dk); }
.article-body blockquote {
  border-left: 4px solid var(--btn-primary-bg);
  padding: 16px 24px;
  background: var(--off-white);
  border-radius: 0 10px 10px 0;
  margin: 28px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
}
.article-body img {
  border-radius: var(--radius);
  margin: 28px 0;
  width: 100%;
}
.article-body .article-cta-box {
  background: var(--btn-primary-bg); /* #2c3e50 */
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  margin: 40px 0;
  text-align: center;
}
.article-body .article-cta-box h3 { color: var(--white); margin-bottom: 12px; }
.article-body .article-cta-box p  {
  color: #d1dce8;                    /* 8.3:1 on #2c3e50 ✓ AAA */
  margin-bottom: 20px;
}

/* =============================================================
   MAP EMBED
   ============================================================= */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/7;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* =============================================================
   ANIMATIONS
   ============================================================= */
@keyframes fadeInUp    { from { opacity:0; transform:translateY(30px);  } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInDown  { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(40px);  } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInLeft  { from { opacity:0; transform:translateX(-40px); } to { opacity:1; transform:translateX(0); } }
@keyframes pulse       { 0%,100%{opacity:1;} 50%{opacity:0.6;} }
@keyframes float       { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }
@keyframes countUp     { from{opacity:0;transform:translateY(10px);} to{opacity:1;transform:translateY(0);} }

.reveal         { opacity:0; transform:translateY(30px);  transition:opacity .7s ease,transform .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-left         { opacity:0; transform:translateX(-30px); transition:opacity .7s ease,transform .7s ease; }
.reveal-left.visible { opacity:1; transform:translateX(0); }
.reveal-right         { opacity:0; transform:translateX(30px); transition:opacity .7s ease,transform .7s ease; }
.reveal-right.visible { opacity:1; transform:translateX(0); }

/* =============================================================
   SCROLL-TO-TOP BUTTON
   bg: #2c3e50 / icon: white (12.6:1 ✓ AAA)
   ============================================================= */
#scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--btn-primary-bg);  /* #2c3e50 */
  color: var(--white);                /* 12.6:1 ✓ AAA */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 16px rgba(44,62,80,0.4);
}
#scroll-top.visible { opacity:1; transform:translateY(0); }
#scroll-top:hover   { background: var(--primary-dark); transform:translateY(-3px); }
#scroll-top:focus   { outline:3px solid var(--accent-gold); outline-offset:3px; }

/* =============================================================
   SKIP LINK  (accessibility)
   ============================================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--btn-primary-bg);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; outline: 3px solid var(--accent-gold); }

/* =============================================================
   FOCUS VISIBLE GLOBAL CATCH-ALL
   ============================================================= */
:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

/* =============================================================
   HUBSPOT FORM OVERRIDES
   Preserves form functionality while matching accessible palette
   ============================================================= */
.hs-form-private { font-family: var(--font-main) !important; }
.hs-form-private input,
.hs-form-private textarea,
.hs-form-private select {
  border-radius: var(--radius) !important;
  border: 2px solid var(--form-border) !important;  /* #cbd5e0 */
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
  width: 100% !important;
  background: var(--form-bg) !important;
  color: var(--form-text) !important;               /* #2d3748 ✓ AAA */
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
.hs-form-private input::placeholder,
.hs-form-private textarea::placeholder {
  color: var(--form-placeholder) !important;        /* #718096 ✓ AA */
}
.hs-form-private input:focus,
.hs-form-private textarea:focus,
.hs-form-private select:focus {
  border-color: var(--form-focus-border) !important; /* #0066cc */
  box-shadow: 0 0 0 3px rgba(0,102,204,0.20) !important;
  outline: none !important;
}
.hs-form-private label {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--form-text) !important;
  margin-bottom: 6px !important;
  display: block !important;
}
.hs-form-private .hs-button {
  background: var(--form-submit-bg) !important;     /* #0066cc */
  color: var(--form-submit-text) !important;        /* #ffffff 4.6:1 ✓ AA */
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 13px 32px !important;
  font-weight: 700 !important;
  font-size: 0.97rem !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  width: 100% !important;
}
.hs-form-private .hs-button:hover {
  background: var(--accent-blue-dk) !important;     /* #004499 7.2:1 ✓ AAA */
}
.hs-form-private .hs-button:focus {
  outline: 3px solid var(--accent-gold) !important;
  outline-offset: 3px !important;
}
.hs-form-private .hs-error-msgs li {
  color: var(--alert-error-text) !important;
  font-size: 0.85rem !important;
  margin-top: 4px !important;
}

/* =============================================================
   FLOATING PARTICLES (hero)
   ============================================================= */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,215,0,0.12);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

/* =============================================================
   GLOBAL MOBILE BASE
   ============================================================= */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
}
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* =============================================================
   RESPONSIVE – 1200px (Extra Large Laptops)
   ============================================================= */
@media (max-width: 1200px) {
  .container, .container-wide { padding: 0 20px; }
  .hero-inner  { max-width: 100%; padding: 120px 20px 80px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
}

/* =============================================================
   RESPONSIVE – 1100px (Small Laptops / Large Tablets)
   ============================================================= */
@media (max-width: 1100px) {
  .footer-grid           { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4, .areas-grid   { grid-template-columns: repeat(3, 1fr); }
  .process-steps         { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-grid            { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   RESPONSIVE – 968px (Tablets Landscape / Small Laptops)
   ============================================================= */
@media (max-width: 968px) {
  /* Hero */
  .hero-inner          { grid-template-columns: 1fr; gap: 32px; padding: 110px 20px 64px; }
  .hero-content        { max-width: 100%; text-align: center; }
  .hero-content h1     { font-size: 2rem; }
  .hero-content .lead  { font-size: 1rem; }
  .hero-buttons        { justify-content: center; }
  .hero-stats          { justify-content: center; gap: 24px; }
  .hero-stat-item      { text-align: center; }
  .hero-form-card      { max-width: 520px; margin: 0 auto; }

  /* Grids */
  .grid-3, .testimonials-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .why-grid            { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid        { grid-template-columns: 1fr; gap: 32px; }
  .grid-2              { grid-template-columns: 1fr; gap: 24px; }

  /* Section spacing */
  .section             { padding: 60px 0; }
  .section-header      { margin-bottom: 36px; }

  /* Survey table scroll on tablet */
  .survey-comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* =============================================================
   RESPONSIVE – 768px (Tablets Portrait)
   ============================================================= */
@media (max-width: 768px) {
  /* ── Navigation ── */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger       { display: flex; min-width: 44px; min-height: 44px; padding: 10px; }
  .nav-inner           { padding: 12px 16px; }

  /* ── Typography ── */
  html  { font-size: 15px; }
  h1    { font-size: 1.75rem; }
  h2    { font-size: 1.5rem; }
  h3    { font-size: 1.25rem; }

  /* ── Layout ── */
  .section             { padding: 52px 0; }
  .section-sm          { padding: 36px 0; }
  .container           { padding: 0 16px; }
  .section-header      { margin-bottom: 32px; }
  .section-header p    { font-size: 1rem; }

  /* ── Hero ── */
  .hero-inner          { padding: 100px 16px 56px; }
  .hero-content h1     { font-size: 1.8rem; }
  .hero-stats          { gap: 16px; flex-wrap: wrap; }
  .hero-accreditations { flex-wrap: wrap; justify-content: center; gap: 8px; }
  #hero                { min-height: 100svh; /* Safe viewport on iOS */ }

  /* ── Grids ── */
  .grid-2              { grid-template-columns: 1fr; }
  .feature-grid        { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .areas-grid-new      { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .areas-group         { padding: 28px 20px 24px; }
  .area-card           { padding: 14px 10px 12px; font-size: 0.82rem; gap: 8px; }
  .area-card i         { font-size: 1rem; }

  /* ── Trust bar ── */
  .trust-bar-inner     { gap: 16px; flex-wrap: wrap; justify-content: center; }

  /* ── Footer ── */
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom       { flex-direction: column; text-align: center; gap: 12px; }
  .footer-bottom-links { justify-content: center; }

  /* ── Page hero ── */
  .page-hero           { padding: 110px 0 56px; }

  /* ── Contact ── */
  .contact-grid        { grid-template-columns: 1fr; }
  .contact-info        { order: 2; }
  .contact-form-card   { order: 1; }

  /* ── Comparison table ── */
  .survey-comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 0 16px;
  }
  .survey-comparison-table { min-width: 480px; }

  /* ── Map ── */
  .map-wrap { aspect-ratio: 16/9; }

  /* ── Video hero: hidden on mobile for performance ── */
  .hero-video-bg { display: none; }
  /* Keep CSS slideshow but reduce animation cost */
  .hero-slide     { animation-duration: 32s; }   /* slower on mobile saves battery */
}

/* =============================================================
   RESPONSIVE – 600px (Mobile Landscape / Large Phones)
   ============================================================= */
@media (max-width: 600px) {
  /* ── Typography ── */
  html  { font-size: 15px; }
  h1    { font-size: 1.55rem; }
  h2    { font-size: 1.35rem; }
  h3    { font-size: 1.15rem; }
  p     { font-size: 0.95rem; line-height: 1.65; }
  .lead { font-size: 1rem; }

  /* ── Container & Sections ── */
  .container           { padding: 0 14px; }
  .section             { padding: 44px 0; }
  .section-sm          { padding: 28px 0; }
  .section-header h2   { font-size: 1.4rem; }
  .section-header p    { font-size: 0.95rem; }

  /* ── Buttons ── */
  .btn {
    padding: 12px 20px;
    font-size: 0.92rem;
    min-height: 44px;   /* Apple/WCAG touch target */
  }
  .btn-lg { padding: 14px 24px; font-size: 0.97rem; }

  /* ── Grids (all single column) ── */
  .grid-2, .grid-3, .grid-4,
  .testimonials-grid, .blog-grid,
  .areas-grid          { grid-template-columns: 1fr; gap: 16px; }
  .areas-grid-new      { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .areas-group         { padding: 22px 16px 18px; border-radius: 14px; }
  .areas-group-header  { gap: 10px; margin-bottom: 20px; }
  .areas-group-icon    { width: 36px; height: 36px; font-size: 0.85rem; }
  .areas-group-header h3 { font-size: 1rem; }
  .area-card           { padding: 12px 8px 10px; font-size: 0.8rem; gap: 7px; border-radius: 10px; }
  .area-card i         { font-size: 0.95rem; }
  .areas-not-listed    { padding: 14px 20px; gap: 10px; font-size: 0.88rem; border-radius: 12px; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .feature-grid        { grid-template-columns: 1fr; gap: 12px; }
  .process-steps       { grid-template-columns: 1fr; gap: 20px; }

  /* ── Hero ── */
  #hero                { min-height: 100svh; }
  .hero-inner          { padding: 88px 14px 48px; gap: 28px; }
  .hero-content h1     { font-size: 1.55rem; }
  .hero-content .lead  { font-size: 0.95rem; }
  .hero-buttons        { flex-direction: column; gap: 10px; }
  .hero-buttons .btn   { width: 100%; justify-content: center; }
  .hero-badge          { font-size: 0.74rem; padding: 6px 14px; }
  .hero-stats          { gap: 12px; flex-wrap: wrap; padding-top: 24px; margin-top: 28px; }
  .hero-stat-item .stat-number { font-size: 1.6rem; }
  .hero-form-card      { padding: 24px 20px; }
  .hero-form-card h3   { font-size: 1.15rem; }
  .hero-accreditations { gap: 6px; justify-content: center; }
  .accred-badge        { font-size: 0.74rem; padding: 5px 10px; }

  /* ── Service cards ── */
  .service-card        { padding: 24px 20px; }
  .service-icon        { width: 52px; height: 52px; font-size: 1.4rem; }
  .service-card h3     { font-size: 1.1rem; }

  /* ── Why Choose ── */
  .why-grid            { grid-template-columns: 1fr; }
  .why-image-wrap      { max-height: 260px; overflow: hidden; }

  /* ── Process steps ── */
  .step-number         { width: 52px; height: 52px; font-size: 1.2rem; }

  /* ── Trust bar ── */
  .trust-bar-inner     { gap: 12px; }
  .trust-item          { font-size: 0.82rem; }

  /* ── Stats ── */
  .stat-box .num       { font-size: 2.4rem; }

  /* ── FAQ ── */
  .faq-item            { margin-bottom: 8px; }
  .faq-question        { padding: 14px 16px; font-size: 0.95rem; line-height: 1.4; gap: 12px; }
  .faq-answer-inner    { padding: 14px 16px; font-size: 0.92rem; }

  /* ── Blog cards ── */
  .blog-card-body      { padding: 18px; }
  .blog-card-body h3   { font-size: 1.05rem; }

  /* ── Article hero ── */
  .article-hero        { padding: 100px 0 48px; }
  .article-hero-inner h1 { font-size: 1.5rem; }

  /* ── Article body ── */
  .article-body        { padding: 36px 14px; }
  .article-body h2     { font-size: 1.3rem; margin: 32px 0 12px; }
  .article-body h3     { font-size: 1.1rem; margin: 24px 0 10px; }
  .article-body .article-cta-box { padding: 24px 18px; }

  /* ── Footer ── */
  .footer-grid         { grid-template-columns: 1fr; gap: 28px; }
  .footer-col          { text-align: left; }
  .footer-accred       { justify-content: flex-start; }
  .footer-bottom       { text-align: center; }
  #site-footer         { padding: 48px 0 0; }

  /* ── Contact ── */
  .contact-form-card   { padding: 24px 18px; }
  .contact-grid        { gap: 24px; }

  /* ── Comparison table ── */
  .survey-comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -14px;
    padding: 0 14px;
  }
  .survey-comparison-table { min-width: 460px; }
  .survey-comparison-table th,
  .survey-comparison-table td { padding: 10px 12px; font-size: 0.82rem; }

  /* ── General tables ── */
  table:not(.survey-comparison-table) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  /* ── Page hero ── */
  .page-hero           { padding: 96px 0 44px; }
  .page-hero h1        { font-size: 1.6rem; }
  .page-hero p         { font-size: 0.95rem; }

  /* ── Breadcrumb ── */
  .breadcrumb          { font-size: 0.78rem; flex-wrap: wrap; gap: 4px; }

  /* ── CTA sections ── */
  .bg-navy .section-header h2,
  .bg-navy-dark .section-header h2,
  .bg-primary-dark .section-header h2 { font-size: 1.35rem; }

  /* ── Scroll-to-top ── */
  #scroll-top          { bottom: 20px; right: 16px; width: 44px; height: 44px; }

  /* ── Area chips ── */
  .area-chip           { padding: 8px 12px; font-size: 0.84rem; }

  /* ── HubSpot form mobile ── */
  .hs-form-field       { margin-bottom: 0.75rem !important; }
  .hs-input,
  .hs-form-field input,
  .hs-form-field select,
  .hs-form-field textarea {
    padding: 0.65rem 0.75rem !important;
    font-size: 16px !important;   /* Prevents iOS auto-zoom */
    border-radius: 8px !important;
  }
  .hs-button,
  .hs-form .hs-button {
    width: 100% !important;
    padding: 0.8rem !important;
    font-size: 1rem !important;
    min-height: 44px !important;
  }
  .hs-form-field label { font-size: 0.88rem !important; }
  .hs-error-msg        { font-size: 0.82rem !important; }
}

/* =============================================================
   RESPONSIVE – 480px (Mobile Portrait / Small Phones)
   ============================================================= */
@media (max-width: 480px) {
  /* ── Typography ── */
  html  { font-size: 14px; }
  h1    { font-size: 1.4rem; }
  h2    { font-size: 1.25rem; }
  h3    { font-size: 1.08rem; }
  p     { font-size: 0.93rem; line-height: 1.6; }

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

  /* ── Sections ── */
  .section             { padding: 36px 0; }
  .section-header      { margin-bottom: 24px; }
  .section-header h2   { font-size: 1.25rem; }
  .section-header p    { font-size: 0.9rem; }

  /* ── Navigation ── */
  .nav-inner           { padding: 10px 12px; }
  .nav-logo-text .brand-name { font-size: 1rem; }
  .nav-logo-text .brand-sub  { font-size: 0.65rem; }

  /* ── Hero ── */
  .hero-inner          { padding: 80px 12px 40px; }
  .hero-content h1     { font-size: 1.35rem; }
  .hero-form-card h3   { font-size: 1.05rem; }
  .hero-form-card      { padding: 20px 14px; }
  .hero-stat-item .stat-number { font-size: 1.4rem; }
  .hero-badge          { font-size: 0.68rem; padding: 5px 10px; }

  /* ── Buttons ── */
  .btn                 { padding: 11px 16px; font-size: 0.88rem; }
  .btn-lg              { padding: 13px 18px; font-size: 0.92rem; }

  /* ── Stats ── */
  .stats-grid          { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-box .num       { font-size: 2rem; }

  /* ── Service cards ── */
  .service-card        { padding: 20px 16px; }
  .service-icon        { width: 46px; height: 46px; font-size: 1.25rem; }

  /* ── Why section feature items ── */
  .feature-grid        { grid-template-columns: 1fr; }
  .why-item            { gap: 12px; padding: 12px 0; }
  .why-item-icon       { width: 36px; height: 36px; min-width: 36px; font-size: 0.95rem; }

  /* ── Process steps ── */
  .step-number         { width: 48px; height: 48px; font-size: 1.1rem; }
  .process-step h4     { font-size: 0.95rem; }
  .process-step p      { font-size: 0.84rem; }

  /* ── Testimonials ── */
  .testimonial-card    { padding: 20px 16px; }
  .testimonial-text    { font-size: 0.9rem; }

  /* ── FAQ ── */
  .faq-question        { padding: 12px 14px; font-size: 0.9rem; }
  .faq-answer-inner    { padding: 12px 14px; font-size: 0.88rem; }
  .faq-icon            { width: 20px; height: 20px; min-width: 20px; font-size: 0.9rem; }

  /* ── Blog ── */
  .blog-card-body      { padding: 14px; }
  .blog-card-body h3   { font-size: 0.98rem; }
  .blog-tag            { font-size: 0.7rem; }

  /* ── Footer ── */
  .footer-grid         { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom       { font-size: 0.78rem; gap: 8px; }
  .footer-bottom-links { gap: 12px; }
  .footer-accred-badge { font-size: 0.72rem; padding: 4px 8px; }

  /* ── Contact ── */
  .contact-form-card   { padding: 18px 14px; }
  .contact-detail-icon { width: 34px; height: 34px; min-width: 34px; font-size: 0.9rem; }

  /* ── Area chips ── */
  .areas-grid          { grid-template-columns: repeat(2, 1fr); }
  .area-chip           { font-size: 0.8rem; padding: 7px 10px; }
  .areas-grid-new      { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .areas-group         { padding: 18px 14px; }
  .area-card           { padding: 10px 8px 9px; font-size: 0.76rem; gap: 6px; border-radius: 10px; }
  .area-card i         { font-size: 0.85rem; }
  .areas-not-listed    { flex-direction: column; text-align: center; padding: 16px 18px; font-size: 0.83rem; }

  /* ── Article ── */
  .article-hero        { padding: 88px 0 36px; }
  .article-hero-inner h1 { font-size: 1.3rem; }
  .article-body        { padding: 28px 12px; }
  .article-body h2     { font-size: 1.2rem; }
  .article-body h3     { font-size: 1.05rem; }
  .article-body .article-cta-box { padding: 20px 14px; }
  .highlight-stat      { font-size: 1.8rem; }

  /* ── Share buttons ── */
  .share-btn           { width: 34px; height: 34px; font-size: 0.82rem; }
  .article-share       { gap: 8px; flex-wrap: wrap; }

  /* ── Info / Warning boxes ── */
  .info-box, .warning-box { padding: 14px 16px; gap: 10px; }
  .info-box-icon, .warning-box-icon { font-size: 1.1rem; }

  /* ── Map ── */
  .map-wrap            { aspect-ratio: 4/3; }

  /* ── Trust bar ── */
  .trust-bar-inner     { flex-direction: column; gap: 10px; align-items: flex-start; }
  .trust-item          { font-size: 0.8rem; }

  /* ── Scroll-to-top ── */
  #scroll-top          { bottom: 16px; right: 12px; width: 40px; height: 40px; font-size: 0.95rem; }
}

/* =============================================================
   RESPONSIVE – 375px (iPhone SE / Small Phones)
   ============================================================= */
@media (max-width: 375px) {
  .container           { padding: 0 10px; }
  .hero-inner          { padding: 76px 10px 36px; }
  .hero-content h1     { font-size: 1.25rem; }
  .section             { padding: 30px 0; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-box .num       { font-size: 1.8rem; }
  .areas-grid          { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .area-chip           { font-size: 0.75rem; padding: 6px 8px; }
  .footer-grid         { gap: 20px; }
}

/* =============================================================
   RESPONSIVE – min-width: 1400px (Large Desktops)
   ============================================================= */
@media (min-width: 1400px) {
  .container           { max-width: 1320px; }
  .hero-inner          { padding: 140px 32px 100px; }
  .section             { padding: 96px 0; }
  .blog-grid           { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .testimonials-grid   { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .grid-4              { gap: 36px; }
}

/* =============================================================
   HAMBURGER ANIMATION (active state)
   ============================================================= */
.nav-hamburger.active                         { border-color: var(--accent-gold); }
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* =============================================================
   REDUCED MOTION  (WCAG 2.1 SC 2.3.3)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  /* Stop hero Ken Burns zoom & cross-fade animation */
  .hero-slide {
    animation: none !important;
    opacity: 0 !important;
  }
  .hero-slide--1 { opacity: 0.35 !important; }  /* first slide always visible */

  /* Stop all CSS transitions and animations site-wide */
  *, *::before, *::after {
    animation-duration:   0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration:  0.01ms !important;
  }
}

/* =============================================================
   PRINT
   ============================================================= */
@media print {
  #main-nav, #scroll-top, .mobile-menu, .nav-hamburger { display: none !important; }
  body { color: #000; background: #fff; }
  a    { color: #000; text-decoration: underline; }
}
