/* ============================================================
   MERIDIAN FINANCIAL — Design System
   Emerald + warm parchment + muted gold
   ============================================================ */

:root,
[data-theme='light'] {
  /* Surfaces — warm parchment */
  --color-bg: #f6f4ee;
  --color-surface: #fbfaf6;
  --color-surface-2: #ffffff;
  --color-surface-offset: #f0ede4;
  --color-surface-offset-2: #ebe7dc;
  --color-surface-dynamic: #e6e1d4;
  --color-divider: #e1ddd2;
  --color-border: #d7d2c5;

  /* Text — deep green-black */
  --color-text: #1c2b24;
  --color-text-muted: #5a6b62;
  --color-text-faint: #9aa79e;
  --color-text-inverse: #f9f8f4;

  /* Primary — deep emerald */
  --color-primary: #1b5640;
  --color-primary-hover: #154434;
  --color-primary-active: #103328;
  --color-primary-highlight: #d2e2da;

  /* Accent — muted gold */
  --color-gold: #a87935;
  --color-gold-hover: #8c6328;
  --color-gold-highlight: #ece0c4;

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

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 150 / 0.06);
  --shadow-md: 0 4px 14px oklch(0.2 0.02 150 / 0.08);
  --shadow-lg: 0 18px 44px oklch(0.2 0.02 150 / 0.14);

  --content-narrow: 640px;
  --content-default: 1080px;
  --content-wide: 1240px;
  --content-full: 100%;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;
}

[data-theme='dark'] {
  --color-bg: #121a16;
  --color-surface: #181f1b;
  --color-surface-2: #1d2520;
  --color-surface-offset: #1a211d;
  --color-surface-offset-2: #20271f;
  --color-surface-dynamic: #2a322c;
  --color-divider: #232a26;
  --color-border: #313a34;

  --color-text: #d6dbd7;
  --color-text-muted: #8b958e;
  --color-text-faint: #5d665f;
  --color-text-inverse: #1c2b24;

  --color-primary: #5fa888;
  --color-primary-hover: #4d9274;
  --color-primary-active: #3d7d5f;
  --color-primary-highlight: #2a3a32;

  --color-gold: #d4a85a;
  --color-gold-hover: #e0bd76;
  --color-gold-highlight: #4d4332;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
  --shadow-md: 0 4px 14px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 18px 44px oklch(0 0 0 / 0.5);
}

/* System preference fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #121a16; --color-surface: #181f1b; --color-surface-2: #1d2520;
    --color-surface-offset: #1a211d; --color-surface-offset-2: #20271f;
    --color-surface-dynamic: #2a322c; --color-divider: #232a26; --color-border: #313a34;
    --color-text: #d6dbd7; --color-text-muted: #8b958e; --color-text-faint: #5d665f;
    --color-text-inverse: #1c2b24;
    --color-primary: #5fa888; --color-primary-hover: #4d9274; --color-primary-active: #3d7d5f;
    --color-primary-highlight: #2a3a32;
    --color-gold: #d4a85a; --color-gold-hover: #e0bd76; --color-gold-highlight: #4d4332;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25); --shadow-md: 0 4px 14px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 18px 44px oklch(0 0 0 / 0.5);
  }
}

/* Type scale */
:root {
  --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.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 7vw, 7rem);
}

/* 4px spacing */
:root {
  --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;
}

/* ============================================================ Layout */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--wide { max-width: var(--content-wide); }
.container--narrow { max-width: var(--content-narrow); }

.section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}
.section--tight { padding-block: clamp(var(--space-10), 4vw, var(--space-16)); }
.section--offset { background: var(--color-surface); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--color-gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: var(--space-4);
  max-width: 18ch;
}
.section-lead {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-top: var(--space-4);
}

.section-head {
  max-width: 60ch;
  margin-bottom: var(--space-12);
}
.section-head--centered { margin-inline: auto; text-align: center; }
.section-head--centered .section-title { margin-inline: auto; }
.section-head--centered .eyebrow::before { display: none; }

