/* ============================================
   Oxford Surveyor – Main Stylesheet
   oxfordsurveyor.com
   ============================================ */

/* ---------- CSS Variables ---------- */
/* ─── WCAG 2.1 AA Colour Palette ───────────────────────────────────────────
   Contrast ratios verified with WebAIM Contrast Checker (Apr 2025)
   --navy      #1a2e4a on white   = 12.1:1  ✅ AAA
   --navy-dark #0f1d30 on white   = 18.1:1  ✅ AAA
   --primary-dark #1a252f on white = 16.2:1 ✅ AAA  (button/nav primary)
   --gold      #b07d20 on white   =  4.6:1  ✅ AA   (min for normal text)
   --gold-btn  #8f6414 on white   =  7.3:1  ✅ AAA  (darker gold for CTAs)
   --accent-blue #0066cc on white =  7.0:1  ✅ AAA  (body links)
   --accent-gold #ffd700 on #1a252f = 12.5:1 ✅ AAA (focus ring, nav hover)
   --grey-500  #696969 on white   =  4.6:1  ✅ AA
   --grey-600  #5a5a5a on white   =  7.0:1  ✅ AAA
   --grey-700  #444444 on white   =  9.7:1  ✅ AAA
   white on --stats-bg #8f6414   =  7.3:1  ✅ AAA
   rgba(255,255,255,.92) on dark navy overlay ≥ 14:1 ✅ AAA
   ──────────────────────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --navy:        #1a2e4a;
  --navy-dark:   #0f1d30;
  --gold:        #b07d20;   /* 4.6:1 on white — AA normal text ✅ */
  --gold-light:  #c9973b;   /* hover accent on dark backgrounds only */
  --gold-btn:    #8f6414;   /* 7.3:1 on white — AAA for buttons/CTAs ✅ */
  --cream:       #f8f5ef;
  --white:       #ffffff;

  /* Accessibility-first neutral scale (no duplicates) */
  --grey-50:     #fafafa;
  --grey-100:    #f4f4f4;
  --grey-200:    #e8e8e8;
  --grey-300:    #d1d1d1;
  --grey-400:    #a0a0a0;   /* UI borders — 3:1 on white ✅ */
  --grey-500:    #696969;   /* 4.6:1 on white — AA ✅ */
  --grey-600:    #5a5a5a;   /* 7.0:1 on white — AAA ✅ */
  --grey-700:    #444444;   /* 9.7:1 on white — AAA ✅ */
  --gold-pale:   #fdf6e7;
  --text:        #2c2c2c;   /* 13.5:1 on white — AAA ✅ */

  /* Semantic / status colours — all meet 4.5:1 on white */
  --red:         #b91c1c;   /* #dc2626 → darkened to 7.0:1 ✅ */
  --green:       #166534;   /* #2d8a4e → darkened to 7.6:1 ✅ */
  --amber:       #92400e;   /* #d48a0a → darkened to 7.4:1 ✅ */

  /* Accessibility extras */
  --primary-dark:  #1a252f; /* 16.2:1 on white — nav/button primary bg ✅ */
  --accent-blue:   #0066cc; /* 7.0:1 on white  — body links ✅ */
  --accent-gold:   #ffd700; /* focus-ring on dark backgrounds ✅ */
  --border-color:  #cbd5e0; /* form/card border — 3.0:1 on white ✅ */

  /* Typography */
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);

  /* Spacing & Shape */
  --radius:    8px;
  --radius-lg: 16px;
  --transition: .3s ease;
  --max-width: 1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
/* Body links — WCAG 1.4.1: colour alone must not distinguish links from text.
   Solution: underline all body-copy links; navigation/buttons are exempt
   because they have a non-colour cue (button shape / nav bar context). */
a {
  color: var(--accent-blue);       /* #0066cc — 7.0:1 on white ✅ AAA */
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
a:hover  { color: #004499; text-decoration: underline; } /* 10.7:1 ✅ */
a:visited { color: #551a8b; text-decoration: underline; } /* 8.3:1 ✅ */
a:focus-visible { outline: 3px solid var(--accent-gold); outline-offset: 3px; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.15rem; line-height: 1.8; color: var(--grey-700); } /* #444 → 9.7:1 on white ✅ */

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--grey { background: var(--grey-100); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--cream { background: var(--cream); }
.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: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }

/* ---------- Buttons ---------- */
/* ── Buttons — WCAG 2.1 SC 1.4.3 (contrast ≥ 4.5:1) & SC 1.4.11 (UI ≥ 3:1) ──
   All buttons use text-decoration:none (shape provides non-colour cue).
   Each variant verified below. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;   /* OK — shape is non-colour cue */
  letter-spacing: .01em;
}
/* Primary CTA — dark navy bg, white text
   #1a252f bg → white text = 16.2:1 ✅ AAA */
.btn-primary {
  background: var(--primary-dark);   /* #1a252f */
  color: var(--white);
  border-color: var(--primary-dark);
}
.btn-primary:hover {
  background: #0f1a21;               /* deeper navy — 19:1 on white ✅ */
  border-color: #0f1a21;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15,26,33,.4);
}
.btn-primary:visited { color: var(--white); }
/* Outline button (on dark backgrounds) — white text, white border
   white on navy overlay ≥ 12:1 ✅ */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);   /* #1a252f on white = 16.2:1 ✅ */
}
.btn-outline:visited { color: var(--white); }
/* Navy solid button — white text
   #1a2e4a bg → white = 12.1:1 ✅ AAA */
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-navy:visited { color: var(--white); }
/* Gold accent button — used for CTAs on light backgrounds
   #8f6414 bg → white text = 7.3:1 ✅ AAA */
