/* =========================================
   Bolton Surveyor - Main Stylesheet
   boltonsurveyor.com
   ========================================= */

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

:root {
  --navy:    #1a2b4a;
  --gold:    #c8a84b;
  --gold-lt: #e0c97a;
  --white:   #ffffff;
  --offwhite:#f7f6f2;
  --light:   #eef1f6;
  --mid-grey:#6b7280;
  --dark:    #111827;
  --red:     #c0392b;
  --green:   #27ae60;
  --border:  #d1d5db;
  --shadow:  rgba(26,43,74,.12);
  --radius:  10px;
  --font-head:'Playfair Display', Georgia, serif;
  --font-body:'Inter', Arial, sans-serif;
  --transition: .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem,3.5vw,2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem,2.5vw,1.7rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--mid-grey); line-height: 1.8; }

/* --- Layout Utilities --- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-navy    { background: var(--navy); }
.bg-light   { background: var(--light); }
.bg-offwhite{ background: var(--offwhite); }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Section headings */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title span {
  display: inline-block;
  width: 60px; height: 3px;
  background: var(--gold);
  margin-bottom: 1rem;
  border-radius: 2px;
}
.section-title h2 { margin-bottom: .75rem; }
.section-title p  { color: var(--mid-grey); max-width: 620px; margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-lt);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200,168,75,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: #243d6a;
  transform: translateY(-2px);
}

/* --- Header / Navbar --- */
#main-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 1rem 0;
}
#main-header.scrolled {
  background: rgba(26,43,74,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  padding: .6rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo a {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.logo-mark {
  width: 46px; height: 46px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
  flex-shrink: 0;
}
.logo-text { line-height: 1.2; }
.logo-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
}
.logo-text small {
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
  padding: .5rem .9rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold);
  background: rgba(200,168,75,.1);
}
.nav-cta { margin-left: 1rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  border: none; background: transparent;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  color: var(--white);
}

/* ── Hero Image Slider ───────────────────────────── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 8s ease;
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1.0);
}
.hero-slide.exiting {
  opacity: 0;
  transform: scale(1.08);
}

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

/* ── Slider Arrows ───────────────────────────────── */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.35);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
  font-size: 1rem;
}
.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

@media (max-width: 480px) {
  .hero-arrow { width: 38px; height: 38px; font-size: .85rem; }
  .hero-prev  { left: .75rem; }
  .hero-next  { right: .75rem; }
  .hero-dots  { bottom: 1.25rem; }
}

/* Keep old .hero-bg for backward compat (other pages unused) */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/bolton-aerial.jpg') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(26,43,74,.88) 0%,rgba(26,43,74,.65) 50%,rgba(10,20,40,.75) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(200,168,75,.15);
  animation: float linear infinite;
}
@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 68px;
  padding-bottom: 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 2rem;
  align-items: flex-start;
}
.hero-text h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-text h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-text .lead { color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
  margin-top: 0;
  padding-top: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-gold { background: var(--gold); color: var(--navy); }
.badge-outline { border: 1.5px solid rgba(255,255,255,.45); color: rgba(255,255,255,.9); }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.stat-label { font-size: .75rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .06em; }

/* Hero form card */
.hero-form-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
  color: var(--dark);
}
.hero-form-card h3 {
  margin-bottom: .5rem;
  font-size: 1.35rem;
}
.hero-form-card p {
  color: var(--mid-grey);
  font-size: .9rem;
  margin-bottom: 1.25rem;
}

/* HubSpot form overrides inside cards */
.hs-form-iframe { width: 100% !important; }