/* ============================================================ Header / Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition: box-shadow var(--transition-interactive);
}
.header--scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.brand__mark { color: var(--color-primary); flex-shrink: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: var(--space-1); }
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
}
.nav__link:hover { color: var(--color-text); background: var(--color-surface-offset); }
.nav__link[aria-current='page'] { color: var(--color-primary); }

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

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid oklch(from var(--color-text) l c h / 0.12);
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-offset); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  border: 1px solid oklch(from var(--color-text) l c h / 0.12);
}

/* ============================================================ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 44px;
  cursor: pointer;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--primary:active { background: var(--color-primary-active); }
.btn--ghost {
  color: var(--color-text);
  border-color: oklch(from var(--color-text) l c h / 0.16);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.link-arrow svg { transition: transform var(--transition-interactive); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ============================================================ Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(var(--space-12), 5vw, var(--space-20));
  padding-bottom: clamp(var(--space-16), 7vw, var(--space-32));
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: var(--space-5);
  max-width: 16ch;
}
.hero__title em {
  font-style: italic;
  color: var(--color-primary);
  font-weight: 400;
}
.hero__lead {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin-top: var(--space-6);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__stat {
  position: absolute;
  left: var(--space-6);
  bottom: var(--space-6);
  background: oklch(from var(--color-surface-2) l c h / 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-md);
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
}
.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  letter-spacing: 0.04em;
}

/* ============================================================ Trust bar */
.trustbar {
  border-block: 1px solid oklch(from var(--color-text) l c h / 0.08);
  background: var(--color-surface);
}
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8) var(--space-12);
  padding-block: var(--space-8);
}
.trustbar__label {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  width: 100%;
  text-align: center;
}
.trustbar__item {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
}

/* ============================================================ Service cards */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card__icon {
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.service-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}
.service-card__list {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-2);
}
.service-card__list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
}

/* ============================================================ Feature / split */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: var(--space-4);
}
.split__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-5);
}
.split__body p + p { margin-top: var(--space-4); }

.checklist { margin-top: var(--space-6); display: grid; gap: var(--space-3); }
.checklist li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-base);
  color: var(--color-text);
}
.checklist svg { color: var(--color-primary); flex-shrink: 0; margin-top: 3px; }

/* ============================================================ Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}
.stat__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 28ch;
}

/* ============================================================ Approach / process */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  counter-reset: step;
}
.process__item {
  position: relative;
  padding-left: var(--space-12);
}
.process__item::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-gold);
}
.process__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.process__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* ============================================================ Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.testimonial {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
  font-style: italic;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.testimonial__name { font-size: var(--text-sm); font-weight: 600; }
.testimonial__role { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ============================================================ Values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.value {
  padding: var(--space-6) 0;
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.1);
}
.value__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.value__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* ============================================================ CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--color-text-inverse);
  background: var(--color-primary);
  padding: clamp(var(--space-12), 5vw, var(--space-24));
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }
.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 56ch;
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #f9f8f4;
}
.cta-band__lead {
  font-size: var(--text-base);
  color: oklch(from #f9f8f4 l c h / 0.82);
  margin-top: var(--space-5);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.cta-band .btn--ghost {
  color: #f9f8f4;
  border-color: oklch(from #f9f8f4 l c h / 0.3);
}
.cta-band .btn--ghost:hover { border-color: #f9f8f4; background: oklch(from #f9f8f4 l c h / 0.1); }

/* ============================================================ Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}
.contact-info { display: grid; gap: var(--space-8); }
.contact-detail__label {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.contact-detail__value {
  font-size: var(--text-base);
  margin-top: var(--space-2);
  color: var(--color-text);
}
.contact-detail__value a { color: var(--color-primary); text-decoration: none; }
.contact-detail__value a:hover { text-decoration: underline; }

.form {
  display: grid;
  gap: var(--space-5);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-4);
  border: 1px solid oklch(from var(--color-text) l c h / 0.16);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  color: var(--color-text);
  width: 100%;
  min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.form__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.form__success {
  display: none;
  background: var(--color-primary-highlight);
  color: var(--color-primary-active);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
}
.form__success.is-visible { display: block; }

/* ============================================================ Footer */
.footer {
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.1);
  background: var(--color-surface);
  padding-block: clamp(var(--space-12), 4vw, var(--space-20)) var(--space-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
.footer__brand .brand__name { font-size: var(--text-lg); }
.footer__about {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 36ch;
}
.footer__col-title {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.footer__links { display: grid; gap: var(--space-3); }
.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__links a:hover { color: var(--color-primary); }
.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}
.footer__copy { font-size: var(--text-xs); color: var(--color-text-faint); }
.footer__disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 70ch;
  line-height: 1.6;
  margin-top: var(--space-4);
}

/* ============================================================ Page header (interior) */
.page-header {
  padding-block: clamp(var(--space-12), 5vw, var(--space-20));
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
}
.page-header__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: var(--space-4);
  max-width: 20ch;
}
.page-header__lead {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-top: var(--space-5);
}

/* ============================================================ Reveal animation (progressive enhancement) */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================ Responsive */
@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-16); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
  .split--reverse .split__media { order: 2; }
  .process { grid-template-columns: repeat(2, 1fr); gap: var(--space-10); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-10); }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-16); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-12); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(4, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
    padding: var(--space-4);
    background: var(--color-surface);
    border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.1);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open .nav__link { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); }
  .nav.is-open .nav__link:hover { background: var(--color-surface-offset); }
  .mobile-cta { display: inline-flex !important; margin-top: var(--space-3); }
}

.mobile-cta { display: none; }
