/* ============================================================
   Barnet Surveyors – Main Stylesheet
   barnetsurveyors.com
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:       #0a2342;
  --navy-light: #0e3264;
  --gold:       #c9a84c;
  --gold-light: #e0be7a;
  --white:      #ffffff;
  --off-white:  #f8f9fc;
  --light-grey: #eef0f5;
  --mid-grey:   #6b7280;
  --dark-grey:  #374151;
  --text:       #1f2937;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.18);
  --transition: .3s ease;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', 'Segoe UI', Arial, sans-serif;
  --max-width:  1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  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: 1rem; }
.lead { font-size: 1.15rem; color: var(--dark-grey); line-height: 1.8; }

/* ---------- Layout Helpers ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold  { color: var(--gold); }
.bg-navy    { background: var(--navy); }
.bg-off     { background: var(--off-white); }
.bg-light   { background: var(--light-grey); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.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; }
.gap-2 { gap: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---------- Section Labels ---------- */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-title { margin-bottom: 1rem; }
.section-desc  { color: var(--mid-grey); max-width: 640px; }
.section-desc.center { margin: 0 auto 2.5rem; }
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.divider.center { margin: 1rem auto 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(201,168,76,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201,168,76,.5);
  color: var(--navy);
}
.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-light);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm { padding: .55rem 1.2rem; font-size: .875rem; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--transition);
}
#site-header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  transition: color var(--transition);
}
.logo-tag {
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: block;
}
#site-header.scrolled .logo-name { color: var(--navy); }
#site-header.scrolled .logo-tag  { color: var(--gold); }

nav { display: flex; align-items: center; gap: .25rem; }
nav a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  padding: .5rem .85rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
nav a:hover, nav a.active {
  color: var(--gold);
  background: rgba(255,255,255,.08);
}
#site-header.scrolled nav a { color: var(--dark-grey); }
#site-header.scrolled nav a:hover,
#site-header.scrolled nav a.active { color: var(--gold); background: var(--light-grey); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy) !important;
  padding: .5rem 1.2rem !important;
  font-weight: 700 !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,168,76,.4); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
#site-header.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
/* ---------- Hero Image Slider ---------- */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.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;
  transform: scale(1.04);
  animation: none;
}
.hero-slide.active {
  opacity: 1;
  animation: heroZoom 8s ease-in-out forwards;
}
.hero-slide.prev {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
@keyframes heroZoom {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1);    }
}
.hero-slider-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 2px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}
.hero-dot:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-canvas-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10,35,66,.92) 0%,
    rgba(10,35,66,.75) 50%,
    rgba(10,35,66,.45) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 110px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}
.hero-text { color: var(--white); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,168,76,.2);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold-light);
  padding: .4rem 1rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-text h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-text h1 span { color: var(--gold); }
.hero-text .lead { color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat { text-align: left; }
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Hero Form Card */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--light-grey);
  /* Sticky to top of hero */
  position: sticky;
  top: 90px;
}
.hero-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: .35rem;
  color: var(--navy);
}
.hero-form-card p {
  font-size: .85rem;
  color: var(--mid-grey);
  margin-bottom: 1.1rem;
}
/* Custom scrollbar for form card */
.hero-form-card::-webkit-scrollbar { width: 5px; }
.hero-form-card::-webkit-scrollbar-track { background: var(--light-grey); border-radius: 10px; }
.hero-form-card::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }
/* Subtle entrance glow */
.hero-form-card {
  border-top: 3px solid var(--gold);
  animation: formCardGlow 3s ease-in-out infinite alternate;
}
@keyframes formCardGlow {
  0%   { box-shadow: 0 8px 40px rgba(0,0,0,.18); }
  100% { box-shadow: 0 12px 50px rgba(201,168,76,.22), 0 4px 20px rgba(0,0,0,.14); }
}
/* Trust badges in hero form */
.trust-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--light-grey);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  color: var(--mid-grey);
  font-weight: 500;
}
.trust-badge svg { color: var(--gold); }

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

/* ============================================================
   ACCREDITATION STRIP
   ============================================================ */
.accred-strip {
  background: var(--navy);
  padding: 1.25rem 0;
  border-bottom: 2px solid var(--gold);
}
.accred-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.accred-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  font-weight: 500;
}
.accred-icon {
  width: 40px; height: 40px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: .75rem;
  flex-shrink: 0;
}

