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

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #1a3c5e;
  --primary-dark: #112840;
  --primary-light: #2a5c8e;
  --accent: #c8a44a;
  --accent-light: #e0b85a;
  --text-dark: #1a1a2e;
  --text-mid: #444455;
  --text-light: #f5f5f0;
  --bg-white: #ffffff;
  --bg-off: #f8f7f3;
  --bg-dark: #0e2133;
  --border: #ddd8cc;
  --success: #2e7d5e;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.18);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: .3s ease;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

/* ---------- 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-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: .75rem;
}
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.7rem); }
h4 { font-size: 1.2rem; }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}
.section-title { margin-bottom: .5rem; }
.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.text-center { text-align: center; }
.text-white { color: var(--text-light) !important; }
.text-accent { color: var(--accent); }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-off { background: var(--bg-off); }
.section-primary { background: var(--primary); color: var(--text-light); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  letter-spacing: .02em;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,164,74,.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}
.btn-outline:hover {
  background: var(--text-light);
  color: var(--primary-dark);
}
.btn-dark {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(-2px);
}
.btn-sm { padding: .55rem 1.25rem; font-size: .85rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.2rem 0;
}
.site-header.scrolled {
  background: rgba(14,33,51,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  padding: .7rem 0;
}
.site-header:not(.scrolled) { background: transparent; }
/* Always show solid background on mobile so hamburger is visible */
@media (max-width: 768px) {
  .site-header { background: rgba(14,33,51,.97) !important; box-shadow: 0 2px 20px rgba(0,0,0,.25); padding: .7rem 0 !important; }
  .logo { font-size: 1.2rem; gap: 0.5rem; }
  .logo-icon { width: 38px; height: 38px; font-size: 1.1rem; }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.logo span { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 1.8rem; }
.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta { margin-left: .5rem; }
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: .4rem;
  background: none; border: none;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: var(--text-light);
  transition: all var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-video-bg {
  position: absolute; inset: 0;
  z-index: 0;   /* layer 0 – furthest back */
  overflow: hidden;
}
.hero-video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .40;
  /* Smooth fade-in when video loads */
  transition: opacity .8s ease;
}
/* Poster image shows while video loads - uses the same z-index layer */
.hero-video-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--bg-dark);
  z-index: -1;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,33,51,.88) 0%, rgba(26,60,94,.72) 60%, rgba(14,33,51,.55) 100%);
  z-index: 1;   /* layer 1 – dims the video */
}
/* Animated particles – sit above overlay for subtle depth effect */
.hero-particles {
  position: absolute; inset: 0; z-index: 2;   /* layer 2 – above overlay */
  overflow: hidden;
  pointer-events: none;   /* clicks pass through to content */
}
.hero-particles canvas { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 3; padding: 4.5rem 0 4rem; }   /* layer 3 – always on top */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 3rem;
  align-items: flex-start;
}
.hero-left {
  padding-top: 0;
  margin-top: -0.5rem;
  padding-left: 0;
  margin-left: -0.75rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(200,164,74,.18);
  border: 1px solid rgba(200,164,74,.4);
  color: var(--accent);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--text-light);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.hero-title .highlight {
  color: var(--accent);
  display: block;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(245,245,240,.85);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex; gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--accent);
}
.stat-label { font-size: .8rem; color: rgba(245,245,240,.7); letter-spacing: .04em; text-transform: uppercase; }
.hero-form-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.hero-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: .3rem;
  color: var(--primary-dark);
}
.hero-form-card p { font-size: .9rem; color: var(--text-mid); margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-group { margin-bottom: .75rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-mid); margin-bottom: .3rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(42,92,142,.15);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group.full { grid-column: 1/-1; }
.form-submit-btn {
  width: 100%;
  padding: .9rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.form-submit-btn:hover { background: var(--accent); color: var(--primary-dark); }
.form-privacy { font-size: .75rem; color: var(--text-mid); margin-top: .5rem; text-align: center; }

/* HubSpot form container */
.hs-form-container {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.hs-form-container h3 {
  font-size: 1.3rem;
  margin-bottom: .3rem;
  color: var(--primary-dark);
}
.hs-form-container p.form-sub { font-size: .9rem; color: var(--text-mid); margin-bottom: 1.2rem; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--primary-dark);
  padding: 1.2rem 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(245,245,240,.85); font-size: .88rem; font-weight: 500;
}
.trust-item i { color: var(--accent); font-size: 1.1rem; }
.trust-divider { width: 1px; height: 24px; background: rgba(255,255,255,.2); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.75rem; }
.card-tag {
  display: inline-block;
  background: rgba(26,60,94,.1);
  color: var(--primary);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 50px; margin-bottom: .75rem;
}
.card-title { font-size: 1.25rem; margin-bottom: .6rem; }
.card-excerpt { color: var(--text-mid); font-size: .9rem; margin-bottom: 1rem; }
.card-meta { display: flex; align-items: center; gap: 1rem; font-size: .8rem; color: var(--text-mid); }
.card-meta i { color: var(--accent); }

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  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(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.service-icon {
  width: 60px; height: 60px;
  background: rgba(26,60,94,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--primary);
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: var(--accent); }
.service-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.service-card p { font-size: .9rem; color: var(--text-mid); }
.service-card .service-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1rem; font-size: .88rem; font-weight: 600; color: var(--primary);
}
.service-card:hover .service-link { color: var(--accent); }

/* ---------- Review / Testimonials ---------- */
.review-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { color: #f5a623; font-size: 1rem; margin-bottom: .75rem; }
.review-text {
  font-size: .95rem; color: var(--text-mid);
  font-style: italic; margin-bottom: 1.25rem;
  line-height: 1.7;
}
.review-text::before { content: '\201C'; font-size: 1.5rem; color: var(--accent); line-height: .5; display: inline; }
.review-author { display: flex; align-items: center; gap: .75rem; }
.review-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: .9rem; }
.review-location { font-size: .8rem; color: var(--text-mid); }
.review-platform { font-size: .75rem; color: var(--accent); font-weight: 600; margin-top: .1rem; }

/* ---------- Team Cards ---------- */
.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-img { aspect-ratio: 3/4; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.team-card:hover .team-img img { transform: scale(1.04); }
.team-info { padding: 1.5rem; }
.team-name { font-size: 1.2rem; margin-bottom: .2rem; }
.team-role { font-size: .85rem; color: var(--accent); font-weight: 600; margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .06em; }
.team-bio { font-size: .88rem; color: var(--text-mid); }

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600; font-size: 1rem;
  color: var(--primary-dark);
  background: var(--bg-white);
  transition: background var(--transition);
  border: none; width: 100%; text-align: left;
  font-family: var(--font-body);
}
.faq-question:hover, .faq-question[aria-expanded="true"] { background: rgba(26,60,94,.05); }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: .75rem;
  transition: transform var(--transition), background var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--accent); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding var(--transition);
  padding: 0 1.5rem;
  color: var(--text-mid); font-size: .93rem;
}
.faq-answer.open { max-height: 600px; padding: 1rem 1.5rem 1.5rem; }

