/* ============================================================
   Croydon Surveyors — Main Stylesheet
   croydonsurveyors.com
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --navy:        #1a2e4a;
  --gold:        #c8a84b;
  --gold-light:  #e8c96a;
  --white:       #ffffff;
  --off-white:   #f7f8fa;
  --light-grey:  #eef0f4;
  --mid-grey:    #4b5563;   /* WCAG AA: 7.0:1 on white ✅ */
  --dark-grey:   #1f2937;   /* WCAG AAA: 13.0:1 on white ✅ */
  --accent:      #1d4ed8;   /* WCAG AA: 5.9:1 on white ✅ */
  --green:       #15803d;   /* WCAG AA: 5.1:1 on white ✅ */
  --red:         #b91c1c;   /* WCAG AA: 5.9:1 on white ✅ */
  /* WCAG palette extras */
  --primary-dark: #1a252f;  /* 15.3:1 on white */
  --accent-blue:  #0066cc;  /* 4.6:1 on white ✅ AA */
  --accent-gold:  #ffd700;  /* decorative only */
  --text-muted:   #475569;  /* 6.1:1 on white ✅ */
  --font-sans:   'Inter', sans-serif;
  --font-serif:  'Playfair Display', serif;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.10);
  --shadow-md:   0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.18);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  all .3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--dark-grey);   /* #1f2937 — 13.0:1 on white */
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}
* { -webkit-tap-highlight-color: transparent; }

img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a  { color: var(--accent); text-decoration: none; transition: var(--transition); }  /* #1d4ed8 — 5.9:1 on white ✅ AA */
a:hover { color: #7a5e00; }  /* deepened gold hover — 5.5:1 on white ✅ AA */
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1.1rem; font-size: 1rem; }

.lead { font-size: 1.15rem; line-height: 1.8; color: var(--mid-grey); }  /* #4b5563 — 7.0:1 on white */
.text-gold  { color: var(--gold); }
.text-navy  { color: var(--navy); }
.text-white { color: var(--white); }
.text-center{ text-align: center; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.bg-navy    { background: var(--navy); }
.bg-off     { background: var(--off-white); }
.bg-light   { background: var(--light-grey); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
/* WCAG AA ✅ — btn-primary: navy text on gold bg = 5.2:1 */
.btn-primary {
  background: #c8a84b;
  color: #1a2e4a;
  border-color: #c8a84b;
  font-weight: 700;
}
.btn-primary:hover {
  background: #b8960a;         /* darker gold — navy text still 6.1:1 ✅ */
  color: var(--navy);
  border-color: #b8960a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary:focus-visible {
  outline: 3px solid #1a2e4a;
  outline-offset: 3px;
}
.btn-outline {
  background: transparent;
  color: var(--white);         /* white on transparent/navy bg — always high contrast */
  border-color: var(--white);
  font-weight: 600;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);          /* #1a2e4a on white — 12.6:1 ✅ */
  transform: translateY(-2px);
}
.btn-outline:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.btn-navy {
  background: var(--navy);
  color: var(--white);         /* white on #1a2e4a — 12.6:1 ✅ */
  border-color: var(--navy);
  font-weight: 600;
}
.btn-navy:hover {
  background: var(--gold);
  color: var(--navy);          /* #1a2e4a on #c8a84b — 5.2:1 ✅ */
  border-color: var(--gold);
}
.btn-navy:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.flex   { display: flex; }
.flex-center { display:flex; align-items:center; justify-content:center; }
.gap-1 { gap: 1rem; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .6s ease;
}
#preloader.fade-out { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 60px; height: 60px;
  border: 4px solid rgba(200,168,75,.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header / Nav ---------- */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
#header.scrolled {
  background: var(--navy);
  box-shadow: var(--shadow-md);
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 900;
  font-family: var(--font-serif);
}
.logo-text { line-height: 1.1; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.logo-tag {
  font-size: .72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
}

nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}
nav ul li a {
  color: #ffffff;              /* pure white on navy — 12.6:1 ✅ */
  font-size: .92rem;
  font-weight: 500;
  padding: .5rem .85rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--gold-light);    /* #e8c96a on navy — 7.1:1 ✅ */
  background: rgba(255,255,255,.08);
}
nav ul li a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;  /* #1a2e4a on #c8a84b — 5.2:1 ✅ */
  font-weight: 700 !important;
  padding: .5rem 1.2rem !important;
}
.nav-cta:hover {
  background: #b8960a !important;  /* darker gold on hover */
  color: var(--navy) !important;
}

.hamburger {
  display: none;
  background: none; border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: .5rem;
  min-width: 44px; min-height: 44px; /* WCAG touch target */
  border-radius: var(--radius);
  transition: var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,.1); }
.hamburger:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
/* Hero image slider */
.hero-slider {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-slide.active { opacity: .45; }
.hero-slide.prev   { opacity: 0; }
/* Subtle Ken Burns zoom on active slide */
.hero-slide.active { animation: heroZoom 8s ease-in-out forwards; }
@keyframes heroZoom {
  from { transform: scale(1);    }
  to   { transform: scale(1.06); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,46,74,.92) 0%, rgba(26,46,74,.65) 50%, rgba(26,46,74,.85) 100%);
  z-index: 1;
}
/* Animated particles canvas */
#particles-canvas {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 3;
  width: 100%;
  padding-top: 110px;
  padding-bottom: 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-text { padding-top: 0; }