/* ============================================================
   WHY CHOOSE US / FEATURE CARDS
   ============================================================ */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.05);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.22));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p  { font-size: .9rem; color: var(--mid-grey); margin: 0; }

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-img img { transform: scale(1.05); }
.service-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.service-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.service-body p  { font-size: .9rem; color: var(--mid-grey); flex: 1; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
  margin-top: 1rem;
  text-decoration: none;
  transition: gap var(--transition);
}
.service-link:hover { gap: .7rem; color: var(--navy); }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: -2rem;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.step-content h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step-content p  { font-size: .9rem; color: var(--mid-grey); margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.quote-icon {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: .3;
  font-family: var(--font-head);
  margin-bottom: -.5rem;
}
.stars { color: #fbbf24; font-size: 1rem; margin-bottom: .75rem; letter-spacing: .1em; }
.testimonial-text { font-size: .93rem; color: var(--dark-grey); margin-bottom: 1.25rem; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: .85rem; }
.reviewer-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 600; font-size: .9rem; color: var(--navy); }
.reviewer-loc  { font-size: .8rem; color: var(--mid-grey); }
.google-badge {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  color: var(--mid-grey);
  margin-top: .5rem;
}

/* Testimonials Slider */
.testimonials-slider { position: relative; overflow: hidden; }
.slides-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s ease;
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.1rem;
  z-index: 2;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.slide-btn:hover { background: var(--gold); color: var(--navy); }
.slide-btn.prev { left: -22px; }
.slide-btn.next { right: -22px; }
.slide-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}
.slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--light-grey);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.slide-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-text p  { color: rgba(255,255,255,.75); margin: .5rem 0 0; }

/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
.contact-section {
  background: var(--off-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { color: var(--mid-grey); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.22));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: .9rem; color: var(--mid-grey); margin-bottom: .25rem; font-weight: 500; }
.contact-detail p  { font-size: .95rem; color: var(--text); margin: 0; font-weight: 500; }
.form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-wrapper h3 { margin-bottom: .5rem; }
.form-wrapper > p { color: var(--mid-grey); font-size: .9rem; margin-bottom: 1.5rem; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border: none;
  transition: background var(--transition);
  font-family: var(--font-body);
}
.faq-question:hover { background: var(--off-white); }
.faq-question.open { background: var(--navy); color: var(--white); }
.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--gold);
}
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-question.open { color: var(--white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease, padding .3s ease;
}
.faq-answer.open { max-height: 600px; }
.faq-answer-inner {
  padding: 1.25rem 1.5rem;
  font-size: .93rem;
  color: var(--mid-grey);
  line-height: 1.75;
  background: var(--off-white);
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: all var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-img {
  height: 280px;
  overflow: hidden;
  position: relative;
}
.team-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .5s ease;
}
.team-card:hover .team-img img { transform: scale(1.05); }
.team-body { padding: 1.5rem; }
.team-body h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.team-role { color: var(--gold); font-size: .85rem; font-weight: 600; margin-bottom: .75rem; }
.team-body p { font-size: .87rem; color: var(--mid-grey); }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 210px;
  overflow: hidden;
  position: relative;
}
.blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-cat {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .8rem;
  color: var(--mid-grey);
  margin-bottom: .75rem;
}
.blog-body h3 { font-size: 1.05rem; margin-bottom: .6rem; line-height: 1.35; }
.blog-body p  { font-size: .87rem; color: var(--mid-grey); flex: 1; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--gold);
  font-weight: 600;
  font-size: .875rem;
  margin-top: 1rem;
  text-decoration: none;
  transition: gap var(--transition);
}
.blog-read-more:hover { gap: .6rem; color: var(--navy); }

/* ============================================================
   AREAS MAP SECTION
   ============================================================ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.area-pill {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 40px;
  padding: .65rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark-grey);
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.area-pill:hover, .area-pill.highlight {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: var(--gold); text-decoration: none; }
.page-hero .breadcrumb span { color: rgba(255,255,255,.4); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 600px; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item {}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ============================================================
   ARTICLE / BLOG POST
   ============================================================ */
