/* =====================================================
   Esher Surveyors – Main Stylesheet
   eshersurveyors.com
   ===================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --navy:      #1a2b4a;
  --navy-dark: #0f1e35;
  --gold:      #c9a84c;
  --gold-lt:   #e2c97e;
  --white:     #ffffff;
  --off-white: #f7f5f0;
  --grey-100:  #f0eeea;
  --grey-200:  #e0ddd7;
  --grey-600:  #6b6b6b;
  --grey-800:  #2e2e2e;
  --text:      #1e1e1e;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius:    8px;
  --shadow:    0 4px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.18);
  --transition: .3s ease;
  --max-w:     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;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Skip Link (Accessibility) ── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--navy);
  padding: .5rem 1rem;
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.25; color: var(--navy); }
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.1rem; }
p { margin-bottom: 1rem; color: var(--grey-800); }
strong { color: var(--navy); }

/* ── Utility Classes ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--navy-dark); color: var(--white); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.lead { font-size: 1.15rem; font-weight: 400; color: var(--grey-600); max-width: 720px; margin: 0 auto 1.5rem; }
.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 2rem;
}
.divider--left { margin-left: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ──────────────────────────────────
   HEADER / NAV
   ────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 43, 74, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.25);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 700;
  font-family: var(--font-head);
}
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; color: var(--white); font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; }
.logo-text span { color: var(--gold); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  position: relative;
  transition: var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--white); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: .5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ──────────────────────────────────
   HERO
   ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

/* ── Hero Image Slider ── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero-slide.active img { animation-play-state: running; }
.hero-slide:not(.active) img { animation-play-state: paused; }

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
  z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 2px solid rgba(255,255,255,.7);
  cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}
.hero-dot:hover { background: rgba(255,255,255,.8); }

/* Overlay gradient (replaces old .hero-bg::after) */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(10,20,40,.80) 40%, rgba(10,20,40,.38) 100%);
  pointer-events: none;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

/* Keep old .hero-bg for non-slider pages */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10,20,40,.78) 45%, rgba(10,20,40,.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.hero-text { color: var(--white); }
.hero-text .badge { background: var(--gold); color: var(--navy); }
.hero-text h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-text h1 em { color: var(--gold); font-style: normal; }
.hero-text p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 560px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.trust-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--white);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  backdrop-filter: blur(6px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Hero Form Card */
.hero-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
  align-self: start;
  margin-top: 0;
}
.hero-form-card h3 { color: var(--navy); margin-bottom: .25rem; }
.hero-form-card p { color: var(--grey-600); font-size: .875rem; margin-bottom: 1.25rem; }

/* ── Floating stats bar ── */
.stats-bar {
  background: var(--navy);
  border-top: 3px solid var(--gold);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding: 1.5rem 0;
}
.stat-item { padding: 1rem; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--font-head); font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.7); letter-spacing: .05em; text-transform: uppercase; margin-top: .25rem; }

