/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Backgrounds */
  --bg:       #ffffff;
  --bg2:      #f8fafc;
  --surface:  #f1f5f9;
  --surface2: #e8eef6;

  /* Borders */
  --border:   rgba(0,0,0,0.08);
  --border2:  rgba(0,0,0,0.05);

  /* Accent palette — darkened for legibility on white */
  --blue:       #2563eb;
  --blue-soft:  rgba(37,99,235,0.08);
  --blue-glow:  rgba(37,99,235,0.22);
  --green:      #16a34a;
  --green-soft: rgba(22,163,74,0.08);
  --amber:      #b45309;
  --amber-soft: rgba(180,83,9,0.08);
  --purple:     #7c3aed;
  --purple-soft:rgba(124,58,237,0.08);
  --cyan:       #0891b2;
  --cyan-soft:  rgba(8,145,178,0.08);
  --slate:      #475569;
  --slate-soft: rgba(71,85,105,0.08);
  --orange:      #c2410c;
  --orange-soft: rgba(194,65,12,0.08);
  --teal:        #0f766e;
  --teal-soft:   rgba(15,118,110,0.08);
  --rose:        #e11d48;
  --rose-soft:   rgba(225,29,72,0.08);
  --indigo:      #4338ca;
  --indigo-soft: rgba(67,56,202,0.08);
  --violet:      #6d28d9;
  --violet-soft: rgba(109,40,217,0.08);

  /* Text */
  --text:       #0f172a;
  --text-dim:   #475569;
  --text-muted: #94a3b8;

  /* Type */
  --sans:  'Plus Jakarta Sans', sans-serif;
  --body:  'Inter', sans-serif;
  --mono:  'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-snap-type: y proximity;
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════════ */
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-h2 {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 520px;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: var(--blue);
  color: #fff;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px var(--blue-glow);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(0,0,0,0.12);
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
/* ── Floating pill nav ── */
#nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);   /* gap of 1.5rem each side */
  max-width: 1060px;
  z-index: 200;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s, background 0.25s, transform 0.3s ease;
}
#nav.nav-hidden {
  transform: translate(-50%, -100px);
}
#nav.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 32px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.05);
}
.nav-active { color: var(--blue) !important; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

/* ── Hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ── */
.nav-drawer {
  display: none;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.nav-drawer.open { display: flex; flex-direction: column; }
.nav-drawer ul { list-style: none; margin-bottom: 0.75rem; }
.nav-drawer ul li a {
  display: block;
  padding: 0.7rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--border2);
  transition: color 0.2s;
}
.nav-drawer ul li:last-child a { border-bottom: none; }
.nav-drawer ul li a:hover { color: var(--text); }
.nav-drawer-cta { width: 100%; justify-content: center; }
.brand {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.brand-logo {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}
.brand-dot { color: var(--blue); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.84rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 18px var(--blue-glow);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow-x: hidden;
  padding: 90px 0 3rem;
  min-height: 100svh;
  scroll-snap-align: start;
}

/* dot grid */
.hero-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37,99,235,0.09) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  transition: background-position 0.12s linear;
}

/* cursor glow that follows the mouse */
.hero-cursor-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 68%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  left: 50%; top: 50%;
  transition: left 0.12s ease, top 0.12s ease;
  z-index: 0;
}
/* gradient vignette over dots */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 40%, var(--bg) 100%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Billing card (hero right column) ── */
.hero-visual {
  position: relative;
  z-index: 1;
  align-self: center;
}

.billing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 28px rgba(0,0,0,0.07), 0 1px 6px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
}
.billing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

/* Header */
.bc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bc-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.67rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.bc-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
  animation: pulse 2.2s ease-in-out infinite;
}