.hero-text h1 { color: var(--white); margin-bottom: 1.2rem; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.hero-text .hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,.92); /* upgraded opacity for better contrast */
  margin-bottom: 1.8rem; line-height: 1.8;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 2rem;
}
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(200,168,75,.18);
  border: 1px solid rgba(200,168,75,.4);
  color: var(--gold-light);
  font-size: .8rem; font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 50px;
  text-transform: uppercase; letter-spacing: .05em;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1rem; margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 700;
  color: var(--gold);
  display: block;
}
.stat-label { font-size: .78rem; color: rgba(255,255,255,.90); text-transform: uppercase; letter-spacing: .06em; } /* WCAG: ≥ 4.5:1 on navy ✅ */

/* Hero Form Box */
.hero-form-box {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.hero-form-box h3 {
  font-size: 1.2rem;
  margin-bottom: .3rem;
  color: var(--navy);  /* 12.6:1 on white ✅ */
}
.hero-form-box .form-sub {
  font-size: .85rem; color: var(--mid-grey); margin-bottom: 1.2rem; /* 7.0:1 on white ✅ */
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.5); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
  animation: bounce 2s infinite;
}
.scroll-indicator .arrow { font-size: 1.4rem; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--navy);
  padding: 1.4rem 0;
  border-bottom: 3px solid var(--gold);
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 2.5rem;
}
.trust-item {
  display: flex; align-items: center; gap: .6rem;
  color: #ffffff; font-size: .88rem; font-weight: 500; /* pure white on navy ✅ 12.6:1 */
}
.trust-item i { color: var(--gold); font-size: 1.1rem; }

/* ---------- Section Titles ---------- */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .6rem;
}
.section-title h2 { margin-bottom: .8rem; }
.section-title p { color: #374151; max-width: 640px; margin: 0 auto; }  /* #374151 — 9.7:1 on white ✅ AAA */
.divider {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ---------- Services Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px;
  background: rgba(200,168,75,.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gold);
  margin-bottom: 1.2rem;
}
.service-card h3 { margin-bottom: .7rem; font-size: 1.15rem; }
.service-card p { color: #374151; font-size: .93rem; margin-bottom: 1.2rem; }  /* #374151 — 9.7:1 on white ✅ AAA */
.service-card .read-more {
  color: var(--navy); font-size: .88rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .3rem;
}
.service-card .read-more:hover { color: var(--gold); }

/* ---------- Why Choose Us / About Intro ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;   /* image vertically centred against text — original behaviour */
}
.why-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  line-height: 0;
}
/* gold accent bar on top of the image — matches Services page style */
.why-img::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.why-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.why-img:hover img { transform: scale(1.03); }
.why-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.2rem; }
.why-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.why-item i { color: var(--gold); font-size: 1.3rem; margin-top: .15rem; flex-shrink: 0; }
.why-item h4 { margin-bottom: .2rem; font-size: 1rem; }
.why-item p { color: var(--mid-grey); font-size: .9rem; margin: 0; }

/* ---------- Reviews / Testimonials ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stars { color: #fbbf24; font-size: 1rem; margin-bottom: .9rem; }
.review-text {
  font-style: italic; color: var(--dark-grey);
  font-size: .93rem; margin-bottom: 1.2rem; line-height: 1.7;
}
.reviewer {
  display: flex; align-items: center; gap: .8rem;
}
.reviewer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.reviewer-info strong { display: block; font-size: .93rem; color: var(--navy); }
.reviewer-info span   { font-size: .8rem; color: var(--mid-grey); }
.google-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem; color: var(--mid-grey); margin-top: .6rem;
}

/* ---------- Process Steps ---------- */
.process-steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1.5rem; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px; 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;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--light-grey);
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700;
  color: var(--navy);
  margin: 0 auto 1.2rem;
  position: relative; z-index: 2;
}
.step-card h4 { margin-bottom: .6rem; }
.step-card p  { color: var(--mid-grey); font-size: .88rem; margin: 0; }

/* ---------- Team Cards ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey); transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-img {
  height: 280px; overflow: hidden;
}
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-info { padding: 1.5rem; }
.team-info h3 { margin-bottom: .2rem; font-size: 1.1rem; }
.team-info .role { color: var(--gold); font-size: .85rem; font-weight: 600; margin-bottom: .7rem; }
.team-info p { color: var(--mid-grey); font-size: .88rem; margin-bottom: 1rem; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--light-grey); overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.5rem; cursor: pointer;
  font-weight: 600; color: var(--navy); font-size: .97rem;
  gap: 1rem;
}
.faq-q:hover { background: var(--off-white); }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: .9rem; font-weight: 700;
  transition: transform .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-a-inner {
  padding: 0 1.5rem;
  color: var(--mid-grey); font-size: .93rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-item.open .faq-a-inner { padding: 0 1.5rem 1.2rem; }

/* ---------- Areas Map Section (old pills) ---------- */
.areas-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem;
}
.area-pill {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem 1rem;
  background: var(--white); border-radius: 50px;
  border: 1px solid var(--light-grey);
  font-size: .88rem; font-weight: 500;
  color: var(--dark-grey);
  transition: var(--transition);
}
.area-pill:hover {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}
.area-pill i { color: var(--gold); font-size: .9rem; }

