/* =========================================
   BASINGSTOKE SURVEYOR - Main Stylesheet
   basingstokesurveyor.co.uk
   ========================================= */

/* === CSS VARIABLES === */
:root {
  --primary: #1a3a5c;
  --primary-dark: #0f2540;
  --primary-light: #2a5a8c;
  --accent: #c8860a;
  --accent-light: #e09a20;
  --accent-dark: #a06808;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --mid-gray: #6c757d;
  --dark-gray: #343a40;
  --text: #2c3e50;
  --text-light: #555f6b;
  --success: #28a745;
  --border: #dee2e6;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-card: 0 2px 15px rgba(0,0,0,0.08);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-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);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--accent); }

ul, ol { padding-left: 1.5rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 1.05rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 400;
}

.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-light { color: var(--text-light); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 134, 10, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* === SECTION SPACING === */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 120px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .subtitle {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 { margin-bottom: 16px; }

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* === DIVIDER === */
.divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 16px auto;
  border-radius: 2px;
}

/* === NAVIGATION === */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 16px 0;
}

#navbar.scrolled {
  background: var(--primary);
  padding: 10px 0;
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.nav-logo-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* ===== HERO VIDEO BACKGROUND ===== */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 1;
  transition: opacity 0.8s ease;
}

.hero-video.hidden {
  display: none;
}

/* ===== HERO IMAGE SLIDER ===== */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 8s ease;
}

.hero-slide.active {
  opacity: 0.45;
  transform: scale(1.12);
  animation: heroZoom 8s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

/* ===== SLIDER DOTS ===== */
.hero-slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}

/* Legacy static img — kept for safety but hidden when JS/video runs */
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 37, 64, 0.92) 0%,
    rgba(26, 58, 92, 0.80) 50%,
    rgba(15, 37, 64, 0.70) 100%
  );
  z-index: 2;
}

/* Animated particles in hero */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(200, 134, 10, 0.4);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 60px;
  margin-top: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.hero-text {
  padding-top: 0;
  margin-top: -20px;
  padding-left: 0;
  align-self: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 134, 10, 0.2);
  border: 1px solid rgba(200, 134, 10, 0.4);
  color: var(--accent-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.hero-title span { color: var(--accent-light); }

.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 50px;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-badge i { color: var(--accent-light); }

/* Hero Form Panel */
.hero-form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.hero-form-panel h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.hero-form-panel p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.form-divider hr {
  flex: 1;
  border: none;
  border-top: 1px solid var(--border);
}

.form-divider span {
  font-size: 0.8rem;
  color: var(--mid-gray);
  white-space: nowrap;
}

/* === STATS BAR === */
.stats-bar {
  background: var(--primary);
  padding: 30px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-light);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === SERVICES SECTION === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: 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 0.3s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(26, 58, 92, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-card p { font-size: 0.95rem; }

.service-card .service-tag {
  display: inline-block;
  background: rgba(200, 134, 10, 0.1);
  color: var(--accent-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 12px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  gap: 10px;
}

/* === WHY CHOOSE US === */
.bg-light { background: var(--off-white); }
.bg-primary { background: var(--primary); }
.bg-dark { background: var(--primary-dark); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(26, 58, 92, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
}

.feature-content h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.feature-content p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-light);
}

/* === ABOUT SPLIT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-stack {
  position: relative;
  padding: 20px;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-badge {
  position: absolute;
  top: 10px;
  left: 0;
  background: var(--accent);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.about-badge-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-heading);
}

.about-badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.about-content .subtitle {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.about-content h2 { margin-bottom: 16px; }

.accreditation-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.accred-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.accred-badge i { color: var(--accent); }

/* === TEAM SECTION === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.team-img-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrap img { transform: scale(1.06); }

.team-info {
  padding: 24px;
}

.team-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.team-role {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.team-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* === REVIEWS === */
.reviews-bg { background: var(--primary-dark); }

.reviews-slider {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.review-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-width: calc(33.33% - 16px);
  flex-shrink: 0;
  transition: var(--transition);
}

.review-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(200, 134, 10, 0.4);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-stars i { color: var(--accent-light); font-size: 1.1rem; }

.review-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  display: block;
}

.review-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.reviews-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.reviews-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
}

