/* =========================================
   Brixton Surveyors - Main Stylesheet
   brixtonsurveyors.com
   ========================================= */

/* CSS Custom Properties - UPDATED FOR ACCESSIBILITY */
:root {
  /* High-contrast primary colors */
  --primary: #0f2340;
  --primary-dark: #0a1829;
  --primary-light: #1a3a5c;
  /* Accessible accent colors */
  --accent: #d4af37;
  --accent-dark: #b8941f;
  --accent-light: #f4d03f;
  --accent-darker: #8b7015;
  /* High-contrast text colors */
  --text-dark: #1a1a1a;
  --text-mid: #2d3748;
  --text-light: #4a5568;
  --text-lighter: #718096;
  /* Background colors */
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --bg-dark: #0a1829;
  /* Border colors (3:1+ ratio) */
  --border: #e2e8f0;
  --border-medium: #cbd5e0;
  --border-dark: #718096;
  /* Semantic colors (high contrast) */
  --success: #047857;
  --success-light: #10b981;
  --warning: #d97706;
  --error: #dc2626;
  --info: #0369a1;
  /* Link colors */
  --link-color: #0066cc;
  --link-hover: #004499;
  /* Focus indicator */
  --focus-ring: #f4d03f;
  /* Shadows and effects */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1.2rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

/* Utility Classes */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-light { background: var(--bg-light); }
.section-accent { background: var(--primary); color: #fff; }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.text-accent { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.fw-bold { font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 680px; margin: 0 auto; font-size: 1.1rem; color: var(--text-light); }
.section-header .subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-darker);
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 35, 64, 0.3);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(15, 35, 64, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  box-shadow: var(--shadow-md);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-logo {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-dark);
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.brand-tagline { font-size: 0.7rem; color: var(--accent-light); letter-spacing: 0.08em; text-transform: uppercase; }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 0.875rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent-light);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.25rem;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: 1.4rem;
  padding: 0.75rem 2rem;
}
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/brixton-aerial.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,25,47,0.85) 0%, rgba(26,58,92,0.75) 50%, rgba(10,25,47,0.6) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-100vh) translateX(50px); }
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 7rem 0 4rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}
.hero-text {
  max-width: 600px;
  padding-top: 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,169,74,0.2);
  border: 1px solid rgba(200,169,74,0.4);
  color: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
.hero h1 span { color: var(--accent); }
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}
.trust-icon {
  width: 32px;
  height: 32px;
  background: rgba(200,169,74,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.hero-form-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.hero-form-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.hero-form-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1.5rem; }

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
  background: var(--primary);
  padding: 2rem 0;
  position: relative;
}
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item { padding: 0.5rem; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.4rem;
  display: block;
}

/* =========================================
   ABOUT STRIP
   ========================================= */
.accreditation-bar {
  background: var(--bg-light);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.accreditation-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.accred-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}