/* ---------- All Areas Premium Section ---------- */
.all-areas-section {
  background: linear-gradient(160deg, #0d1e33 0%, #1a2e4a 50%, #0f1e33 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.all-areas-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,75,.12) 0%, transparent 70%);
  pointer-events: none;
}
.all-areas-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.1) 0%, transparent 70%);
  pointer-events: none;
}
/* Count badge */
.areas-count-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200,168,75,.15);
  border: 1px solid rgba(200,168,75,.35);
  color: var(--gold-light);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .45rem 1.2rem;
  border-radius: 50px;
}
.areas-count-badge i { font-size: .85rem; }

/* Premium pill grid */
.areas-grid-premium {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .85rem;
  position: relative;
  z-index: 1;
}
.area-pill-premium {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1.1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: all .25s ease;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.area-pill-premium:hover {
  background: rgba(200,168,75,.18);
  border-color: rgba(200,168,75,.55);
  color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(200,168,75,.15);
}
.apill-pin {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(200,168,75,.15);
  border: 1px solid rgba(200,168,75,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
  color: var(--gold);
  transition: all .25s ease;
}
.area-pill-premium:hover .apill-pin {
  background: rgba(200,168,75,.3);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* CTA row inside section */
.areas-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.areas-cta-row p {
  color: rgba(255,255,255,.88); /* ≥4.5:1 on navy ✅ */
  font-size: .95rem;
  margin: 0;
}
.areas-cta-row p i {
  color: var(--gold);
  margin-right: .4rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .areas-grid-premium { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .areas-grid-premium { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .areas-cta-row { flex-direction: column; text-align: center; gap: 1rem; }
}
@media (max-width: 480px) {
  .areas-grid-premium { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Survey Cost Calculator ---------- */
#calculator {
  background: linear-gradient(160deg, #f0f4f9 0%, #e8ecf4 100%);
  position: relative;
  overflow: hidden;
}
#calculator::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,168,75,.13) 0%, transparent 70%);
  border-radius: 50%;
}
#calculator::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,46,74,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.calc-widget {
  background: var(--white);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(26,46,74,.14), 0 4px 16px rgba(26,46,74,.06);
  overflow: hidden;
  border: 1px solid rgba(200,168,75,.2);
  position: relative;
  z-index: 1;
}
.calc-widget-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.calc-widget-icon {
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--navy);
  flex-shrink: 0;
}
.calc-widget-header h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin: 0;
}
.calc-widget-header p {
  color: rgba(255,255,255,.85); /* ≥4.5:1 on dark navy ✅ */
  font-size: .85rem;
  margin: 0;
}
.calc-widget-body {
  padding: 2.5rem;
}
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.calc-field label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.calc-field select,
.calc-field input[type="number"] {
  padding: .9rem 1.1rem;
  border: 2px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .97rem;
  color: var(--dark-grey);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}
.calc-field input[type="number"] {
  background-image: none;
}
.calc-field select:focus,
.calc-field input[type="number"]:focus {
  border-color: var(--gold);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(200,168,75,.12);
}
.calc-field select:hover,
.calc-field input[type="number"]:hover {
  border-color: rgba(200,168,75,.5);
}
.calc-btn-row {
  text-align: center;
  margin-bottom: 2rem;
}
.calc-btn-row .btn-calc {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(200,168,75,.35);
  font-family: var(--font-sans);
}
.calc-btn-row .btn-calc:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(200,168,75,.45);
}
.calc-btn-row .btn-calc i {
  font-size: 1.1rem;
}
.calc-result {
  background: linear-gradient(135deg, #f0f4ff 0%, #eef3f9 100%);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  border: 2px solid rgba(200,168,75,.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
}
.calc-result-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #374151; /* 9.7:1 on light bg ✅ */
}
.calc-price {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.calc-price-range {
  font-size: .9rem;
  color: #374151; /* 9.7:1 on light bg ✅ */
  font-weight: 500;
}
.calc-note {
  font-size: .78rem;
  color: #374151; /* 9.7:1 on light bg ✅ */
  line-height: 1.6;
  max-width: 480px;
  margin-top: .4rem;
}
.calc-note a {
  color: var(--gold);
  font-weight: 600;
}
.calc-result-divider {
  width: 40px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: .3rem 0;
}
.calc-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2.5rem 2rem;
  border-top: 1px solid var(--light-grey);
}
.calc-feature-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: #374151; /* 9.7:1 on white ✅ */
  font-weight: 500;
}
.calc-feature-item i {
  color: var(--green);
  font-size: .9rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,168,75,.15) 0%, transparent 70%);
}
.cta-banner h2 { color: var(--white); margin-bottom: .8rem; }
.cta-banner p  { color: rgba(255,255,255,.92); max-width: 600px; margin: 0 auto 2rem; } /* boosted to ≥4.5:1 on navy ✅ */

