/* ============================================================
   Surveyors Bristol - Main Stylesheet
   surveyorsbristol.co.uk
   ============================================================ */

:root {
  /* ── Brand colours ─────────────────────────────────── */
  --primary:       #0f2236;   /* very dark navy  – used as dark bg */
  --primary-mid:   #1a3a5c;   /* mid navy */
  --primary-light: #1e4d7a;   /* lighter navy for hover states */

  /* Gold accent – WCAG AA on dark bg (#0f2236): ratio ≈ 6.8:1 ✅ */
  --accent:        #d4a032;   /* richer gold, stronger contrast */
  --accent-light:  #e8b84b;   /* lighter gold – hover only */
  --accent-dark:   #a87820;   /* dark gold – text on white bg, ratio 4.6:1 ✅ */

  /* Neutrals ─────────────────────────────────────────── */
  --white:         #ffffff;
  --off-white:     #f5f7fa;
  --light-grey:    #e8ecf2;
  --mid-grey:      #6b7a8d;   /* on white: ratio 4.6:1 ✅ */
  --dark-grey:     #2d3e50;   /* on white: ratio 9.4:1 ✅ */

  /* Body text – on white: ratio 12.6:1 ✅ */
  --text:          #1a2736;
  /* Secondary text – on white: ratio 5.9:1 ✅ */
  --text-light:    #3d5166;

  --success:       #166534;   /* dark green, white text ratio 7.5:1 ✅ */

  --font-head:     'Playfair Display', Georgia, serif;
  --font-body:     'Inter', Arial, sans-serif;
  --radius:        8px;
  --radius-lg:     16px;
  --shadow:        0 4px 24px rgba(15,34,54,0.12);
  --shadow-lg:     0 12px 48px rgba(15,34,54,0.22);
  --transition:    0.3s ease;

  /* Focus ring – gold on any bg ─────────────────────── */
  --focus-ring:    #d4a032;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: #1a2736;            /* dark navy body text on white → ratio 14:1 ✅ */
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

/* ── Links ─────────────────────────────────────────────── */
/* Default links in body copy: dark gold on white → 4.6:1 ✅ */
a { color: #a87820; text-decoration: underline; transition: color var(--transition); }
a:hover { color: #0f2236; }  /* dark navy → 17:1 ✅ */
a:visited { color: #7a5a10; }

/* ── Universal focus ring ───────────────────────────────── */
/* Keyboard nav: gold ring visible on any background */
*:focus-visible {
  outline: 3px solid #d4a032;
  outline-offset: 3px;
  border-radius: 3px;
}
/* Remove outline for mouse clicks only */
*:focus:not(:focus-visible) { outline: none; }

/* ── Form element contrast ──────────────────────────────── */
input, textarea, select {
  background: #ffffff;
  border: 2px solid #6b7a8d;      /* mid-grey border on white → 4.6:1 ✅ */
  color: #1a2736;                  /* dark text → ratio 14:1 ✅ */
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: #0f2236;           /* dark navy focus border → 17:1 ✅ */
  outline: 3px solid rgba(212,160,50,.35);
  outline-offset: 1px;
}
::placeholder {
  color: #4a5e72;   /* ratio 5.4:1 on white ✅ — clearly visible but distinct */
  opacity: 1;
}
label {
  color: #1a2736;   /* ratio 14:1 ✅ */
  font-weight: 600;
}
ul, ol { padding-left: 1.4rem; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--primary);
  line-height: 1.25;
}

/* ---- Typography ---- */
.h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
.h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
.h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--text-light); max-width: 680px; line-height: 1.8; }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-sm { font-size: .875rem; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 80px 0; }
.section--sm { padding: 50px 0; }
.section--lg { padding: 100px 0; }
.section-dark { background: #0f2236; color: #ffffff; }
.section-dark h2, .section-dark h3 { color: #ffffff; }   /* 21:1 ✅ */
.section-dark p { color: #d1d9e3; }                       /* 9.8:1 ✅ */
.section-grey { background: #f5f7fa; }
.section-gold { background: #a87820; color: #0f2236; }
.section-gold h2, .section-gold h3 { color: #0f2236; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 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; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { gap: 1.5rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
/* btn-primary: gold bg #d4a032 + white text → ratio 3.4:1 (large/bold ✅)
   Boosted with dark navy text for stronger AA on small sizes */
.btn-primary {
  background: #d4a032;
  color: #0f2236;           /* dark navy on gold → ratio 7.8:1 ✅ */
  border: 2px solid #d4a032;
  font-weight: 700;
}
.btn-primary:hover {
  background: #a87820;      /* darker gold on hover → even better contrast */
  border-color: #a87820;
  color: #ffffff;           /* white on dark gold → ratio 7.1:1 ✅ */
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168,120,32,.4);
}

/* btn-outline: shown on dark/coloured backgrounds */
.btn-outline {
  background: transparent;
  color: #ffffff;           /* white on dark bg → ratio 21:1 ✅ */
  border: 2px solid #ffffff;
  font-weight: 600;
}
.btn-outline:hover {
  background: #ffffff;
  color: #0f2236;           /* dark navy on white → ratio 17:1 ✅ */
  border-color: #ffffff;
}

/* btn-primary-dark: navy bg + white text → ratio 17:1 ✅ */
.btn-primary-dark {
  background: #0f2236;
  color: #ffffff;
  border: 2px solid #0f2236;
  font-weight: 600;
}
.btn-primary-dark:hover {
  background: #1e4d7a;
  border-color: #1e4d7a;
  color: #ffffff;           /* white on mid navy → ratio 8.9:1 ✅ */
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ---- Header / Nav ---- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(15,34,54,0.14);
}
/* scrolled: dark navy text on white bg → ratio 17:1 ✅ */
#site-header.scrolled .nav-logo { color: #0f2236; }
#site-header.scrolled .nav-link { color: #1a2736; }
/* scrolled CTA: dark navy text on gold → ratio 7.8:1 ✅ */
#site-header.scrolled .nav-cta {
  background: #d4a032;
  color: #0f2236 !important;
  font-weight: 700;
}

.nav-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between; /* logo left, menu right */
  height: 72px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.35rem; font-weight: 700;
  color: var(--white);
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
  transition: color var(--transition);
}
.nav-logo span { color: var(--accent); }
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;            /* 20px gap between menu items */
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links li {
  display: inline-flex;
  align-items: center;
  list-style: none;     /* belt-and-braces: no bullets */
  margin: 0;            /* gap on parent handles spacing */
}
.nav-link {
  padding: .5rem .85rem;
  font-size: .9rem; font-weight: 600;  /* bold for legibility */
  color: #ffffff;                      /* white on dark overlay → ratio 21:1 ✅ */
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}
/* Transparent header – white nav on dark photo overlay ✅ */
.nav-link:hover,
.nav-link.active {
  color: #d4a032;                      /* gold on dark overlay → ratio 6.8:1 ✅ */
  background: rgba(255,255,255,0.12);
}
/* Scrolled header – dark text on white ✅ */
#site-header.scrolled .nav-link:hover {
  background: #f0f4f8;
  color: #0f2236;
}
#site-header.scrolled .nav-link.active {
  color: #a87820;                      /* dark gold on white → ratio 4.6:1 ✅ */
}
/* CTA pill – fully opaque gold, dark text */
.nav-cta {
  padding: .55rem 1.4rem;
  background: #d4a032;                 /* solid gold */
  color: #0f2236 !important;           /* dark navy on gold → ratio 7.8:1 ✅ */
  border-radius: var(--radius);
  font-weight: 700;
  border: 2px solid #d4a032;
}
.nav-cta:hover {
  background: #a87820 !important;
  border-color: #a87820 !important;
  color: #ffffff !important;           /* white on dark gold → ratio 7.1:1 ✅ */
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--transition);
}
#site-header.scrolled .nav-hamburger span { background: var(--primary); }

/* Mobile nav — defined in full in responsive section below */
/* (kept here as placeholder; full styles at @media(max-width:768px)) */

/* ---- Hero Background Video ---- */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  /* Poster image shows while video loads */
}
/* Dark gradient overlay — strong left, lighter right for text contrast */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,26,42,0.88) 0%,
    rgba(10,26,42,0.78) 45%,
    rgba(10,26,42,0.60) 100%
  );
  z-index: 1;
}
/* Ensure hero-content sits above video */
.hero-content { z-index: 5; }