.accred-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: #fff;
}
.accred-rics { background: #003087; }
.accred-ciob { background: #006400; }
.accred-rpsa { background: #8B0000; }
.accred-divider { width: 1px; height: 30px; background: var(--border); }

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  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);
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.service-card.featured::before { background: var(--accent); transform: scaleX(1); }
.service-card.featured p { color: rgba(255,255,255,0.8); }
.service-card.featured h3 { color: #fff; }
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: rgba(26,58,92,0.08);
  color: var(--primary);
}
.service-card.featured .service-icon {
  background: rgba(255,255,255,0.15);
  color: var(--accent);
}
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 1.25rem; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}
.service-card.featured .service-link { color: var(--accent-light); }
.service-link:hover { gap: 0.7rem; }
.service-price {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* =========================================
   WHY CHOOSE US
   ========================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-image-stack { position: relative; }
.why-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-img-main img { width: 100%; height: 400px; object-fit: cover; }
.why-img-accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}
.why-img-accent img { width: 100%; height: 150px; object-fit: cover; }
.experience-badge {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 90px;
  height: 90px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.experience-badge strong { font-size: 1.5rem; line-height: 1; }
.experience-badge span { font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.why-features { display: flex; flex-direction: column; gap: 1.25rem; margin: 2rem 0; }
.why-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,58,92,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.why-feature-text h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--primary-dark); }
.why-feature-text p { font-size: 0.9rem; margin: 0; }

/* =========================================
   PROCESS SECTION
   ========================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  transition: all var(--transition);
}
.process-step:hover .step-number {
  background: var(--accent);
  color: var(--primary-dark);
  transform: scale(1.1);
}
.process-step h4 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.process-step p { font-size: 0.9rem; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; color: #f5a623; font-size: 0.95rem; }
.testimonial-text { font-size: 0.95rem; font-style: italic; margin-bottom: 1.25rem; color: var(--text-mid); }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-info h5 { font-size: 0.9rem; color: var(--primary-dark); margin: 0; }
.author-info span { font-size: 0.8rem; color: var(--text-light); }
.verified-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--success);
  margin-top: 0.25rem;
}

/* =========================================
   TEAM SECTION
   ========================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.team-image {
  position: relative;
  overflow: hidden;
  height: 320px;
}
.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.team-card:hover .team-image img { transform: scale(1.05); }
.team-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,35,64,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.team-card:hover .team-image-overlay { opacity: 1; }
.team-social { display: flex; gap: 0.5rem; }
.team-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.team-social a:hover { background: var(--accent); border-color: var(--accent); }
.team-info { padding: 1.5rem; }
.team-info h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.team-role { font-size: 0.85rem; color: var(--accent-dark); font-weight: 600; display: block; margin-bottom: 0.75rem; }
.team-bio { font-size: 0.9rem; color: var(--text-mid); }
.team-credentials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.credential-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(26,58,92,0.08);
  color: var(--primary);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* =========================================
   AREAS SECTION
   ========================================= */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.area-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.area-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--primary);
}
.area-card:hover .area-name { color: #fff; }
.area-card:hover .area-postcode { color: rgba(255,255,255,0.7); }
.area-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.area-name { font-weight: 600; font-size: 0.95rem; color: var(--primary-dark); display: block; margin-bottom: 0.25rem; }
.area-postcode { font-size: 0.8rem; color: var(--text-light); }

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-light); }
.faq-question.active { background: var(--primary); color: #fff; }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 1.25rem 1.5rem;
  background: var(--bg-light);
  font-size: 0.95rem;
  color: var(--text-mid);
  border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin: 2rem 0; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,58,92,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 0.2rem; }
.contact-detail-text p { margin: 0; font-weight: 500; color: var(--primary-dark); }
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  position: relative;
}
.contact-map iframe { width: 100%; height: 100%; border: none; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f0fe, #d5e8ff);
  color: var(--primary);
  gap: 0.5rem;
}
.map-placeholder i { font-size: 2rem; }
.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { margin-bottom: 0.5rem; }
.contact-form-card p { margin-bottom: 1.5rem; font-size: 0.95rem; }

/* =========================================
   BLOG SECTION
   ========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.blog-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.blog-meta-item { display: flex; align-items: center; gap: 0.3rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; line-height: 1.4; }
.blog-card h3 a { color: var(--primary-dark); transition: color var(--transition); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-excerpt { font-size: 0.9rem; color: var(--text-mid); flex: 1; margin-bottom: 1.25rem; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition);
}
.blog-read-more:hover { gap: 0.7rem; color: var(--accent-dark); }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { max-width: 300px; }
.footer-logo { margin-bottom: 1.25rem; }
.footer-brand p { 
  font-size: 0.9rem; 
  margin-bottom: 1.25rem; 
  line-height: 1.8; 
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}
.footer-accred { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-accred-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.footer-accred-badge:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--accent-light);
  transform: translateY(-2px);
}
.footer-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none !important;
}
.footer-links a:hover { color: #ffffff !important; text-decoration: underline !important; }
.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-weight: 700;
}
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { 
  display: flex; 
  gap: 0.75rem; 
  align-items: flex-start; 
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.footer-contact-item i { color: var(--accent); margin-top: 0.2rem; flex-shrink: 0; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.85rem; margin: 0; }
.footer-legal-links { display: flex; gap: 1.25rem; }
.footer-legal-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--accent-light); }

/* =========================================
   PAGE HEADERS (inner pages)
   ========================================= */