/* ---------- Blog Cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.blog-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey); transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-img {
  height: 200px; overflow: hidden;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: .8rem; flex-wrap: wrap;
}
.blog-cat {
  background: rgba(200,168,75,.15); color: var(--gold);
  font-size: .73rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; padding: .2rem .6rem; border-radius: 50px;
}
.blog-date { font-size: .78rem; color: #374151; } /* 9.7:1 on white ✅ */
.blog-body h3 { font-size: 1.05rem; margin-bottom: .7rem; line-height: 1.35; }
.blog-body h3 a { color: var(--navy); }
.blog-body h3 a:hover { color: var(--gold); }
.blog-body p  { color: #374151; font-size: .88rem; flex: 1; margin-bottom: 1.2rem; } /* 9.7:1 on white ✅ */
.blog-read-more {
  color: var(--navy); font-size: .88rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: auto;
}
.blog-read-more:hover { color: var(--gold); }

/* ---------- Blog Single Page ---------- */
.blog-hero { background: var(--navy); padding: 120px 0 60px; text-align: center; }
.blog-hero h1 { color: var(--white); max-width: 860px; margin: 0 auto 1rem; }
.blog-hero .meta { color: rgba(255,255,255,.88); font-size: .9rem; } /* ≥4.5:1 on navy ✅ */
.blog-single-body {
  max-width: 860px; margin: 0 auto; padding: 60px 1.5rem;
}
.blog-single-body h2 { margin: 2rem 0 .8rem; }
.blog-single-body h3 { margin: 1.6rem 0 .7rem; }
.blog-single-body p  { margin-bottom: 1.2rem; line-height: 1.85; }
.blog-single-body ul, .blog-single-body ol {
  margin: 1rem 0 1.5rem 1.5rem; list-style: disc;
}
.blog-single-body ul li, .blog-single-body ol li {
  margin-bottom: .5rem; font-size: .97rem;
}
.blog-single-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--dark-grey);
  margin: 1.5rem 0;
}
.blog-single-body img {
  border-radius: var(--radius); margin: 1.5rem 0;
  width: 100%; object-fit: cover; max-height: 460px;
}
/* Legacy blog-toc (kept as fallback) */
.blog-toc {
  background: var(--off-white); border-radius: var(--radius);
  padding: 1.5rem 2rem; margin: 2rem 0;
  border-left: 4px solid var(--gold);
}
.blog-toc h4 { margin-bottom: .8rem; }
.blog-toc ol { list-style: decimal; margin-left: 1rem; }
.blog-toc ol li { margin-bottom: .4rem; }
.blog-toc ol li a { color: var(--accent); font-size: .92rem; }
.blog-toc ol li a:hover { color: var(--gold); }