.article-hero {
  height: 450px;
  position: relative;
  overflow: hidden;
}
.article-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(10,35,66,.85) 100%);
}
.article-hero-content {
  position: absolute;
  bottom: 2rem;
  left: 0; right: 0;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .875rem;
  color: var(--mid-grey);
  margin-bottom: 2rem;
}
.article-body { max-width: 760px; }
.article-body h2 { margin: 2rem 0 .75rem; font-size: 1.5rem; }
.article-body h3 { margin: 1.5rem 0 .5rem; font-size: 1.2rem; }
.article-body p  { margin-bottom: 1.15rem; font-size: 1rem; line-height: 1.8; }
.article-body ul, .article-body ol {
  margin: 1rem 0 1.25rem 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-grey);
}
.article-body li { margin-bottom: .4rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--dark-grey);
}
.article-body img {
  border-radius: var(--radius);
  margin: 2rem 0;
  width: 100%;
}
.article-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  margin-bottom: 1.5rem;
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 2px solid var(--light-grey); }
.related-post {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-grey);
  text-decoration: none;
  transition: opacity var(--transition);
}
.related-post:last-child { border: none; margin: 0; padding: 0; }
.related-post:hover { opacity: .75; }
.related-thumb {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}
.related-info h5 { font-size: .875rem; color: var(--navy); line-height: 1.3; }
.related-info span { font-size: .78rem; color: var(--mid-grey); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
}
.footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {}
.footer-logo { margin-bottom: 1.25rem; }
.footer-brand p { font-size: .875rem; line-height: 1.7; }
.footer-accred {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.footer-badge {
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.25);
  color: var(--gold-light);
  font-size: .7rem;
  font-weight: 700;
  padding: .35rem .75rem;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  text-decoration: none;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li a::before {
  content: '›';
  color: var(--gold);
  font-size: 1.1rem;
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: var(--gold); text-decoration: none; }
.footer-links { display: flex; gap: 1.5rem; }

/* ============================================================
   COUNTER ANIMATION
   ============================================================ */
.count-up { display: inline-block; }

/* ============================================================
   SIDEBAR WIDGET (blog article pages)
   ============================================================ */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--light-grey);
  color: var(--navy);
}
.sidebar-widget p { font-size: .875rem; color: var(--mid-grey); margin-bottom: .5rem; }

/* ============================================================
   SITE FOOTER (alternate structure for inner pages)
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer-inner { padding-bottom: 0; }
.footer-desc { font-size: .875rem; line-height: 1.7; margin-top: 1rem; }
.footer-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.badge {
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.25);
  color: var(--gold-light);
  font-size: .7rem;
  font-weight: 700;
  padding: .35rem .75rem;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.highlight-box {
  background: linear-gradient(135deg, rgba(201,168,76,.08), rgba(201,168,76,.15));
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.tag {
  display: inline-block;
  background: var(--light-grey);
  color: var(--dark-grey);
  font-size: .78rem;
  padding: .3rem .7rem;
  border-radius: 20px;
  font-weight: 500;
}
.tag-gold {
  background: rgba(201,168,76,.12);
  color: var(--gold);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }

/* ============================================================
   RESPONSIVE — COMPREHENSIVE MOBILE-FIRST BREAKPOINTS
   ============================================================ */

