/* ============================================================
   APEX EXTERMINATORS — Design Tokens & Global Styles
   ============================================================ */

:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #faf9f7;
  --color-surface: #ffffff;
  --color-surface-2: #f5f3ef;
  --color-surface-offset: #efece6;
  --color-divider: #e3e0d8;
  --color-border: #d8d4cb;

  /* Text */
  --color-text: #17150f;
  --color-text-muted: #5c584f;
  --color-text-faint: #a8a397;
  --color-text-inverse: #faf9f7;

  /* Brand Red (sampled from logo) */
  --color-primary: #c41e24;
  --color-primary-hover: #a5181d;
  --color-primary-active: #841216;
  --color-primary-highlight: #f5dcdd;

  /* Success (used sparingly, e.g. licensed badge) */
  --color-success: #3f7a3f;
  --color-success-highlight: #dbe8db;

  /* Ink — brand black, fixed across themes for header/hero/footer */
  --color-ink: #14120f;
  --color-ink-2: #1c1a15;
  --color-ink-border: #322e26;
  --color-ink-text: #f4f2ee;
  --color-ink-text-muted: #b3ada0;
  --color-ink-red: #e8474c;
  --color-ink-red-hover: #f06368;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.15 0.02 40 / 0.08);
  --shadow-md: 0 6px 16px oklch(0.15 0.02 40 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.15 0.02 40 / 0.16);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1080px;
  --content-wide: 1280px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Arial Black', sans-serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.4rem, 1rem + 4vw, 4.5rem);
  --text-hero: clamp(2.75rem, 0.8rem + 6vw, 6.5rem);

  /* Spacing (4px system) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

[data-theme='dark'] {
  --color-bg: #14120f;
  --color-surface: #1b1814;
  --color-surface-2: #201d18;
  --color-surface-offset: #262319;
  --color-divider: #322e26;
  --color-border: #3c372c;
  --color-text: #efece5;
  --color-text-muted: #aba59a;
  --color-text-faint: #6e695c;
  --color-text-inverse: #14120f;
  --color-primary: #e8474c;
  --color-primary-hover: #f06368;
  --color-primary-active: #c9383d;
  --color-primary-highlight: #3a1e1f;
  --color-success: #6fa86f;
  --color-success-highlight: #253524;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 6px 16px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
}

/* ============================================================
   Base layout helpers
   ============================================================ */

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--wide {
  max-width: var(--content-wide);
}
.container--narrow {
  max-width: var(--content-narrow);
}

section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.section-title {
  font-size: var(--text-2xl);
  line-height: 1.05;
  max-width: 20ch;
}

.section-lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 62ch;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-weight: 400;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  z-index: 200;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  min-height: 44px;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1;
}

.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--ghost-light {
  border-color: oklch(from var(--color-ink-text) l c h / 0.35);
  color: var(--color-ink-text);
  background: transparent;
}
.btn--ghost-light:hover {
  border-color: var(--color-ink-text);
  background: oklch(from var(--color-ink-text) l c h / 0.08);
  color: var(--color-ink-text);
}

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

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  min-height: 36px;
}

.btn svg {
  width: 1em;
  height: 1em;
  flex: none;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-ink) l c h / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-ink-border);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header--hidden {
  transform: translateY(-100%);
}
.site-header--scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.brand img {
  height: clamp(30px, 4.4vw, 40px);
  width: auto;
  display: block;
}
.brand .logo-plate {
  display: inline-flex;
  align-items: center;
  background: #f8f6f2;
  border-radius: var(--radius-md, 10px);
  padding: 6px 10px;
  line-height: 0;
}
.brand .sr-only {
  color: var(--color-ink-text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.main-nav ul {
  display: flex;
  gap: var(--space-6);
}
.main-nav a {
  color: var(--color-ink-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--color-ink-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-ink-text-muted);
}
.theme-toggle:hover {
  color: var(--color-ink-text);
  background: oklch(from var(--color-ink-text) l c h / 0.08);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-ink-text);
  font-weight: 600;
  font-size: var(--text-sm);
  border: 1px solid var(--color-ink-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
}
.phone-pill:hover {
  border-color: var(--color-ink-red);
  color: var(--color-ink-red);
}
.phone-pill svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-text);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: var(--color-ink);
  color: var(--color-ink-text);
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32)) clamp(var(--space-12), 6vw, var(--space-20));
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-license {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-red);
  background: oklch(from var(--color-ink-red) l c h / 0.12);
  border: 1px solid oklch(from var(--color-ink-red) l c h / 0.3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.25rem);
  letter-spacing: -0.01em;
  max-width: 16ch;
  line-height: 1.08;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-ink-red);
}

.hero p.lede {
  font-size: var(--text-lg);
  color: var(--color-ink-text-muted);
  margin-top: var(--space-6);
  max-width: 46ch;
  font-family: var(--font-body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-ink-border);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-ink-text-muted);
}
.hero-trust svg {
  width: 18px;
  height: 18px;
  color: var(--color-ink-red);
  flex: none;
}

.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
}

/* ============================================================
   Services
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card--featured {
  grid-column: span 4;
  grid-row: span 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
  background: linear-gradient(135deg, var(--color-surface) 60%, var(--color-surface-offset) 100%);
}
.service-card--featured img {
  width: 130px;
  height: auto;
  justify-self: end;
}
.service-card--featured h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-2);
}
.service-card--featured p {
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}
.service-card--featured .btn {
  margin-top: var(--space-5);
}

.service-card--small {
  grid-column: span 2;
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.service-card--small.service-card--wide {
  grid-column: 1 / -1;
}
.service-card--small img {
  width: 44px;
  height: auto;
  flex: none;
  margin-top: var(--space-1);
  background: #f6f3ee;
  border-radius: var(--radius-md, 10px);
  padding: 7px;
  box-sizing: border-box;
}
.service-card--small h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
}
.service-card--small p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

/* ============================================================
   Why choose us
   ============================================================ */

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-16);
  align-items: start;
  margin-top: var(--space-8);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.why-item {
  display: flex;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}