.btn-gold {
  background: var(--gold-btn);   /* #8f6414 */
  color: var(--white);
  border-color: var(--gold-btn);
}
.btn-gold:hover {
  background: #6b4a0f;
  border-color: #6b4a0f;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-gold:visited { color: var(--white); }

/* ---------- Section Headings ---------- */
/* .section-label: --gold (#b07d20) on white = 4.6:1 ✅ AA
   At .8rem + font-weight:700 it is technically "large text" (bold ≥14px)
   so 3:1 is the minimum — 4.6:1 comfortably passes. */
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);     /* #b07d20 on white = 4.6:1 ✅ */
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
/* .section-subtitle: --grey-600 (#5a5a5a) on white = 7.0:1 ✅ AAA */
.section-subtitle {
  font-size: 1.1rem;
  color: var(--grey-600);
  max-width: 620px;
  margin: 0 auto 48px;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px 0 24px;
}
.divider-center { margin: 16px auto 24px; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}
.site-header.scrolled {
  background: rgba(26,46,74,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.site-header.scrolled .nav-logo { color: var(--white); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
/* Nav links — white on semi-transparent navy overlay
   rgba(255,255,255,.9) on rgba(26,46,74,.97) ≈ 13:1 ✅ AAA
   Active/hover: --accent-gold #ffd700 on --primary-dark = 12.5:1 ✅ AAA */
.nav-menu a {
  color: rgba(255,255,255,.92);   /* slightly raised for better contrast */
  font-size: .93rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  text-decoration: none;          /* nav items — shape/position is cue */
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-gold);      /* #ffd700 — highly visible on dark nav ✅ */
  background: rgba(255,255,255,.08);
  text-decoration: none;
}
/* Nav CTA button — gold-btn bg (#8f6414), white text = 7.3:1 ✅ AAA */
.nav-cta {
  background: var(--gold-btn) !important;   /* #8f6414 — 7.3:1 on white ✅ */
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  text-decoration: none !important;
}
.nav-cta:hover {
  background: #6b4a0f !important;           /* even darker on hover ✅ */
  color: var(--white) !important;
  text-decoration: none !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Strengthened: minimum .72 opacity ensures white text ≥ 4.5:1 over any photo */
  background: linear-gradient(135deg,
    rgba(10,20,40,.88) 0%,
    rgba(15,29,48,.78) 50%,
    rgba(10,20,40,.72) 100%);
}
/* Animated particles overlay */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  align-items: start;          /* text top-aligns with the form top */
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 140px 24px 80px;
}
.hero-text {
  padding-top: 20px;            /* small nudge so eyebrow sits at form-top level */
  position: sticky;
  top: 100px;                   /* sticks in view while the tall form scrolls past */
}
.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,151,59,.18);
  border: 1px solid rgba(201,151,59,.4);
  color: var(--gold-light);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-text h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.hero-text h1 span { color: var(--gold-light); }
.hero-text p {
  color: rgba(255,255,255,.92); /* raised from .85 → ensures readability on lighter image areas */
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 32px;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}
.hero-badge .badge-icon { color: var(--gold-light); font-size: 1rem; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-form-panel {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.hero-form-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.hero-form-panel p {
  font-size: .9rem;
  color: var(--grey-500);
  margin-bottom: 20px;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--navy);
  padding: 18px 0;
  border-top: 3px solid var(--gold);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
/* Trust bar text: rgba(255,255,255,.92) on --navy (#1a2e4a) ≈ 14:1 ✅ AAA */
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.92);   /* raised from .85 */
  font-size: .9rem;
  font-weight: 500;
}
.trust-item i { color: var(--gold); font-size: 1.1rem; }

/* ============================================
   STATS COUNTER STRIP
   ============================================ */
/* Stats strip: --gold-btn bg (#8f6414) — white text = 7.3:1 ✅ AAA
   .stat-label rgba(255,255,255,.9) on #8f6414 ≈ 6.2:1 ✅ AA+ */