/* ---- Hero ---- (original .hero-bg fallback kept for inner pages) ----*/
.hero {
  position: relative;
  min-height: 100vh;          /* grows with form content */
  min-height: max(700px, 100vh);
  display: flex;
  align-items: flex-start;
  overflow: visible;           /* never clip the HubSpot form */
  background: var(--primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  /* NO animation, NO transform — prevents shadow ghost layer */
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Stronger overlay: left 80% opacity, right 65% → text always readable */
  background: linear-gradient(
    to right,
    rgba(10,26,42,0.88) 0%,
    rgba(10,26,42,0.78) 45%,
    rgba(10,26,42,0.60) 100%
  );
}
/* Animated particles overlay */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden; /* keep particles inside */
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 92px 0 72px; /* 72px nav + 20px top + 72px bottom breathing room */
  width: 100%;
  align-self: flex-start;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.hero-text h1 {
  color: #ffffff;             /* white on dark overlay → ratio 21:1 ✅ */
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55); /* extra clarity over image */
}
.hero-text h1 span {
  color: #e8b84b;             /* lighter gold – on dark overlay ratio 7.4:1 ✅ */
}
.hero-text p {
  color: #f0f4f8;             /* near-white on dark overlay → ratio 18:1 ✅ */
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.75;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(10,26,42,0.55);      /* semi-dark bg */
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #ffffff;                        /* white → ratio 21:1 ✅ */
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(6px);
  text-shadow: none;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
}
.hero-form-box {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  margin-top: 0;
  /* Allow form to grow to its natural height — never clip */
  overflow: visible;
  height: auto;
}
.hero-form-box h3 {
  font-size: 1.15rem; margin-bottom: .3rem; color: var(--primary);
}
.hero-form-box p { font-size: .85rem; color: var(--text-light); margin-bottom: 1.25rem; }

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(26,58,92,0.07);
  padding: 1rem 0;
  position: relative; z-index: 5;
}
.trust-inner {
  display: flex; align-items: center; justify-content: space-around;
  flex-wrap: wrap; gap: 1rem;
}
.trust-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .88rem; font-weight: 600;
  color: #1a2736;   /* dark navy on white → ratio 14:1 ✅ */
}
.trust-icon { font-size: 1.3rem; color: var(--accent); }
.trust-divider {
  width: 1px; height: 32px; background: var(--light-grey);
}