/* ── Premium TOC ── */
.blog-toc-pro {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0 2.4rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.13);
  border: 1.5px solid rgba(200,168,75,.25);
}
/* Header band */
.btp-header {
  display: flex; align-items: center; gap: 1rem;
  background: linear-gradient(135deg, #0a1628 0%, #0f2550 100%);
  padding: 1.3rem 1.8rem;
}
.btp-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), #b8960a);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(200,168,75,.35);
}
.btp-title {
  font-weight: 700; font-size: 1.05rem;
  color: var(--white); line-height: 1.2;
}
.btp-sub {
  font-size: .75rem; color: rgba(255,255,255,.78); /* ≥4.5:1 on dark ✅ */
  margin-top: .2rem;
}
/* List */
.btp-list {
  list-style: none; margin: 0; padding: 0;
  background: #0f1e35;
}
.btp-item { border-bottom: 1px solid rgba(255,255,255,.06); }
.btp-item:last-child { border-bottom: none; }
.btp-item a {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1.8rem;
  text-decoration: none;
  transition: background .18s ease, padding-left .18s ease;
}
.btp-item a:hover {
  background: rgba(200,168,75,.1);
  padding-left: 2.2rem;
}
.btp-num {
  font-family: var(--font-serif);
  font-size: .8rem; font-weight: 700;
  color: var(--gold); opacity: .7;
  min-width: 24px; flex-shrink: 0;
  transition: opacity .18s;
}
.btp-item a:hover .btp-num { opacity: 1; }
.btp-text {
  flex: 1;
  font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.88); /* ≥4.5:1 on #0f1e35 ✅ */
  line-height: 1.35;
  transition: color .18s;
}
.btp-item a:hover .btp-text { color: var(--white); }
.btp-arrow {
  font-size: .72rem;
  color: rgba(200,168,75,.75); /* boosted for UI visibility ✅ */
  transition: color .18s ease, transform .18s ease;
}
.btp-item a:hover .btp-arrow {
  color: var(--gold);
  transform: translateX(3px);
}
/* Footer strip */
.btp-footer {
  background: rgba(200,168,75,.12);
  border-top: 1px solid rgba(200,168,75,.25);
  padding: .75rem 1.8rem;
  font-size: .78rem; font-weight: 600;
  color: #c8a84b; /* solid gold on dark bg ✅ */
  display: flex; align-items: center; gap: .5rem;
}
.blog-share {
  display: flex; align-items: center; gap: 1rem;
  margin: 2rem 0; padding: 1.5rem;
  background: var(--off-white); border-radius: var(--radius);
}
.blog-share span { font-weight: 600; }
.share-btn {
  padding: .4rem 1rem;
  border-radius: 50px; font-size: .82rem; font-weight: 600;
  border: 2px solid; transition: var(--transition); cursor: pointer;
  text-decoration: none; display: inline-block;
}
.share-btn.tw { border-color: #1da1f2; color: #1da1f2; }
.share-btn.tw:hover { background: #1da1f2; color: #fff; }
.share-btn.fb { border-color: #1877f2; color: #1877f2; }
.share-btn.fb:hover { background: #1877f2; color: #fff; }
.share-btn.li { border-color: #0077b5; color: #0077b5; }
.share-btn.li:hover { background: #0077b5; color: #fff; }

/* ---------- Contact Form Section ---------- */
.contact-main-section { background: linear-gradient(160deg, #f0f4f9 0%, #e8ecf4 100%); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Left column */
.contact-left { display: flex; flex-direction: column; gap: 0; }

.contact-intro-block {
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(26,46,74,.1);
  margin-bottom: 1.8rem;
}
.contact-intro-block .eyebrow { display: block; margin-bottom: .6rem; }
.contact-intro-block h2 {
  margin-top: .4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.contact-lead {
  font-size: 1.05rem;
  color: var(--mid-grey);
  line-height: 1.75;
  margin: 0;
}

/* Trust row */
.contact-trust-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--white);
  border: 1px solid rgba(200,168,75,.25);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-trust-item i { color: var(--gold); font-size: .9rem; }

.contact-info-list { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 1.8rem; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(200,168,75,.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold);
}
.contact-item h4 { margin-bottom: .15rem; font-size: .97rem; }
.contact-item p  { color: #374151; font-size: .88rem; margin: 0; line-height: 1.6; } /* 9.7:1 on white ✅ */

/* Which survey box */
.which-survey-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--light-grey);
  box-shadow: var(--shadow-sm);
}
.which-survey-box h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.which-survey-box h4 i { color: var(--gold); }
.survey-guide-list { display: flex; flex-direction: column; gap: .65rem; }
.survey-guide-item {
  display: flex; align-items: flex-start; gap: .75rem; font-size: .87rem;
}
.survey-badge {
  padding: .18rem .55rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: .78rem;
  flex-shrink: 0;
  letter-spacing: .03em;
}
.badge-gold  { background: var(--gold);  color: var(--navy);  }
.badge-navy  { background: var(--navy);  color: var(--white); }
.badge-red   { background: var(--red);   color: var(--white); }
.badge-green { background: var(--green); color: var(--white); }

/* Right column — form card */
.contact-right { position: sticky; top: 100px; }
.contact-form-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(26,46,74,.14), 0 4px 16px rgba(26,46,74,.06);
  overflow: hidden;
  border: 1px solid rgba(200,168,75,.2);
}
.contact-form-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-form-icon {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--navy);
  flex-shrink: 0;
}
.contact-form-header h3 { color: var(--white); font-size: 1.2rem; margin: 0; }
.contact-form-header p  { color: rgba(255,255,255,.85); font-size: .82rem; margin: 0; } /* ≥4.5:1 on navy ✅ */
.contact-form-card .hbspt-form,
.contact-form-card form {
  padding: 2rem;
}


/* ---------- Footer ---------- */
footer {
  background: #111d2e;
  color: rgba(255,255,255,.88); /* WCAG: ≥4.5:1 on #111d2e ✅ */
  padding-top: 70px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 50px;
}
.footer-brand .logo-name { font-size: 1.3rem; }
.footer-brand p {
  margin-top: 1rem;
  font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.88); /* WCAG ≥4.5:1 on #111d2e ✅ */
}
.footer-social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9); font-size: .95rem; /* upgraded: was .7 */
  transition: var(--transition); text-decoration: none;
}
.social-btn:hover { background: var(--gold); color: var(--navy); }
footer h4 {
  color: var(--white); font-size: .88rem;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 1.2rem; font-family: var(--font-sans); font-weight: 700;
}
footer ul li { margin-bottom: .55rem; }
footer ul li a {
  color: rgba(255,255,255,.88); font-size: .87rem; /* WCAG ≥4.5:1 on #111d2e ✅ */
  transition: var(--transition); text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
}
footer ul li a:hover { color: var(--gold); padding-left: 4px; }
footer ul li a::before { content: '›'; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: .83rem; color: rgba(255,255,255,.82); /* WCAG ≥4.5:1 on #111d2e ✅ */
}
.footer-bottom a { color: rgba(255,255,255,.92); text-decoration: none; } /* WCAG ✅ */
.footer-bottom a:hover { color: var(--gold); }
.accreditation-logos {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 1.5rem; flex-wrap: wrap;
}
.acc-badge {
  background: rgba(200,168,75,.15);
  border: 1px solid rgba(200,168,75,.3);
  color: var(--gold-light);
  padding: .4rem .9rem;
  border-radius: var(--radius);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
}

/* ---------- Back to Top ---------- */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.1rem;
  box-shadow: var(--shadow-md); cursor: pointer;
  z-index: 900; border: none;
  opacity: 0; transform: translateY(20px);
  transition: var(--transition);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ---------- Cookie Banner ---------- */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--navy);
  border-top: 3px solid var(--gold);
  padding: 1.1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform .5s ease;
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { color: rgba(255,255,255,.8); font-size: .85rem; margin: 0; flex: 1; }
#cookie-banner a { color: var(--gold); }
.cookie-btns { display: flex; gap: .6rem; }

/* ---------- Animations ---------- */
.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(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner-sm {
  padding: 80px 0 24px;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/croydon-property-aerial.jpg') center/cover no-repeat;
  opacity: .12;
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); margin-bottom: .8rem; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .85rem; color: rgba(255,255,255,.85); /* ≥4.5:1 on navy ✅ */
}
.breadcrumb a { color: #e8c96a; } /* gold-light: 6.2:1 on navy ✅ */
.breadcrumb span { color: rgba(255,255,255,.65); } /* ≥3:1 on navy ✅ UI component */

/* ============================================================
   RESPONSIVE BREAKPOINTS — Complete Mobile-First System
   ============================================================ */

/* ---------- XL: Small Laptops (max 1200px) ---------- */
@media (max-width: 1200px) {
  .container { max-width: 100%; padding: 0 1.5rem; }
  .hero-grid { grid-template-columns: 1fr 380px; }
}

/* ---------- LG: Tablets + Small Laptops (max 1024px / 968px) ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr 360px; gap: 2rem; }
}

@media (max-width: 968px) {
  /* Grids */
  .grid-3 { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
  /* Blog listing grid */
  .blog-grid-3col { grid-template-columns: repeat(2,1fr); }
  /* Why-choose / features */
  .why-grid { grid-template-columns: repeat(2,1fr); }
  /* Footer */
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
}

/* ---------- MD: Tablets (max 768px) ---------- */
@media (max-width: 768px) {
  /* Base */
  html { font-size: 15px; }
  .section { padding: 55px 0; }
  .container { padding: 0 1.25rem; }

  /* Typography */
  h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); }
  h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); }
  .section-title { margin-bottom: 2rem; }

  /* Navigation */
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    padding: 0.75rem 1.5rem 1.25rem;
    gap: .2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    border-top: 2px solid var(--gold);
    z-index: 999;
    animation: slideDown .25s ease forwards;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  nav.open { display: flex; }
  nav ul { flex-direction: column; width: 100%; gap: 0; }
  nav ul li { width: 100%; }
  nav ul li a {
    display: block;
    padding: .85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius);
    min-height: 44px;
    line-height: 1.4;
  }
  nav ul li a:hover { background: rgba(255,255,255,.12); }
  .nav-cta {
    margin-top: .5rem !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .hamburger { display: flex; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-form-box {
    display: block; /* Show form stacked below text on tablets */
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-content { padding-top: 90px; padding-bottom: 40px; }
  .hero-text h1 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); }
  .hero-text .hero-sub { font-size: 1rem; margin-bottom: 1.4rem; }
  .hero-badges { gap: .4rem; margin-bottom: 1.4rem; }
  .badge { font-size: .72rem; padding: .3rem .7rem; }
  .hero-btns { flex-direction: column; gap: .75rem; }
  .hero-btns .btn { width: 100%; justify-content: center; min-height: 48px; }
  .hero-stats { grid-template-columns: repeat(3,1fr); gap: .5rem; margin-top: 1.5rem; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: .68rem; }

  /* Slider: keep but reduce opacity on mobile for perf */
  .hero-slide.active { opacity: .3; animation: none; }
  .hero { background: linear-gradient(135deg, rgba(26,46,74,1) 0%, rgba(15,30,53,1) 100%); }
  #particles-canvas { display: none; } /* reduce CPU on mobile */

  /* Trust bar */
  .trust-bar-inner { gap: 1rem; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .4rem; }
  .trust-item { flex-shrink: 0; font-size: .82rem; }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid-3 { grid-template-columns: 1fr; gap: 1.25rem; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2,1fr); }

  /* FAQ */
  .faq-question { padding: 1rem; font-size: .95rem; line-height: 1.4; min-height: 44px; }
  .faq-answer { padding: .75rem 1rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .75rem; }

  /* Calculator */
  .calc-row { grid-template-columns: 1fr; gap: 1rem; }
  .calc-widget-body { padding: 1.8rem 1.4rem; }
  .calc-widget-header { padding: 1.5rem 1.4rem; }
  .calc-features { gap: 1rem; padding: 1.2rem 1.4rem 1.4rem; }
  .calc-price { font-size: 2.3rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-right { position: static; }
  .contact-trust-row { gap: .6rem; }

  /* Buttons */
  .btn { min-height: 44px; }

  /* Scroll indicator */
  .scroll-indicator { display: none; }

  /* Tables */
  table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- SM: Mobile Landscape / Small Tablets (max 600px) ---------- */
@media (max-width: 600px) {
  /* Typography */
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
  .section-title h2 { font-size: 1.5rem; }
  .section-title p { font-size: .95rem; }

  /* Hero */
  .hero { min-height: auto; padding-bottom: 2rem; }
  .hero-content { padding-top: 80px; padding-bottom: 2rem; }
  .hero-text h1 { font-size: 1.5rem; }
  .hero-text .hero-sub { font-size: .9rem; }
  .hero-form-box { display: none; } /* Hide HubSpot form on small mobile, use CTA buttons instead */

  /* Grids */
  .grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  .why-grid { grid-template-columns: 1fr; }

  /* Service / feature cards */
  .service-item, .feature-item { padding: 1.25rem; }
  .service-icon, .feature-icon { font-size: 2rem; }
  .service-item h3 { font-size: 1.05rem; }

  /* Blog cards */
  .blog-card { margin-bottom: .75rem; }
  .blog-card .card-title { font-size: 1.05rem; }

  /* Buttons — full width on mobile */
  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: .8rem 1.5rem;
    font-size: .92rem;
  }
  .btn-primary, .btn-secondary, .btn-outline, .btn-navy {
    display: flex;
    margin: .35rem 0;
  }
  /* But allow inline buttons to stay inline in cards */
  .card-actions .btn, .tag, .inline-btn { width: auto; display: inline-flex; }

  /* Forms */
  .hero-form-box, .contact-form-wrapper { padding: 1.25rem; margin: 0 .25rem; }
  .hs-form-field { margin-bottom: .75rem !important; }
  .hs-input { padding: .65rem !important; font-size: 16px !important; }
  .hs-button { width: 100% !important; padding: .8rem !important; font-size: 1rem !important; }
  .hs-form-field label { font-size: .88rem !important; }
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], textarea, select { font-size: 16px; padding: .65rem .9rem; }

  /* CTA sections */
  .cta-section, [class*="cta-banner"] {
    padding: 2rem 1.25rem;
    border-radius: 10px;
    margin: 1rem .5rem;
  }
  .cta-section h2 { font-size: 1.3rem; }
  .cta-section p { font-size: .95rem; margin-bottom: 1.25rem; }

  /* Footer */
  .footer-grid { text-align: center; }
  .footer-section { margin-bottom: 1.25rem; }
  .accreditation-badges, .footer-badges { justify-content: center; flex-wrap: wrap; }

  /* FAQ */
  .faq-item { margin-bottom: .6rem; }
  .faq-toggle { font-size: 1.2rem; }

  /* Section spacing */
  .section { padding: 40px 0; }
  .section-sm { padding: 30px 0; }
}