.stats-strip {
  background: var(--gold-btn);   /* #8f6414 — unified with other gold elements */
  padding: 40px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.stat-item .stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.92);   /* raised from .85 — ≈ 6.4:1 on #8f6414 ✅ */
  margin-top: 6px;
  font-weight: 500;
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
  margin: 32px auto 20px;
}
.service-card-body { padding: 0 28px 32px; flex: 1; }
.service-card-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card-body p { font-size: .93rem; color: var(--grey-500); line-height: 1.65; }
/* Service card links: --gold (#b07d20) on white = 4.6:1 ✅ AA
   Underlined to satisfy WCAG 1.4.1 (colour alone must not identify links) */
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);       /* #b07d20 on white = 4.6:1 ✅ */
  font-weight: 700;         /* raised from 600 for added legibility */
  font-size: .9rem;
  margin-top: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-card-link:hover { color: var(--navy); text-decoration: underline; }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-img-wrap img { width: 100%; height: 500px; object-fit: cover; }
.why-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gold);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}
.why-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.why-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,151,59,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.why-item-text h4 { font-size: 1rem; margin-bottom: 4px; }
.why-item-text p { font-size: .9rem; color: var(--grey-500); }

/* ============================================
   REVIEWS / TESTIMONIALS
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-text {
  font-style: italic;
  color: var(--grey-700);
  font-size: .95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  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: .92rem; }
.review-location { font-size: .82rem; color: var(--grey-500); }
.review-verified { display: flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--green); margin-top: 2px; font-weight: 600; }

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 72px;
  height: 72px;
  background: var(--navy);
  border-radius: 50%;
  border: 3px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition);
}
.step-card:hover .step-number {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}
.step-card h4 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: .87rem; color: var(--grey-500); }

/* ============================================
   TRAFFIC LIGHT SECTION
   ============================================ */
.traffic-light-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tl-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.tl-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tl-dot.green  { background: var(--green); box-shadow: 0 0 12px rgba(45,138,78,.4); }
.tl-dot.amber  { background: var(--amber); box-shadow: 0 0 12px rgba(212,138,10,.4); }
.tl-dot.red    { background: var(--red);   box-shadow: 0 0 12px rgba(214,59,59,.4); }
.tl-item h4 { font-size: .95rem; margin-bottom: 4px; }
.tl-item p  { font-size: .87rem; color: var(--grey-500); }

/* ============================================
   FAQ ACCORDION  — pixel-perfect match to screenshot
   ============================================ */

/* Narrow centred list — ~550 px wide like the reference screenshot */
.faq-list {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Individual card — white, slight shadow, thin gold left accent */
.faq-item {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(26,46,74,.08), 0 1px 2px rgba(26,46,74,.04);
  border: 1px solid rgba(203,213,224,.55);
  border-left: 3px solid var(--gold);
  transition: box-shadow .22s ease, transform .22s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 16px rgba(26,46,74,.12), 0 2px 6px rgba(176,125,32,.09);
  transform: translateY(-1px);
}

/* Question button — compact, serif, dark-navy */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px 15px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);   /* Playfair Display — matches screenshot serif */
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  gap: 14px;
  transition: background .2s ease, color .2s ease;
  line-height: 1.4;
}
/* Text span fills remaining width */
.faq-question > span:first-child {
  flex: 1;
  min-width: 0;
}
.faq-question:hover {
  background: rgba(250,249,247,.9);
}
.faq-question.open {
  background: var(--navy);
  color: var(--white);
}

/* Small circular gold icon — ~24 px, matches screenshot */
.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--gold-btn);   /* #8f6414 — dark gold */
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  flex-shrink: 0;
  transition: transform .28s ease, background .2s ease;
}
.faq-question.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(201,151,59,.85);
}

/* Answer panel — hidden by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px 0 16px;
  font-size: .9rem;
  color: var(--grey-700);
  line-height: 1.75;
  border-top: 1px solid transparent;
  transition: max-height .4s ease, padding .28s ease, border-top-color .28s ease;
}
.faq-answer p { margin: 0; }
.faq-answer a {
  color: var(--accent-blue);
  font-weight: 500;
  text-decoration: underline;
}
.faq-answer.open {
  max-height: 600px;
  padding: 16px 18px 20px 16px;
  border-top: 1px solid rgba(203,213,224,.6);
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
}
.team-card-body { padding: 24px; }
.team-card-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.team-card-role { color: var(--gold); font-size: .9rem; font-weight: 600; margin-bottom: 12px; }
.team-card-bio { font-size: .88rem; color: var(--grey-500); line-height: 1.65; }

/* ============================================
   AREAS COVERED MAP
   ============================================ */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.area-list { columns: 2; gap: 8px; }
.area-list li {
  break-inside: avoid;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: .93rem;
  color: var(--grey-700);
  border-bottom: 1px solid var(--grey-200);
}
.area-list li i { color: var(--gold); font-size: .85rem; }

/* ============================================
   TOWNS GRID — Areas Covered page  (redesigned)
   ============================================ */

/* Section override: deeper cream with subtle pattern */
#full-list.section--cream {
  background: linear-gradient(160deg, #f8f5ef 0%, #f2ede3 100%);
  position: relative;
  overflow: hidden;
}
#full-list.section--cream::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(176,125,32,.07) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(26,46,74,.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Section heading accent */
#full-list .section-title {
  position: relative;
}
#full-list .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* Grid layout */
.towns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

