/* ====================================================
   Coventry Surveyors - Main Stylesheet
   coventrysurveyors.com
   ==================================================== */

/* === CSS CUSTOM PROPERTIES === */
:root {
  --primary: #1a3c5e;
  --primary-light: #2563a8;
  --primary-dark: #0f2540;
  --accent: #c9a227;
  --accent-light: #e8be3a;
  --accent-dark: #a07d10;
  --text-dark: #1a1a2e;
  --text-mid: #3d4a5c;
  --text-light: #6b7a8d;
  --bg-light: #f7f9fc;
  --bg-white: #ffffff;
  --bg-dark: #0d1f35;
  --border: #dde4ed;
  --success: #2e7d32;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(26,60,94,0.08);
  --shadow-md: 0 6px 24px rgba(26,60,94,0.12);
  --shadow-lg: 0 16px 48px rgba(26,60,94,0.18);
  --transition: all 0.3s ease;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', 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-main);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
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; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

strong { color: var(--text-dark); font-weight: 600; }

/* === DARK BACKGROUND SECTIONS — force all text white === */
[style*="background:linear-gradient(135deg,var(--primary"] h1,
[style*="background:linear-gradient(135deg,var(--primary"] h2,
[style*="background:linear-gradient(135deg,var(--primary"] h3,
[style*="background:linear-gradient(135deg,var(--primary"] h4,
[style*="background:linear-gradient(135deg,var(--primary"] p,
[style*="background:linear-gradient(135deg,var(--primary"] li,
[style*="background:linear-gradient(135deg,var(--primary"] span,
[style*="background:linear-gradient(135deg, var(--primary"] h1,
[style*="background:linear-gradient(135deg, var(--primary"] h2,
[style*="background:linear-gradient(135deg, var(--primary"] h3,
[style*="background:linear-gradient(135deg, var(--primary"] h4,
[style*="background:linear-gradient(135deg, var(--primary"] p,
[style*="background:linear-gradient(135deg, var(--primary"] li,
[style*="background:linear-gradient(135deg, var(--primary"] span {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* CTA section — all text pure white */
.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section h4,
.cta-section p,
.cta-section li,
.cta-section span:not(.section-label) {
  color: #ffffff !important;
  opacity: 1 !important;
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section p,
.dark-section span,
.dark-section li {
  color: #ffffff !important;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-lg {
  padding: 120px 0;
}

/* === GRID SYSTEMS === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* === FLEX UTILITIES === */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

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

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

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

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,162,39,0.35);
}

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

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

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

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

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* === SECTION HEADERS === */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  color: var(--primary);
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* === TOP BAR === */
.top-bar {
  background: var(--primary-dark);
  padding: 8px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.top-bar a {
  color: var(--accent-light);
}

.top-bar .accreditations {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.accred-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
}

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

/* === NAVIGATION === */
.navbar {
  background: var(--bg-white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(26,60,94,0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(26,60,94,0.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

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

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

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--bg-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  border: 1px solid var(--border);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-mid);
  border-radius: 6px;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.nav-cta {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-dark);
  color: var(--primary-dark) !important;
}

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === HERO VIDEO BACKGROUND === */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.35;
  z-index: 1;
}

/* When video plays, fade out the image slider */
.hero-video-wrap + .hero-bg-animated {
  opacity: 0;
  transition: opacity 1s ease;
}

/* On mobile/tablet — hide video, show image slider */
@media (max-width: 768px) {
  .hero-video-wrap  { display: none; }
  .hero-video-wrap + .hero-bg-animated {
    opacity: 1 !important;
  }
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2563a8 100%);
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 31, 53, 0.82) 0%,
    rgba(26, 60, 94, 0.7) 50%,
    rgba(37, 99, 168, 0.6) 100%
  );
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 10px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 55% 40%;
  gap: 40px;
  align-items: flex-start;
  margin-left: -20px;
}

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

.hero h1 {
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}

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

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.trust-item i {
  color: var(--accent-light);
  font-size: 1rem;
}

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

/* Hero Form Panel */
.hero-form-panel {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
}

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

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