/* ──────────────────────────────────
   SERVICES SECTION
   ────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--grey-200);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.service-icon {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.service-card h3 { margin-bottom: .75rem; }
.service-card p { color: var(--grey-600); font-size: .9rem; flex: 1; }
.service-card .btn { margin-top: 1.25rem; align-self: flex-start; }

/* ──────────────────────────────────
   WHY CHOOSE US
   ────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.feature-item { text-align: center; }
.feature-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-lt) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(201,168,76,.35);
}
.feature-item h4 { margin-bottom: .5rem; }
.feature-item p { font-size: .9rem; color: var(--grey-600); }

/* ──────────────────────────────────
   PROCESS / STEPS
   ────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 56px; height: 56px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(26,43,74,.3);
}
.step h4 { margin-bottom: .5rem; }
.step p { font-size: .875rem; color: var(--grey-600); }

/* ──────────────────────────────────
   TESTIMONIALS
   ────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  position: relative;
}
.review-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: .75rem; letter-spacing: .05em; }
.review-text { font-style: italic; color: var(--grey-800); margin-bottom: 1.25rem; font-size: .95rem; line-height: 1.7; }
.reviewer { display: flex; align-items: center; gap: .75rem; }
.reviewer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 600; font-size: .9rem; }
.reviewer-location { font-size: .8rem; color: var(--grey-600); }

/* ──────────────────────────────────
   TEAM
   ────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-photo { height: 320px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info { padding: 1.75rem; }
.team-info h3 { margin-bottom: .25rem; }
.team-role { color: var(--gold); font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: .75rem; }
.team-info p { color: var(--grey-600); font-size: .9rem; }
.team-certs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
.cert-badge {
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 100px;
}

/* ──────────────────────────────────
   AREAS COVERED
   ────────────────────────────────── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.area-chip {
  background: var(--white);
  border: 2px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
  transition: var(--transition);
  cursor: default;
}
.area-chip:hover { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.area-chip span { display: block; font-size: .75rem; font-weight: 400; color: var(--grey-600); margin-top: .2rem; }

/* ──────────────────────────────────
   FAQ ACCORDION
   ────────────────────────────────── */
.faq-list { max-width: 800px; margin: 2.5rem auto 0; }
.faq-item {
  border-bottom: 1px solid var(--grey-200);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  gap: 1rem;
}
.faq-question .icon {
  width: 28px; height: 28px;
  background: var(--grey-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: .9rem;
  color: var(--navy);
}
.faq-item.open .faq-question .icon { background: var(--gold); transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-answer-inner { padding: 0 0 1.25rem; color: var(--grey-600); line-height: 1.8; font-size: .95rem; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ──────────────────────────────────
   CONTACT SECTION / FORM
   ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: .85rem; color: var(--grey-600); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .2rem; }
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
}

/* ──────────────────────────────────
   BLOG
   ────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--grey-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 210px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 1rem; font-size: .78rem; color: var(--grey-600); margin-bottom: .75rem; flex-wrap: wrap; }
.blog-meta span { display: flex; align-items: center; gap: .3rem; }
.blog-category {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .2rem .65rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: .75rem; line-height: 1.35; }
.blog-card p { color: var(--grey-600); font-size: .88rem; flex: 1; }
.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--navy);
  font-weight: 600;
  font-size: .875rem;
  margin-top: 1.25rem;
  transition: var(--transition);
}
.blog-card .read-more:hover { color: var(--gold); gap: .6rem; }

/* Blog Article Page */
.article-hero {
  padding-top: 72px;
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding-bottom: 3rem;
}
.article-hero .badge { margin-bottom: 1rem; }
.article-hero h1 { color: var(--white); max-width: 860px; margin: 0 auto 1rem; }
.article-hero .lead { color: rgba(255,255,255,.75); }
.article-meta { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.6); }
.article-hero-img { max-height: 480px; width: 100%; object-fit: cover; }
.article-body { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem; }
.article-body h2 { margin: 2.5rem 0 1rem; }
.article-body h3 { margin: 2rem 0 .75rem; }
.article-body p { line-height: 1.85; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: .5rem; color: var(--grey-800); }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--navy);
}
.article-body .article-img {
  border-radius: var(--radius);
  margin: 2rem 0;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}
.article-cta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 3rem 0;
}
.article-cta-box h3 { color: var(--white); margin-bottom: .75rem; }

/* ──────────────────────────────────
   MAP / AREAS PAGE HERO
   ────────────────────────────────── */
.page-hero {
  padding-top: 72px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  text-align: center;
  padding-bottom: 4rem;
  padding-top: calc(72px + 3rem);
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 640px; margin: 0 auto; }