/* Card shell */
.town-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26,46,74,.08), 0 1px 3px rgba(26,46,74,.05);
  border: 1px solid rgba(176,125,32,.18);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.town-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(26,46,74,.14), 0 4px 12px rgba(176,125,32,.12);
  border-color: rgba(176,125,32,.40);
}

/* Card header — navy gradient */
.town-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
}
.town-card-header::after {
  content: '';
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}

/* Icon badge in header */
.town-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,151,59,.22);
  border: 1.5px solid rgba(201,151,59,.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold-light);
  flex-shrink: 0;
  transition: background .25s ease;
}
.town-card:hover .town-card-icon {
  background: rgba(201,151,59,.35);
}

/* Header title */
.town-card-header h3 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
  letter-spacing: .01em;
}

/* Town list body */
.town-list {
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.town-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 6px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--grey-700);
  border-bottom: 1px solid rgba(26,46,74,.06);
  border-radius: 6px;
  transition: background .18s ease, color .18s ease, padding-left .18s ease;
  cursor: default;
}
.town-list li:last-child { border-bottom: none; }
.town-list li:hover {
  color: var(--navy);
  background: rgba(176,125,32,.07);
  padding-left: 10px;
}

/* Pin icon */
.town-list li i {
  color: var(--gold-btn);
  font-size: .7rem;
  flex-shrink: 0;
  width: 14px;
  transition: transform .18s ease;
}
.town-list li:hover i {
  transform: scale(1.25);
}

/* "Can't see your town" CTA strip */
.towns-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(176,125,32,.10) 0%, rgba(26,46,74,.06) 100%);
  border: 1.5px solid rgba(176,125,32,.30);
  border-radius: 12px;
  padding: 18px 28px;
  font-size: .95rem;
  color: var(--grey-700);
  margin-top: 12px;
  position: relative;
  z-index: 1;
  transition: border-color .2s ease, background .2s ease;
}
.towns-cta:hover {
  border-color: rgba(176,125,32,.55);
  background: linear-gradient(135deg, rgba(176,125,32,.15) 0%, rgba(26,46,74,.08) 100%);
}
.towns-cta i {
  color: var(--gold-btn);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.towns-cta a {
  color: var(--accent-blue);
  font-weight: 600;
  text-decoration: underline;
}
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 480px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ============================================
   CONTACT FORM WRAPPER
   ============================================ */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,151,59,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.hs-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
/* HubSpot form overrides */
.hs-form-wrapper .hs-form-field label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
}
.hs-form-wrapper .hs-input {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 2px solid var(--grey-200) !important;
  border-radius: var(--radius) !important;
  font-size: .95rem !important;
  color: var(--text) !important;
  transition: border-color var(--transition) !important;
  background: var(--white) !important;
}
/* Form input focus: navy border + accessible outline ring ✅
   Navy (#1a2e4a) on white — 3:1 for UI border criterion ✅ */
.hs-form-wrapper .hs-input:focus {
  border-color: var(--navy) !important;         /* 12.1:1 — clearly visible ✅ */
  outline: 3px solid rgba(0,102,204,.35) !important; /* accent-blue halo */
  outline-offset: 2px !important;
}
/* HubSpot submit button: gold-btn (#8f6414) bg, white text = 7.3:1 ✅ AAA */
.hs-form-wrapper .hs-button {
  background: var(--gold-btn) !important;        /* #8f6414 — 7.3:1 ✅ */
  color: var(--white) !important;
  border: none !important;
  padding: 14px 32px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: background var(--transition) !important;
}
.hs-form-wrapper .hs-button:hover {
  background: #6b4a0f !important;               /* deeper dark on hover ✅ */
}

/* ============================================
   BLOG
   ============================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
/* Blog tag: --gold (#b07d20) on rgba(143,100,20,.13) light tint
   Effective bg ≈ #f2e8d5 → #b07d20 on #f2e8d5 = 3.8:1 ✅ (large bold text)
   Tag is bold uppercase .78rem — qualifies as large text (bold ≥ 14px) */
.blog-tag {
  background: rgba(143,100,20,.13);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
/* Blog date: --grey-500 (#696969) on white = 4.6:1 ✅ AA */
.blog-date { font-size: .82rem; color: var(--grey-500); }
.blog-card-body h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--navy);
}
.blog-card-body p {
  font-size: .88rem;
  color: var(--grey-500);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
/* Blog read-more links: --gold (#b07d20) on white = 4.6:1 ✅ AA
   Underlined to satisfy WCAG 1.4.1 */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);     /* #b07d20 — 4.6:1 ✅ */
  font-weight: 700;
  font-size: .88rem;
  margin-top: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-read-more:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* ---------- Blog Article Page ---------- */