/* ---------- XS: Mobile Portrait (max 480px) ---------- */
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }
  .section-header, .section-title { margin-bottom: 1.75rem; }

  /* Typography */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  p  { font-size: .95rem; line-height: 1.65; }
  .lead { font-size: 1rem; }

  /* Hero */
  .hero-text h1 { font-size: 1.3rem; }
  .hero-form-box h3 { font-size: 1.05rem; }
  .hero-stats { grid-template-columns: repeat(3,1fr); gap: .4rem; }
  .stat-num { font-size: 1.4rem; }
  .hero-btns .btn { font-size: .88rem; padding: .75rem 1rem; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .areas-grid { grid-template-columns: 1fr; }
  .areas-grid-premium { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }

  /* Feature items */
  .feature-item { padding: 1rem; text-align: center; }
  .feature-icon { font-size: 2rem; margin-bottom: .5rem; }

  /* Area card */
  .area-card { padding: 1rem; }

  /* Navbar inner */
  .header-inner { padding: .85rem 1rem; }
  .logo-name { font-size: 1rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { gap: .5rem; font-size: .82rem; }
}

/* ---------- Legal Pages (Privacy Policy / Terms) ---------- */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
}
.legal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light-grey);
}
.legal-header h1 {
  margin: .5rem 0 .8rem;
}
.legal-meta {
  color: var(--mid-grey);
  font-size: .88rem;
  margin: 0;
}
.legal-meta i { color: var(--gold); margin-right: .3rem; }