/* ── Global mobile safeguards ── */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
table {
  width: 100%;
}
@media (max-width: 600px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

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

/* ════════════════════════════════════════
   XL — Laptops  ≤ 1200px
   ════════════════════════════════════════ */
@media (max-width: 1200px) {
  .container { padding: 0 1.5rem; }
  .hero-grid { grid-template-columns: 1fr 380px; gap: 2.5rem; }
}

/* ════════════════════════════════════════
   LG — Small Laptops  ≤ 968px
   ════════════════════════════════════════ */
@media (max-width: 968px) {
  /* Hero */
  .hero-grid { grid-template-columns: 1fr 340px; gap: 2rem; max-width: 100%; }
  .hero-form-card { display: block; position: sticky; top: 80px; }
  .hero-content { padding: 100px 0 50px; }

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

  /* Blog */
  #blog-grid { grid-template-columns: repeat(2, 1fr); }

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

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

/* ════════════════════════════════════════
   MD — Tablets  ≤ 768px
   ════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Base */
  html { font-size: 15px; }
  .section-pad   { padding: 56px 0; }
  .section-pad-sm { padding: 36px 0; }
  .container     { padding: 0 1.25rem; }

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

  /* Navigation */
  nav              { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    padding: 100px 2rem 2rem;
    z-index: 999;
    gap: .5rem;
    overflow-y: auto;
  }
  nav.open a {
    font-size: 1.2rem;
    padding: .85rem 1rem;
    border-radius: var(--radius);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .hamburger {
    display: flex;
    z-index: 1001;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: .5rem;
  }

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

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; max-width: 100%; }
  .hero-content { padding: 90px 0 50px; }
  .hero-form-card {
    display: block;
    margin-top: 2rem;
    position: static;
    max-height: none;
    overflow-y: visible;
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats   { gap: 1.25rem; }

  /* 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); }

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

  /* CTA */
  .cta-inner { flex-direction: column; text-align: center; }

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

  /* Misc */
  .accred-inner  { gap: 1.5rem; }
  .article-hero  { height: 300px; }

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

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

  /* Hero slider dots */
  .hero-slider-dots { bottom: 90px; }
}

/* ════════════════════════════════════════
   SM — Mobile Landscape  ≤ 600px
   ════════════════════════════════════════ */
@media (max-width: 600px) {
  /* Containers */
  .container  { padding: 0 1rem; }
  .section-pad { padding: 48px 0; }

  /* Typography */
  .section-header h2 { font-size: 1.5rem; }
  .section-header p  { font-size: .95rem; }

  /* Hero */
  .hero-content  { padding: 80px 0 40px; }
  .hero-text h1  { font-size: 1.6rem; }
  .hero-text .lead { font-size: 1rem; }
  .hero-form-card { padding: 1.5rem; }
  .hero-form-card h3 { font-size: 1.1rem; }
  .trust-badges { gap: .5rem; }
  .trust-badge  { font-size: .72rem; }

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

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

  /* Services */
  .service-body { padding: 1.25rem; }
  .service-body h3 { font-size: 1.1rem; }

  /* Buttons */
  .btn {
    padding: .75rem 1.5rem;
    font-size: .9rem;
    min-height: 44px;
    justify-content: center;
  }
  .hero-actions .btn {
    width: 100%;
    display: flex;
  }

  /* CTA */
  .cta-inner { padding: 0 .5rem; }
  .cta-text h2 { font-size: 1.3rem; }
  .cta-inner .btn { width: 100%; justify-content: center; }

  /* Forms */
  .form-wrapper { padding: 1.5rem; }
  .hero-form-card { margin: 1.5rem auto 0; }

  /* HubSpot form overrides */
  .hs-form-field { margin-bottom: .75rem !important; }
  .hs-input {
    padding: .65rem !important;
    font-size: 16px !important;
    width: 100% !important;
    border-radius: var(--radius) !important;
  }
  .hs-button {
    width: 100% !important;
    padding: .8rem !important;
    font-size: 1rem !important;
    min-height: 44px !important;
  }
  .hs-form-field label { font-size: .9rem !important; }

  /* FAQ */
  .faq-item { margin-bottom: .6rem; }
  .faq-question {
    padding: .9rem 1.1rem;
    font-size: .93rem;
    line-height: 1.4;
  }
  .faq-answer-inner { padding: .85rem 1.1rem; }

  /* Article */
  .article-body h2 { font-size: 1.3rem; }
  .article-body h3 { font-size: 1.1rem; }
  .article-body p  { font-size: .95rem; }
  .article-hero { height: 240px; }

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

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

  /* Feature */
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.25rem; }
  .feature-icon { font-size: 2rem; }

  /* Footer */
  .footer-accred { justify-content: flex-start; }
  .footer-top { padding: 40px 0 28px; }
}

/* ════════════════════════════════════════
   XS — Mobile Portrait  ≤ 480px
   ════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Base */
  html { font-size: 14px; }
  .container { padding: 0 .9rem; }

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

  /* Hero */
  .hero-content { padding: 76px 0 36px; }
  .hero-text h1 { font-size: 1.35rem; }
  .hero-text .lead { font-size: .9rem; }
  .hero-form-card { padding: 1.25rem; }
  .hero-form-card h3 { font-size: 1rem; }
  .hero-badge { font-size: .72rem; padding: .35rem .8rem; }
  .hero-stat-num { font-size: 1.6rem; }

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

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

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

  /* Nav */
  nav.open a { font-size: 1.05rem; padding: .75rem .85rem; }

  /* Buttons */
  .btn { padding: .7rem 1.25rem; font-size: .85rem; }

  /* Blog article */
  .article-body h1 { font-size: 1.5rem; }
  .article-hero    { height: 200px; }

  /* Page hero */
  .page-hero { padding: 110px 0 48px; }
  .page-hero h1 { font-size: 1.6rem; }

  /* Feature */
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { padding: 1rem; text-align: center; }
  .feature-icon { margin-bottom: .5rem; }

  /* Contact */
  .contact-form-wrapper { padding: 1rem; }

  /* Footer */
  .footer-grid { gap: 1.5rem; }
  .footer-col h4 { font-size: .82rem; }
  .footer-col ul li a { font-size: .82rem; }

  /* Hero slider dots — move up on small screens */
  .hero-slider-dots { bottom: 100px; gap: .45rem; }
  .hero-dot { width: 8px; height: 8px; }
}