/* ---------- Process / Steps ---------- */
.step-card {
  text-align: center; padding: 2rem 1.5rem;
  position: relative;
}
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-heading);
}
.step-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.step-card p { font-size: .9rem; color: var(--text-mid); }

/* ---------- Areas Grid ---------- */
.area-chip {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1.1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem; font-weight: 500;
  transition: all var(--transition);
  cursor: default;
}
.area-chip i { color: var(--accent); font-size: .9rem; }
.area-chip:hover { background: var(--primary); color: var(--text-light); border-color: var(--primary); }
.area-chip:hover i { color: var(--accent-light); }

/* ---------- Blog Section ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: .78rem; color: var(--text-mid); margin-bottom: .75rem;
}
.blog-card-meta i { color: var(--accent); }
.blog-category {
  background: rgba(26,60,94,.1); color: var(--primary);
  font-size: .72rem; font-weight: 700;
  padding: .2rem .65rem; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .06em;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.blog-card h3 a { color: var(--primary-dark); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: .88rem; color: var(--text-mid); margin-bottom: 1rem; }

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a44a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; text-align: center; color: var(--text-light); }
.page-hero h1 { color: var(--text-light); margin-bottom: .75rem; }
.page-hero p { font-size: 1.05rem; opacity: .85; max-width: 600px; margin: 0 auto 1.5rem; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .82rem; color: rgba(245,245,240,.65);
}
.breadcrumb a { color: rgba(245,245,240,.65); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: .4; }

/* ---------- Contact Section ---------- */
.contact-info-card {
  background: var(--bg-off);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.1rem;
}
.contact-text strong { display: block; font-size: .85rem; color: var(--text-mid); font-weight: 600; margin-bottom: .2rem; }
.contact-text span { font-size: .95rem; color: var(--text-dark); }
.contact-hours { margin-top: 1.5rem; }
.hours-row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .9rem; border-bottom: 1px dashed var(--border); }
.hours-row:last-child { border-bottom: none; }