/* Before / after amounts */
.bc-amounts {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.bc-col { display: flex; flex-direction: column; gap: 0.15rem; }
.bc-col--right { align-items: flex-end; }
.bc-col-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.bc-cost {
  font-family: var(--sans);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.bc-cost--before { color: #dc2626; }
.bc-cost--after  { color: var(--green); }
.bc-mo { font-size: 0.78rem; font-weight: 500; opacity: 0.65; }
.bc-col-sub {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}
.bc-arrow { color: var(--text-muted); opacity: 0.45; flex-shrink: 0; }

/* Saving banner */
.bc-saving {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green-soft);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: 8px;
  padding: 0.55rem 1rem;
}
.bc-saving-pct {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
}
.bc-saving-amt {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--green);
}

/* Breakdown bars */
.bc-breakdown { display: flex; flex-direction: column; gap: 0.55rem; }
.bc-bk-title {
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.bc-bk-row {
  display: grid;
  grid-template-columns: 62px 1fr 32px;
  gap: 6px;
  align-items: center;
}
.bc-bk-name {
  font-family: var(--mono);
  font-size: 0.67rem;
  color: var(--text-dim);
}
.bc-bk-track {
  height: 18px;
  position: relative;
  border-radius: 4px;
  background: rgba(239,68,68,0.06);
}
.bc-bk-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, #dc2626, #f87171);
  border-radius: 4px;
  overflow: hidden;
  transition: width 1.1s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  align-items: center;
  padding-left: 6px;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.billing-card.bc-animate .bc-bk-fill { width: var(--tw); }
.bc-bk-zero {
  height: 18px;
  background: var(--green);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
}

/* Quality row */
.bc-quality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}
.bc-q-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.bc-q-tick {
  color: var(--green);
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* availability badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  background: var(--green-soft);
  border: 1px solid rgba(34,197,94,0.22);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.badge-pulse {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(1.35); }
}

/* headline */
.hero-h1 {
  font-family: var(--sans);
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h1-accent {
  font-style: normal;
  display: block;
  background: linear-gradient(130deg, #1d4ed8 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 100%;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* proof row */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.proof-stat { display: flex; flex-direction: column; gap: 0.18rem; }
.ps-num {
  font-family: var(--sans);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.04em;
}
.ps-plus { color: var(--blue); }
.ps-dollar { color: var(--green); font-size: 1.5rem; }
.ps-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.03em;
}
.proof-rule {
  width: 1px;
  height: 34px;
  background: var(--border);
}


/* scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-bar {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  60%  { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
#services-preview {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

#services {
  padding: 9rem 0;
  border-top: 1px solid var(--border);
}

.section-intro { margin-bottom: 3.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
/* top accent line */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  transition: opacity 0.25s;
  opacity: 0.6;
}
.svc-card[data-color="blue"]::before   { background: var(--blue); }
.svc-card[data-color="green"]::before  { background: var(--green); }
.svc-card[data-color="amber"]::before  { background: var(--amber); }
.svc-card[data-color="purple"]::before { background: var(--purple); }
.svc-card[data-color="cyan"]::before   { background: var(--cyan); }
.svc-card[data-color="slate"]::before  { background: var(--slate); }
.svc-card[data-color="orange"]::before { background: var(--orange); }
.svc-card[data-color="teal"]::before   { background: var(--teal); }
.svc-card[data-color="rose"]::before   { background: var(--rose); }
.svc-card[data-color="indigo"]::before { background: var(--indigo); }
.svc-card[data-color="violet"]::before { background: var(--violet); }

.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,0,0,0.1);
  background: var(--surface2);
}
.svc-card:hover::before { opacity: 1; }

.svc-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.svc-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.svc-icon {
  width: 38px; height: 38px;
  opacity: 0.9;
}
.svc-icon svg { width: 100%; height: 100%; }
.svc-card[data-color="blue"]   .svc-icon { color: var(--blue); }
.svc-card[data-color="green"]  .svc-icon { color: var(--green); }
.svc-card[data-color="amber"]  .svc-icon { color: var(--amber); }
.svc-card[data-color="purple"] .svc-icon { color: var(--purple); }
.svc-card[data-color="cyan"]   .svc-icon { color: var(--cyan); }
.svc-card[data-color="slate"]  .svc-icon { color: var(--slate); }
.svc-card[data-color="orange"] .svc-icon { color: var(--orange); }
.svc-card[data-color="teal"]   .svc-icon { color: var(--teal); }
.svc-card[data-color="rose"]   .svc-icon { color: var(--rose); }
.svc-card[data-color="indigo"] .svc-icon { color: var(--indigo); }
.svc-card[data-color="violet"] .svc-icon { color: var(--violet); }