.reviews-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* === PROCESS SECTION === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--primary-light));
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  box-shadow: 0 4px 20px rgba(200, 134, 10, 0.25);
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: var(--accent);
  color: var(--white);
}

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* === AREAS COVERED === */
.areas-map {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.area-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}

.area-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.area-tag i { color: var(--accent); font-size: 0.8rem; }
.area-tag:hover i { color: var(--accent-light); }

/* === CONTACT FORM === */
.contact-section { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(26, 58, 92, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-detail-content h5 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-detail-content p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text);
}

.contact-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

.contact-form-wrap p {
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* === HubSpot Form Override === */
.hs-form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 6px;
  display: block;
}

.hs-input {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 2px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-size: 0.95rem !important;
  transition: var(--transition) !important;
  background: var(--white) !important;
  color: var(--text) !important;
}

.hs-input:focus {
  border-color: var(--primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1) !important;
}

.hs-button {
  background: var(--accent) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: var(--radius) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  width: 100% !important;
}

.hs-button:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-2px) !important;
}

/* === FAQ SECTION === */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { box-shadow: var(--shadow); }

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.faq-question:hover { background: var(--off-white); }
.faq-item.open .faq-question { background: var(--primary); color: var(--white); }

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(26, 58, 92, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: var(--white);
}

.faq-answer-inner {
  padding: 20px 24px 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  margin: 0;
}

/* === BLOG GRID === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.blog-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrap img { transform: scale(1.06); }

.blog-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--mid-gray);
}

.blog-meta i { color: var(--accent); }

.blog-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
  line-height: 1.4;
}

.blog-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  flex: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

.blog-read-more:hover {
  gap: 10px;
  color: var(--accent-dark);
}

/* === PAGE HERO === */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(200,134,10,0.2)"/><circle cx="80" cy="40" r="1.5" fill="rgba(200,134,10,0.15)"/><circle cx="50" cy="70" r="1" fill="rgba(200,134,10,0.2)"/><circle cx="90" cy="80" r="1" fill="rgba(200,134,10,0.1)"/><circle cx="10" cy="60" r="0.8" fill="rgba(200,134,10,0.15)"/></svg>') repeat;
  opacity: 0.5;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 20px; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 20px;
}

.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: var(--accent-light); }

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-content { position: relative; z-index: 1; }

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
}

.footer-main {
  padding: 70px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-accreds {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-accred {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-light);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }

.footer-links a i {
  font-size: 0.7rem;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-legal a:hover { color: var(--accent-light); }

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 20px;
  z-index: 10000;
  display: none;
}

.cookie-banner.show { display: block; }

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  flex: 1;
}

.cookie-inner a { color: var(--accent-light); }

.cookie-btns { display: flex; gap: 12px; }

.cookie-accept {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.cookie-accept:hover { background: var(--accent-dark); }

.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

/* === SURVEY COMPARISON TABLE === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th {
  background: var(--primary);
  color: var(--white);
  padding: 16px 20px;
  font-size: 0.95rem;
  text-align: left;
  font-family: var(--font-body);
}

.comparison-table th.highlighted {
  background: var(--accent);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-light);
}

.comparison-table tr:nth-child(even) td {
  background: var(--off-white);
}

.comparison-table tr:hover td { background: rgba(26, 58, 92, 0.05); }

.check { color: var(--success); font-size: 1.1rem; }
.cross { color: #dc3545; font-size: 1.1rem; }

/* === ANIMATION HELPERS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* === TOOLTIP === */
.tooltip-wrap { position: relative; display: inline-block; }

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  background: var(--primary-dark);
  color: var(--white);
  text-align: center;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  transition: opacity 0.2s;
  z-index: 100;
}