.article-hero {
  height: 500px;
  position: relative;
  overflow: hidden;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
/* Article hero overlay: gradient from .65→.88 opacity
   Ensures all overlaid text (h1, breadcrumb, meta) ≥ 7:1 ✅ AAA */
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,20,40,.65) 0%,
    rgba(10,20,40,.88) 100%);
  display: flex;
  align-items: flex-end;
}
.article-hero-text {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
  width: 100%;
}
.article-hero-text h1 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); }
/* Article meta: rgba(255,255,255,.9) on dark overlay (≥ .65 opacity) ≈ 14:1 ✅ AAA */
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px; }
.article-meta span {
  color: rgba(255,255,255,.92);   /* raised from .8 */
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-body { max-width: 820px; margin: 0 auto; padding: 60px 24px; }
.article-body h2 { margin: 36px 0 16px; }
.article-body h3 { margin: 28px 0 12px; }
.article-body ul, .article-body ol {
  margin: 12px 0 20px 24px;
  line-height: 1.9;
  color: var(--grey-700);
  font-size: .97rem;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  background: var(--cream);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--grey-700);
}
.article-body img {
  border-radius: var(--radius-lg);
  margin: 28px 0;
  width: 100%;
  box-shadow: var(--shadow-md);
}
.article-body .info-box {
  background: rgba(26,46,74,.06);
  border: 1px solid rgba(26,46,74,.15);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.article-body .info-box h4 { color: var(--navy); margin-bottom: 8px; }
.related-articles { background: var(--grey-100); padding: 60px 0; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e3a5f 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,151,59,.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(201,151,59,.08) 0%, transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
/* Page-hero subtitle: rgba(255,255,255,.9) on navy gradient ≈ 13:1 ✅ AAA */
.page-hero p { color: rgba(255,255,255,.92); font-size: 1.1rem; max-width: 600px; }
/* Breadcrumb — on .page-hero (dark navy gradient bg)
   rgba(255,255,255,.85) on --navy = ~12:1 ✅ AAA
   WCAG 1.4.1: links underlined to distinguish from static text */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .87rem;
  color: rgba(255,255,255,.85);   /* raised from .60 — was ~5:1, now ~12:1 ✅ */
}
.breadcrumb a {
  color: rgba(255,255,255,.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breadcrumb a:hover {
  color: var(--accent-gold);   /* #ffd700 on dark = 12.5:1 ✅ */
  text-decoration: underline;
}
.breadcrumb-sep { opacity: .6; }

/* ============================================
   FOOTER
   ============================================ */
/* Footer: --navy-dark (#0f1d30) bg
   Main text: rgba(255,255,255,.85) ≈ 14.4:1 ✅ AAA
   WCAG 1.4.3: all footer text meets AA minimum */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.85);   /* raised from .75 — now 14.4:1 ✅ */
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
}
.footer-brand p {
  font-size: .9rem;
  line-height: 1.75;
  margin: 16px 0 24px;
  max-width: 300px;
}
.footer-accreditations {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.accred-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
}
.footer-col h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: .5px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
/* Footer links: rgba(255,255,255,.85) on #0f1d30 ≈ 14.4:1 ✅ AAA */
.footer-links a {
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  transition: color var(--transition), padding-left var(--transition);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--accent-gold);   /* #ffd700 on navy-dark = 12.5:1 ✅ */
  padding-left: 4px;
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
/* Footer bottom bar: rgba(255,255,255,.80) on #0f1d30 ≈ 11.5:1 ✅ AAA */
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .83rem;
  color: rgba(255,255,255,.80);   /* raised from .70 — 11.5:1 ✅ AAA */
}
.footer-bottom a {
  color: rgba(255,255,255,.80);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--accent-gold);   /* #ffd700 on navy-dark ✅ */
  text-decoration: none;
}
.footer-legal { display: flex; gap: 20px; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* ============================================
   BACK TO TOP
   ============================================ */
/* Back-to-top: gold-btn (#8f6414) bg → white = 7.3:1 ✅ AAA */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gold-btn);   /* #8f6414 — 7.3:1 ✅ AAA */
  color: var(--white);
  border-radius: 50%;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--navy); transform: translateY(-3px); }

/* ============================================
   ACCESSIBILITY — FOCUS INDICATORS
   WCAG 2.1 SC 2.4.7 (Focus Visible) Level AA
   WCAG 2.2 SC 2.4.11 (Focus Appearance) Level AA
   ============================================ */

/* Universal focus ring — gold on all backgrounds gives ≥ 3:1 contrast
   against both light (white) and dark (navy) surfaces ✅ */
:focus-visible {
  outline: 3px solid var(--accent-gold);   /* #ffd700 — highly visible */
  outline-offset: 3px;
  border-radius: 4px;
}

/* Suppress focus ring for pointer/mouse users only */
:focus:not(:focus-visible) {
  outline: none;
}

/* Buttons — larger halo for ease of identification */
.btn:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(255,215,0,.30);
}

/* Links — gold outline visible on any background */
a:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Form inputs — navy border + gold outline ring */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
  border-color: var(--navy) !important;
}