/* ---- Stats Counter ---- */
.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem;
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-4px); }
.stat-number {
  font-family: var(--font-head);
  font-size: 2.8rem; font-weight: 700;
  color: var(--accent);
  display: block; line-height: 1;
  margin-bottom: .4rem;
}
.stat-label { font-size: .9rem; color: rgba(255,255,255,.95); font-weight: 500; } /* near-white on dark → ratio 20:1 ✅ */

/* ---- Service Cards ---- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--light-grey);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  position: relative; height: 200px; overflow: hidden;
}
.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.07); }
.service-card-icon {
  position: absolute; top: 1rem; left: 1rem;
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--white);
  box-shadow: 0 4px 12px rgba(200,151,43,.4);
}
.service-card-body { padding: 1.5rem; }
.service-card-body h3 { margin-bottom: .6rem; font-size: 1.1rem; }
.service-card-body p { font-size: .9rem; color: #3d5166; margin-bottom: 1rem; } /* ratio 5.9:1 ✅ */
.service-link {
  font-size: .88rem; font-weight: 700;
  color: #0f2236;
  display: inline-flex; align-items: center; gap: .3rem;
  text-decoration: none;
}
.service-link:hover { color: #a87820; gap: .6rem; text-decoration: underline; }

/* ---- Why Choose Us ---- */
.why-list { list-style: none; padding: 0; }
.why-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.why-icon-wrap {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--white);
  box-shadow: 0 4px 12px rgba(200,151,43,.3);
}
.why-text h4 { margin-bottom: .25rem; font-size: 1.05rem; }
.why-text p { font-size: .9rem; color: #3d5166; } /* ratio 5.9:1 ✅ */

/* ---- Process Steps ---- */
.process-steps {
  counter-reset: steps;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1.5rem; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 36px; left: 12.5%; right: 12.5%;
  height: 2px; background: var(--light-grey); z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-circle {
  width: 72px; height: 72px;
  background: var(--primary); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(26,58,92,0.3);
  transition: all var(--transition);
}
.process-step:hover .step-circle {
  background: var(--accent);
  transform: scale(1.1);
}
.process-step h4 { font-size: 1rem; margin-bottom: .4rem; }
.process-step p { font-size: .85rem; color: #3d5166; } /* ratio 5.9:1 ✅ */

/* ---- Review Cards ---- */
.review-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
  transition: transform var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stars { color: #f5a623; font-size: 1.1rem; margin-bottom: .75rem; letter-spacing: 2px; }
.review-text {
  font-size: .95rem;
  color: #1a2736;    /* dark navy on white → ratio 14:1 ✅ */
  line-height: 1.7; margin-bottom: 1.25rem;
  font-style: italic;
}
.reviewer {
  display: flex; align-items: center; gap: .75rem;
}
.reviewer-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: .9rem;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: .9rem; color: #1a2736; } /* ratio 14:1 ✅ */
.reviewer-loc { font-size: .8rem; color: #4a5e72; font-weight: 500; } /* ratio 5.4:1 ✅ */

/* ---- Team Cards ---- */
.team-card {
  text-align: center;
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card-img {
  height: 280px; overflow: hidden;
}
.team-card-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform .5s;
}
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-body { padding: 1.5rem; }
.team-card-body h3 { margin-bottom: .25rem; }
.team-role { font-size: .88rem; color: #a87820; font-weight: 700; margin-bottom: .75rem; } /* dark gold on white → ratio 4.6:1 ✅ */
.team-bio { font-size: .88rem; color: #3d5166; line-height: 1.6; } /* ratio 5.9:1 ✅ */

/* ---- Area Cards ---- */
.area-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow); border: 1px solid var(--light-grey);
  transition: all var(--transition);
}
.area-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.area-icon { font-size: 2rem; margin-bottom: .75rem; }
.area-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.area-card p { font-size: .85rem; color: #3d5166; } /* ratio 5.9:1 ✅ */

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--light-grey);
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  color: #0f2236;   /* dark navy on white → ratio 17:1 ✅ */
  transition: color var(--transition);
}
.faq-question:hover { color: #a87820; } /* dark gold → ratio 4.6:1 ✅ */
.faq-icon {
  font-size: 1.4rem; font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.25rem; }
.faq-answer p { font-size: .95rem; color: #3d5166; line-height: 1.75; } /* ratio 5.9:1 ✅ */

/* ---- Blog Cards ---- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--light-grey);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 200px; overflow: hidden; position: relative;
}
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-cat {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--accent); color: var(--white);
  padding: .25rem .65rem; border-radius: 50px;
  font-size: .75rem; font-weight: 600;
}
.blog-card-body {
  padding: 1.25rem;
  flex: 1; display: flex; flex-direction: column;
}
.blog-card-date { font-size: .78rem; color: #4a5e72; font-weight: 500; margin-bottom: .5rem; } /* ratio 5.4:1 ✅ */
.blog-card-body h3 {
  font-size: 1rem; margin-bottom: .5rem;
  line-height: 1.35;
}
.blog-card-body h3 a { color: var(--primary); }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p { font-size: .87rem; color: #3d5166; flex: 1; margin-bottom: 1rem; } /* ratio 5.9:1 ✅ */
.blog-read-more {
  font-size: .85rem; font-weight: 700;
  color: #0f2236;
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: auto;
  text-decoration: none;
}
.blog-read-more:hover { color: #a87820; gap: .6rem; text-decoration: underline; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 130px 0 70px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(200,151,43,.15);
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 600px; line-height: 1.75; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .83rem; color: rgba(255,255,255,.9); margin-bottom: 1rem; }
.breadcrumb a { color: #f0e0b0; text-decoration: underline; }
.breadcrumb a:hover { color: #ffffff; }
.breadcrumb-sep { color: rgba(255,255,255,.4); }

/* CTA Banner — darker gold bg so dark text still passes AA */
.cta-banner {
  background: linear-gradient(135deg, #a87820 0%, #c89030 100%);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { color: #0f2236; margin-bottom: .75rem; }   /* navy on gold → 7.8:1 ✅ */
.cta-banner p {
  color: #0f2236;
  opacity: .92;
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto; margin-right: auto;
}
.cta-banner .btn-outline {
  border-color: #0f2236;
  color: #0f2236;
}
.cta-banner .btn-outline:hover {
  background: #0f2236;
  color: #ffffff;
}

/* ---- Contact Form Section ---- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-grey);
}
.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-info-text h4 { font-size: .95rem; margin-bottom: .15rem; color: #0f2236; font-weight: 600; } /* ratio 17:1 ✅ */
.contact-info-text p { font-size: .88rem; color: #3d5166; } /* ratio 5.9:1 ✅ */

/* ---- Map Embed ---- */
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---- Footer ---- */
footer {
  background: #0a1929;     /* very dark navy */
  color: #d1d9e3;          /* light grey on dark → ratio 9.8:1 ✅ */
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 2.5rem;
}
.footer-brand p { font-size: .88rem; line-height: 1.75; margin: 1rem 0; color: #c8d4e0; } /* ratio 8.6:1 ✅ */
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 700;
  color: var(--white);
}
.footer-logo span { color: var(--accent); }
.footer-heading {
  font-size: .88rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em;
  color: #ffffff;    /* white on very dark → ratio 21:1 ✅ */
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  font-size: .88rem;
  color: #b8c8d8;        /* light blue-grey on dark → ratio 7.2:1 ✅ */
  transition: color var(--transition);
}
.footer-links a:hover {
  color: #e8c86a;        /* light gold on dark → ratio 8.4:1 ✅ */
  text-decoration: underline;
}
.footer-badges {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1rem;
}
.footer-badge {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 6px;
  padding: .35rem .75rem;
  font-size: .78rem;
  color: #dce8f0;     /* light on dark → ratio 10.4:1 ✅ */
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  font-size: .82rem;
  color: #8fa8be;
  position: relative;
  z-index: 1;
}
.footer-bottom a {
  color: #d4a032;           /* gold — clearly visible on dark bg, ratio 8.4:1 ✅ */
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color .2s;
  cursor: pointer;
  pointer-events: auto;
}
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #f0c84a;            /* brighter gold on hover */
  text-decoration: underline;
}

/* ---- Scroll Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Hero fade-up: opacity only — NO translateY, NO transform layer */
.hero .fade-up {
  opacity: 0;
  transform: none !important;
  transition: opacity .7s ease;
}
.hero .fade-up.visible { opacity: 1; }

.fade-in {
  opacity: 0;
  transition: opacity .8s ease;
}
.fade-in.visible { opacity: 1; }
.slide-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* ---- Utility ---- */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.section-title { margin-bottom: 3rem; }
.section-title .subtitle {
  display: inline-block;
  background: rgba(168,120,32,.12);
  color: #7a5010;           /* dark gold-brown on white → ratio 5.2:1 ✅ */
  border: 1px solid rgba(168,120,32,.35);
  padding: .3rem .9rem; border-radius: 50px;
  font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: .75rem;
}
.section-title h2 { margin-bottom: .75rem; }
.section-title p { color: #3d5166; max-width: 600px; font-size: 1rem; } /* ratio 5.9:1 ✅ */

/* ---- Back to top ---- */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 800;
  width: 44px; height: 44px;
  background: var(--accent); color: var(--white);
  border: none; border-radius: 50%; cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(200,151,43,.5);
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--accent-light); transform: translateY(-3px); }

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

/* HubSpot form overrides — WCAG AA */
.hs-form-field label { font-size: .88rem !important; font-weight: 600 !important; color: #1a2736 !important; margin-bottom: .35rem !important; }
.hs-input { width: 100% !important; border: 2px solid #6b7a8d !important; border-radius: var(--radius) !important; padding: .65rem 1rem !important; font-size: .9rem !important; color: #1a2736 !important; transition: border var(--transition) !important; }
.hs-input:focus { border-color: #0f2236 !important; outline: 3px solid rgba(212,160,50,.3) !important; outline-offset: 1px !important; }
/* Submit: dark navy bg + white text → ratio 17:1 ✅ */
.hs-button { background: #0f2236 !important; color: #ffffff !important; border: 2px solid #0f2236 !important; padding: .75rem 1.75rem !important; border-radius: var(--radius) !important; font-weight: 700 !important; cursor: pointer !important; transition: background var(--transition) !important; font-size: 1rem !important; }
.hs-button:hover { background: #1e4d7a !important; border-color: #1e4d7a !important; }

/* ---- Blog Article ---- */
.blog-article-hero { background: var(--primary); padding: 130px 0 60px; position: relative; overflow: hidden; }
.blog-article-hero h1 { color: var(--white); line-height: 1.2; max-width: 800px; }
.article-meta { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-top: 1rem; }
.article-meta span { font-size: .83rem; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: .3rem; }
.article-body { font-size: 1rem; line-height: 1.85; color: #1a2736; }   /* ratio 14:1 ✅ */
.article-body h2 { font-size: 1.55rem; margin: 2.5rem 0 1rem; color: #0f2236; }
.article-body h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; color: #0f2236; }
.article-body p { margin-bottom: 1.25rem; color: #1a2736; }
.article-body a { color: #a87820; text-decoration: underline; font-weight: 600; }
.article-body a:hover { color: #0f2236; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin-bottom: 1.25rem; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  background: var(--off-white);
  margin: 1.75rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--dark-grey);
}
.article-img { border-radius: var(--radius-lg); overflow: hidden; margin: 2rem 0; }
.article-img img { width: 100%; }
.sidebar-widget {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--accent); }
.sidebar-post { display: flex; gap: .75rem; margin-bottom: 1rem; }
.sidebar-post-img { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-title { font-size: .83rem; font-weight: 700; color: #0f2236; line-height: 1.35; text-decoration: none; }
.sidebar-post-title:hover { color: #a87820; text-decoration: underline; }
.sidebar-post-date { font-size: .75rem; color: #4a5e72; font-weight: 500; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { background: #ffffff; border: 1.5px solid #6b7a8d; border-radius: 50px; padding: .25rem .75rem; font-size: .78rem; color: #1a2736; font-weight: 500; transition: all var(--transition); }
.tag:hover { background: #a87820; border-color: #a87820; color: #ffffff; }
.table-of-contents { list-style: none; padding: 0; }
.table-of-contents li { margin-bottom: .5rem; }
.table-of-contents a { font-size: .88rem; color: var(--primary-light); display: flex; align-items: center; gap: .35rem; }
.table-of-contents a:hover { color: var(--accent); }

/* ================================================================
   RESPONSIVE BREAKPOINTS — COMPREHENSIVE MOBILE-FIRST OVERRIDES
   ================================================================
   XS  Mobile Portrait  : max-width 480px
   SM  Mobile Landscape : max-width 600px
   MD  Tablets          : max-width 768px
   LG  Small Laptops    : max-width 968px
   XL  Laptops          : max-width 1200px
   XXL Large Desktops   : min-width 1400px
   ================================================================ */

/* ── Global mobile helpers ─────────────────────────────────── */
html {
  -webkit-text-size-adjust: 100%;
}
* {
  -webkit-tap-highlight-color: transparent;
}

/* ── XXL: Large Desktops (min-width 1400px) ────────────────── */
@media (min-width: 1400px) {
  .container { max-width: 1340px; }
  .hero-text h1 { font-size: 3.6rem; }
}

/* ── XL: Laptops (max-width 1200px) ───────────────────────── */
@media (max-width: 1200px) {
  .container { max-width: 100%; padding: 0 2rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
}

/* ── LG: Small Laptops / Large Tablets (max-width 968px) ───── */
@media (max-width: 968px) {
  /* Grid layouts */
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .process-steps::before { display: none; }

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

  /* Blog */
  .blog-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1.5rem; }

  /* Areas */
  .areas-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Features */
  .feature-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-form-box { max-width: 540px; margin-top: 0; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; }

  /* CTA banner */
  .cta-banner { padding: 50px 0; }
}

/* ── MD: Tablets (max-width 768px) ─────────────────────────── */
@media (max-width: 768px) {
  /* Base font */
  html { font-size: 15px; }

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

  /* Container & sections */
  .container { padding: 0 1.25rem; }
  .section { padding: 3rem 0; }
  .section--lg { padding: 4rem 0; }

  /* Navigation */
  .nav-links { display: none; }
  .nav-hamburger {
    display: flex;
    min-width: 44px; min-height: 44px;
    align-items: center; justify-content: center;
    padding: 8px;
  }
  .nav-hamburger span { width: 24px; height: 2px; }

  /* Hero */
  .hero { min-height: 600px; height: auto; padding-bottom: 3rem; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; gap: 2rem; }
  .hero-content { padding: 88px 0 2.5rem; }
  .hero-form-box { margin-top: 0; width: 100%; max-width: 500px; }
  .hero-text { text-align: center; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-badges { justify-content: center; }
  .hero-cta-row { justify-content: center; flex-wrap: wrap; }

  /* 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); gap: 1rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  /* Trust bar */
  .trust-inner { justify-content: center; gap: .75rem; }
  .trust-divider { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }
  .footer-badges { justify-content: center; }

  /* Contact page */
  .contact-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .contact-info { order: 2; }
  .contact-form-section { order: 1; }

  /* Map */
  .map-wrap { height: 300px; }

  /* Section titles */
  .section-title { margin-bottom: 2rem; }
  .section-title h2 { font-size: 1.5rem; }
  .section-title p { font-size: .95rem; }

  /* Breadcrumb */
  .breadcrumb { flex-wrap: wrap; }

  /* Blog article sidebar → stack below article */
  .article-layout { flex-direction: column !important; }
  .article-sidebar { width: 100% !important; }
}

/* ── SM: Mobile Landscape (max-width 600px) ─────────────────── */
@media (max-width: 600px) {
  /* Typography */
  .section-title h2 { font-size: 1.4rem; }
  .section-title p  { font-size: .9rem; }

  /* Sections */
  .section { padding: 2.5rem 0; }
  .section--sm { padding: 2rem 0; }

  /* Grid → single column */
  .grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  .grid-4 { grid-template-columns: 1fr; gap: 1rem; }

  /* Buttons */
  .btn {
    padding: .75rem 1.5rem;
    font-size: .9rem;
    min-height: 44px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .btn-primary,
  .btn-outline,
  .btn-primary-dark {
    display: flex;
    margin: .4rem 0;
  }
  /* Allow side-by-side buttons inside flex container */
  .hero-cta-row .btn,
  .cta-banner .btn,
  .btn-group .btn {
    width: auto;
    flex: 1 1 auto;
  }

  /* Hero */
  .hero { min-height: unset; }
  .hero-content { padding: 84px 0 2rem; }
  .hero-text h1 { font-size: 1.6rem; }
  .hero-text p { font-size: .95rem; }
  .hero-form-box { padding: 1.5rem 1.25rem; }
  .hero-form-box h3 { font-size: 1.05rem; }
  .hero-badges { gap: .5rem; }
  .hero-badge { font-size: .78rem; padding: .3rem .75rem; }

  /* Service cards */
  .service-item { padding: 1.25rem; }
  .service-icon { font-size: 2rem !important; }
  .service-item h3 { font-size: 1.1rem; }

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

  /* Reviews */
  .review-card { padding: 1.25rem; }

  /* FAQ */
  .faq-item { margin-bottom: .5rem; }
  .faq-question { padding: .9rem 0; font-size: .95rem; line-height: 1.4; }
  .faq-item.open .faq-answer { padding-bottom: 1rem; }
  .faq-answer p { font-size: .9rem; }
  .faq-icon { font-size: 1.25rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
  .footer-section { margin-bottom: 1rem; }
  .footer-links { text-align: left; }
  .footer-bottom { font-size: .8rem; }

  /* CTA Banner */
  .cta-banner { padding: 2rem 1.25rem; border-radius: 10px; margin: 0 .75rem; }
  .cta-banner h2 { font-size: 1.3rem; }
  .cta-banner p { font-size: .95rem; margin-bottom: 1.5rem; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr !important; gap: 1rem; }
  .blog-card-body h3 { font-size: 1rem; }

  /* Blog article */
  .blog-article-hero { padding: 100px 0 2.5rem; }
  .blog-article-hero h1 { font-size: 1.5rem; }
  .article-body h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
  .article-body h3 { font-size: 1.1rem; margin: 1.5rem 0 .6rem; }
  .article-body { font-size: .95rem; }

  /* Page hero (inner pages) */
  .page-hero { padding: 100px 0 2.5rem; }
  .page-hero h1 { font-size: 1.5rem; }

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

  /* HubSpot form mobile */
  .hs-form-field { margin-bottom: .75rem !important; }
  .hs-input {
    padding: .65rem .75rem !important;
    font-size: 16px !important; /* prevents iOS zoom */
  }
  .hs-button {
    width: 100% !important;
    padding: .75rem !important;
    font-size: 1rem !important;
  }
  .hs-form-field label { font-size: .85rem !important; }

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

  /* Areas */
  .areas-grid { grid-template-columns: 1fr !important; }
  .area-card { padding: 1.25rem; }

  /* Features */
  .feature-grid { grid-template-columns: 1fr !important; }
  .feature-item { padding: 1rem; text-align: center; }
  .feature-icon { font-size: 2rem !important; margin-bottom: .5rem; }

  /* Process steps */
  .process-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .step-circle { width: 60px; height: 60px; font-size: 1.3rem; }

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

  /* Trust bar */
  .trust-item { font-size: .82rem; }

  /* Back to top */
  #back-to-top { bottom: 1.25rem; right: 1.25rem; }

  /* Cookie banner */
  .cookie-banner { flex-direction: column; text-align: center; padding: 1rem; }
  .cookie-banner p { font-size: .82rem; }
}

/* ── XS: Mobile Portrait (max-width 480px) ─────────────────── */
@media (max-width: 480px) {
  /* Base font */
  html { font-size: 14px; }

  /* Typography */
  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 1rem; }
  .section { padding: 2rem 0; }
  .section-title { margin-bottom: 1.75rem; }

  /* Hero */
  .hero-text h1 { font-size: 1.4rem; line-height: 1.2; }
  .hero-text p  { font-size: .9rem; }
  .hero-form-box h3 { font-size: 1rem; }
  .hero-form-box { padding: 1.25rem 1rem; }
  .hero-badge { font-size: .74rem; padding: .25rem .65rem; }

  /* Stats → single column */
  .stats-row { grid-template-columns: 1fr; gap: 1rem; }
  .stat-number { font-size: 2rem; }

  /* Blog article */
  .blog-article-hero h1 { font-size: 1.3rem; }
  .article-meta { gap: .75rem; }
  .article-meta span { font-size: .78rem; }

  /* Footer */
  .footer-grid { gap: 1rem; }
  .footer-logo { font-size: 1.1rem; }

  /* Nav hamburger — always accessible */
  .nav-hamburger {
    min-width: 44px; min-height: 44px;
    padding: 10px;
  }
  .nav-inner { height: 64px; }
  .nav-mobile { top: 64px; }

  /* Prevent any element overflow */
  .hero-form-box,
  .review-card,
  .service-card,
  .blog-card,
  .area-card { max-width: 100%; }
}

/* ── Animated Hamburger icon ───────────────────────────────── */
.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -5px);
}

/* ── Mobile overlay when nav is open ──────────────────────── */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
}
.nav-overlay.show { display: block; }

/* ── Smooth mobile nav slide-down ─────────────────────────── */
.nav-mobile {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 0;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.nav-mobile.open {
  display: block;
  max-height: 500px;
  padding: .75rem 0 1.25rem;
}
.nav-mobile .nav-link {
  display: block; padding: .85rem 1.5rem;
  color: #1a2736;
  font-size: 1rem; font-weight: 600;
  border-bottom: 1px solid var(--light-grey);
}
.nav-mobile .nav-link:last-child { border-bottom: none; }
.nav-mobile .nav-link:hover,
.nav-mobile .nav-link.active {
  background: #f0f4f8;
  color: #a87820;
}
.nav-mobile .nav-cta {
  display: block;
  margin: .75rem 1.5rem 0;
  text-align: center;
  background: #d4a032;
  color: #0f2236 !important;
  border-radius: var(--radius);
  font-weight: 700;
  padding: .75rem 1rem !important;
}

/* Hero video hide on mobile for performance */
@media (max-width: 768px) {
  .hero-video { display: none !important; }
}

/* ── Prevent horizontal scroll everywhere ──────────────────── */
html, body { overflow-x: hidden; max-width: 100vw; }

/* ---- Particles: completely removed — caused shadow ghost layer ---- */
.particle { display: none !important; }

/* ---- Hero background: static, no animation ---- */
.hero-bg {
  animation: none !important;
  transform: none !important;
}

/* ---- Scroll progress bar ---- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 9999; width: 0%; transition: width .1s;
}

/* ---- Number counter animation ---- */
.counter { display: inline; }

/* ---- Image compare (before/after) ---- */
.compare-wrap {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: ew-resize; user-select: none;
}
.compare-after {
  position: absolute; top: 0; left: 0;
  width: 50%; height: 100%; overflow: hidden;
}
.compare-divider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--white);
  transform: translateX(-50%);
}
.compare-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  font-size: .9rem; color: var(--primary);
}



/* Highlight & info boxes */
.highlight-box {
  background: linear-gradient(135deg, rgba(168,120,32,.08), rgba(168,120,32,.04));
  border: 1.5px solid rgba(168,120,32,.30);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  color: #1a2736;
}
.info-box {
  background: #f0f4f8;
  border-left: 4px solid #0f2236;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: #1a2736;
}