.tooltip-wrap:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* === PAGE CONTENT STYLES === */
.content-section { padding: 80px 0; }

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  position: sticky;
  top: 100px;
}

.sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  color: var(--primary);
}

/* === MAP EMBED === */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 450px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  text-align: center;
  color: var(--mid-gray);
  padding: 40px;
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 16px;
}

/* ===========================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Breakpoints: 480 | 600 | 768 | 968 | 1024 | 1200 | 1400+
   =========================================== */

/* === BASE GLOBAL MOBILE FIXES === */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; height: auto; display: block; }

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

/* === LARGE LAPTOPS (max 1200px) === */
@media (max-width: 1200px) {
  .container { max-width: 100%; padding: 0 24px; }
  .hero-grid { gap: 40px; }
}

/* === SMALL LAPTOPS / LARGE TABLETS (max 1024px) === */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
}

/* === TABLETS (max 968px) === */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-form-panel { width: 100%; max-width: 560px; margin: 0 auto; }
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-text { text-align: center; }
  .hero-badge { margin: 0 auto 20px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }
  .blog-sidebar { order: -1; }
}

/* === TABLETS / LARGE MOBILE (max 768px) === */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }

  /* --- NAV --- */
  .nav-menu, .nav-cta {
    display: none;
    width: 100%;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 12px 0 20px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    animation: slideDown 0.25s ease forwards;
    z-index: 999;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-menu.open li { width: 100%; }

  .nav-menu.open a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    min-height: 44px;
    line-height: 1.4;
  }

  .nav-menu.open a:hover { background: rgba(255,255,255,0.07); }

  .nav-cta.open {
    display: block;
    position: static;
    background: var(--primary-dark);
    padding: 12px 24px 20px;
  }

  .nav-cta.open .btn { width: 100%; text-align: center; justify-content: center; }

  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  /* Hamburger → X animation */
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

  /* --- HERO --- */
  .hero-content { padding: 90px 0 50px; }
  .hero-text { margin-top: 0; padding-left: 0; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-trust { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* --- GRIDS --- */
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .review-card { min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }

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

  /* --- CONTACT --- */
  .contact-info { order: 2; }
  .contact-form { order: 1; }

  /* --- MAP --- */
  .map-container { height: 300px; }

  /* --- SECTION HEADERS --- */
  .section-header h2 { font-size: 1.6rem; }
  .section-header p { font-size: 0.95rem; }

  /* --- FOOTER --- */
  .footer-grid { gap: 1.5rem; text-align: center; }
  .footer-links { align-items: center; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }

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

  /* --- COMPARE TABLE --- */
  .compare-table-wrap { overflow-x: auto; }
}

/* === SMALL MOBILE LANDSCAPE (max 600px) === */
@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.95rem; }

  /* --- SERVICES --- */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-item { padding: 1.25rem; }
  .service-icon { font-size: 2rem; }
  .service-item h3 { font-size: 1.1rem; }

  /* --- BLOG GRID --- */
  .blog-grid { grid-template-columns: 1fr; gap: 1rem; }
  .blog-card { margin-bottom: 0.5rem; }
  .blog-title { font-size: 1.1rem; }
  .blog-article { padding: 0; }
  .blog-article h1 { font-size: 1.5rem; }
  .blog-article h2 { font-size: 1.25rem; }
  .blog-article h3 { font-size: 1.1rem; }
  .blog-article-img { height: 220px; }

  /* --- FAQ --- */
  .faq-item { margin-bottom: 0.75rem; }
  .faq-question { padding: 1rem; font-size: 0.95rem; line-height: 1.4; }
  .faq-answer { padding: 0.75rem 1rem; }
  .faq-toggle { font-size: 1.25rem; }

  /* --- BUTTONS --- */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    min-height: 44px;
    justify-content: center;
  }
  .hero-actions .btn { width: 100%; max-width: 100%; }

  /* --- FORMS --- */
  .hero-form-panel { padding: 1.25rem; margin: 0; }
  .contact-form-wrap { padding: 1.25rem; }

  /* HubSpot form overrides */
  .hs-form-field { margin-bottom: 0.75rem !important; }
  .hs-input { padding: 0.65rem !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; }

  /* --- CTA SECTION --- */
  .cta-section { padding: 2rem 1.25rem; border-radius: 10px; margin: 0 0.5rem; }
  .cta-section h2 { font-size: 1.3rem; }
  .cta-section p { font-size: 1rem; margin-bottom: 1.5rem; }
  .cta-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-buttons .btn { width: 100%; justify-content: center; }

  /* --- FEATURES / WHY CHOOSE US --- */
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { padding: 1rem; text-align: center; }
  .feature-icon { font-size: 2rem; margin-bottom: 0.5rem; }

  /* --- AREAS --- */
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { padding: 1rem; }

  /* --- CONTACT --- */
  .contact-form-wrapper { padding: 1rem; }
  .map-container { height: 250px; }

  /* --- FOOTER --- */
  .footer-top { padding: 40px 0 30px; }
  .footer-grid { gap: 1.25rem; }
  .footer-col h4 { font-size: 1rem; }

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

  /* --- HERO FORM --- */
  .hero-form-panel h3 { font-size: 1.1rem; }
  .hero-form-panel p { font-size: 0.9rem; }

  /* --- PAGE HERO --- */
  .page-hero { padding: 90px 0 40px !important; }
  .page-hero-content h1 { font-size: 1.6rem; }

  /* --- TRUST BADGES --- */
  .hero-trust { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .trust-badge { font-size: 0.78rem; padding: 6px 12px; }

  /* --- ACCREDITATION STRIP --- */
  .accred-strip .container { flex-wrap: wrap; justify-content: center; gap: 12px; }

  /* --- AUTHOR BIO --- */
  .author-bio { flex-direction: column; text-align: center; align-items: center; }
  .author-bio img { width: 60px; height: 60px; }

  /* --- ARTICLE TAGS --- */
  .article-tags { justify-content: center; }

  /* --- SIDEBAR (blog) --- */
  .blog-sidebar { display: none; }
}