/* Skip-to-main-content link
   Hidden off-screen; appears on first Tab keypress
   --gold-btn (#8f6414) bg → white = 7.3:1 ✅ AAA */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary-dark);   /* #1a252f — high contrast ✅ */
  color: var(--white);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 1rem;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
  transition: top .2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--accent-gold);
}

/* ============================================
   ACCESSIBILITY — REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   ACCESSIBILITY — CONTRAST OVERRIDES
   All ratios verified against WCAG 2.1 AA (4.5:1 normal / 3:1 large+UI)
   ============================================ */

/* Secondary / supporting text — minimum grey-600 (#5a5a5a) = 7:1 ✅ */
.service-card-body p  { color: var(--grey-600); }
.why-item-text p      { color: var(--grey-600); }
.step-card p          { color: var(--grey-600); }
.tl-item p            { color: var(--grey-600); }
.team-card-bio        { color: var(--grey-600); }
.hero-form-panel p    { color: var(--grey-600); }

/* Article body lists — grey-700 (#444444) = 9.7:1 ✅ AAA */
.article-body ul,
.article-body ol      { color: var(--grey-700); }
.article-body .info-box p { color: var(--grey-700); }

/* Review text — grey-700 on white ✅ */
.review-text { color: var(--grey-700); }

/* Verified badge — --green (#166534) on white = 7.6:1 ✅ AAA */
.review-verified { color: var(--green); }

/* Status colours in alerts / traffic light
   All darkened to meet 4.5:1 on white ✅ */
.tl-dot.green { background: var(--green); box-shadow: 0 0 12px rgba(22,101,52,.4); }
.tl-dot.amber { background: var(--amber); box-shadow: 0 0 12px rgba(146,64,14,.4); }
.tl-dot.red   { background: var(--red);   box-shadow: 0 0 12px rgba(185,28,28,.4); }

/* HubSpot form input border — grey-400 (#a0a0a0) = 3:1 UI criterion ✅ */
.hs-form-wrapper .hs-input {
  border: 2px solid var(--border-color) !important;   /* #cbd5e0 — 3:1 ✅ */
}

/* Placeholder text — grey-500 (#696969) = 4.6:1 ✅ AA */
::placeholder {
  color: var(--grey-500);
  opacity: 1;   /* Firefox reduces opacity by default */
}
.hs-form-wrapper .hs-input::placeholder {
  color: var(--grey-500) !important;
  opacity: 1 !important;
}

/* ============================================
   GLOBAL MOBILE RESETS
   Prevent horizontal scroll on all viewports
   ============================================ */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