/* --- Trust Bar --- */
.trust-bar {
  background: var(--navy);
  padding: 1.5rem 0;
  border-top: 3px solid var(--gold);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
}
.trust-item i { color: var(--gold); font-size: 1.2rem; }

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: 0 12px 40px var(--shadow);
  transform: translateY(-5px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg,var(--navy),#2d4a7a);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon i { color: var(--gold); font-size: 1.4rem; }
.service-card h3 { margin-bottom: .6rem; font-size: 1.2rem; }
.service-card p { color: var(--mid-grey); font-size: .92rem; margin-bottom: 1rem; }
.service-link {
  color: var(--gold);
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.service-link:hover { color: var(--navy); gap: .6rem; }

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-image { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px var(--shadow); }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-points { display: flex; flex-direction: column; gap: 1.25rem; }
.why-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-point-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
}
.why-point-icon i { color: var(--gold); font-size: 1.1rem; }
.why-point-body h4 { margin-bottom: .25rem; }
.why-point-body p  { color: var(--mid-grey); font-size: .92rem; margin: 0; }

/* --- Reviews --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: 0 10px 30px var(--shadow); }
.stars { color: #f59e0b; letter-spacing: .1em; margin-bottom: .75rem; font-size: 1rem; }
.review-text { color: var(--mid-grey); font-size: .93rem; line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: .75rem; }
.reviewer-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}
.reviewer-info strong { display: block; font-size: .9rem; color: var(--navy); }
.reviewer-info span  { font-size: .78rem; color: var(--mid-grey); }
.review-source { font-size: .75rem; color: var(--mid-grey); margin-top: .5rem; }

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1.5rem;
  counter-reset: steps;
}
.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.process-step::before {
  counter-increment: steps;
  content: counter(steps);
  display: block;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 56px;
  margin: 0 auto 1.25rem;
}
.process-step h4 { margin-bottom: .5rem; }
.process-step p { color: var(--mid-grey); font-size: .91rem; margin: 0; }

/* --- FAQ --- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  color: var(--navy);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--light); }
.faq-question i { color: var(--gold); transition: transform var(--transition); flex-shrink: 0; }
.faq-question.open i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease, padding .45s ease;
}
.faq-answer.open { max-height: 400px; padding: 1.25rem 1.5rem; }
.faq-answer p { color: var(--mid-grey); margin: 0; font-size: .93rem; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg,var(--navy) 0%,#243d6a 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(200,168,75,.08);
  top: -100px; right: -100px;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(200,168,75,.06);
  bottom: -80px; left: -60px;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Team --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 2rem; }
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px var(--shadow); }
.team-photo { height: 320px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { padding: 1.5rem; }
.team-info h3 { margin-bottom: .2rem; font-size: 1.2rem; }
.team-info .role { color: var(--gold); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; display: block; }
.team-info p { color: var(--mid-grey); font-size: .9rem; line-height: 1.65; }
.team-creds { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.cred-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  background: var(--light);
  color: var(--navy);
  letter-spacing: .04em;
}

/* --- Map / Areas --- */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.areas-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow);
  background: var(--light);
  height: 420px;
}
.areas-map iframe { width: 100%; height: 100%; border: 0; }
.areas-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.area-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem;
  border-radius: 6px;
  font-size: .9rem;
  transition: background var(--transition);
}
.area-item:hover { background: var(--light); }
.area-item i { color: var(--gold); font-size: .85rem; }

/* --- Blog --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(330px,1fr)); gap: 2rem; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px var(--shadow); }
.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.06); }
.blog-category {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--mid-grey); margin-bottom: .75rem; }
.blog-meta i { color: var(--gold); }
.blog-body h3 { font-size: 1.1rem; margin-bottom: .6rem; line-height: 1.4; }
.blog-body h3 a { color: var(--navy); }
.blog-body h3 a:hover { color: var(--gold); }
.blog-body p { color: var(--mid-grey); font-size: .9rem; flex: 1; margin-bottom: 1rem; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--gold);
  font-weight: 600;
  font-size: .88rem;
}
.read-more:hover { gap: .6rem; color: var(--navy); }

/* --- Single Blog Post --- */
.post-hero {
  background: var(--navy);
  padding: 130px 0 60px;
  color: var(--white);
}
.post-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: .85rem; color: rgba(255,255,255,.7); }
.post-meta i { color: var(--gold); }
.post-body { max-width: 820px; margin: 0 auto; padding: 3rem 0; }
.post-body h2, .post-body h3 { margin-top: 2rem; margin-bottom: .75rem; }
.post-body p  { color: #374151; }
.post-body ul, .post-body ol { margin: 1rem 0 1rem 1.5rem; color: #374151; }
.post-body ul li { list-style: disc; margin-bottom: .4rem; }
.post-body ol li { list-style: decimal; margin-bottom: .4rem; }
.post-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--navy);
}
.post-body .featured-img {
  border-radius: var(--radius);
  margin: 2rem 0;
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow);
}
.post-body .featured-img img { width: 100%; height: auto; }
.post-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.post-tag {
  background: var(--light);
  color: var(--navy);
  padding: .3rem .9rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
}
.post-cta-box {
  background: linear-gradient(135deg,var(--navy),#243d6a);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin: 2.5rem 0;
  color: var(--white);
}
.post-cta-box h3 { color: var(--white); margin-bottom: .75rem; }
.post-cta-box p  { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }

/* Related posts */
.related-posts { padding: 60px 0; background: var(--light); }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.contact-card-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon i { color: var(--gold); font-size: 1.2rem; }
.contact-card h4 { margin-bottom: .3rem; }
.contact-card p  { margin: 0; color: var(--mid-grey); font-size: .92rem; }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 8px 30px var(--shadow);
}
.contact-form-wrap h3 { margin-bottom: .5rem; }
.contact-form-wrap p { color: var(--mid-grey); font-size: .9rem; margin-bottom: 1.5rem; }