/* Stats Bar */
.stats-bar {
  background: var(--primary-dark);
  padding: 24px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  color: #fff;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* === CARDS === */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.card-body {
  padding: 28px;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(26,60,94,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

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

.card-title {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

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

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

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

.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-level-badge {
  display: inline-block;
  background: rgba(201,162,39,0.15);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.service-features {
  margin: 16px 0;
  flex: 1;
}

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

.service-features li:last-child {
  border-bottom: none;
}

.service-features li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* === REVIEWS === */
.review-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(26,60,94,0.08);
  line-height: 1;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 14px;
  font-size: 1rem;
}

.review-text {
  color: var(--text-mid);
  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(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.review-detail {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* === TEAM === */
.team-card {
  text-align: center;
}

.team-img-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent);
  box-shadow: var(--shadow-md);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.team-role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  color: var(--primary-light);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

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

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

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

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

.step-title {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* === AREAS MAP === */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.area-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: default;
}

.area-item:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.area-item:hover .area-name {
  color: #fff;
}

.area-item:hover i {
  color: var(--accent-light);
}

.area-item i {
  color: var(--primary-light);
  font-size: 1rem;
  transition: var(--transition);
}

.area-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

/* === CTA SECTIONS === */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  color: #ffffff !important;
  font-size: 1.1rem;
  max-width: 540px;
  opacity: 1 !important;
}

/* === ACCREDITATION BADGES === */
.accred-section {
  background: var(--bg-light);
  padding: 48px 0;
}

.accred-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.accred-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.accred-logo-box {
  width: 100px;
  height: 100px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 2px solid var(--border);
  transition: var(--transition);
}

.accred-logo-box:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.accred-logo-box .logo-text-inner {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  line-height: 1.2;
}

.accred-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  text-align: center;
}

/* === CONTACT SECTION === */
.contact-form-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(26,60,94,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  font-family: var(--font-main);
  margin-bottom: 4px;
}

.contact-info-text p, .contact-info-text a {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
}

/* === BREADCRUMB === */
.breadcrumb {
  background: var(--bg-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '›';
  color: var(--text-light);
}

.breadcrumb-list a {
  color: var(--primary-light);
}

.breadcrumb-list li:last-child {
  color: var(--text-dark);
  font-weight: 500;
}

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

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
}

/* === FOOTER === */
.footer {
  background: var(--bg-dark);
  color: #ffffff !important;
}

.footer-main {
  padding: 80px 0 48px;
}

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

.footer-brand .logo-name {
  color: #ffffff !important;
  font-size: 1.3rem;
}

.footer-brand .logo-tagline {
  color: #ffffff !important;
  opacity: 1 !important;
}

.footer-desc {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #ffffff !important;
  opacity: 1 !important;
}

.footer p {
  color: #ffffff !important;
  opacity: 1 !important;
}

.footer span {
  color: #ffffff !important;
}

/* Keep badge icons gold, badge text white */
.footer .accred-badge i,
.footer-accred-badge i {
  color: var(--accent-light) !important;
}

.footer-heading {
  color: #fff !important;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #ffffff !important;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-accreditations {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #ffffff;
}

.footer-bottom p {
  color: #ffffff !important;
  opacity: 1 !important;
}

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

.footer-bottom-links a {
  color: #ffffff;
}

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

/* === BLOG === */
.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

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

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

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

.blog-category {
  display: inline-block;
  background: rgba(26,60,94,0.08);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.35;
  flex: 1;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.blog-meta i {
  margin-right: 4px;
}

/* Blog Article Page */
.article-hero {
  background: var(--primary-dark);
  padding: 80px 0 60px;
}

.article-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.article-meta-bar span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 40px 0;
  box-shadow: var(--shadow-lg);
}

.article-featured-img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.article-body {
  max-width: 800px;
}

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

.article-body h3 {
  margin: 28px 0 12px;
  font-size: 1.3rem;
  color: var(--primary);
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 20px 24px;
}

.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }

.article-body li {
  color: var(--text-mid);
  margin-bottom: 8px;
  line-height: 1.7;
}

.case-study-box li,
.case-study-box ul li {
  color: #ffffff !important;
}

.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  background: var(--bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-mid);
  font-size: 1.05rem;
}

.article-sidebar {
  position: sticky;
  top: 100px;
}

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

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

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list a {
  font-size: 0.9rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.toc-list a::before {
  content: '›';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.toc-list a:hover {
  color: var(--primary);
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-white { color: #fff; }
.bg-light { background: var(--bg-light); }
.bg-primary { background: var(--primary); }
.bg-dark { background: var(--bg-dark); }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.animate-fade-up {
  animation: fadeInUp 0.7s ease both;
}

.animate-fade-up-delay-1 {
  animation: fadeInUp 0.7s ease 0.15s both;
}

.animate-fade-up-delay-2 {
  animation: fadeInUp 0.7s ease 0.3s both;
}

.animate-fade-up-delay-3 {
  animation: fadeInUp 0.7s ease 0.45s both;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Particle */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(201,162,39,0.4);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  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);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* === PROGRESS BAR === */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  transition: transform 0.1s linear;
}

/* === NOTIFICATION BANNER === */
.notice-banner {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.88rem;
  position: relative;
}

.notice-banner a {
  color: var(--accent-light);
  font-weight: 600;
}

/* === HIGHLIGHTED BOX === */
.highlight-box {
  background: rgba(26,60,94,0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.highlight-box.accent {
  border-color: var(--accent);
  background: rgba(201,162,39,0.08);
}

/* === TABLE === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}

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

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .check {
  color: var(--success);
  font-weight: 600;
}

.comparison-table .cross {
  color: #c62828;
}

/* =====================================================
   RESPONSIVE STYLES - Full Mobile-First Breakpoints
   ===================================================== */

/* ── Global Mobile Fixes ── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

* { -webkit-tap-highlight-color: transparent; }

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

/* ── Large Desktops (min-width: 1400px) ── */
@media (min-width: 1400px) {
  .container     { max-width: 1320px; }
  .hero h1, .hero-h1 { font-size: 3.2rem; }
}

/* ── Extra Large / Large Laptops (max-width: 1200px) ── */
@media (max-width: 1200px) {
  .container { max-width: 100%; padding: 0 24px; }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr 42%;
    gap: 32px;
  }
}

/* ── Small Laptops / Large Tablets (max-width: 1024px) ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process-steps::before { display: none; }

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

  /* Article sidebar stacks below content */
  .grid-2[style*="340px"] {
    grid-template-columns: 1fr !important;
  }

  .article-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: static;
  }
}

/* ── Tablets / Small Laptops (max-width: 968px) ── */
@media (max-width: 968px) {
  /* === GRIDS === */
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* === HERO — stack columns === */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-left: 0;
  }

  .hero-content { padding: 60px 0 40px; text-align: center; }

  .hero h1, .hero-h1 { font-size: 2rem; }
  .hero-lead         { font-size: 1rem; }

  .hero-trust  { justify-content: center; }
  .hero-actions { justify-content: center; }

  .hero-form-panel {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .hero-badge { font-size: 0.78rem; padding: 6px 12px; }

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

  /* === AREAS === */
  .areas-grid { grid-template-columns: repeat(3, 1fr); }

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

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

  /* === SECTION HEADERS === */
  .section-header h2 { font-size: 1.8rem; }

  /* === SERVICES === */
  .service-item { padding: 1.5rem; }

  /* === VIDEO — hide on tablet for performance === */
  .hero-bg-video { display: none; }
}

/* ── Tablets (max-width: 768px) ── */
@media (max-width: 768px) {

  /* ===== NAVIGATION ===== */
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
    gap: 4px;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(26,60,94,0.18);
  }

  .nav-links.open {
    display: flex;
    animation: slideDown 0.25s ease forwards;
  }

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

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-link.active::after { display: none; }

  .nav-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 8px;
    padding: 14px 20px;
  }

  .hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px;
  }

  /* Hamburger → X animation */
  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Dropdown: static in mobile menu */
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--bg-light);
    display: block;
    margin-top: 4px;
    border-radius: var(--radius);
  }

  /* Overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 998;
    backdrop-filter: blur(2px);
  }
  .nav-overlay.show { display: block; }

  /* ===== HERO ===== */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-left: 0;
  }

  .hero-content {
    padding: 56px 0 32px;
    text-align: center;
  }

  .hero h1, .hero-h1 { font-size: 2rem; line-height: 1.25; }
  .hero p, .hero-lead { font-size: 1rem; }

  .hero-trust   { justify-content: center; gap: 16px; }
  .hero-actions { justify-content: center; flex-wrap: wrap; gap: 12px; }

  .hero-form-panel {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 28px 24px;
  }

  .hero-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

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

  /* Article layout: sidebar below content */
  .grid-2[style*="340px"] {
    grid-template-columns: 1fr !important;
  }

  .article-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: static;
  }

  /* ===== SECTIONS ===== */
  .section     { padding: 3rem 0; }
  .section-sm  { padding: 2.5rem 0; }
  .section-lg  { padding: 4rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.75rem; }
  .section-header p  { font-size: 0.95rem; }

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

  /* ===== FOOTER ===== */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* ===== CONTACT PAGE ===== */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
  .contact-form { order: 1; }
  .contact-form-wrapper { padding: 28px 24px; }

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

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

  .accred-logos { gap: 24px; }
  .hero-trust   { gap: 16px; }

  /* ===== CTA SECTION ===== */
  .cta-section { padding: 3rem 1.5rem; }
  .cta-section h2 { font-size: 1.4rem; }
  .cta-section p  { font-size: 1rem; }

  .hero-actions .btn,
  .cta-section  .btn { min-height: 44px; }

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

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

  /* ===== PAGE HERO ===== */
  .page-hero { padding: 60px 0 48px; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p  { font-size: 1rem; }

  /* ===== ARTICLE HERO ===== */
  .article-hero { padding: 56px 0 44px; }
  .article-hero h1 { font-size: 1.8rem; }
  .article-meta-bar { gap: 16px; }

  /* ===== VIDEO — hide on tablets ===== */
  .hero-bg-video { display: none; }
}

