/* ============================================================
   Clean Bees — main.css
   Design system, layout, components, responsive
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&display=swap');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  --cb-black:      #101010;
  --cb-accent:     #FFC703;
  --cb-accent-deep:#D39B00;
  --cb-text:       #1D1D1F;
  --cb-muted:      #5C5C61;
  --cb-bg:         #FFFFFF;
  --cb-soft:       #F7F7F7;
  --cb-border:     #E4E4E7;

  --font-base: 'Poppins', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-pill:50px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

  --header-h: 72px;

  --section-gap: clamp(3rem, 7vw, 6rem);
  --container-w: 1200px;
  --container-pad: clamp(1rem, 4vw, 2rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-base);
  font-size: clamp(0.9375rem, 1.1vw, 1rem);
  color: var(--cb-text);
  background: var(--cb-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.125rem); }

p { max-width: 68ch; }

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* ── Container / Grid ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-gap); }
.section--soft { background: var(--cb-soft); }
.section--dark { background: var(--cb-black); color: #fff; }
.section--accent { background: var(--cb-accent); color: var(--cb-black); }

.section__header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section__header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cb-muted);
  margin-bottom: 0.5rem;
}
.section--dark .section__header .eyebrow { color: var(--cb-accent); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-base);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--cb-black);
  color: #fff;
}
.btn--primary:hover {
  background: #222;
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--cb-accent);
  color: var(--cb-black);
}
.btn--accent:hover {
  background: var(--cb-accent-deep);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  border-color: var(--cb-black);
  color: var(--cb-black);
}
.btn--outline:hover {
  background: var(--cb-black);
  color: #fff;
}

.btn--outline-white {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn--outline-white:hover {
  background: #fff;
  color: var(--cb-black);
}

.btn--lg {
  padding: 0.9375rem 2.25rem;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ── Badge / Pill ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  color: var(--cb-black);
}
.badge--dark { background: rgba(0,0,0,0.08); }

/* ── ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cb-bg);
  height: var(--header-h);
  box-shadow: 0 1px 0 var(--cb-border);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 40px;
  width: auto;
}
.site-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cb-black);
  letter-spacing: -0.02em;
}
.site-logo .logo-text span { color: var(--cb-accent); }

/* Primary nav */
.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.primary-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cb-text);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.primary-nav a:hover { color: var(--cb-black); background: var(--cb-soft); }
.primary-nav a.active { color: var(--cb-black); }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  margin-left: 0.375rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  background: var(--cb-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cb-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 200;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0;
  transition: background 0.12s, color 0.12s;
}
.dropdown-menu li:first-child a { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.dropdown-menu li:last-child  a { border-radius: 0 0 var(--radius-md) var(--radius-md); }
.dropdown-menu li a:hover { background: var(--cb-soft); color: var(--cb-black); }

/* Header CTA */
.header-cta { margin-left: 1rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0.5rem;
  margin-left: auto;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cb-black);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s, width 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  background: var(--cb-accent);
  padding-block: clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--cb-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,0.08);
  border-radius: var(--radius-pill);
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cb-black);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--cb-black);
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.25);
  text-underline-offset: 4px;
}

.hero-subheadline {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 500;
  color: rgba(16,16,16,0.75);
  margin-bottom: 2rem;
  max-width: 50ch;
}

.hero .btn-group { margin-bottom: 2.5rem; }

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.5);
  border-radius: var(--radius-pill);
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cb-black);
}
.trust-badge svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Hero image side */
.hero-visual {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ── ═══════════════════════════════════════════════════════
   WHO WE SERVE — Service Grid
   ═══════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 1.5rem;
  background: var(--cb-bg);
  border: 1px solid var(--cb-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
  text-decoration: none;
  color: var(--cb-text);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--cb-accent);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--cb-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--cb-black);
}
.service-card p {
  font-size: 0.875rem;
  color: var(--cb-muted);
  line-height: 1.55;
  flex: 1;
}
.service-card__arrow {
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cb-black);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.15s;
}
.service-card:hover .service-card__arrow { gap: 0.5rem; }

/* ── ═══════════════════════════════════════════════════════
   WHY CHOOSE CLEAN BEES — Benefits
   ═══════════════════════════════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  padding: 2rem 1.75rem;
  background: var(--cb-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--cb-border);
}
.benefit-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cb-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.benefit-card p {
  font-size: 0.875rem;
  color: var(--cb-muted);
  line-height: 1.6;
}

/* ── ═══════════════════════════════════════════════════════
   XOTA — Full Visibility Feature
   ═══════════════════════════════════════════════════════ */
.xota-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.xota-content .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cb-accent);
  margin-bottom: 0.75rem;
}
.xota-content h2 { margin-bottom: 1.25rem; color: #fff; }
.xota-content p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }

.xota-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.xota-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
}
.xota-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--cb-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.xota-feature h4 { color: #fff; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.xota-feature p { color: rgba(255,255,255,0.65); font-size: 0.875rem; max-width: none; }

.xota-visual {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--cb-accent);
}

/* ── ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  padding: 2rem;
  background: var(--cb-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--cb-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-stars { color: var(--cb-accent); font-size: 1rem; letter-spacing: 2px; }
.testimonial-body { font-size: 0.9375rem; color: var(--cb-text); line-height: 1.65; flex: 1; }
.testimonial-body::before { content: '\201C'; }
.testimonial-body::after  { content: '\201D'; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-author__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cb-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cb-black);
  flex-shrink: 0;
}
.testimonial-author__name { font-weight: 600; font-size: 0.9rem; }
.testimonial-author__role { font-size: 0.8rem; color: var(--cb-muted); }

/* Client logos */
.logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}
.logo-badge {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--cb-border);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cb-muted);
  background: var(--cb-bg);
  white-space: nowrap;
}

/* ── ═══════════════════════════════════════════════════════
   HOW WE WORK — 4-step process
   ═══════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: var(--cb-border);
  z-index: 0;
}
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-card__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cb-black);
  color: var(--cb-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border: 3px solid var(--cb-bg);
  box-shadow: 0 0 0 2px var(--cb-black);
}
.step-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.875rem; color: var(--cb-muted); }

/* ── ═══════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════ */
.team-stat-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.team-stat {
  text-align: center;
}
.team-stat__number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--cb-black);
  line-height: 1;
}
.team-stat__number span { color: var(--cb-accent); }
.team-stat__label { font-size: 0.9375rem; color: var(--cb-muted); font-weight: 500; margin-top: 0.25rem; }

/* ── ═══════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--cb-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 800px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--cb-border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cb-black);
  text-align: left;
  background: var(--cb-bg);
  cursor: pointer;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--cb-soft); }
.faq-question[aria-expanded="true"] { background: var(--cb-soft); }
.faq-question__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cb-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-question[aria-expanded="true"] .faq-question__icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer.open {
  max-height: 500px;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--cb-muted);
  line-height: 1.7;
}

/* ── ═══════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════ */
.cta-section {
  background: var(--cb-accent);
  padding-block: clamp(4rem, 7vw, 6rem);
  text-align: center;
}
.cta-section h2 { margin-bottom: 1rem; color: var(--cb-black); }
.cta-section p  { margin-bottom: 2rem; color: rgba(16,16,16,0.75); font-size: 1.0625rem; }
.cta-section p  { margin-inline: auto; }

/* ── ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--cb-black);
  color: rgba(255,255,255,0.8);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}
.footer-brand .logo-text span { color: var(--cb-accent); }
.footer-brand img { height: 36px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; max-width: 32ch; line-height: 1.65; }

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer-col ul a:hover { color: var(--cb-accent); }

.footer-contact address { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.8; }
.footer-contact a { transition: color 0.15s; }
.footer-contact a:hover { color: var(--cb-accent); }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.social-link:hover {
  background: var(--cb-accent);
  color: var(--cb-black);
  border-color: var(--cb-accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color 0.15s;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ── ═══════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── ═══════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid    { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }

  .xota-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual { display: none; }
}

/* ── ═══════════════════════════════════════════════════════
   RESPONSIVE — 900px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .team-stat-row     { gap: 2rem; }

  /* Mobile nav */
  .primary-nav,
  .header-cta {
    display: none;
  }
  .primary-nav.nav-open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cb-bg);
    border-top: 1px solid var(--cb-border);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    z-index: 99;
  }
  .primary-nav.nav-open ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .primary-nav.nav-open a {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
  }
  .primary-nav.nav-open .has-dropdown > a::after { float: right; margin-top: 6px; }
  .primary-nav.nav-open .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: 1px solid var(--cb-border);
    border-radius: 0;
    display: none;
  }
  .primary-nav.nav-open .has-dropdown.open .dropdown-menu { display: block; }
  .primary-nav.nav-open .dropdown-menu li a { padding-left: 2.5rem; }

  .nav-toggle { display: flex; }
  .site-header { position: relative; }
}

/* ── ═══════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .services-grid     { grid-template-columns: 1fr 1fr; }
  .benefits-grid     { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .hero-inner {
    text-align: center;
  }
  .hero .btn-group   { justify-content: center; }
  .trust-badges      { justify-content: center; }
  .hero-eyebrow      { margin-inline: auto; }
  .hero h1           { margin-inline: auto; }
  .hero-subheadline  { margin-inline: auto; }
}

/* ── ═══════════════════════════════════════════════════════
   SERVICE PAGE EXTRAS
   ═══════════════════════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--cb-muted);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--cb-border);
  margin-bottom: 0;
}
.breadcrumb a { color: var(--cb-muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--cb-black); }
.breadcrumb__sep { color: var(--cb-border); }

/* Checklist */
.cb-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin-top: 1.5rem;
}
.cb-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--cb-bg);
  border: 1px solid var(--cb-border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
}
.cb-checklist li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cb-accent);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cb-black);
}

/* Coverage area */
.coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  margin-top: 2rem;
}
.coverage-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border: 2px solid var(--cb-accent);
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cb-black);
  background: var(--cb-bg);
}
.coverage-badge::before {
  content: '📍';
  font-size: 0.875rem;
}

/* Service hub cards – wider grid */
.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Page intro two-col */
.page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.page-intro__content h2 { margin-bottom: 1rem; }
.page-intro__content p  { margin-bottom: 1rem; }
.page-intro__content p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .services-hub-grid { grid-template-columns: repeat(2, 1fr); }
  .page-intro        { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .services-hub-grid { grid-template-columns: 1fr; }
}

/* ── ═══════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }

  .btn-group  { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; justify-content: center; }

  .trust-badges { flex-direction: column; align-items: center; }
  .team-stat-row { flex-direction: column; gap: 1.5rem; }

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