.svc-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.svc-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.svc-result {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  letter-spacing: 0.03em;
}
.result-pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--green);
}
.svc-card[data-color="amber"]  .result-pip { background: var(--amber); }
.svc-card[data-color="purple"] .result-pip { background: var(--purple); }
.svc-card[data-color="cyan"]   .result-pip { background: var(--cyan); }
.svc-card[data-color="slate"]  .result-pip { background: var(--slate); }
.svc-card[data-color="orange"] .result-pip { background: var(--orange); }
.svc-card[data-color="teal"]   .result-pip { background: var(--teal); }
.svc-card[data-color="rose"]   .result-pip { background: var(--rose); }
.svc-card[data-color="indigo"] .result-pip { background: var(--indigo); }
.svc-card[data-color="violet"] .result-pip { background: var(--violet); }

.services-footer { text-align: center; }

/* ═══════════════════════════════════════════
   SERVICES PAGE — page intro header
═══════════════════════════════════════════ */
.page-intro {
  padding: 148px 0 72px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.page-intro-h1 {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.25rem;
}
.page-intro-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 520px;
}
#services { padding: 5rem 0 8rem; }


/* ═══════════════════════════════════════════
   STATS
═══════════════════════════════════════════ */
@keyframes statsBgShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes accentReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}
@keyframes shimmerSweep {
  from { left: -80%; }
  to   { left: 130%; }
}

#stats {
  background: linear-gradient(-45deg, #ffffff, #f0f6ff, #ffffff, #f3fff8);
  background-size: 400% 400%;
  animation: statsBgShift 14s ease infinite;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
#stats > .container { position: relative; z-index: 1; padding-top: 0; padding-bottom: 0; }

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.stat-sep { display: none; }

.stat-block {
  text-align: center;
  padding: 4rem 3rem 5.5rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.3s;
}
.stat-block:hover { background: rgba(37,99,235,0.025); }
.stat-block:nth-child(5):hover { background: rgba(22,163,74,0.025); }

/* Vertical rule between stats */
.stat-block:nth-child(1),
.stat-block:nth-child(3) {
  border-right: 1px solid var(--border);
}

/* Shimmer on hover */
.stat-block::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.stat-block:hover::before {
  opacity: 1;
  animation: shimmerSweep 0.65s ease forwards;
}

/* Accent line at bottom — draws left-to-right when visible */
.stat-block::after {
  content: '';
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 2px;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0s;
}
.stat-block:nth-child(1)::after,
.stat-block:nth-child(3)::after { background: linear-gradient(90deg, var(--blue), #60a5fa); }
.stat-block:nth-child(5)::after { background: linear-gradient(90deg, var(--green), #4ade80); }
.stat-block.reveal.visible::after {
  clip-path: inset(0 0% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.16,1,0.3,1) 0.55s;
}

.stat-num {
  font-family: var(--sans);
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-bottom: 1.25rem;
  color: var(--text);
  transition: color 0.4s;
}
.stat-block:hover .stat-num { color: var(--blue); }
.stat-block:nth-child(5):hover .stat-num { color: var(--green); }

.stat-sym { color: var(--blue); }
.stat-dollar { color: var(--green); font-size: 0.6em; vertical-align: 0.1em; }

.stat-title {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.stat-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   CLIENTS MARQUEE
═══════════════════════════════════════════ */
.clients-marquee {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

/* fade edges */
.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-marquee::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95), transparent);
}
.clients-marquee::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.95), transparent);
}

.marquee-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.marquee-group span {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dim);
  opacity: 0.45;
  white-space: nowrap;
  padding: 0 1.5rem;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}
