/* ===========================================
   Watford Surveyors - Main Stylesheet
   watfordsurveyorsuk.com
   =========================================== */

/* CSS Custom Properties */
:root {
  --primary: #1a3a5c;
  --primary-dark: #0f2540;
  --primary-light: #2a5a8c;
  --accent: #c8a84b;
  --accent-dark: #a88a35;
  --accent-light: #e8c86b;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-grey: #e9ecef;
  --mid-grey: #6c757d;
  --dark-grey: #343a40;
  --text: #2d3748;
  --text-light: #4a5568;
  --success: #28a745;
  --warning: #ffc107;
  --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);
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

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

button {
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-tap-highlight-color: transparent;
}

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

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

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

ul { list-style: none; }

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

h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

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

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.8;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* Section spacing */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: 0.02em;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

.btn-dark:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Section Labels */
.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 1rem 0;
}

#site-header.scrolled {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  padding: 0.6rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

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

.logo-icon svg { width: 26px; height: 26px; fill: var(--primary-dark); }

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

.logo-text .name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.logo-text .tagline {
  font-size: 0.7rem;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav.main-nav ul {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

nav.main-nav ul li a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: var(--transition);
}

nav.main-nav ul li a:hover,
nav.main-nav ul li a.active {
  background: rgba(255,255,255,0.15);
  color: var(--accent-light);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.25rem !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

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

/* ==========================================
   HERO SECTION
   ========================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 25, 47, 0.88) 0%,
    rgba(26, 58, 92, 0.75) 60%,
    rgba(15, 37, 64, 0.7) 100%
  );
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.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(100vh) scale(0); }
  10% { opacity: 0.7; }
  90% { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1.5); }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 8rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}

.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 168, 75, 0.2);
  border: 1px solid rgba(200, 168, 75, 0.5);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.hero-text .lead {
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
}

.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,0.15);
}

.stat-item { text-align: center; }
.stat-item .number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-light);
  font-family: var(--font-heading);
  line-height: 1;
}
.stat-item .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero Form Box */
.hero-form-box {
  background: rgba(255,255,255,0.97);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.hero-form-box h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.hero-form-box .sub {
  color: var(--mid-grey);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* Trust Badges */
.trust-bar {
  background: var(--primary-dark);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-item svg { width: 20px; height: 20px; fill: var(--accent); }

/* ==========================================
   WHY CHOOSE US
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg { width: 28px; height: 28px; fill: var(--accent); }

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
  transition: var(--transition);
}

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

.service-img {
  height: 220px;
  overflow: hidden;
}

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

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

.service-body {
  padding: 1.75rem;
}

.service-level {
  display: inline-block;
  background: rgba(26, 58, 92, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.service-body h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.service-body p { font-size: 0.9rem; margin-bottom: 1.25rem; }

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

.service-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%231a3a5c' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.7 4.3a1 1 0 0 0-1.4 0L6 10.6 3.7 8.3a1 1 0 0 0-1.4 1.4l3 3a1 1 0 0 0 1.4 0l7-7a1 1 0 0 0 0-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================
   PROCESS SECTION
   ========================================== */
.process-bg { background: var(--off-white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

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

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

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary);
  font-family: var(--font-heading);
}

.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.88rem; }

/* ==========================================
   REVIEWS / TESTIMONIALS
   ========================================== */
.reviews-bg { background: var(--primary-dark); }
.reviews-bg .section-label { color: var(--accent); }
.reviews-bg .section-header h2 { color: var(--white); }
.reviews-bg .section-header p { color: rgba(255,255,255,0.7); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.review-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

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

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.reviewer-info .name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.reviewer-info .detail {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* ==========================================
   ACCREDITATIONS
   ========================================== */
.accred-bar {
  background: var(--light-grey);
  padding: 2rem 0;
}

.accred-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.accred-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.accred-logo {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  padding: 0.75rem;
}

.accred-logo svg { width: 50px; height: 50px; }

.accred-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

/* ==========================================
   AREAS COVERAGE MAP
   ========================================== */
.areas-img-section { background: var(--off-white); }

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.areas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.area-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.875rem;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.area-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(3px);
}

.area-tag svg { width: 14px; height: 14px; fill: var(--accent); flex-shrink: 0; }

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

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

.contact-info h2 { margin-bottom: 1rem; }

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-point-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-point-icon svg { width: 20px; height: 20px; fill: var(--accent); }

.contact-point-info .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.2rem;
}

.contact-point-info .value {
  font-weight: 600;
  color: var(--text);
}

.contact-form-box {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.contact-form-box h3 { margin-bottom: 0.35rem; }
.contact-form-box .sub { color: var(--mid-grey); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section { background: var(--white); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-item {
  border: 1px solid var(--light-grey);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: var(--white);
  transition: background 0.2s;
}

.faq-question:hover { background: var(--off-white); }

.faq-question h4 {
  font-size: 0.95rem;
  color: var(--text);
  padding-right: 1rem;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-toggle svg { width: 14px; height: 14px; fill: var(--white); transition: transform 0.3s; }

.faq-item.active .faq-toggle { background: var(--accent); }
.faq-item.active .faq-toggle svg { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer { max-height: 500px; }

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  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,0.1);
}

.footer-brand .logo { margin-bottom: 1rem; }

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

.footer-accreds {
  display: flex;
  gap: 0.75rem;
}

.footer-accred-badge {
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-light);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

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

.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.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

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

/* ==========================================
   PAGE HEADERS (Inner Pages)
   ========================================== */
.page-header {
  position: relative;
  padding: 9rem 0 5rem;
  background: var(--primary-dark);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/watford-residential-aerial.jpg') center/cover no-repeat;
  opacity: 0.15;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

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

.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,0.75); max-width: 600px; }

/* ==========================================
   TEAM CARDS
   ========================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
  transition: var(--transition);
  text-align: center;
}

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

.team-photo {
  height: 320px;
  overflow: hidden;
}

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

.team-card:hover .team-photo img { transform: scale(1.05); }

.team-info {
  padding: 1.5rem 1.25rem;
}

.team-info h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }

.team-role {
  display: inline-block;
  background: rgba(200, 168, 75, 0.15);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.875rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

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

.comparison-table thead tr {
  background: var(--primary);
  color: var(--white);
}

.comparison-table thead th {
  padding: 1.25rem 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: center;
}

.comparison-table thead th:first-child { text-align: left; }

.comparison-table tbody tr {
  border-bottom: 1px solid var(--light-grey);
  transition: background 0.2s;
}

.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--off-white); }

.comparison-table tbody td {
  padding: 1rem;
  font-size: 0.92rem;
  text-align: center;
  color: var(--text-light);
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

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

/* ==========================================
   BLOG PREVIEW
   ========================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
  transition: var(--transition);
}

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

.blog-img {
  height: 200px;
  overflow: hidden;
}

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

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

.blog-body {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--mid-grey);
}

.blog-meta .category {
  color: var(--primary);
  font-weight: 600;
}

.blog-body h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.blog-body h3 a { color: var(--text); }
.blog-body h3 a:hover { color: var(--primary); }

.blog-body p {
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.75rem;
}

.read-more svg { width: 14px; height: 14px; fill: currentColor; transition: transform 0.2s; }
.read-more:hover svg { transform: translateX(4px); }

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================
   COUNTER ANIMATION
   ========================================== */
.counter { font-variant-numeric: tabular-nums; }

/* ==========================================
   FLOATING ELEMENTS
   ========================================== */
.float-anim {
  animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================
   BACK TO TOP
   ========================================== */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  border: none;
  box-shadow: var(--shadow-md);
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

#back-to-top svg { width: 20px; height: 20px; fill: var(--white); }

/* ==========================================
   COOKIE NOTICE
   ========================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  flex-wrap: wrap;
}

#cookie-banner.show { transform: translateY(0); }

#cookie-banner p { font-size: 0.88rem; margin: 0; flex: 1; color: #ffffff; font-weight: 400; }
#cookie-banner a { color: var(--accent-light); text-decoration: underline; }

.cookie-actions { display: flex; gap: 0.75rem; }

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-form-box { max-width: 500px; }
  .hero-content { padding-bottom: 3rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav.main-nav { display: none; }
  .hamburger { display: flex; }

  nav.main-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  nav.main-nav.open ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  nav.main-nav.open ul li a {
    font-size: 1.3rem;
    padding: 0.75rem 2rem;
  }

  .close-nav {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  .close-nav svg { width: 28px; height: 28px; fill: var(--white); }

  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
  .trust-items { gap: 1.25rem; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .accred-items { gap: 1.5rem; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: 1fr; }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-accent { color: var(--accent); }
.bg-primary { background: var(--primary); }
.bg-dark { background: var(--primary-dark); }
.bg-off-white { background: var(--off-white); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }

/* Hubspot form override */
.hs-form-iframe { min-height: 520px !important; }
.hbspt-form { min-height: 450px; }

/* ==========================================
   READING PROGRESS BAR FIX
   height stays 0 until user scrolls (handled via JS body.page-scrolled class)
   Actual height rule lives in blog.css which loads after this file
   ========================================== */
#reading-progress {
  height: 0 !important;
}
body.page-scrolled #reading-progress {
  height: 3px !important;
}

/* Schema.org hidden elements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Print styles */
@media print {
  #site-header, #back-to-top, #cookie-banner, .hero-bg, .hero-overlay { display: none; }
  body { padding-top: 0; }
}

/* ===========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   Breakpoints:
   480px  – Mobile Portrait (XS)
   600px  – Mobile Landscape (SM)
   768px  – Tablets (MD)
   968px  – Small Laptops (LG)
   1200px – Laptops (XL)
   =========================================== */

/* ── Large Laptop: max 1200px ── */
@media (max-width: 1200px) {
  .container { padding: 0 1.25rem; }
  .hero-grid { gap: 2rem; }
}

/* ── Small Laptop / Large Tablet: max 968px ── */
@media (max-width: 968px) {
  .section { padding: 4rem 0; }

  /* Navigation */
  .header-inner { padding: 0 0.25rem; }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-text { text-align: center; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text .lead { font-size: 1rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-form-box { max-width: 520px; margin: 0 auto; width: 100%; }

  /* Grids */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

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

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

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

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

/* ── Tablet: max 768px ── */
@media (max-width: 768px) {
  html { font-size: 15px; }

  /* Container */
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: 1.6rem; }
  .section-header p { font-size: 1rem; }

  /* Navigation */
  nav.main-nav { display: none; }
  .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
  }
  .hamburger span { width: 22px; height: 2px; }

  /* Hamburger → X animation when open */
  .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);
  }

  nav.main-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: navFadeIn 0.25s ease;
  }

  @keyframes navFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  nav.main-nav.open ul {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  nav.main-nav.open ul li a {
    font-size: 1.4rem;
    padding: 0.875rem 2.5rem;
    display: block;
    min-height: 44px;
    line-height: 1.2;
  }

  /* Hero */
  .hero-content { padding: 6rem 0 3rem; }
  .hero-text h1 { font-size: 1.85rem; }
  .hero-text .lead { font-size: 1rem; }
  .hero-stats { gap: 1rem; }
  .hero-form-box { padding: 1.75rem 1.5rem; }

  /* Grids → single column */
  .features-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .reviews-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Trust bar */
  .trust-items { gap: 1rem; flex-wrap: wrap; }
  .trust-item { font-size: 0.82rem; }

  /* Accreditations */
  .accred-items { gap: 1.25rem; }

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

  /* CTA / contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
  .contact-form-box { order: 1; }
  .contact-form-box { padding: 1.5rem; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; }
  .faq-question { padding: 1rem 1.25rem; }
  .faq-question h4 { font-size: 0.92rem; line-height: 1.4; }
  .faq-answer-inner { padding: 0 1.25rem 1rem; }

  /* Blog layout (article pages) */
  .blog-layout { grid-template-columns: 1fr !important; }
  .blog-sidebar { position: static !important; }
  .blog-article-header { padding: 7rem 0 3.5rem; }
  .blog-article-header h1 { font-size: 1.6rem; }

  /* Comparison table */
  .comparison-table thead th,
  .comparison-table tbody td { padding: 0.75rem 0.6rem; font-size: 0.85rem; }

  /* Buttons */
  .btn { min-height: 44px; }

  /* HubSpot forms */
  .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.8rem !important;
    font-size: 1rem !important;
    min-height: 44px !important;
  }
  .hs-form-field label { font-size: 0.9rem !important; }

  /* Form center wrap */
  .form-center-wrap { max-width: 100%; }
  .article-bottom-form { padding: 3rem 0; }
}

/* ── Mobile Landscape: max 600px ── */
@media (max-width: 600px) {
  html { font-size: 15px; }

  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .section-sm { padding: 2rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.95rem; }

  /* Hero */
  .hero-content { padding: 5.5rem 0 2.5rem; }
  .hero-text h1 { font-size: 1.6rem; }
  .hero-text .lead { font-size: 0.95rem; }
  .hero-text .badge { font-size: 0.75rem; padding: 0.35rem 0.9rem; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .stat-item .number { font-size: 1.5rem; }
  .hero-form-box { padding: 1.5rem 1.25rem; }
  .hero-form-box h3 { font-size: 1.15rem; }

  /* Service cards */
  .service-body { padding: 1.25rem; }
  .service-img { height: 180px; }
  .service-body h3 { font-size: 1.1rem; }
  .service-body p { font-size: 0.875rem; }

  /* Feature cards */
  .feature-card { padding: 1.5rem 1.25rem; }
  .feature-icon { width: 48px; height: 48px; }

  /* Blog cards */
  .blog-img { height: 180px; }
  .blog-body { padding: 1.25rem; }
  .blog-body h3 { font-size: 0.95rem; }

  /* Review cards */
  .review-card { padding: 1.5rem; }
  .review-text { font-size: 0.9rem; }

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

  /* Buttons */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    display: block;
    text-align: center;
    min-height: 44px;
  }
  /* Exception: keep inline buttons inline */
  .btn-inline,
  .read-more,
  .sidebar-widget .btn,
  .footer-bottom-links a { width: auto; display: inline-flex; }

  /* CTA boxes */
  .contact-section { padding: 2.5rem 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand { text-align: center; }
  .footer-accreds { justify-content: center; }
  .footer-col { text-align: center; }
  .footer-links li a { justify-content: center; }
  footer { padding: 3rem 0 0; }

  /* Trust bar */
  .trust-bar { padding: 0.875rem 0; }
  .trust-items { gap: 0.75rem; }

  /* Cookie banner */
  #cookie-banner { padding: 1rem 1.25rem; flex-direction: column; }
  #cookie-banner p { font-size: 0.85rem; }
  .cookie-actions { width: 100%; justify-content: center; }

  /* FAQ */
  .faq-item { margin-bottom: 0.75rem; }
  .faq-question { padding: 0.875rem 1rem; }
  .faq-toggle { width: 24px; height: 24px; }

  /* Comparison table overflow */
  .comparison-table-wrap,
  div[style*="overflow-x: auto"] { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { display: table; }

  /* Blog article pages */
  .blog-article-header { padding: 6rem 0 3rem; }
  .blog-article-header h1 { font-size: 1.45rem; line-height: 1.3; }
  .blog-article-meta { font-size: 0.82rem; gap: 0.75rem; flex-wrap: wrap; }
  .blog-content h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
  .blog-content h3 { font-size: 1.1rem; margin: 1.5rem 0 0.6rem; }
  .blog-content .lead { font-size: 1rem; }
  .blog-content blockquote { padding: 0.875rem 1.25rem; font-size: 0.9rem; }
  .blog-content .key-takeaways { padding: 1.25rem; }

  /* Sidebar widgets */
  .sidebar-widget { padding: 1.25rem; margin-bottom: 1.25rem; }

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

/* ── Mobile Portrait: max 480px ── */
@media (max-width: 480px) {
  html { font-size: 14px; }

  .container { padding: 0 0.875rem; }
  .section { padding: 2.5rem 0; }

  /* Typography */
  h1 { font-size: 1.5rem !important; }
  h2 { font-size: 1.3rem !important; }
  h3 { font-size: 1.1rem !important; }
  p { font-size: 0.95rem; line-height: 1.65; }

  /* Hero */
  .hero-content { padding: 5rem 0 2rem; }
  .hero-text h1 { font-size: 1.4rem !important; }
  .hero-stats { flex-direction: column; align-items: center; gap: 0.75rem; }
  .hero-form-box { padding: 1.25rem 1rem; margin: 0; }
  .hero-form-box h3 { font-size: 1.05rem; }

  /* Areas */
  .areas-list { grid-template-columns: 1fr; }
  .area-tag { font-size: 0.85rem; }

  /* Process */
  .step-number { width: 48px; height: 48px; font-size: 1.1rem; }

  /* Accreditations */
  .accred-logo { width: 64px; height: 64px; }
  .accred-logo svg { width: 38px; height: 38px; }
  .accred-items { gap: 1rem; }

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

  /* Logo */
  .logo-text .name { font-size: 1.05rem; }
  .logo-text .tagline { font-size: 0.62rem; }
  .logo-icon { width: 38px; height: 38px; }

  /* Nav hamburger area */
  .hamburger { width: 40px; height: 40px; }

  /* Blog article header */
  .blog-article-header h1 { font-size: 1.3rem !important; line-height: 1.35; }
  .blog-article-header { padding: 5.5rem 0 2.5rem; }

  /* Page header */
  .page-header { padding: 7rem 0 3.5rem; }
  .page-header h1 { font-size: 1.5rem; }

  /* Team cards */
  .team-photo { height: 260px; }

  /* Form area */
  .article-bottom-form .section-header h2 { font-size: 1.3rem; }

  /* Tables */
  table { font-size: 0.82rem; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: 0.6rem 0.5rem; font-size: 0.8rem; }

  /* CTA inline boxes */
  div[style*="text-align: center"] .btn,
  div[style*="text-align:center"] .btn {
    display: inline-block;
    width: auto;
    margin: 0.35rem 0.25rem;
  }
}

/* ── XXL Large Desktops: min 1400px ── */
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
  .container-wide { max-width: 1560px; }
  .hero-grid { grid-template-columns: 1fr 460px; }
  h1 { font-size: 3.2rem; }
}

/* ── Extra: Table overflow for mobile ── */
@media (max-width: 600px) {
  .overflow-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; display: block; }
  .comparison-table { min-width: 420px; }
}