/* --- Page Hero (interior pages) --- */
.page-hero {
  background: linear-gradient(135deg,var(--navy) 0%,#243d6a 100%);
  padding: 130px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .75rem;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 600px; margin: .5rem auto 0; }

/* --- Accreditation Logos --- */
.accred-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.accred-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
}
.accred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--navy);
  font-weight: 700;
  font-size: .9rem;
  opacity: .75;
  transition: opacity var(--transition);
}
.accred-item:hover { opacity: 1; }
.accred-logo {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  border: 2px solid var(--border);
}

/* --- Survey Types Feature --- */
.survey-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px var(--shadow);
  margin-bottom: 3rem;
}
.survey-feature-img { height: 380px; overflow: hidden; }
.survey-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.survey-feature-body {
  background: var(--navy);
  padding: 3rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.survey-feature-body h3 { color: var(--white); margin-bottom: 1rem; }
.survey-feature-body p  { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.survey-feature-body ul { margin: 0; }
.survey-feature-body ul li {
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.survey-feature-body ul li i { color: var(--gold); }

/* --- Timeline --- */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 24px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--gold),var(--navy));
}
.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-left: 1rem;
}
.timeline-dot {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.timeline-dot i { color: var(--gold); font-size: 1rem; }
.timeline-content { flex: 1; padding-top: .5rem; }
.timeline-content h4 { margin-bottom: .4rem; }
.timeline-content p  { color: var(--mid-grey); font-size: .92rem; margin: 0; }

/* --- Data Viz / Stats --- */
.stats-banner {
  background: linear-gradient(135deg,var(--navy),#1e3a5f);
  padding: 60px 0;
  color: var(--white);
}
.stats-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 2rem; text-align: center; }
.stat-box { padding: 1.5rem; }
.stat-box .num {
  font-family: var(--font-head);
  font-size: clamp(2.5rem,5vw,3.5rem);
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-box .label { color: rgba(255,255,255,.75); font-size: .9rem; }
.stat-box .sub   { color: rgba(255,255,255,.5); font-size: .78rem; }

/* --- Interactive Checklist --- */
.checklist-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
}
.checklist-header { margin-bottom: 1.5rem; }
.checklist-progress {
  background: var(--light);
  border-radius: 50px;
  height: 8px;
  margin-top: .75rem;
  overflow: hidden;
}
.checklist-progress-bar {
  height: 100%;
  background: linear-gradient(90deg,var(--gold),var(--gold-lt));
  border-radius: 50px;
  transition: width .4s ease;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .7rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition);
  margin-bottom: .3rem;
}
.check-item:hover { background: var(--light); }
.check-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-item label { cursor: pointer; font-size: .92rem; color: var(--dark); }
.check-item.checked label { text-decoration: line-through; color: var(--mid-grey); }