.why-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.why-item .num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  flex: none;
  width: 2ch;
}
.why-item h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
}
.why-item p {
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  font-size: var(--text-sm);
}

/* ============================================================
   Process
   ============================================================ */

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}
.process-step {
  border-top: 2px solid var(--color-primary);
  padding-top: var(--space-5);
}
.process-step .step-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text-faint);
  display: block;
  margin-bottom: var(--space-3);
}
.process-step h3 {
  font-size: var(--text-lg);
}
.process-step p {
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  font-size: var(--text-sm);
}

/* ============================================================
   Service area
   ============================================================ */

.area-section {
  background: var(--color-surface-2);
}
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-8);
}
.area-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.area-card ul {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.area-card li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.area-card svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex: none;
  margin-top: 2px;
}

/* ============================================================
   CTA banner
   ============================================================ */

.cta-banner {
  background: var(--color-ink);
  color: var(--color-ink-text);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.cta-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-size: var(--text-2xl);
  max-width: 16ch;
}
.cta-phone {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-ink-red);
  display: block;
  margin-top: var(--space-3);
}
.cta-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--color-ink);
  color: var(--color-ink-text-muted);
  border-top: 1px solid var(--color-ink-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: var(--space-12);
  padding-block: var(--space-16);
}
.footer-brand img {
  height: 40px;
  margin-bottom: var(--space-4);
}
.footer-brand p {
  font-size: var(--text-sm);
  max-width: 32ch;
}
.footer-heading {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-text);
  margin-bottom: var(--space-4);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col a {
  color: var(--color-ink-text-muted);
  font-size: var(--text-sm);
}
.footer-col a:hover {
  color: var(--color-ink-text);
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--color-ink-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  margin-top: var(--space-2);
  color: var(--color-ink-text);
  font-size: var(--text-sm);
  font-weight: 600;
}
.footer-social:hover {
  border-color: var(--color-ink-red);
  color: var(--color-ink-red);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}
.footer-bottom {
  border-top: 1px solid var(--color-ink-border);
  padding-block: var(--space-6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
}

/* ============================================================
   Page header (interior pages)
   ============================================================ */

.page-header {
  background: var(--color-ink);
  color: var(--color-ink-text);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-12);
}
.page-header h1 {
  font-size: var(--text-3xl);
  max-width: 22ch;
}
.page-header p {
  color: var(--color-ink-text-muted);
  font-size: var(--text-lg);
  max-width: 56ch;
  margin-top: var(--space-4);
  font-family: var(--font-body);
}
.breadcrumb {
  font-size: var(--text-xs);
  color: var(--color-ink-text-muted);
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.breadcrumb a {
  color: var(--color-ink-text-muted);
}
.breadcrumb a:hover {
  color: var(--color-ink-text);
}

/* ============================================================
   Services page detail list
   ============================================================ */

.service-detail-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-8);
}
.service-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-8);
  padding-block: var(--space-10);
  border-bottom: 1px solid var(--color-divider);
  align-items: start;
}
.service-detail:first-child {
  padding-top: 0;
}
.service-detail img {
  width: 76px;
  height: auto;
  background: #f6f3ee;
  border-radius: var(--radius-md, 10px);
  padding: 10px;
  box-sizing: border-box;
}
.service-detail h3 {
  font-size: var(--text-xl);
}
.service-detail p {
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 68ch;
}
.service-detail .tag-row {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* ============================================================
   About page
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.about-visual {
  position: sticky;
  top: calc(var(--space-16) + 60px);
}
.about-visual img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.about-copy p {
  color: var(--color-text-muted);
  margin-top: var(--space-5);
}
.about-copy h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-10);
}
.credential-list {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.credential-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.credential-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex: none;
  margin-top: 2px;
}

/* ============================================================
   Contact page
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
}
.contact-card--primary {
  background: var(--color-ink);
  color: var(--color-ink-text);
  border: none;
}
.contact-card--primary .contact-phone {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-ink-red);
  margin-top: var(--space-3);
  display: block;
}
.contact-card--primary p {
  color: var(--color-ink-text-muted);
  margin-top: var(--space-2);
}
.contact-card h3 {
  font-size: var(--text-lg);
}
.contact-card p {
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}
.contact-card .btn {
  margin-top: var(--space-6);
}
.hours-list {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-divider);
}
.hours-list li:last-child {
  border-bottom: none;
}
.hours-list span:last-child {
  color: var(--color-text-muted);
}

/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 900px) {
  .main-nav ul,
  .header-actions .phone-pill span {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .why-grid,
  .area-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card--featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
    text-align: left;
  }
  .service-card--featured img {
    justify-self: start;
    width: 90px;
  }
  .service-card--small {
    grid-column: span 2;
  }
  .process-list {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-visual {
    position: static;
  }
  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail img {
    width: 56px;
  }
  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card--featured,
  .service-card--small {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .hero-trust {
    flex-direction: column;
    gap: var(--space-3);
  }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-ink);
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-5);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-text);
}
.mobile-nav-close svg {
  width: 24px;
  height: 24px;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-10);
}
.mobile-nav a {
  color: var(--color-ink-text);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  padding-block: var(--space-3);
  display: block;
  border-bottom: 1px solid var(--color-ink-border);
}
.mobile-nav .btn {
  margin-top: var(--space-8);
  width: 100%;
}