.marquee-group span:hover { opacity: 0.85; }
.marquee-group .mdot {
  font-size: 0.55rem;
  color: var(--text-muted);
  opacity: 0.3;
  padding: 0;
  font-weight: 400;
}

/* ═══════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════ */
#process {
  padding: 80px 0 2rem;
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#process .section-intro { margin-bottom: 2.5rem; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}
/* connector line */
.process-grid::before {
  content: '';
  position: absolute;
  top: 2.2rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 15%, var(--border) 85%, transparent);
}

.process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}
.process-card:hover {
  border-color: rgba(0,0,0,0.1);
  background: var(--surface2);
}
.pc-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* small circle for the connector */
.pc-num::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--blue);
  flex-shrink: 0;
}
.pc-title {
  font-family: var(--sans);
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.pc-desc {
  font-size: 0.845rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
#about {
  padding: 80px 0 2rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 3.5rem;
  align-items: start;
}
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.about-chips span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(74,124,247,0.18);
  padding: 0.28rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.about-stack { margin-top: auto; }
.stack-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.stack-tags span {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.about-body {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.about-right .btn-primary { margin-top: 0.75rem; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
#contact {
  padding: 80px 0 2rem;
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-body {
  font-size: 0.975rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.contact-links { margin-bottom: 1.25rem; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.contact-link svg { width: 17px; height: 17px; color: var(--blue); flex-shrink: 0; }
.contact-link:hover { color: var(--text); }
.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-family: var(--mono);
}
.note-pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 0.35rem;
}

/* form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
}
.optional { color: var(--text-muted); opacity: 0.6; }
.form-field input,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.93rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,124,247,0.1);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.btn-submit { width: 100%; justify-content: center; font-size: 0.95rem; }
.form-success {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--green);
  padding: 0.75rem;
  background: var(--green-soft);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 7px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
  scroll-snap-align: start;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.footer-brand {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-contact-link svg { color: var(--blue); flex-shrink: 0; }
.footer-contact-link:hover { color: var(--text); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

/* ═══════════════════════════════════════════
   PRODUCT SHOWCASE
═══════════════════════════════════════════ */
#showcase {
  padding: 80px 0 2rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sc-intro {
  text-align: center;
  margin-bottom: 1.5rem;
}
.sc-intro .section-desc { margin: 0 auto; }

/* ── Map canvas ── */
.scv-map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
  margin-bottom: 1.5rem;
  height: min(520px, calc(100svh - 240px));
  margin-left: calc(50% - 50vw + 2rem);
  margin-right: calc(50% - 50vw + 2rem);
}
#showcase-map {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
}
#showcase-map .maplibregl-map { border-radius: 0; }
#showcase-map .maplibregl-ctrl-attrib {
  background: rgba(15,23,42,0.75);
  color: rgba(255,255,255,0.5);
  font-family: var(--mono);
  font-size: 0.6rem;
  border-radius: 4px 0 0 0;
}
.scv-chips {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.scv-chip {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: .3rem .85rem;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  color: #1e293b;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.chip-pip {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chip-pip--green { background: #16a34a; }
.chip-pip--blue  { background: #2563eb; }
.chip-pip--amber { background: #b45309; }
.scv-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, transparent 100%);
  padding: 2rem 1.5rem 1.25rem;
}
.scvl-title {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .2rem;
}
.scvl-sub {
  font-size: .78rem;
  color: rgba(255,255,255,0.7);
  font-family: var(--mono);
}

/* ── Devices row ── */
.scv-devices {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1.5rem;
}
.scv-device-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
}
.scv-device-col--browser {
  align-items: stretch;
}

/* ── Device text ── */
.scvt-h3 {
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: .75rem;
  color: var(--text);
}
.scvt-p {
  font-size: .925rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.scvt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.scvt-list li {
  font-size: .85rem;
  color: var(--text-dim);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.scvt-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: .75rem;
}
.scv-device-text { width: 100%; }
.scv-device-text--below { text-align: left; }

/* ══════════════════
   PHONE MOCKUP
══════════════════ */
.phone-mock {
  width: 320px;
  flex-shrink: 0;
  background: #0f172a;
  border-radius: 56px;
  padding: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(0,0,0,0.5),
    0 2px 0 2px #1e293b,
    0 32px 64px rgba(0,0,0,0.35),
    0 8px 24px rgba(37,99,235,0.12);
  overflow: hidden;
  position: relative;
  border: 10px solid #1e293b;
}
.phone-island {
  width: 110px; height: 32px;
  background: #000;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .3rem .9rem .2rem;
  font-size: .65rem;
  color: rgba(255,255,255,0.85);
}
.pst-time { font-weight: 600; font-family: var(--sans); }
.pst-icons { display: flex; align-items: center; gap: .35rem; color: rgba(255,255,255,0.7); }

.phone-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .4rem .9rem;
  background: rgba(37,99,235,0.12);
  border-bottom: 1px solid rgba(37,99,235,0.2);
}
.pab-left { display: flex; align-items: center; gap: .4rem; }
.pab-dot {
  width: 6px; height: 6px;
  border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse 2s infinite;
}
.pab-label {
  font-family: var(--mono);
  font-size: .6rem;
  color: #22c55e;
  letter-spacing: .08em;
}
.pab-app {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
}

.phone-map-area {
  height: 340px;
  position: relative;
  overflow: hidden;
}
#phone-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.phone-bottom {
  background: #0f172a;
  padding: 1.4rem 1.2rem 1.8rem;
}
.pb-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .65rem;
}
.pbs-item { display: flex; flex-direction: column; align-items: center; gap: .05rem; }
.pbs-val {
  font-family: var(--sans);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.pbs-unit {
  font-family: var(--mono);
  font-size: .58rem;
  color: #2563eb;
  font-weight: 500;
}
.pbs-label {
  font-family: var(--mono);
  font-size: .55rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pbs-div {
  width: 1px; height: 30px;
  background: rgba(255,255,255,0.08);
}
.pb-route {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.pbr-from, .pbr-to {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--mono);
}
.pbr-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pbr-dot--green { background: #22c55e; }
.pbr-dot--blue  { background: #2563eb; }
.pbr-line {
  width: 1px; height: 10px;
  background: rgba(255,255,255,0.15);
  margin-left: 3px;
}

/* ══════════════════
   BROWSER MOCKUP
══════════════════ */
.browser-mock {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.08);
}
.bm-chrome {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: .55rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.bmc-dots { display: flex; gap: .35rem; }
.bmc-dot  { width: 10px; height: 10px; border-radius: 50%; }
.bmc-url {
  flex: 1;
  background: rgba(0,0,0,0.06);
  border-radius: 5px;
  padding: .22rem .7rem;
  font-family: var(--mono);
  font-size: .72rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: .4rem;
  max-width: 280px;
  margin: 0 auto;
}
.bmc-actions {
  display: flex;
  gap: .4rem;
}
.bmc-actions span {
  display: block;
  width: 14px; height: 14px;
  border-radius: 2px;
  background: rgba(0,0,0,0.08);
}

.bm-body {
  display: flex;
  height: 340px;
}
.bm-sidebar {
  width: 190px;
  flex-shrink: 0;
  background: #0f172a;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  overflow: hidden;
}
.bms-logo {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  padding: 0 1rem .75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: .75rem;
}
.bms-kpis {
  display: flex;
  gap: 0;
  padding: 0 1rem .75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: .75rem;
}
.bms-kpi { flex: 1; text-align: center; }
.bms-kpi-val {
  display: block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.bms-kpi-label {
  font-family: var(--mono);
  font-size: .58rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.bms-section-title {
  font-family: var(--mono);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,0.3);
  padding: 0 1rem .5rem;
}
.bms-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.bms-veh {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1rem;
  transition: background .15s;
  cursor: pointer;
}
.bms-veh:hover, .bms-veh--active { background: rgba(255,255,255,0.05); }
.bms-vdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.bms-vinfo { flex: 1; min-width: 0; }
.bms-vid {
  font-family: var(--mono);
  font-size: .72rem;
  color: #fff;
  font-weight: 500;
}
.bms-veta {
  font-family: var(--mono);
  font-size: .62rem;
  color: rgba(255,255,255,0.4);
}
.bms-vspd {
  font-family: var(--mono);
  font-size: .65rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

.bm-map {
  flex: 1;
  position: relative;
  overflow: hidden;
}
#fleet-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.bm-map-badge {
  position: absolute;
  bottom: .75rem;
  right: .75rem;
  background: rgba(15,23,42,0.88);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: .62rem;
  color: rgba(255,255,255,0.55);
  padding: .25rem .6rem;
  backdrop-filter: blur(6px);
}

@media (max-width: 1024px) {
  .scv-devices { grid-template-columns: 1fr; }
  .scv-device-col { align-items: stretch; }
}
@media (max-width: 640px) {
  .scv-map-wrap { height: 340px; }
  .phone-mock { width: 300px; border-radius: 48px; }
  .bm-body { height: 280px; }
  .bm-sidebar { width: 150px; }
}

/* ═══════════════════════════════════════════
   BLOG TEASER
═══════════════════════════════════════════ */
#blog-teaser {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}
.bt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.bt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.bt-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: .82rem;
  padding: 3rem;
}
.bt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, border-color .25s;
}
.bt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,0,0,.1);
}
.bt-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.bt-tag {
  font-family: var(--mono); font-size: .65rem;
  padding: .18rem .5rem; border-radius: 3px;
  background: var(--blue-soft); color: var(--blue);
  border: 1px solid rgba(74,124,247,.14);
}
.bt-title {
  font-family: var(--sans); font-size: .975rem;
  font-weight: 700; line-height: 1.4; color: var(--text);
}
.bt-excerpt {
  font-size: .84rem; color: var(--text-dim); line-height: 1.7; flex: 1;
}
.bt-meta {
  font-family: var(--mono); font-size: .7rem;
  color: var(--text-muted); display: flex; gap: 1rem;
}
.bt-read { color: var(--blue); }

@media (max-width: 1024px) { .bt-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .bt-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   PAGE LOAD KEYFRAMES
═══════════════════════════════════════════ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(52px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ── Nav entrance ── */
#nav { animation: fadeIn 0.5s ease 0.05s both; }

/* ── Hero: staggered fade-up ── */
.hero-h1      { animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.10s both; }
.hero-sub     { animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.22s both; }
.hero-actions { animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.35s both; }
.hero-proof   { animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.48s both; }

/* Desktop: billing card slides in from right + floats */
@media (min-width: 769px) {
  .hero-visual  { animation: heroSlideRight 0.9s cubic-bezier(0.16,1,0.3,1) 0.15s both; }
  .billing-card { animation: floatY 5s ease-in-out 2.2s infinite; }
}
/* Mobile: billing card fades up like the rest */
@media (max-width: 768px) {
  .hero-visual { animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.30s both; }
}

/* ── Animated gradient on accent headline ── */
.h1-accent {
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }
.reveal-delay-6 { transition-delay: 0.60s; }

/* ── Respect reduced-motion preference ── */
@media (prefers-reduced-motion: reduce) {
  .hero-h1, .hero-sub, .hero-actions, .hero-proof,
  .hero-visual, .billing-card, .h1-accent, #nav {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .home-services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid  { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .about-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid  { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  /* ── Kill scroll snap on mobile — janky on touch ── */
  html { scroll-snap-type: none; }

  /* ── Container ── */
  .container { padding: 0 1.25rem; }

  /* ── Nav ── */
  #nav { width: calc(100% - 2rem); }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }

  /* ── Sections: no snap, no forced 100vh, compact padding ── */
  #hero, #showcase, #stats, #process, #about, #contact {
    min-height: auto;
    scroll-snap-align: none;
  }
  #hero     { padding: 6.5rem 0 2.5rem; }
  #showcase { padding: 4.5rem 0 2rem; }
  #stats    { padding: 3rem 0; }
  #process   { padding: 4rem 0 2rem; }
  #about     { padding: 4rem 0 2rem; }
  #contact   { padding: 4rem 0 2rem; }

  /* ── Hero ── */
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-visual { order: 1; }
  .hero-content { gap: 0.75rem; }
  .hero-h1 { font-size: clamp(1.6rem, 5.5vw, 2.2rem); line-height: 1.2; }
  .hero-sub { font-size: 0.875rem; line-height: 1.65; }
  .hero-actions { gap: 0.625rem; flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .hero-proof { gap: 1rem; padding-top: 0.75rem; flex-wrap: wrap; }
  .ps-num { font-size: 1.4rem; }
  .ps-label { font-size: 0.7rem; }
  .proof-rule { height: 28px; }

  /* ── Billing card — hide the bottom quality row to save height ── */
  .billing-card { padding: 1rem; gap: 0.7rem; }
  .bc-cost { font-size: 1.5rem; }
  .bc-quality { display: none; }
  .bc-breakdown .bc-bk-title { display: none; }

  /* ── Map ── */
  .scv-map-wrap { height: 280px; }
  .scv-label  { display: none; }
  .scv-chips  { display: none; }
  .sc-intro .section-h2 { font-size: 1.6rem; }
  .sc-intro .section-desc { font-size: 0.88rem; }

  /* ── Calculator ── */
  .calc-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .calc-intro .section-h2 { font-size: 1.5rem; }

  /* ── Stats ── */
  .stats-row { grid-template-columns: 1fr; }
  .stat-block { padding: 2.5rem 1.5rem 4rem; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-block:last-of-type { border-bottom: none; }
  .stat-num { font-size: 4rem; }
  #stats > .container { padding-top: 2rem; }
  .clients-marquee { margin-top: 1rem; }
  .clients-marquee::before,
  .clients-marquee::after { width: 60px; }
  .marquee-group span { padding: 0 1rem; font-size: 0.82rem; }

  /* ── Services ── */
  .services-grid      { grid-template-columns: 1fr; }
  .home-services-grid { grid-template-columns: 1fr 1fr; }

  /* ── Process ── */
  .process-grid { grid-template-columns: 1fr; }
  #process .section-intro { margin-bottom: 1.75rem; }

  /* ── About ── */
  .about-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-chips { margin-top: 0.75rem; margin-bottom: 1rem; }
  .about-lead { font-size: 0.975rem; }
  .about-body { font-size: 0.9rem; margin-bottom: 0.85rem; }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-contact { align-items: center; }
}

@media (max-width: 480px) {
  /* Single-column on phones */
  .home-services-grid { grid-template-columns: 1fr; }

  /* Simplify billing card — hide breakdown to save height */
  .bc-breakdown { display: none; }
  .bc-saving-amt { display: none; }
}

/* ── Map zoom controls (visible only in fullscreen) ── */
.map-zoom-ctrl {
  position: absolute;
  bottom: 0.85rem;
  right: 3rem;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 10;
}
.scv-map-wrap.map-fs-active .map-zoom-ctrl { display: flex; }
.map-zoom-btn {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 500;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s, box-shadow 0.2s;
  line-height: 1;
  padding: 0;
  user-select: none;
}
.map-zoom-btn:hover {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

/* ── Map fullscreen button ── */
.map-fs-btn {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(6px);
  transition: background 0.2s, box-shadow 0.2s;
  padding: 0;
}
.map-fs-btn:hover {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.map-fs-btn svg {
  width: 15px;
  height: 15px;
  color: #1e293b;
  flex-shrink: 0;
}
.fs-icon-exit { display: none; }
.map-fs-btn--exit .fs-icon-expand { display: none; }
.map-fs-btn--exit .fs-icon-exit   { display: block; }

/* In native fullscreen the wrap fills the screen */
.scv-map-wrap:fullscreen { border-radius: 0; height: 100vh !important; }
.scv-map-wrap:-webkit-full-screen { border-radius: 0; height: 100vh !important; }