/* --- Footer --- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 70px 0 0;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 1fr 1.4fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: .9rem; line-height: 1.75; margin: 1rem 0 1.5rem; }
.footer-socials { display: flex; gap: .75rem; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
  font-size: .9rem;
}
.footer-social:hover { background: var(--gold); color: var(--navy); }
.footer-col { min-width: 0; }
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: color var(--transition), padding-left var(--transition);
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  line-height: 1.4;
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a i { font-size: .75rem; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--gold); }

/* Ensure footer links have adequate tap target size on mobile */
.footer-links a {
  min-height: 36px;
  padding: 4px 0;
}
.footer-social {
  cursor: pointer;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  color: rgba(255,255,255,.9);
  padding: 1rem 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  font-size: .88rem;
  transform: translateY(100%);
  transition: transform .4s ease;
  /* Prevent blocking clicks when hidden */
  pointer-events: none;
}
.cookie-banner.show { transform: translateY(0); pointer-events: auto; }
.cookie-banner p { margin: 0; max-width: 700px; }
.cookie-banner a { color: var(--gold); }
.cookie-btns { display: flex; gap: .75rem; flex-shrink: 0; }
.btn-cookie {
  padding: .55rem 1.25rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.btn-cookie-accept { background: var(--gold); color: var(--navy); }
.btn-cookie-decline { background: transparent; border: 1px solid rgba(255,255,255,.4); color: rgba(255,255,255,.8); }

/* --- Back to Top --- */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(200,168,75,.4);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(200,168,75,.5); }

/* --- Footer always fully visible and clickable --- */
footer,
footer *,
header,
header *,
nav,
nav * {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

/* =============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   Breakpoints:
   XL  : 1200px (large desktops)
   LG  : 1024px (laptops / small desktops)
   MD  : 768px  (tablets)
   SM  : 600px  (mobile landscape)
   XS  : 480px  (mobile portrait)
   XXS : 360px  (small phones)
   ============================================= */

/* --- XL: 1200px --- */
@media (max-width: 1200px) {
  .container { width: 92%; }
  .hero-grid { grid-template-columns: 52% 48%; }
  .why-grid  { gap: 3rem; }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
}

/* --- LG: 1024px (Tablet Landscape / Laptop) --- */
@media (max-width: 1024px) {
  /* Layout grids */
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .hero-form-card { max-width: 540px; margin: 0 auto; }
  .why-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .survey-feature { grid-template-columns: 1fr; }
  .survey-feature-img { height: 280px; }
  .areas-grid     { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid   { grid-template-columns: 1fr; gap: 2rem; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-content { padding-top: 110px; padding-bottom: 50px; }
  .hero-text { text-align: center; }
  .hero-badges { justify-content: center; }
  .hero-stats  { justify-content: center; }
  .hero-cta    { justify-content: center; }

  /* Sections */
  .section-pad    { padding: 65px 0; }
  .section-pad-sm { padding: 40px 0; }

  /* Blog */
  .blog-grid { grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); }

  /* Page hero */
  .page-hero { padding: 110px 0 55px; }

  /* Post body */
  .post-body { padding: 2rem 0; }

  /* Services page tabs */
  .survey-feature-body { padding: 2rem; }

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

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

  /* Team */
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
}

/* --- MD: 768px (Tablet Portrait) --- */
@media (max-width: 768px) {
  /* ── Navbar ── */
  .main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(26,43,74,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 1.5rem 2rem;
    gap: .25rem;
    overflow-y: auto;
    z-index: 998;
    border-top: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    width: 100%;
    padding: .9rem 1.25rem;
    font-size: 1.05rem;
    border-radius: 8px;
    color: rgba(255,255,255,.88);
  }
  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(200,168,75,.18);
    color: var(--gold);
  }
  .hamburger { display: flex; z-index: 999; position: relative; }
  .nav-cta    { display: none; }

  /* ── Hero ── */
  .hero-content { padding-top: 100px; padding-bottom: 40px; }
  h1 { font-size: clamp(1.75rem, 6vw, 2.4rem); }
  .hero-text .lead { font-size: 1rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-num   { font-size: 1.7rem; }

  /* ── Layout ── */
  .section-pad    { padding: 55px 0; }
  .section-pad-sm { padding: 35px 0; }
  .section-title  { margin-bottom: 2rem; }
  .section-title h2 { font-size: clamp(1.3rem, 4vw, 2rem); }

  /* ── Buttons ── */
  .btn { padding: .75rem 1.65rem; font-size: .9rem; }
  .cta-buttons { flex-direction: column; align-items: center; gap: .75rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr; }
  .survey-feature { grid-template-columns: 1fr; }
  .survey-feature-img { height: 240px; }
  .survey-feature-body { padding: 1.75rem; }

  /* ── Why grid ── */
  .why-image { height: 280px; }

  /* ── Reviews ── */
  .reviews-grid { grid-template-columns: 1fr; }

  /* ── Process ── */
  .process-steps { grid-template-columns: 1fr 1fr; }

  /* ── Blog ── */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-thumb { height: 200px; }
  .post-body { padding: 2rem 0; }
  .post-hero  { padding: 110px 0 45px; }
  .post-meta  { gap: 1rem; font-size: .82rem; }

  /* ── Contact ── */
  .contact-grid  { grid-template-columns: 1fr; }
  .contact-card  { flex-direction: column; gap: .75rem; }

  /* ── Areas ── */
  .areas-grid      { grid-template-columns: 1fr; }
  .areas-list-grid { grid-template-columns: 1fr 1fr; }
  .areas-map       { height: 320px; }

  /* ── Page hero ── */
  .page-hero { padding: 100px 0 45px; }
  .page-hero h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); }

  /* ── Stats banner ── */
  .stats-row { grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
  .stat-box .num { font-size: clamp(2rem, 6vw, 2.8rem); }

  /* ── Trust bar ── */
  .trust-items { gap: 1.5rem 2rem; }

  /* ── Team ── */
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  /* ── FAQ ── */
  .faq-question { font-size: .92rem; padding: 1rem 1.25rem; }

  /* ── Accreditation ── */
  .accred-items { gap: 1.5rem 2.5rem; }

  /* ── Post CTA ── */
  .post-cta-box { padding: 2rem 1.5rem; }

  /* ── Timeline ── */
  .timeline-item { gap: 1.25rem; }

  /* ── Cookie banner ── */
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 1.25rem 1.5rem; }
  .cookie-btns   { width: 100%; }
}