/* === EXTRA SMALL MOBILE PORTRAIT (max 480px) === */
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 14px; }
  .section { padding: 40px 0; }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  p { font-size: 0.95rem; line-height: 1.6; }

  /* --- HERO --- */
  .hero-title { font-size: 1.4rem !important; line-height: 1.35; }
  .hero-desc { font-size: 0.92rem; }
  .hero-badge { font-size: 0.75rem; padding: 6px 12px; }
  .hero-content { padding: 80px 0 40px; }
  .hero-form-panel { padding: 1rem; }
  .hero-form-panel h3 { font-size: 1rem; }

  /* --- NAV --- */
  .nav-logo-tagline { display: none; }
  .nav-logo-name { font-size: 1rem; }

  /* --- FORMS --- */
  .hs-input { padding: 0.6rem !important; font-size: 16px !important; }
  .hs-button { padding: 0.7rem 1rem !important; }
  .contact-form-wrap { padding: 1rem; }

  /* --- AREAS --- */
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { padding: 0.875rem; }

  /* --- BUTTONS --- */
  .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; }
  .btn-lg { padding: 0.8rem 1.4rem; font-size: 0.95rem; }

  /* --- REVIEW CARDS --- */
  .review-card { padding: 20px; }

  /* --- STATS --- */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item { padding: 20px 10px; }
  .stat-number { font-size: 1.8rem; }

  /* --- PROCESS STEPS --- */
  .step-number { width: 40px; height: 40px; font-size: 1.1rem; }

  /* --- TABLE --- */
  table { font-size: 0.85rem; }

  /* --- SECTION HEADER --- */
  .section-header h2 { font-size: 1.35rem; }
  .section-header p { font-size: 0.9rem; }

  /* --- SERVICE COMPARISON TABLE --- */
  .compare-table th, .compare-table td { padding: 10px 8px; font-size: 0.82rem; }

  /* --- SCROLL-TOP BUTTON --- */
  .scroll-top { width: 40px; height: 40px; bottom: 16px; right: 16px; }

  /* --- COOKIE BANNER --- */
  .cookie-banner { padding: 14px 16px; }
  .cookie-inner { flex-direction: column; gap: 10px; }
  .cookie-btns { display: flex; gap: 10px; }
  .cookie-accept, .cookie-decline { flex: 1; text-align: center; min-height: 40px; }
}