/* ---------- Map Embed ---------- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 350px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ---------- Accreditation Badges ---------- */
.accred-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
  padding: 2.5rem 0;
}
.accred-item {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  text-align: center;
}
.accred-badge {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-off);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  color: var(--primary);
  letter-spacing: .03em;
}
.accred-item span { font-size: .78rem; color: var(--text-mid); font-weight: 500; max-width: 100px; text-align: center; }

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Counter Animate ---------- */
.count-up { font-variant-numeric: tabular-nums; }

/* ---------- Progress Bar ---------- */
.skill-bar { margin-bottom: 1rem; }
.skill-label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.skill-track { height: 8px; background: var(--bg-off); border-radius: 50px; overflow: hidden; }
.skill-fill {
  height: 100%; background: var(--primary);
  border-radius: 50px;
  width: 0;
  transition: width 1.2s ease;
}
.skill-fill.animated { width: var(--pct); }

/* ---------- Quote / CTA Blocks ---------- */
.cta-block {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: var(--text-light);
}
.cta-block h2 { color: var(--text-light); margin-bottom: .75rem; }
.cta-block p { opacity: .85; margin-bottom: 1.5rem; }
.blockquote-highlight {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  background: rgba(200,164,74,.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-mid);
  margin: 1.5rem 0;
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding: 1rem 0; }
.timeline::before {
  content: '';
  position: absolute; left: 20px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding: 0 0 2rem 3.5rem; }
.timeline-dot {
  position: absolute; left: 10px; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item h4 { font-size: 1rem; margin-bottom: .35rem; }
.timeline-item p { font-size: .9rem; color: var(--text-mid); }

/* ---------- Data Viz / Chart ---------- */
.chart-container {
  position: relative;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.chart-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--primary-dark); }