/* ── Mobile Landscape (max-width: 600px) ── */
@media (max-width: 600px) {

  /* ===== GRIDS ===== */
  .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1rem; }
  .blog-grid        { grid-template-columns: 1fr; }
  .areas-grid       { grid-template-columns: repeat(2, 1fr); }
  .feature-grid     { grid-template-columns: 1fr; }

  /* Article sidebar: single column */
  .article-sidebar { grid-template-columns: 1fr; }

  /* ===== SERVICES ===== */
  .service-item { padding: 1.25rem; }
  .service-icon { font-size: 2rem; }
  .service-item h3 { font-size: 1.1rem; }

  /* ===== BLOG ===== */
  .blog-card { margin-bottom: 1rem; }
  .blog-title { font-size: 1.1rem; }
  .blog-card-title { font-size: 1.05rem; }
  .article-hero h1 { font-size: 1.6rem; line-height: 1.3; }
  .article-body h2 { font-size: 1.3rem; }
  .article-body h3 { font-size: 1.1rem; }
  .article-body p  { font-size: 1rem; line-height: 1.75; }
  .article-featured-img img { height: 260px; }

  /* ===== BUTTONS ===== */
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    min-height: 44px;
  }
  .btn-lg { padding: 0.85rem 1.5rem; font-size: 0.95rem; }

  /* ===== HERO ===== */
  .hero h1, .hero-h1  { font-size: 1.6rem; line-height: 1.3; }
  .hero p, .hero-lead { font-size: 0.95rem; }
  .hero-content       { padding: 48px 0 32px; }

  .hero-form-panel {
    padding: 24px 20px;
    border-radius: var(--radius);
  }

  .hero-form { padding: 1.25rem; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* ===== FORMS ===== */
  .hero-form-panel,
  .contact-form-wrapper,
  .hs-form-container { padding: 1.25rem; }

  /* HubSpot mobile */
  .hs-form-field       { margin-bottom: 0.75rem !important; }
  .hs-input            { padding: 0.65rem 0.75rem !important; font-size: 16px !important; }
  .hs-button           { padding: 0.75rem 1rem !important; font-size: 1rem !important; width: 100% !important; }
  .hs-form-field label { font-size: 0.88rem !important; }

  /* ===== FAQ ===== */
  .faq-item    { margin-bottom: 0; }
  .faq-question {
    padding: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
    gap: 12px;
  }
  .faq-answer  { padding: 0 0 1rem; font-size: 0.9rem; }

  /* ===== CTA ===== */
  .cta-section {
    padding: 2rem 1.25rem;
    border-radius: 0;
    margin: 0;
  }
  .cta-section h2 { font-size: 1.3rem; }
  .cta-section p  { font-size: 0.95rem; margin-bottom: 1.25rem; }
  .cta-section .btn { width: 100%; justify-content: center; }

  /* ===== FOOTER ===== */
  .footer-main { padding: 48px 0 32px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }
  .footer-accreditations { justify-content: flex-start; }
  .footer-bottom { padding: 20px 0; }

  /* ===== TABLES ===== */
  table, .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    font-size: 0.88rem;
  }

  /* ===== SECTIONS ===== */
  .section    { padding: 2.5rem 0; }
  .container  { padding: 0 16px; }

  /* ===== TOP BAR ===== */
  .top-bar .flex-between { flex-wrap: wrap; gap: 4px; }
  .accred-badge { font-size: 0.72rem; padding: 3px 8px; }

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

  /* ===== PROCESS ===== */
  .process-steps { grid-template-columns: 1fr; }
  .step-number   { width: 52px; height: 52px; font-size: 1.2rem; }

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

  /* ===== ACCREDITATION ===== */
  .accred-logos  { gap: 20px; }
  .accred-logo-box { width: 80px; height: 80px; }
}