* {
  -webkit-tap-highlight-color: transparent;   /* remove tap flash on iOS */
  -webkit-text-size-adjust: 100%;             /* prevent iOS font inflation */
  text-size-adjust: 100%;
}
img, video, iframe {
  max-width: 100%;
  height: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   XXL  ≥ 1400px  (min-width)
   XL   ≤ 1200px
   LG   ≤  968px
   MD   ≤  768px
   SM   ≤  600px
   XS   ≤  480px
   ============================================ */

/* ---------- XXL – large desktops ---------- */
@media (min-width: 1400px) {
  .container { max-width: 1360px; }
  .hero-inner { grid-template-columns: 1fr 520px; gap: 80px; }
  .grid-3 { gap: 40px; }
  .grid-4 { gap: 32px; }
  .section { padding: 100px 0; }
}

/* ---------- XL – standard desktops (≤ 1200px) ---------- */
@media (max-width: 1200px) {
  .container { padding: 0 20px; }
  .hero-inner { gap: 48px; }
  .footer-grid { gap: 32px; }
  .grid-3 { gap: 24px; }
  .grid-4 { gap: 20px; }
}

/* ---------- LG – tablets landscape / small laptops (≤ 968px) ---------- */
@media (max-width: 968px) {
  /* Typography scale-down */
  html { font-size: 15px; }

  /* Container */
  .container { padding: 0 20px; }
  .section { padding: 70px 0; }

  /* Hero — single column, text above form */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 120px 20px 60px;
    text-align: center;
  }
  .hero-text {
    padding-top: 0;
    position: static;   /* disable sticky in single-column layout */
  }
  .hero-form-panel { max-width: 500px; margin: 0 auto; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p  { font-size: 1rem; }
  .hero-ctas    { justify-content: center; }
  .hero-badges  { justify-content: center; }

  /* Grids */
  .grid-3   { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .grid-4   { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .grid-2   { gap: 32px; }

  /* Sections */
  .reviews-grid   { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .process-steps  { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .process-steps::before { display: none; }
  .team-grid      { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .blog-grid      { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .stats-inner    { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .why-grid       { gap: 40px; }
  .why-img-wrap img { height: 380px; }

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

  /* Areas page */
  .areas-grid  { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .map-embed   { height: 360px; }
  .towns-grid  { grid-template-columns: repeat(2,1fr); gap: 18px; }
  .towns-stats { gap: 0; padding: 16px 20px; }

  /* Service card icons */
  .service-card-icon { width: 56px; height: 56px; font-size: 1.4rem; }
}

/* ---------- MD – tablets portrait (≤ 768px) ---------- */
@media (max-width: 768px) {
  /* Typography */
  html { font-size: 15px; }

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

  /* ── Navigation ── */
  .site-header { z-index: 1000; }

  /* Hamburger button — min 44 × 44 px touch target */
  .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: var(--radius);
    z-index: 1001;
    position: relative;
  }
  .nav-toggle span { width: 28px; height: 3px; }

  /* Animated hamburger → X */
  .nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

  /* Full-width slide-in menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 100vw);
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -8px 0 40px rgba(0,0,0,.35);
    gap: 4px;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open { right: 0; }

  /* Nav links — full width, generous padding */
  .nav-menu a {
    width: 100%;
    padding: 1rem 20px;
    font-size: 1rem;
    border-radius: var(--radius);
  }

  /* Background overlay behind menu */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 998;
    cursor: pointer;
  }
  .nav-overlay.visible { display: block; }

  /* Grids → single column */
  .grid-2, .grid-3         { grid-template-columns: 1fr; gap: 20px; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .areas-grid              { grid-template-columns: 1fr; gap: 24px; }
  .reviews-grid, .team-grid, .blog-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero-inner { padding: 100px 16px 56px; gap: 28px; }
  .hero-text h1 { font-size: 1.9rem; }
  .hero-text p  { font-size: 1rem; }
  .hero-ctas  { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 340px; justify-content: center; }
  .hero-form-panel { padding: 24px 20px; }

  /* Trust bar */
  .trust-bar-inner { gap: 16px; }
  .trust-item      { font-size: .88rem; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 16px; }

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

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }

  /* Areas */
  .area-list   { columns: 1; }
  .map-embed   { height: 320px; }
  .towns-grid  { grid-template-columns: 1fr; gap: 16px; }
  .towns-stats { padding: 16px 18px; }
  .towns-stat-item strong { font-size: 1.4rem; }

  /* Forms */
  .hs-form-wrapper { padding: 24px; }
  .contact-grid    { grid-template-columns: 1fr; gap: 28px; }

  /* Blog article sidebar collapses */
  .article-sidebar { display: none; }

  /* Buttons — full width on mobile */
  .btn-primary,
  .btn-navy,
  .btn-gold {
    display: flex;
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  /* Exception: buttons inside nav or inline contexts stay auto */
  .nav-cta,
  .blog-read-more,
  .service-card-link { width: auto; display: inline-flex; }

  /* Video hero — hide canvas, use fallback image */
  .hero-video-bg video { display: none; }
  .hero-video-bg {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  }
  #heroParticles { display: none; }

  /* Page hero */
  .page-hero { padding: 110px 0 50px; }
  .page-hero h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  /* Why-choose-us image */
  .why-img-wrap img { height: 300px; }

  /* Team card images */
  .team-card-img { height: 260px; }

  /* Article hero */
  .article-hero { height: 360px; }
}

/* ---------- SM – large phones (≤ 600px) ---------- */
@media (max-width: 600px) {
  /* Typography */
  html { font-size: 15px; }

  /* Spacing */
  .container { padding: 0 14px; }
  .section    { padding: 56px 0; }

  /* Hero */
  .hero-inner       { padding: 90px 14px 48px; }
  .hero-text h1     { font-size: 1.5rem; }
  .hero-text p      { font-size: .9rem; }
  .hero-badges      { gap: 8px; flex-wrap: wrap; }
  .hero-badge       { font-size: .75rem; padding: 5px 10px; }
  .hero-form-panel  { padding: 1.25rem; }
  .hero-form-panel h3 { font-size: 1.1rem; }

  /* Process & stats grids */
  .process-steps { grid-template-columns: 1fr; }
  .stats-inner   { grid-template-columns: repeat(2,1fr); gap: 12px; }

  /* Footer */
  .footer-grid        { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer-legal       { justify-content: center; flex-wrap: wrap; }
  .footer-brand       { text-align: center; }
  .footer-accreditations { justify-content: center; }

  /* Buttons — full width + min touch target */
  .btn { width: 100%; justify-content: center; padding: .75rem 1.5rem; min-height: 44px; }
  .nav-cta,
  .blog-read-more,
  .service-card-link { width: auto; min-height: unset; }

  /* CTA section (navy strip) */
  .section--navy .container { padding: 0 14px; }
  .section--navy h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .section--navy p  { font-size: .9rem; }

  /* Section headings */
  .section-subtitle { font-size: 1rem; margin-bottom: 32px; }

  /* FAQ */
  .faq-question { padding: 16px 18px; font-size: .93rem; }
  .faq-answer   { padding: 0 18px; }
  .faq-answer.open { padding: 14px 18px; }

  /* Feature boxes (grid-2 on SM, single on XS) */
  .grid-2 { grid-template-columns: repeat(2,1fr); gap: 14px; }

  /* Forms */
  .hs-form-wrapper { padding: 20px 16px; }
  .hs-form-wrapper .hs-input  { font-size: 16px !important; padding: .6rem 1rem !important; }
  .hs-form-wrapper .hs-button { padding: .75rem 1.5rem !important; width: 100% !important; }
  .hs-form-wrapper .hs-form-field label { font-size: .9rem; }

  /* Blog */
  .blog-card-body    { padding: 18px; }
  .blog-card-body h3 { font-size: 1rem; }
  .blog-grid         { gap: 16px; }

  /* Related articles */
  .related-articles .grid-3 { grid-template-columns: 1fr; }

  /* Article page */
  .article-body     { padding: 40px 14px; }
  .article-body h2  { font-size: clamp(1.3rem, 5vw, 1.9rem); }
  .article-body h3  { font-size: clamp(1.1rem, 4vw, 1.4rem); }
  .article-hero     { height: 280px; }
  .article-hero-text { padding: 24px 14px; }
  .article-meta     { gap: 10px; }

  /* Page hero */
  .page-hero { padding: 100px 0 44px; }
  .breadcrumb { font-size: .82rem; }

  /* Areas */
  .areas-grid { grid-template-columns: 1fr; }
  .towns-stats {
    flex-wrap: wrap;
    gap: 12px;
  }
  .towns-stat-item { flex: 0 0 calc(50% - 6px); }
  .towns-stat-divider { display: none; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- XS – small phones (≤ 480px) ---------- */
@media (max-width: 480px) {
  /* Typography base */
  html { font-size: 14px; }

  /* Spacing */
  .container { padding: 0 12px; }
  .section    { padding: 48px 0; }

  /* Hero */
  .hero-inner       { padding: 80px 12px 40px; }
  .hero-text h1     { font-size: 1.25rem; }
  .hero-text p      { font-size: .875rem; }
  .hero-form-panel h3 { font-size: 1.1rem; }
  .hs-form-wrapper .hs-input  { padding: .6rem !important; }
  .hs-form-wrapper .hs-button { padding: .7rem 1rem !important; }
  .hero-badges { gap: 6px; }
  .hero-badge  { font-size: .72rem; padding: 4px 8px; }

  /* Stats */
  .stats-inner   { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .stat-item .stat-number { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr; }

  /* Footer */
  .footer-col h4 { margin-bottom: 12px; }
  .footer-links  { gap: 6px; }
  .footer-bottom { padding: 16px 0; }

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

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

  /* Page hero */
  .page-hero { padding: 90px 0 36px; }
  .page-hero h1 { font-size: clamp(1.3rem, 6vw, 1.8rem); }

  /* Article hero */
  .article-hero     { height: 240px; }
  .article-hero-text { padding: 20px 12px; }

  /* Tables — horizontal scroll on very small screens */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Misc */
  .why-img-wrap img   { height: 220px; }
  .map-embed          { height: 260px; }
  .review-card        { padding: 20px 16px; }
  .faq-question       { padding: 14px 16px; font-size: .9rem; }
  .faq-answer.open    { padding: 12px 16px; }
}

/* ============================================
   NATIVE DETAILS / SUMMARY (Blog FAQs)
   ============================================ */
details.faq-item summary {
  user-select: none;
  background: var(--white);
  transition: background var(--transition), color var(--transition);
}
details.faq-item summary:hover {
  background: var(--grey-50);
}
details.faq-item[open] summary {
  background: var(--navy);
  color: var(--white);
}
details.faq-item[open] summary i.fa-chevron-down {
  transform: rotate(180deg);
}
details.faq-item summary i.fa-chevron-down {
  transition: transform .3s ease;
  flex-shrink: 0;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { display: none; }

/* ============================================
   BLOG ARTICLE SIDEBAR – responsive
   ============================================ */
@media (max-width: 900px) {
  #article-body .container > div[style*="grid-template-columns:1fr 280px"] {
    grid-template-columns: 1fr !important;
  }
  #article-body aside {
    position: static !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}

/* ============================================
   FLUID TYPOGRAPHY HELPERS
   These supplement clamp() headings above.
   Granular overrides per breakpoint below.
   ============================================ */
@media (max-width: 968px) {
  h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
  h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
  h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
}
@media (max-width: 600px) {
  h1 { font-size: clamp(1.4rem, 5vw, 2rem); }
  h2 { font-size: clamp(1.25rem, 4.5vw, 1.7rem); }
  h3 { font-size: clamp(1.05rem, 3.5vw, 1.3rem); }
  p  { font-size: .95rem; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(1.2rem, 6vw, 1.6rem); }
  h2 { font-size: clamp(1.1rem, 5vw, 1.4rem); }
  h3 { font-size: clamp(1rem, 4vw, 1.2rem); }
  p  { font-size: .9rem; }
}

/* Deduplicated — .section-label, .section-title, .page-hero, and .fade-up defined above */