/* ---------- Sticky CTA Banner ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--primary-dark);
  color: var(--text-light);
  padding: .9rem 0;
  z-index: 8888;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sticky-cta p { font-size: .92rem; margin: 0; }
.sticky-cta p strong { color: var(--accent); }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed; bottom: 5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--primary);
  color: white; border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0; pointer-events: none;
  z-index: 8887;
}
.back-to-top.show { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-3px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(245,245,240,.8);
  padding: 4rem 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { margin-bottom: 1rem; }
.footer-desc { font-size: .9rem; opacity: .75; margin-bottom: 1.5rem; max-width: 300px; }
.footer-heading { font-size: 1rem; font-weight: 700; color: var(--text-light); margin-bottom: 1.2rem; font-family: var(--font-body); letter-spacing: .03em; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(245,245,240,.7); font-size: .9rem;
  transition: color var(--transition);
  display: inline-flex; align-items: center; gap: .4rem;
}
.footer-links a:hover { color: var(--accent); }
.footer-links a::before { content: '›'; color: var(--accent); }
.footer-contact-item { display: flex; gap: .75rem; margin-bottom: .85rem; align-items: flex-start; font-size: .88rem; }
.footer-contact-item i { color: var(--accent); flex-shrink: 0; margin-top: .1rem; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: .82rem; color: rgba(245,245,240,.5);
}
.footer-bottom a { color: rgba(245,245,240,.5); }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,245,240,.7); font-size: .9rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--primary-dark); }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--primary-dark);
  color: rgba(245,245,240,.9);
  padding: 1rem 1.5rem;
  z-index: 9998;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .5s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: .85rem; margin: 0; max-width: 680px; }
.cookie-btn {
  padding: .5rem 1.2rem;
  border-radius: var(--radius);
  font-size: .85rem; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--transition);
  flex-shrink: 0;
}
.cookie-accept { background: var(--accent); color: var(--primary-dark); }
.cookie-accept:hover { background: var(--accent-light); }
.cookie-decline { background: transparent; color: rgba(245,245,240,.7); border: 1px solid rgba(255,255,255,.2); margin-left: .5rem; }

/* ---------- Blog Article Page ---------- */
.article-body { font-size: 1rem; line-height: 1.8; }
.article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body h3 { margin-top: 2rem; margin-bottom: .75rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin: 1rem 0; }
.article-body ul li { list-style: disc; margin-bottom: .4rem; }
.article-body ol li { list-style: decimal; margin-bottom: .4rem; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.article-body th { background: var(--primary); color: white; padding: .75rem 1rem; text-align: left; }
.article-body td { padding: .65rem 1rem; border-bottom: 1px solid var(--border); }
.article-body tr:nth-child(even) td { background: var(--bg-off); }
.article-header { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.article-sidebar { position: sticky; top: 7rem; }
.article-toc {
  background: var(--bg-off); border-radius: var(--radius-lg);
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.article-toc h4 { font-size: 1rem; margin-bottom: 1rem; }
.article-toc ol { padding-left: 1.2rem; }
.article-toc li { margin-bottom: .5rem; font-size: .88rem; }
.article-toc a { color: var(--text-mid); }
.article-toc a:hover { color: var(--primary); }
.related-posts { background: var(--bg-off); border-radius: var(--radius-lg); padding: 1.5rem; }
.related-posts h4 { font-size: 1rem; margin-bottom: 1rem; }
.related-post-item { display: flex; gap: .75rem; margin-bottom: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.related-post-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.related-post-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.related-post-item h5 { font-size: .82rem; margin-bottom: .2rem; }
.related-post-item span { font-size: .75rem; color: var(--text-mid); }
.author-box {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 2rem; background: var(--bg-off);
  border-radius: var(--radius-lg); margin-top: 3rem;
}
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box h4 { font-size: 1.1rem; margin-bottom: .2rem; }
.author-box span { font-size: .82rem; color: var(--accent); font-weight: 600; }
.author-box p { font-size: .88rem; color: var(--text-mid); margin-top: .5rem; }

/* ---------- Blog List Page ---------- */
.blog-filter-bar {
  display: flex; gap: .75rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  color: var(--text-mid);
  font-family: var(--font-body);
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ---------- Reading Progress Bar ---------- */
.reading-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; background: var(--accent);
  z-index: 10000; width: 0;
  transition: width .1s linear;
}

/* ---------- Notification Toast ---------- */
.toast {
  position: fixed; bottom: 5.5rem; right: 1.5rem;
  background: var(--success);
  color: white; padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .9rem; font-weight: 500;
  transform: translateX(calc(100% + 2rem));
  transition: transform .4s ease;
  z-index: 9999;
  display: flex; align-items: center; gap: .6rem;
}
.toast.show { transform: translateX(0); }

/* ---------- Survey Type Comparison Table ---------- */
.comparison-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.comparison-table th { background: var(--primary); color: white; padding: 1rem 1.25rem; font-size: .9rem; text-align: left; }
.comparison-table td { padding: .85rem 1.25rem; font-size: .88rem; border-bottom: 1px solid var(--border); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--bg-off); }
.comparison-table .check { color: var(--success); font-weight: 700; }
.comparison-table .dash { color: var(--text-mid); }
.comparison-table .best { background: rgba(200,164,74,.12) !important; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* =====================================================
   RESPONSIVE BREAKPOINTS — Full Mobile-First System
   Extra Large  : min-width 1400px
   Large        : max-width 1200px
   Medium-Large : max-width 1100px
   Medium       : max-width 968px
   Tablet       : max-width 768px
   Small        : max-width 600px
   Mobile       : max-width 480px
   ===================================================== */

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

/* ---------- XXL — Large Desktops (1400px+) ---------- */
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
  .hero-title { font-size: 3.8rem; }
}

/* ---------- XL — Laptops (max 1200px) ---------- */
@media (max-width: 1200px) {
  .container { padding: 0 1.5rem; }
  .hero-title { font-size: clamp(2rem, 3.5vw, 3.2rem); }
}

/* ---------- Medium-Large (max 1100px) ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 400px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1/-1; }
}

/* ---------- Medium — Small Laptops / Large Tablets (max 968px) ---------- */
@media (max-width: 968px) {
  /* Hero */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { margin-left: 0; margin-top: 0; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .hero-form-card, .hs-form-container { max-width: 500px; margin: 0 auto; }
  .hero-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
  .hero-desc { font-size: 1rem; max-width: 100%; }

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

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

  /* Article sidebar */
  .article-sidebar { position: static; }

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

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

/* ---------- Tablet (max 768px) ---------- */
@media (max-width: 768px) {
  /* Typography */
  html { font-size: 15px; }
  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-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: 1.6rem; }
  .section-header p { font-size: 0.95rem; }

  /* Navigation — full-screen overlay */
  .nav-menu {
    display: none !important;
    flex-direction: column;
    gap: 0;
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(14,33,51,.98);
    padding: 1.5rem 2rem 2rem;
    z-index: 9998;
    overflow-y: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .nav-menu.open { display: flex !important; }
  .nav-link {
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--text-light);
  }
  .nav-link.active, .nav-link:hover { color: var(--accent); }
  .nav-cta { margin-left: 0; margin-top: 1.25rem; }
  .nav-cta .btn { width: 100%; text-align: center; justify-content: center; }

  /* Hamburger — 44px touch target */
  .hamburger {
    display: flex !important;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

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

  /* Hero */
  .hero-stats { gap: 1rem; flex-wrap: wrap; }
  .hero-badge { font-size: 0.8rem; }

  /* Accreditation bar */
  .accred-bar { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .trust-divider { display: none; }

  /* Sticky CTA */
  .sticky-cta-inner { justify-content: center; text-align: center; flex-direction: column; gap: 0.75rem; }

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

  /* Contact page */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
  .contact-form { order: 1; }

  /* Blog article */
  .grid-2-1 { grid-template-columns: 1fr; }
  .article-sidebar { margin-top: 2rem; }
}

/* ---------- Small (max 600px) ---------- */
@media (max-width: 600px) {
  /* Typography */
  .section-header h2 { font-size: 1.4rem; }
  .section-header p { font-size: 0.9rem; }

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

  /* Grids — all single column */
  .grid-2 { grid-template-columns: 1fr; gap: 1.25rem; }
  .grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  .grid-4 { grid-template-columns: 1fr; gap: 1rem; }
  .blog-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .footer-links { padding: 0; }
  .social-links { justify-content: center; }
  .accreditation-badges { justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

  /* Hero — mobile optimised */
  .hero { padding-top: 0; }
  .hero-video-bg { display: none; }     /* hide video on small screens – show poster instead */
  .hero { background-image: url('../images/bolton-aerial.jpg'); background-size: cover; background-position: center; }
  .hero-content { padding: 5.5rem 0 2.5rem; }  /* top clearance for fixed header */
  .hero-grid { gap: 1.5rem; }
  .hero-title { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .hero-desc { font-size: 0.92rem; margin-bottom: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; margin-bottom: 1.5rem; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-badge { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
  .hero-stats { gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 0; padding-top: 1.25rem; }
  .hero-stats .stat-item { min-width: 85px; }
  .hero-form-card { padding: 1.25rem; margin: 0; }
  .hero-form-card h3 { font-size: 1.1rem; }
  .hero-form-card p { font-size: 0.85rem; }
  /* HubSpot form — full width on mobile */
  .hs-form-container { max-width: 100% !important; margin: 0 !important; padding: 1.25rem; }
  .hs-form-container h3 { font-size: 1.1rem; }
  .hs-form-container p.form-sub { font-size: 0.85rem; }

  /* Buttons — full-width touch friendly */
  .btn {
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    font-size: 0.92rem;
  }
  .btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }

  /* Services */
  .service-item { padding: 1.25rem; }
  .service-icon { font-size: 2rem; }
  .service-item h3 { font-size: 1.05rem; }

  /* Blog cards */
  .blog-card { margin-bottom: 0; }
  .blog-card-body { padding: 1.25rem; }
  .blog-card h2, .blog-card h3 { font-size: 1.05rem; line-height: 1.4; }

  /* Blog article pages */
  .article-body h2 { font-size: 1.25rem; }
  .article-body h3 { font-size: 1.1rem; }
  .article-body p, .article-body li { font-size: 0.95rem; }
  .blockquote-highlight { padding: 1rem 1.25rem; font-size: 0.95rem; }
  .highlight-box { padding: 1rem; flex-direction: column; gap: 0.5rem; }
  .author-box { flex-direction: column; text-align: center; gap: 1rem; }
  .author-box img { margin: 0 auto; }
  .article-toc { display: none; }

  /* Comparison tables */
  .table-scroll { margin: 0 -1rem; padding: 0 1rem; }
  .comparison-table th, .comparison-table td { padding: 0.6rem 0.75rem; font-size: 0.85rem; }

  /* FAQ */
  .faq-item { margin-bottom: 0.5rem; }
  .faq-question { padding: 0.9rem 1rem; font-size: 0.93rem; line-height: 1.4; min-height: 44px; }
  .faq-answer { padding: 0.75rem 1rem 1rem; }

  /* CTA blocks */
  .cta-block { padding: 1.5rem 1.25rem; border-radius: var(--radius); }
  .cta-block h3, .cta-block h4 { font-size: 1.1rem; }
  .cta-section { padding: 2rem 1.25rem; margin: 0 0.5rem; border-radius: var(--radius); }
  .cta-section h2 { font-size: 1.3rem; }

  /* Page hero (inner pages) */
  .page-hero { padding: 4rem 0 2rem !important; }
  .page-hero h1 { font-size: clamp(1.4rem, 5vw, 2rem) !important; }
  .breadcrumb { font-size: 0.82rem; }

  /* Related posts sidebar */
  .related-posts .related-post-item { gap: 0.75rem; }
  .related-posts .related-post-item img { width: 56px; height: 42px; }

  /* Forms — prevent iOS zoom (font-size: 16px) */
  input, select, textarea {
    font-size: 16px !important;
  }
  .hs-form-field { margin-bottom: 0.75rem !important; }
  .hs-input { padding: 0.6rem 0.75rem !important; font-size: 16px !important; }
  .hs-button { width: 100% !important; padding: 0.75rem !important; font-size: 1rem !important; }
  .hs-form-field label { font-size: 0.9rem !important; }

  /* Sticky CTA */
  .sticky-cta { padding: 0.6rem 0; }
  .sticky-cta-inner p { font-size: 0.82rem; }
  .sticky-cta-inner .btn { padding: 0.55rem 1rem; font-size: 0.82rem; min-height: 38px; }

  /* Back to top */
  .back-to-top { width: 40px; height: 40px; font-size: 0.85rem; bottom: 5rem; right: 1rem; }

  /* Cookie banner */
  .cookie-banner { padding: 1rem; font-size: 0.85rem; }
  .cookie-banner .cookie-btn { padding: 0.5rem 1rem; min-height: 40px; }

  /* Contact page form */
  .contact-form-wrapper { padding: 1.25rem; }
  .contact-form-wrapper h2 { font-size: 1.3rem; }
}

/* ---------- Extra Small — Mobile Portrait (max 480px) ---------- */
@media (max-width: 480px) {
  /* Typography */
  html { font-size: 14px; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  p { font-size: 0.95rem; line-height: 1.65; }

  /* Container */
  .container { padding: 0 0.875rem; }
  .section { padding: 2rem 0; }
  .section-header { margin-bottom: 1.75rem; }

  /* Hero ultra-small */
  .hero-content { padding-top: 5rem; padding-bottom: 2rem; }
  .hero-title { font-size: clamp(1.3rem, 6vw, 1.6rem) !important; }
  .hero-desc { font-size: 0.88rem; }
  .hero-form-card h3, .hs-form-container h3 { font-size: 1rem; }
  .hero-form-card, .hs-form-container { padding: 1rem; }
  .form-row input, .form-row select { padding: 0.6rem; font-size: 16px; }
  .hero-stats { gap: 0.75rem; padding-top: 1rem; }
  .hero-stats .stat-item { min-width: 75px; }
  .hero-stats .stat-num { font-size: 1.4rem; }
  .hero-stats .stat-label { font-size: 0.68rem; }

  /* Navigation */
  .nav-menu { padding: 1.25rem; }
  .nav-link { font-size: 1rem; padding: 0.875rem 0; }

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

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

  /* Blog article */
  .article-body h2 { font-size: 1.15rem; }
  .blog-card-meta { flex-wrap: wrap; gap: 0.4rem; font-size: 0.78rem; }

  /* Comparison tables — horizontally scrollable */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -0.875rem; padding: 0 0.875rem; }
  .comparison-table th, .comparison-table td { padding: 0.5rem 0.6rem; font-size: 0.8rem; white-space: normal; }

  /* Buttons */
  .btn { padding: 0.7rem 1.25rem; font-size: 0.88rem; }

  /* Footer */
  .footer-desc { font-size: 0.88rem; }
  .footer-heading { font-size: 1rem; }
  .footer-links li a { font-size: 0.88rem; }
  .footer-bottom p { font-size: 0.8rem; }

  /* Trust bar */
  .trust-bar-inner { gap: 0.75rem 1.25rem; }
  .trust-item { font-size: 0.82rem; }

  /* Service cards */
  .service-card { padding: 1.25rem; }
  .service-icon { width: 48px; height: 48px; font-size: 1.3rem; }
  .service-card h3 { font-size: 1rem; }
}

/* ---------- Print Styles ---------- */
@media print {
  .site-header, .sticky-cta, .back-to-top, .cookie-banner { display: none !important; }
  .hero { min-height: auto; padding: 2rem 0; }
  .hero-video-bg { display: none; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Loading Skeleton ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-off) 25%, #eeeee8 50%, var(--bg-off) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Pulse Animation ---------- */
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.pulse-btn { position: relative; }
.pulse-btn::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--accent);
  animation: pulse-ring 2s ease-out infinite;
  z-index: -1;
}

/* ---------- Video Testimonial Overlay ---------- */
.video-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
}
.video-card-thumb { aspect-ratio: 16/9; }
.video-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,33,51,.45);
  transition: background var(--transition);
}
.video-play-btn:hover { background: rgba(14,33,51,.65); }
.play-icon {
  width: 64px; height: 64px;
  background: rgba(200,164,74,.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark); font-size: 1.5rem;
  transition: transform var(--transition);
}
.video-play-btn:hover .play-icon { transform: scale(1.1); }

/* ---------- Parallax Helper ---------- */
.parallax-section { background-attachment: fixed; background-size: cover; background-position: center; }

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: rgba(200,164,74,.12);
  border: 1px solid rgba(200,164,74,.35);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.highlight-box i { color: var(--accent); font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.highlight-box p { font-size: .92rem; margin: 0; }

/* ---------- RICS Badge Strip ---------- */
.badge-strip {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin: 1.5rem 0;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--primary);
  color: white; padding: .4rem 1rem;
  border-radius: 50px; font-size: .8rem; font-weight: 600;
}
.badge-pill i { color: var(--accent); }