/* --- SM: 600px (Mobile Landscape) --- */
@media (max-width: 600px) {
  .container { width: 94%; padding: 0 .75rem; }

  /* ── Hero ── */
  .hero-content { padding-top: 90px; }
  .hero-form-card { padding: 1.5rem; }
  .hero-form-card h3 { font-size: 1.2rem; }
  .hero-stats { gap: 1rem; }
  .stat-num   { font-size: 1.5rem; }
  .hero-badges { gap: .5rem; }

  /* ── Sections ── */
  .section-pad    { padding: 45px 0; }
  .section-pad-sm { padding: 30px 0; }
  h2 { font-size: clamp(1.2rem, 4.5vw, 1.8rem); }
  h3 { font-size: clamp(1.1rem, 3.5vw, 1.5rem); }
  .lead { font-size: 1rem; }

  /* ── Footer ── */
  .footer-grid  { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-brand { grid-column: unset; }
  footer        { padding: 50px 0 0; }

  /* ── Process ── */
  .process-steps { grid-template-columns: 1fr; }
  .process-step  { padding: 1.5rem 1rem; }

  /* ── Blog ── */
  .blog-grid  { grid-template-columns: 1fr; gap: 1.5rem; }
  .blog-thumb { height: 190px; }
  .blog-body  { padding: 1.25rem; }
  .post-body  { font-size: .95rem; }

  /* ── Stats ── */
  .stats-row { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .stat-box  { padding: 1rem; }

  /* ── Areas ── */
  .areas-list-grid { grid-template-columns: 1fr 1fr; }

  /* ── Service cards ── */
  .service-card { padding: 1.5rem; }
  .service-icon { width: 52px; height: 52px; }

  /* ── Review cards ── */
  .review-card { padding: 1.5rem; }

  /* ── CTA section ── */
  .cta-section { padding: 55px 0; }
  .cta-buttons { gap: .65rem; }
  .btn         { width: 100%; justify-content: center; max-width: 320px; }

  /* ── Page hero ── */
  .page-hero { padding: 90px 0 40px; }
  .page-hero .breadcrumb { font-size: .8rem; flex-wrap: wrap; justify-content: center; }

  /* ── Post ── */
  .post-hero { padding: 95px 0 35px; }
  .post-body h2 { font-size: clamp(1.2rem, 4vw, 1.6rem); }
  .post-body h3 { font-size: clamp(1.05rem, 3vw, 1.3rem); }
  .post-cta-box { padding: 1.75rem 1.25rem; }
  .post-tags    { gap: .35rem; }

  /* ── FAQ ── */
  .faq-answer.open { max-height: 600px; }

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

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

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

  /* ── Highlight box ── */
  .highlight-box { padding: 1rem 1.25rem; }
}

/* --- XS: 480px (Mobile Portrait) --- */
@media (max-width: 480px) {
  .container { width: 96%; padding: 0 .6rem; }

  /* ── Navbar ── */
  .logo-text strong { font-size: 1.05rem; }
  .logo-mark { width: 40px; height: 40px; font-size: 1.2rem; }

  /* ── Hero ── */
  .hero-badges { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .hero-stats  { justify-content: space-around; flex-wrap: wrap; gap: .75rem; }
  .stat-num    { font-size: 1.5rem; }
  .hero-content { padding-top: 85px; }
  .hero-form-card { padding: 1.25rem; }

  /* ── Trust bar ── */
  .trust-items { gap: 1.25rem 1.5rem; }
  .trust-item span { display: none; }
  .trust-item i { font-size: 1.4rem; }

  /* ── Areas ── */
  .areas-list-grid { grid-template-columns: 1fr 1fr; }
  .areas-map       { height: 260px; }

  /* ── CTA ── */
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn         { max-width: 280px; }

  /* ── Stats ── */
  .stats-row { grid-template-columns: 1fr 1fr; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }
  .footer-col h4 { font-size: .95rem; }
  .footer-links a { font-size: .85rem; }

  /* ── Blog ── */
  .blog-category { font-size: .68rem; }
  .blog-meta     { gap: .6rem; }
  .post-meta     { flex-direction: column; gap: .4rem; }

  /* ── Survey feature ── */
  .survey-feature-img   { height: 200px; }
  .survey-feature-body  { padding: 1.5rem; }
  .survey-feature-body p { font-size: .88rem; }

  /* ── Process ── */
  .process-step::before { width: 48px; height: 48px; line-height: 48px; font-size: 1.2rem; }

  /* ── Timeline ── */
  .timeline::before { left: 19px; }
  .timeline-dot { width: 42px; height: 42px; }
  .timeline-item { gap: 1rem; padding-left: .5rem; }

  /* ── Accreditation ── */
  .accred-items { gap: 1.25rem 2rem; }
  .accred-logo  { width: 58px; height: 58px; font-size: .95rem; }

  /* ── Section titles ── */
  .section-title { margin-bottom: 1.75rem; }

  /* ── Page hero ── */
  .page-hero { padding: 85px 0 35px; }
  .page-hero h1 { font-size: clamp(1.35rem, 5.5vw, 1.9rem); }

  /* ── Post ── */
  .post-hero { padding: 88px 0 30px; }
  .post-body { padding: 1.5rem 0; }
  .post-body blockquote { padding: .9rem 1.1rem; }

  /* ── Forms ── */
  .contact-form-wrap { padding: 1.25rem; }

  /* ── FAQ ── */
  .faq-question { font-size: .88rem; padding: .9rem 1rem; gap: .75rem; }
  .faq-answer.open { padding: 1rem 1.1rem; }
}

/* --- XXS: 360px (Small phones) --- */
@media (max-width: 360px) {
  html { font-size: 15px; }
  .container { width: 97%; padding: 0 .5rem; }

  /* ── Hero ── */
  h1 { font-size: 1.55rem; }
  .hero-stats { gap: .5rem; }
  .stat-num   { font-size: 1.35rem; }
  .stat-label { font-size: .68rem; }

  /* ── Logo ── */
  .logo-mark { width: 36px; height: 36px; font-size: 1.1rem; }
  .logo-text strong { font-size: .98rem; }
  .logo-text small  { font-size: .62rem; }

  /* ── Buttons ── */
  .btn { padding: .7rem 1.35rem; font-size: .85rem; max-width: 100%; }

  /* ── Footer ── */
  footer { padding: 40px 0 0; }
  .footer-grid { gap: 1.5rem; }

  /* ── Blog ── */
  .blog-thumb  { height: 175px; }
  .blog-body h3 { font-size: 1rem; }

  /* ── Trust ── */
  .trust-items { gap: 1rem; }

  /* ── FAQ ── */
  .faq-question { padding: .85rem .9rem; font-size: .85rem; }

  /* ── Areas ── */
  .areas-map { height: 230px; }

  /* ── Process ── */
  .process-step::before { width: 44px; height: 44px; line-height: 44px; }

  /* ── Highlight box ── */
  .highlight-box { padding: .85rem 1rem; }

  /* ── Post ── */
  .post-cta-box  { padding: 1.5rem 1rem; }
  .post-body ul,
  .post-body ol  { margin-left: 1rem; }

  /* ── Cookie ── */
  .btn-cookie { padding: .5rem 1rem; font-size: .8rem; }
}

/* --- Extra: Blog page-hero meta stacking (inline margin overrides) --- */
/* Force the blog-meta spans inside page-hero to wrap on small screens */
.page-hero .blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: .75rem;
}
.page-hero .blog-meta span {
  color: rgba(255,255,255,.75);
}

@media (max-width: 600px) {
  .page-hero .blog-meta {
    flex-direction: column;
    gap: .35rem;
  }
  .page-hero .blog-meta span {
    margin-left: 0 !important;
  }
  /* Inline style override for blog article containers */
  article .container > div[style*="max-width"] {
    max-width: 100% !important;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .page-hero .blog-meta span {
    font-size: .8rem;
  }
  /* Ensure images inside post body are fully fluid */
  .post-body img,
  article img { max-width: 100%; height: auto; }

  /* Related posts grid on blog pages */
  .related-grid,
  .related-posts-grid { grid-template-columns: 1fr !important; }
}

/* --- Blog related posts grid --- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 1.75rem;
}

@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* --- Level compare grid (Level2 vs Level3 page) --- */
.level-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .level-compare-grid { grid-template-columns: 1fr; }
}

/* --- Services page tab buttons responsive --- */
.survey-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

@media (max-width: 480px) {
  .survey-tab-btn {
    font-size: .85rem;
    padding: .55rem 1rem;
  }
}

/* --- Ensure hamburger is always above the overlay --- */
.hamburger {
  position: relative;
  z-index: 1001;
}

/* --- Header inner on mobile: logo left, hamburger right --- */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: .5rem;
  }
  .logo { flex: 1; }
  #main-header { padding: .75rem 0; }
  #main-header.scrolled { padding: .5rem 0; }
}