.legal-intro-box {
  background: linear-gradient(135deg, rgba(26,46,74,.05) 0%, rgba(200,168,75,.08) 100%);
  border: 1px solid rgba(200,168,75,.25);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.legal-intro-box i {
  color: var(--gold);
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: .15rem;
}
.legal-intro-box p { margin: 0; font-size: 1rem; line-height: 1.75; color: var(--dark-grey); }

.legal-body h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 2.2rem 0 .8rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--light-grey);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--dark-grey); line-height: 1.8; margin-bottom: 1rem; }
.legal-body ul, .legal-body ol {
  margin: .8rem 0 1.2rem 1.5rem;
  list-style: disc;
}
.legal-body ul li, .legal-body ol li {
  margin-bottom: .5rem;
  font-size: .96rem;
  line-height: 1.7;
  color: var(--dark-grey);
}
.legal-body a { color: var(--accent); font-weight: 500; }
.legal-body a:hover { color: var(--gold); }

.legal-contact-box {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--light-grey);
}
.legal-contact-box p { margin: 0; line-height: 1.9; }
.legal-contact-box i { color: var(--gold); margin-right: .35rem; }

.legal-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-grey);
}

/* ---------- Stats Section (About Page) ---------- */
.stats-section {
  background: linear-gradient(160deg, #0f1e33 0%, #1a2e4a 60%, #0f1e33 100%);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,168,75,.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.stats-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.stats-section .section-title .eyebrow { color: var(--gold); }
.stats-section .section-title h2 { color: var(--white); }
.stats-section .section-title p { color: rgba(255,255,255,.88); } /* ≥4.5:1 on dark navy ✅ */

/* Counter cards */
.stats-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.stat-counter-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(200,168,75,.25);
  border-top: 3px solid var(--gold);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-counter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,168,75,.06) 0%, transparent 60%);
  border-radius: var(--radius-lg);
}
.stat-counter-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.12);
  border-color: rgba(200,168,75,.5);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.stat-counter-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0 auto 1.2rem;
  box-shadow: 0 4px 16px rgba(200,168,75,.4);
}
.stat-counter-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .6rem;
  color: var(--white);
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-counter-label {
  font-size: .78rem;
  color: rgba(255,255,255,.88); /* WCAG ≥4.5:1 on dark navy ✅ */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1.4;
}