/* ──────────────────────────────────
   FOOTER
   ────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 4rem 0 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand p { font-size: .875rem; line-height: 1.8; margin-top: 1rem; max-width: 300px; color: #fff; }
.footer-brand p strong { color: #fff !important; font-weight: 700; }
.site-footer .logo-text strong { color: #fff !important; }
.site-footer .logo-text span { color: rgba(255,255,255,.85) !important; }
.site-footer .logo .logo-icon { color: var(--navy) !important; }
.site-footer strong { color: #fff !important; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: var(--white); font-size: .875rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-accreditations { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.accred-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  padding: .35rem .85rem;
  border-radius: 100px;
  letter-spacing: .06em;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: var(--white);
}
.footer-bottom p,
.footer-bottom nav,
.footer-bottom span { color: #fff !important; }
.footer-bottom a { color: #fff !important; transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold) !important; }

/* ──────────────────────────────────
   SCROLL ANIMATIONS
   ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ──────────────────────────────────
   BACK TO TOP
   ────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 500;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--gold-lt); transform: translateY(-3px); }

/* ──────────────────────────────────
   PROGRESS BAR (Reading)
   ────────────────────────────────── */
#reading-progress {
  position: fixed;
  top: 72px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gold);
  z-index: 999;
  transition: width .1s linear;
}

/* ──────────────────────────────────
   COMPARISON TABLE
   ────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: .9rem;
}
.comparison-table th {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
}
.comparison-table td {
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--grey-200);
}
.comparison-table tr:nth-child(even) td { background: var(--off-white); }
.comparison-table .check { color: #22c55e; font-size: 1.1rem; }
.comparison-table .cross { color: #ef4444; font-size: 1.1rem; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE DESIGN — COMPREHENSIVE MOBILE-FIRST SYSTEM
   Breakpoints:
     XXL  ≥ 1400px  (large desktops)
     XL   ≤ 1200px  (laptops)
     LG   ≤ 968px   (small laptops / large tablets)
     MD   ≤ 768px   (tablets / mobile landscape)
     SM   ≤ 600px   (mobile landscape)
     XS   ≤ 480px   (mobile portrait)
   ══════════════════════════════════════════════════════ */

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

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

/* ══════════════════════════════
   XXL — min-width: 1400px
   ══════════════════════════════ */
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
  .hero-inner { grid-template-columns: 1fr 460px; gap: 4rem; }
}

/* ══════════════════════════════
   XL — max-width: 1200px
   ══════════════════════════════ */
@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: 1fr 400px; gap: 2.5rem; }
}

/* ══════════════════════════════
   LG — max-width: 968px
   ══════════════════════════════ */
@media (max-width: 968px) {
  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  /* Grids */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid  { grid-template-columns: repeat(2, 1fr); }
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); }
  .areas-grid    { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }

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

  /* Tables */
  .comparison-table { font-size: .82rem; }
  .comparison-table th,
  .comparison-table td { padding: .75rem .9rem; }
}

/* ══════════════════════════════
   MD — max-width: 768px
   ══════════════════════════════ */