/* --- Smooth reveal for mobile nav items --- */
@media (max-width: 768px) {
  .main-nav.open a {
    animation: slideInNav .25s ease forwards;
  }
  @keyframes slideInNav {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
  }
}

/* --- Ensure footer-brand text wraps cleanly on small screens --- */
@media (max-width: 480px) {
  .footer-brand p { font-size: .85rem; line-height: 1.65; }
  .footer-col h4  { margin-bottom: 1rem; }
  .footer-links   { gap: .35rem; }
}

/* --- Ensure toast doesn't overflow on mobile --- */
@media (max-width: 480px) {
  .toast { right: .75rem; left: .75rem; font-size: .85rem; }
}

/* --- Utility: Highlight box --- */
.highlight-box {
  background: linear-gradient(135deg,var(--light),var(--offwhite));
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.highlight-box p { margin: 0; font-size: .93rem; color: var(--navy); }

/* RICS / accreditation inline */
.inline-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--navy);
  color: var(--white);
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
}

/* Notification toast */
.toast {
  position: fixed;
  top: 90px; right: 1.5rem;
  background: var(--green);
  color: var(--white);
  padding: .9rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  box-shadow: 0 8px 25px rgba(39,174,96,.4);
  z-index: 10000;
  transform: translateX(150%);
  transition: transform .4s cubic-bezier(.175,.885,.32,1.275);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.toast.show { transform: translateX(0); }
.toast i { font-size: 1.1rem; }