/* ── Mobile Portrait (max-width: 480px) ── */
@media (max-width: 480px) {
  html { font-size: 14px; }
  h1   { font-size: 1.5rem; }
  h2   { font-size: 1.3rem; }
  h3   { font-size: 1.1rem; }
  p    { font-size: 0.95rem; line-height: 1.6; }

  /* ===== CONTAINER ===== */
  .container { padding: 0 14px; }

  /* ===== HERO ===== */
  .hero h1, .hero-h1  { font-size: 1.35rem; line-height: 1.3; }
  .hero-form-panel    { padding: 1.1rem; }
  .hero-form h3       { font-size: 1.1rem; }
  .hero-content       { padding: 40px 0 28px; }
  .hero-badges        { gap: 6px; }
  .hero-badge         { font-size: 0.7rem; padding: 5px 9px; }
  .hero-lead          { font-size: 0.9rem; }

  /* Hero badge (trust bar) */
  .hero-trust    { gap: 12px; }
  .trust-item    { font-size: 0.82rem; }

  /* Form inputs */
  .hero-form input,
  .hero-form select { padding: 0.6rem 0.75rem; font-size: 16px; }
  .hero-form .btn   { padding: 0.7rem 1rem; width: 100%; justify-content: center; }

  /* ===== CONTACT ===== */
  .contact-form-wrapper { padding: 1rem; }
  .contact-info-item    { gap: 12px; }

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

  /* ===== FEATURE ITEMS ===== */
  .feature-item { padding: 1rem; text-align: center; }
  .feature-icon { font-size: 2rem; margin-bottom: 0.5rem; }

  /* ===== AREA CARDS ===== */
  .area-card  { padding: 1rem; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .area-item  { padding: 12px; }
  .area-name  { font-size: 0.85rem; }

  /* ===== BLOG ARTICLE ===== */
  .article-hero           { padding: 44px 0 36px; }
  .article-hero h1        { font-size: 1.4rem; line-height: 1.3; }
  .article-meta-bar       { flex-direction: column; gap: 6px; font-size: 0.82rem; }
  .article-body h2        { font-size: 1.2rem; margin: 28px 0 12px; }
  .article-body h3        { font-size: 1rem; margin: 20px 0 10px; }
  .article-body p         { font-size: 0.95rem; }
  .article-body blockquote { padding: 1rem 1.2rem; font-size: 0.93rem; }
  .article-featured-img img { height: 220px; }

  /* ===== INFO / CASE STUDY BOXES ===== */
  .case-study-box { padding: 1.25rem; }
  .info-box       { padding: 1rem; }

  /* ===== SIDEBAR ===== */
  .sidebar-card   { padding: 1rem; }
  .toc-list a     { font-size: 0.86rem; }

  /* ===== SECTIONS ===== */
  .section        { padding: 2rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header p  { font-size: 0.9rem; }

  /* ===== BUTTONS ===== */
  .btn {
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    min-height: 44px;
    justify-content: center;
  }
  .btn-lg { padding: 0.8rem 1.2rem; font-size: 0.9rem; }
  .btn-sm { padding: 0.6rem 0.9rem; font-size: 0.82rem; }

  /* CTA inline buttons → stack */
  .cta-buttons  { flex-direction: column; gap: 10px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }

  /* ===== FOOTER ===== */
  .footer-grid         { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom       { flex-direction: column; text-align: center; gap: 8px; padding: 16px 0; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .footer-accred-badge { font-size: 0.75rem; padding: 4px 10px; }

  /* ===== BREADCRUMB ===== */
  .breadcrumb-list { font-size: 0.82rem; flex-wrap: wrap; gap: 4px; }

  /* ===== TOP BAR ===== */
  .top-bar                { padding: 6px 0; }
  .top-bar .accreditations { gap: 4px; flex-wrap: wrap; }
  .accred-badge           { font-size: 0.68rem; padding: 2px 7px; }

  /* ===== HUBSPOT ===== */
  .hs-form-container { padding: 1rem; }
  .hs-form-field     { margin-bottom: 0.6rem !important; }
  .hs-input          { padding: 0.6rem !important; font-size: 16px !important; }
  .hs-button         { padding: 0.7rem !important; font-size: 0.95rem !important; }

  /* ===== COMPARISON TABLE ===== */
  .comparison-table th,
  .comparison-table td { padding: 10px 12px; font-size: 0.85rem; }

  /* ===== SCROLL TOP BTN ===== */
  .scroll-top { bottom: 20px; right: 16px; width: 42px; height: 42px; font-size: 0.9rem; }
}

/* ── Extra Small (max-width: 360px) ── */
@media (max-width: 360px) {
  html { font-size: 13px; }

  .container  { padding: 0 12px; }

  .hero h1, .hero-h1 { font-size: 1.2rem; }

  .navbar-inner { height: 64px; }
  .logo-name    { font-size: 1.05rem; }
  .logo-tagline { display: none; }
  .nav-links    { top: 64px; }

  .stats-grid   { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-number  { font-size: 1.5rem; }

  .hero-form-panel { padding: 1rem; }

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

  .areas-grid  { grid-template-columns: 1fr; }
  .area-item   { padding: 10px; }

  .article-hero h1 { font-size: 1.2rem; }
  .sidebar-card    { padding: 0.875rem; }

  .btn { font-size: 0.82rem; padding: 0.65rem 0.9rem; }
}

/* === HUBSPOT FORM OVERRIDES === */
.hs-form-field {
  margin-bottom: 16px !important;
}

.hs-form-field label {
  font-size: 0.875rem !important;
  color: var(--text-mid) !important;
  font-weight: 500 !important;
  font-family: var(--font-main) !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.hs-input {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-size: 0.95rem !important;
  color: var(--text-dark) !important;
  font-family: var(--font-main) !important;
  transition: border-color 0.2s !important;
  background: #fff !important;
}

.hs-input:focus {
  outline: none !important;
  border-color: var(--primary-light) !important;
  box-shadow: 0 0 0 3px rgba(37,99,168,0.1) !important;
}

.hs-button {
  background: var(--accent) !important;
  color: var(--primary-dark) !important;
  border: none !important;
  padding: 14px 32px !important;
  border-radius: var(--radius) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  font-family: var(--font-main) !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  width: 100% !important;
}

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

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  padding: 16px 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

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

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

/* === STRUCTURED DATA VISUAL === */
.schema-hidden {
  display: none;
}

/* === PRINT STYLES === */
@media print {
  .navbar, .footer, .scroll-top, .cookie-banner, .hero-particles {
    display: none !important;
  }
}