/* === HERO VIDEO — HIDE ON MOBILE FOR PERFORMANCE === */
@media (max-width: 768px) {
  .hero-video { display: none !important; }
  .hero-bg-img { opacity: 0.35; }
  /* Show slider on mobile */
  .hero-slider { display: block !important; }
  .hero-slider-dots { display: flex !important; }
}

/* === HERO SLIDER: smooth crossfade with Ken Burns zoom === */
.hero-slide {
  will-change: opacity, transform;
}

.hero-slide.active {
  z-index: 1;   /* active slide above inactive ones */
}

/* Ensure overlay is above slider but below content */
.hero-overlay  { z-index: 3; }
.hero-particles{ z-index: 4; }
.hero-content  { z-index: 5; }

/* Slider dots above overlay */
.hero-slider-dots { z-index: 6; }

/* === HERO VIDEO FADE-IN === */
.hero-video:not(.hidden) {
  animation: videoFadeIn 1.2s ease forwards;
}

@keyframes videoFadeIn {
  from { opacity: 0; }
  to   { opacity: 0.45; }
}

/* === BLOG ARTICLE PAGE === */
.blog-article { max-width: 800px; margin: 0 auto; }

.blog-article-header { margin-bottom: 40px; }

.blog-article-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.blog-article h2 {
  font-size: 1.8rem;
  margin: 32px 0 16px;
}

.blog-article h3 {
  font-size: 1.4rem;
  margin: 28px 0 12px;
}

.blog-article p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-article ul,
.blog-article ol {
  margin-bottom: 20px;
}

.blog-article li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 8px;
  color: var(--text-light);
}

.blog-article blockquote {
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
}

.blog-article .highlight-box {
  background: rgba(26, 58, 92, 0.06);
  border: 1px solid rgba(26, 58, 92, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.blog-article .highlight-box h4 {
  color: var(--primary);
  margin-bottom: 12px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-tag {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
}

.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  margin: 40px 0;
  border: 1px solid var(--border);
}

.author-bio img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio-content h4 {
  margin-bottom: 4px;
  color: var(--primary);
}

.author-bio-content span {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.author-bio-content p {
  font-size: 0.9rem;
  margin: 0;
}

/* === NUMBER COUNTER ANIMATION === */
@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === ACCREDITATION STRIP === */
.accred-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.accred-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.accred-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.accred-strip-item i { color: var(--accent); font-size: 1.2rem; }

/* === SURVEY LEVEL CARDS === */
.survey-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.survey-level-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.survey-level-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(200,134,10,0.05), rgba(200,134,10,0.02));
}

.survey-level-card .popular-tag {
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 36px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.survey-level-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.level-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}

.survey-level-card.featured .level-number { color: var(--accent); }

.level-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.level-features {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  text-align: left;
}

.level-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
  color: var(--text-light);
}

.level-features li:last-child { border-bottom: none; }
.level-features li i { color: var(--success); flex-shrink: 0; margin-top: 3px; }

/* === INTERACTIVE CHART === */
.chart-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.chart-container h4 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.2rem;
}