.page-hero {
  background: var(--primary-dark);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/brixton-aerial.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 650px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--accent-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* =========================================
   BLOG ARTICLE PAGE
   ========================================= */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.article-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.6rem; }
.article-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.3rem; }
.article-content p { margin-bottom: 1.25rem; line-height: 1.8; color: var(--text-mid); }
.article-content ul, .article-content ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--text-mid);
}
.article-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-light);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--primary-dark);
}
.article-content img { border-radius: var(--radius-md); margin: 1.5rem 0; box-shadow: var(--shadow-md); }
.article-header { margin-bottom: 2rem; }
.article-header h1 { margin-bottom: 1rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.article-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--text-light); }
.article-meta-item { display: flex; align-items: center; gap: 0.4rem; }
.article-featured-image { margin-bottom: 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.article-featured-image img { width: 100%; height: 450px; object-fit: cover; }
.article-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--accent); }
.sidebar-toc { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-toc a { font-size: 0.9rem; color: var(--text-mid); padding: 0.3rem 0; border-bottom: 1px solid var(--border); }
.sidebar-toc a:hover { color: var(--primary); }
.related-posts { display: flex; flex-direction: column; gap: 1rem; }
.related-post { display: flex; gap: 0.75rem; align-items: flex-start; }
.related-post-img { width: 70px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.related-post-info h5 { font-size: 0.85rem; margin: 0; line-height: 1.4; }
.related-post-info h5 a { color: var(--primary-dark); }
.related-post-info h5 a:hover { color: var(--primary); }
.related-post-info span { font-size: 0.78rem; color: var(--text-light); }

/* =========================================
   SURVEY TYPES COMPARISON TABLE
   ========================================= */
.survey-comparison {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.survey-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.survey-table th {
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.9rem;
}
.survey-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: top;
}
.survey-table tr:nth-child(even) td { background: var(--bg-light); }
.survey-table tr:hover td { background: rgba(26,58,92,0.04); }
.check-icon { color: var(--success); }
.cross-icon { color: #c0392b; }

/* =========================================
   INTERACTIVE ELEMENTS
   ========================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 2000;
  transition: width 0.1s linear;
}
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  border: none;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Animate on scroll */
.aos-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.aos-animate.animated {
  opacity: 1;
  transform: translateY(0);
}
.aos-delay-1 { transition-delay: 0.1s; }
.aos-delay-2 { transition-delay: 0.2s; }
.aos-delay-3 { transition-delay: 0.3s; }
.aos-delay-4 { transition-delay: 0.4s; }
.aos-delay-5 { transition-delay: 0.5s; }

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

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, rgba(26,58,92,0.06), rgba(200,169,74,0.1));
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.highlight-box p { margin: 0; }

/* Info cards */
.info-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.info-card h4 { margin-bottom: 0.75rem; color: var(--primary-dark); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 768px) {
  .navbar-nav, .navbar-cta .btn { display: none; }
  .navbar-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-form-card { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image-stack { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3.5rem 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .accreditation-inner { gap: 1.5rem; }
  .accred-divider { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .breadcrumb { font-size: 0.8rem; }
}

/* Print styles */
@media print {
  .navbar, .hero-particles, .back-to-top, .scroll-progress { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
}

/* HubSpot form overrides */
.hs-form-iframe { width: 100% !important; }
.hubspot-form .hs-form { font-family: var(--font-body) !important; }

/* Schema markup hidden element */
.schema-data { display: none; }
