/* =========================================================
   Bubaissyk Logistics — Stylesheet
   Theme: Teal & Charcoal
   ========================================================= */

:root {
  /* Brand */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;

  /* Charcoal / slate */
  --ink-900: #0b1220;
  --ink-800: #0f172a;
  --ink-700: #1e293b;
  --ink-600: #334155;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #eef2f6;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f1f7f6;

  /* Typography */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --shadow-teal: 0 18px 40px rgba(13, 148, 136, 0.28);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ----------------------------- Reset ----------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink-600);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: var(--teal-700); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-800);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

ul { list-style: none; padding: 0; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ----------------------------- Layout ----------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--bg-soft); }
.section--ink {
  background: radial-gradient(120% 120% at 100% 0%, #13303a 0%, var(--ink-900) 55%);
  color: #cbd5e1;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ----------------------------- Typographic helpers ----------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal-500);
}
.section--ink .eyebrow { color: var(--teal-300); }
.section--ink .eyebrow::before { background: var(--teal-400); }

.section-head {
  max-width: 660px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.is-centered {
  margin-inline: auto;
  text-align: center;
}
.section-head.is-centered .eyebrow { justify-content: center; }

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-top: 16px;
}
.section-sub {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--ink-500);
}
.section--ink .section-title { color: #f8fafc; }
.section--ink .section-sub { color: #94a3b8; }

.text-gradient {
  background: linear-gradient(120deg, var(--teal-500), var(--teal-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.22s ease,
    background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(120deg, var(--teal-500), var(--teal-600));
  color: #fff;
  box-shadow: var(--shadow-teal);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(13, 148, 136, 0.38);
}

.btn--ghost {
  background: #fff;
  color: var(--ink-800);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--teal-400); color: var(--teal-700); transform: translateY(-2px); }

.btn--light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }

.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__mark { width: 42px; height: 42px; filter: drop-shadow(0 6px 14px rgba(13,148,136,0.28)); }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.brand__tag {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal-700);
  font-weight: 600;
  margin-top: 4px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
.primary-nav a:not(.btn) {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  color: var(--ink-600);
  font-weight: 500;
  font-size: 0.97rem;
  transition: color 0.18s ease, background 0.18s ease;
}
.primary-nav a:not(.btn):hover { color: var(--ink-900); background: var(--bg-tint); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform: translateX(-50%);
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 110px) clamp(64px, 9vw, 120px);
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(45, 212, 191, 0.16), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(20, 184, 166, 0.12), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.7;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  color: var(--ink-600);
  font-weight: 500;
}
.hero__pill b {
  background: var(--teal-600);
  color: #fff;
  padding: 3px 11px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-display);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  margin-top: 24px;
}
.hero__lead {
  margin-top: 22px;
  font-size: 1.15rem;
  max-width: 540px;
  color: var(--ink-500);
}
.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__trust {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero__trust .num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink-900);
}
.hero__trust .lbl { font-size: 0.86rem; color: var(--ink-400); }

/* Hero visual */
.hero__visual { position: relative; }
.hero__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  overflow: hidden;
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  background: linear-gradient(120deg, var(--teal-500), var(--teal-700));
}
.hero__map {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #0e2a31, var(--ink-900));
  padding: 22px;
  color: #cbd5e1;
  overflow: hidden;
}
.hero__map svg { width: 100%; height: auto; }
.hero__route-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #7dd3c8;
  margin-bottom: 12px;
}
.hero__statline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.hero__stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  text-align: center;
}
.hero__stat .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink-900);
}
.hero__stat .k { font-size: 0.74rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; }

.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-700);
}
.hero__float .dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-50);
  color: var(--teal-600);
}
.hero__float .dot svg { width: 16px; height: 16px; }
.hero__float--a { top: 40px; left: -26px; animation: float 5s ease-in-out infinite; }
.hero__float--b { bottom: 34px; right: -22px; animation: float 6s ease-in-out infinite 0.6s; }

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

/* ----------------------------- Marquee / capabilities ----------------------------- */
.capabilities {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding-block: 28px;
}
.capabilities__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 36px;
}
.capabilities__label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.capabilities__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
}
.capabilities__list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-700);
  font-size: 1rem;
}
.capabilities__list svg { width: 20px; height: 20px; color: var(--teal-600); }