@media (max-width: 768px) {

  /* — Typography — */
  html { font-size: 15px; }
  h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  h2 { font-size: clamp(1.35rem, 4vw, 1.9rem); }
  h3 { font-size: clamp(1.1rem, 3vw, 1.45rem); }

  /* — Container & Sections — */
  .container { padding: 0 1.25rem; }
  .section    { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }

  /* — Navigation (HAMBURGER) — */
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-dark);
    padding: 1.5rem 1.5rem 3rem;
    gap: 0;
    border-top: 2px solid var(--gold);
    z-index: 999;
    overflow-y: auto;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    width: 100%;
    padding: .95rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .main-nav a::after { display: none; }
  .nav-cta {
    margin-top: 1rem;
    padding: .75rem 1.5rem;
    text-align: center;
    border-radius: var(--radius);
    background: var(--gold) !important;
  }
  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .menu-toggle span { width: 24px; height: 2px; }

  /* — Hero — */
  .hero { min-height: auto; padding-bottom: 0; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.25rem 3rem;
    gap: 2rem;
  }
  .hero-text { text-align: center; }
  .hero-text p { margin: 0 auto; font-size: 1rem; }
  .hero-trust { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-form-card { display: none; }

  /* — Stats — */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 1.8rem; }

  /* — Grids — */
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .areas-grid    { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* — Contact — */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form-wrap { padding: 1.75rem; }

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

  /* — Comparison Table — */
  .comparison-table { font-size: .76rem; }
  .comparison-table th,
  .comparison-table td { padding: .6rem .7rem; }

  /* — CTA — */
  .cta-section { padding: 2.5rem 1.5rem; border-radius: 12px; margin: 0 1rem; }
  .cta-section h2 { font-size: 1.5rem; }

  /* — Article hero — */
  .article-hero { padding-top: calc(72px + 2rem); padding-bottom: 2rem; }
  .article-hero h1 { font-size: 1.75rem; }
  .article-body { padding: 2rem 1.25rem; }
  .article-body h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
  .article-body h3 { font-size: 1.15rem; margin: 1.5rem 0 .6rem; }

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

  /* — HubSpot forms — */
  .hs-input, .hs-form input, .hs-form textarea, .hs-form select {
    font-size: 16px !important; /* prevent iOS zoom */
    padding: .7rem .9rem !important;
  }
}

/* ══════════════════════════════
   SM — max-width: 600px
   ══════════════════════════════ */