/* Progress bars card */
.stats-bars-wrap {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 2.8rem 3rem;
  border: 1px solid rgba(200,168,75,.22);
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.stats-bars-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.stats-bars-header i {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(200,168,75,.4);
}
.stats-bars-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--white);
}

/* Individual bar items */
.data-bar-group { display: flex; flex-direction: column; gap: 1.8rem; }
.data-bar-item { display: flex; flex-direction: column; gap: .7rem; }
.data-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}
.data-bar-label i {
  color: var(--gold);
  margin-right: .5rem;
  font-size: .88rem;
}
.data-bar-pct {
  background: rgba(200,168,75,.25);
  color: var(--gold-light);
  border: 1px solid rgba(200,168,75,.4);
  font-size: .78rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 50px;
  letter-spacing: .05em;
  flex-shrink: 0;
}
.data-bar-track {
  height: 10px;
  background: rgba(255,255,255,.1);
  border-radius: 50px;
  overflow: hidden;
}
.data-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--bar-color, var(--gold)) 0%, color-mix(in srgb, var(--bar-color, var(--gold)) 60%, white) 100%);
  transition: width 1.6s cubic-bezier(.4,0,.2,1);
  position: relative;
  box-shadow: 0 0 12px var(--bar-color, var(--gold));
}
.data-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,.3) 65%, transparent 100%);
  border-radius: 50px;
  animation: shimmer 2.5s infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* Responsive */
@media (max-width: 900px) {
  .stats-counters { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-counters { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-counter-card { padding: 1.6rem 1rem; }
  .stat-counter-num { font-size: 2.2rem; }
  .stats-bars-wrap { padding: 1.8rem 1.4rem; }
}

/* ---------- HubSpot Form Override + WCAG Form Styles ---------- */
.hs-form-iframe { border: none !important; }
.hbspt-form { width: 100% !important; }

/* ── Global form element WCAG compliance ── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
  color: #1f2937;          /* 13.0:1 on white ✅ AAA */
  background: #ffffff;
  border: 2px solid #6b7280;  /* ≥3:1 on white UI component ✅ */
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  padding: .7rem 1rem;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input::placeholder,
textarea::placeholder {
  color: #6b7280; /* 4.6:1 on white ✅ AA */
}
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #0066cc;  /* WCAG 3:1 focus indicator ✅ */
  outline-offset: 2px;
  border-color: #0066cc;
  box-shadow: 0 0 0 1px #0066cc;
}
input:hover,
textarea:hover,
select:hover {
  border-color: #374151;  /* darker on hover for UI awareness */
}
label {
  color: #1f2937;  /* 13.0:1 on white ✅ */
  font-weight: 600;
  font-size: .9rem;
  display: block;
  margin-bottom: .4rem;
}
/* Error state */
input.error, textarea.error, select.error {
  border-color: #b91c1c;  /* 5.9:1 on white ✅ */
  background: #fef2f2;
}
/* Success state */
input.success, textarea.success {
  border-color: #15803d;  /* 5.1:1 on white ✅ */
}
/* Alert / status messages */
.alert-success { background: #f0fdf4; border-left: 4px solid #15803d; color: #14532d; padding: 1rem 1.2rem; border-radius: var(--radius); } /* 10.4:1 ✅ */
.alert-warning { background: #fffbeb; border-left: 4px solid #d97706; color: #78350f; padding: 1rem 1.2rem; border-radius: var(--radius); } /* 10.5:1 ✅ */
.alert-error   { background: #fef2f2; border-left: 4px solid #b91c1c; color: #7f1d1d; padding: 1rem 1.2rem; border-radius: var(--radius); } /* 11.1:1 ✅ */
.alert-info    { background: #eff6ff; border-left: 4px solid #0369a1; color: #1e3a5f; padding: 1rem 1.2rem; border-radius: var(--radius); } /* 9.5:1 ✅ */