/* ----------------------------- Service cards ----------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(20,184,166,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}
.card:hover::after { opacity: 1; }
.card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--teal-50), #fff);
  border: 1px solid var(--teal-100);
  color: var(--teal-600);
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { font-size: 0.98rem; color: var(--ink-500); }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--teal-700);
}
.card__link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ----------------------------- Why us / features ----------------------------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.feature-list { display: grid; gap: 20px; margin-top: 8px; }
.feature {
  display: flex;
  gap: 16px;
}
.feature__icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--teal-50);
  color: var(--teal-600);
  border: 1px solid var(--teal-100);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h4 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { font-size: 0.96rem; color: var(--ink-500); margin: 0; }

.why__panel {
  position: relative;
  border-radius: var(--r-xl);
  padding: 38px;
  background: radial-gradient(120% 120% at 100% 0%, #15414a, var(--ink-900));
  color: #cbd5e1;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(45,212,191,0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.why__panel-head { position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.why__panel-head .ring {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(45,212,191,0.16);
  border: 1px solid rgba(45,212,191,0.4);
  color: var(--teal-300);
}
.why__panel-head h3 { color: #fff; font-size: 1.3rem; }
.why__metrics { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why__metric {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 20px;
}
.why__metric .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
}
.why__metric .k { font-size: 0.84rem; color: #94a3b8; margin-top: 4px; }

/* ----------------------------- Process ----------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-600);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: var(--shadow-teal);
}
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--ink-500); margin: 0; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -13px;
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--teal-400), transparent);
}

/* ----------------------------- Stats band ----------------------------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  background: linear-gradient(120deg, var(--teal-300), var(--teal-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-item .k { color: #94a3b8; margin-top: 6px; font-size: 0.95rem; }

/* ----------------------------- CTA band ----------------------------- */
.cta {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(120deg, var(--teal-600), var(--teal-800));
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}
.cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 620px; }
.cta p { color: rgba(255,255,255,0.85); margin-top: 12px; max-width: 520px; }

/* ----------------------------- Contact ----------------------------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact__info { display: grid; gap: 18px; margin-top: 8px; }
.contact__item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.contact__item .ic {
  flex: none;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--teal-50);
  color: var(--teal-600);
  border: 1px solid var(--teal-100);
}
.contact__item .ic svg { width: 22px; height: 22px; }
.contact__item h4 { font-size: 0.95rem; color: var(--ink-800); margin-bottom: 2px; }
.contact__item p, .contact__item a { font-size: 0.98rem; color: var(--ink-500); }
.contact__item a:hover { color: var(--teal-700); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-700);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-800);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.16);
}
.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--ink-400);
  min-height: 20px;
}
.form-note.is-active { color: var(--teal-700); font-weight: 500; }

/* ----------------------------- Footer ----------------------------- */
.site-footer {
  background: var(--ink-900);
  color: #94a3b8;
  padding-block: clamp(48px, 7vw, 80px) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand__name { color: #fff; }
.footer-about { margin-top: 18px; font-size: 0.96rem; max-width: 320px; color: #94a3b8; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #cbd5e1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { background: var(--teal-600); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h5 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: #94a3b8; font-size: 0.96rem; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--teal-300); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }
.footer-legal-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ----------------------------- Legal pages ----------------------------- */
.legal-hero {
  background:
    radial-gradient(60% 90% at 90% 0%, rgba(45,212,191,0.14), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 90px);
}
.legal-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-top: 14px; }
.legal-hero p { margin-top: 14px; color: var(--ink-500); max-width: 640px; }
.legal-hero .updated {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--ink-400);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  background: var(--bg-soft);
}
.legal-toc h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-400);
  margin-bottom: 14px;
}
.legal-toc ul { display: grid; gap: 4px; counter-reset: toc; }
.legal-toc a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-600);
  font-size: 0.92rem;
  transition: background 0.18s ease, color 0.18s ease;
}
.legal-toc a:hover { background: #fff; color: var(--teal-700); }

.legal-body { max-width: 760px; }
.legal-body h2 {
  font-size: 1.4rem;
  margin-top: 44px;
  padding-top: 8px;
  scroll-margin-top: 100px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin-top: 26px; color: var(--ink-700); }
.legal-body p, .legal-body li { color: var(--ink-600); font-size: 1rem; }
.legal-body p { margin-top: 14px; }
.legal-body ul { margin-top: 14px; display: grid; gap: 10px; }
.legal-body ul li {
  position: relative;
  padding-left: 26px;
}
.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--teal-500);
}
.legal-body a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.legal-note {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  color: var(--ink-600);
}

/* ----------------------------- Reveal animation ----------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; }
  .why { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .contact { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-cta .btn--primary { display: none; }
  .nav-toggle { display: block; z-index: 120; }
  .primary-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 18px var(--gutter) 26px;
    transform: translateY(-130%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 110;
  }
  .primary-nav.is-open { transform: translateY(0); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a:not(.btn) { padding: 13px 14px; font-size: 1.05rem; }
  .primary-nav li:last-child { margin-top: 10px; }
  .primary-nav .btn { width: 100%; }

  .cards-grid { grid-template-columns: 1fr; }
  .why__metrics { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero__float--a { left: 0; }
  .hero__float--b { right: 0; }
}

@media (max-width: 460px) {
  .stats-band { grid-template-columns: 1fr; }
  .hero__statline { grid-template-columns: 1fr 1fr; }
  .hero__float { display: none; }
}

/* ----------------------------- Motion preferences ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Utility */
.nav-cta-mobile { display: none; }
@media (max-width: 760px) { .nav-cta-mobile { display: block; } }