@media (max-width: 600px) {

  /* — Typography — */
  html { font-size: 15px; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header p  { font-size: .95rem; }

  /* — Container & Sections — */
  .container { padding: 0 1rem; }
  .section    { padding: 2.5rem 0; }

  /* — Hero — */
  .hero-inner { padding: 2rem 1rem 2.5rem; gap: 1.5rem; }
  .hero-text h1 { font-size: 1.7rem; }
  .hero-text p  { font-size: .95rem; }
  .trust-badge  { font-size: .75rem; padding: .35rem .85rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: .75rem; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* — Stats — */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 1.6rem; }
  .stat-label  { font-size: .72rem; }

  /* — Buttons — */
  .btn {
    padding: .8rem 1.5rem;
    font-size: .9rem;
    min-height: 44px;
  }

  /* — Grids — */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .reviews-grid  { grid-template-columns: 1fr; gap: 1rem; }
  .team-grid     { grid-template-columns: 1fr; gap: 1.25rem; }
  .blog-grid     { grid-template-columns: 1fr; gap: 1.25rem; }
  .areas-grid    { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .process-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid   { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }

  /* — Service cards — */
  .service-card-body { padding: 1.25rem; }
  .service-card h3   { font-size: 1.1rem; }
  .service-card p    { font-size: .875rem; }
  .service-icon      { font-size: 1.5rem; width: 42px; height: 42px; }

  /* — Feature items — */
  .feature-item { padding: 1rem; }
  .feature-icon { width: 52px; height: 52px; font-size: 1.4rem; }

  /* — Blog cards — */
  .blog-card h3   { font-size: 1.05rem; }
  .blog-card p    { font-size: .85rem; }
  .blog-card-img  { height: 180px; }

  /* — Contact — */
  .contact-form-wrap { padding: 1.25rem; }

  /* — Footer — */
  .footer-grid { text-align: left; }
  .footer-accreditations { justify-content: flex-start; }
  .footer-bottom { padding: 1.25rem 0; }

  /* — FAQ — */
  .faq-question { font-size: .9rem; padding: .9rem 0; gap: .75rem; }
  .faq-answer-inner { font-size: .9rem; }
  .faq-question .icon { width: 26px; height: 26px; font-size: .8rem; flex-shrink: 0; }

  /* — CTA — */
  .cta-section { padding: 2rem 1.25rem; margin: 0 .5rem; border-radius: 10px; }
  .cta-section h2 { font-size: 1.25rem; }
  .cta-section p  { font-size: .95rem; }

  /* — Article page — */
  .article-hero { padding-top: calc(72px + 1.5rem); }
  .article-hero h1 { font-size: 1.5rem; }
  .article-meta { gap: .75rem; font-size: .8rem; }
  .article-body { padding: 1.5rem 1rem; }
  .article-cta-box { padding: 1.5rem 1rem; }
  .article-cta-box h3 { font-size: 1.1rem; }

  /* — Comparison table — */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }

  /* — HubSpot — */
  .hs-form-field { margin-bottom: .75rem !important; }
  .hs-input, .hs-form input, .hs-form textarea, .hs-form select {
    font-size: 16px !important;
    padding: .65rem .85rem !important;
  }
  .hs-button, .hs-form input[type="submit"] {
    padding: .8rem !important;
    font-size: .95rem !important;
  }
  .hs-form-field label { font-size: .85rem !important; }

  /* — Page hero — */
  .page-hero { padding-top: calc(72px + 2rem); padding-bottom: 2.5rem; }
  .page-hero h1 { font-size: 1.6rem; }
  .page-hero p  { font-size: .95rem; }
}

/* ══════════════════════════════
   XS — max-width: 480px
   ══════════════════════════════ */
@media (max-width: 480px) {

  /* — Typography — */
  html { font-size: 14px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  p  { font-size: .95rem; line-height: 1.65; }

  /* — Container — */
  .container { padding: 0 .9rem; }
  .section    { padding: 2rem 0; }

  /* — Hero — */
  .hero-inner { padding: 1.75rem .9rem 2.25rem; }
  .hero-text h1 { font-size: 1.4rem; }
  .hero-text p  { font-size: .9rem; }
  .trust-badge  { font-size: .7rem; padding: .3rem .7rem; }
  .hero-form-card h3 { font-size: 1.1rem; }
  .hero-actions .btn { max-width: 100%; }

  /* — Stats — */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 1.5rem; }
  .stat-item   { padding: .75rem .5rem; }

  /* — Grids — */
  .features-grid { grid-template-columns: 1fr; }
  .areas-grid    { grid-template-columns: repeat(2, 1fr); }
  .team-grid     { grid-template-columns: 1fr; }

  /* — Back to top — */
  #back-to-top { bottom: 1.25rem; right: 1.25rem; width: 42px; height: 42px; font-size: 1rem; }

  /* — Article — */
  .article-hero h1 { font-size: 1.3rem; }
  .article-body h2 { font-size: 1.2rem; }
  .article-body h3 { font-size: 1.05rem; }

  /* — Badge — */
  .badge { font-size: .7rem; padding: .2rem .65rem; }
  .blog-category { font-size: .68rem; }

  /* — Hamburger — */
  .menu-toggle { width: 44px; height: 44px; }
}

/* ──────────────────────────────────
   HUBSPOT FORM OVERRIDES
   ────────────────────────────────── */
.hs-form-field label { font-weight: 600; font-size: .85rem; color: var(--navy); margin-bottom: .35rem; display: block; }
.hs-input, .hs-form input, .hs-form textarea, .hs-form select {
  width: 100% !important;
  border: 2px solid var(--grey-200) !important;
  border-radius: var(--radius) !important;
  padding: .75rem 1rem !important;
  font-size: .9rem !important;
  font-family: var(--font-body) !important;
  color: var(--text) !important;
  transition: border-color .2s !important;
  background: var(--white) !important;
}
.hs-input:focus, .hs-form input:focus { border-color: var(--gold) !important; outline: none !important; }
.hs-button, .hs-form input[type="submit"] {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border: none !important;
  padding: .85rem 2rem !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: background .2s !important;
  font-family: var(--font-body) !important;
}
.hs-button:hover { background: var(--gold-lt) !important; }

/* ──────────────────────────────────
   PRINT STYLES
   ────────────────────────────────── */
@media print {
  .site-header, #back-to-top, .hero-bg, .menu-toggle { display: none !important; }
  body { font-size: 12pt; }
}
