/* ============================================================
   ECOM SWING — Homepage Stylesheet
   Tokens
   ------------------------------------------------------------
   Background:      #05070c  (near-black canvas)
   Panel:            #0a0f1a  (raised section / card base)
   Panel alt:        #0d1220
   Border/glow:      rgba(63,131,248,.28)
   Accent blue:      #2f6bff -> #63a4ff (gradient)
   Accent blue solid #3b82f6
   Text primary:     #f5f7fb
   Text muted:       #94a3b8
   Text faint:       #5b6576
   Success green:    #34d399
   Display font:     "Space Grotesk" (headings — geometric, techy, confident)
   Body font:        "Plus Jakarta Sans" (body/UI — warm, rounded, legible)
   ============================================================ */

:root {
  --bg: #f6f8fc;
  --panel: #ffffff;
  --panel-alt: #eef2fa;
  --panel-soft: rgba(15, 23, 42, 0.03);
  --border: rgba(47, 107, 255, 0.18);
  --border-strong: rgba(47, 107, 255, 0.4);
  --accent: #3b82f6;
  --accent-2: #63a4ff;
  --accent-deep: #1d4fd1;
  --grad: linear-gradient(135deg, #2f6bff 0%, #63a4ff 100%);
  --text: #0c1424;
  --text-2: #33405c;
  --muted: #55617a;
  --faint: #8892a4;
  --green: #34d399;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-glow: 0 0 0 1px var(--border), 0 20px 60px -25px rgba(59, 130, 246, 0.18);
  --img-glow: 0 0 70px -10px rgba(59, 130, 246, 0.4), 0 0 130px -20px rgba(99, 164, 255, 0.25);
  --container: 1240px;

  /* translucent hairline tokens — swapped for light ink in dark mode override below */
  --h035: rgba(15, 23, 42, 0.045);
  --h02: rgba(15, 23, 42, 0.035);
  --h16: rgba(15, 23, 42, 0.16);
  --h06: rgba(15, 23, 42, 0.08);
  --h07: rgba(15, 23, 42, 0.09);
  --h05: rgba(15, 23, 42, 0.07);
  --h015: rgba(15, 23, 42, 0.05);
  --h03: rgba(15, 23, 42, 0.045);
  --h08: rgba(15, 23, 42, 0.1);
  --h12: rgba(15, 23, 42, 0.14);

  --header-bg: rgba(255, 255, 255, 0.82);
  --mobile-nav-bg: #f6f8fc;
  --dropdown-bg: #ffffff;
  --field-bg: rgba(15, 23, 42, 0.025);
  --spot-end: #eef3fc;
}

[data-theme="dark"] {
  --bg: #05070c;
  --panel: #0a0f1a;
  --panel-alt: #0d1424;
  --panel-soft: rgba(255, 255, 255, 0.035);
  --border: rgba(63, 131, 248, 0.22);
  --border-strong: rgba(63, 131, 248, 0.45);
  --text: #f5f7fb;
  --text-2: #dfe4ee;
  --muted: #9aa5b8;
  --faint: #5b6576;

  --h035: rgba(255, 255, 255, 0.035);
  --h02: rgba(255, 255, 255, 0.02);
  --h16: rgba(255, 255, 255, 0.16);
  --h06: rgba(255, 255, 255, 0.06);
  --h07: rgba(255, 255, 255, 0.07);
  --h05: rgba(255, 255, 255, 0.05);
  --h015: rgba(255, 255, 255, 0.015);
  --h03: rgba(255, 255, 255, 0.03);
  --h08: rgba(255, 255, 255, 0.08);
  --h12: rgba(255, 255, 255, 0.12);

  --header-bg: rgba(5, 7, 12, 0.78);
  --mobile-nav-bg: #05070c;
  --dropdown-bg: #0a0f1c;
  --field-bg: rgba(255, 255, 255, 0.02);
  --spot-end: #070b13;
  --shadow-glow: 0 0 0 1px var(--border), 0 20px 60px -25px rgba(59, 130, 246, 0.45);
  --img-glow: 0 0 70px -10px rgba(59, 130, 246, 0.55), 0 0 130px -20px rgba(99, 164, 255, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.accent-text { color: var(--accent-2); }

/* ---------------- Hero platform-name rotator ---------------- */
.hero-rotator {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  min-width: 9ch;
  text-align: left;
}
.hero-rotator-word {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1), opacity 0.4s ease;
  transform: translateY(0);
  opacity: 1;
}
.hero-rotator-word.hero-rotator-out { transform: translateY(55%); opacity: 0; }
.hero-rotator-word.hero-rotator-in-start { transform: translateY(-55%); opacity: 0; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-rotator-word { transition: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.eyebrow::before,
.eyebrow.center::after {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { background: linear-gradient(270deg, transparent, var(--accent)); }
.eyebrow.pill {
  border: 1px solid var(--border-strong);
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
}
.eyebrow.pill::before { display: none; }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}

.section-head { max-width: 640px; }
.section-head.center { max-width: 680px; margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head .lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
}
.section-head.center .lede { margin-left: auto; margin-right: auto; }

section { position: relative; padding: 100px 0; }
section.tight { padding: 80px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(47, 107, 255, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(47, 107, 255, 0.8); }
.btn-outline {
  background: var(--h02);
  border-color: var(--h16);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--border-strong); background: rgba(59, 130, 246, 0.08); }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--h06);
}
/* Frosted-glass effect lives on a pseudo-element (not the header itself) so the
   header never becomes a CSS "containing block" for its fixed-position mobile
   nav — some browsers (notably Safari) otherwise trap position:fixed children
   inside an ancestor that has backdrop-filter, breaking the mobile menu. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; }
.logo .logo-img { height: 34px; width: auto; }
.logo-fallback {
  font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--text);
  display: flex; flex-direction: column; line-height: 1.05;
}
.logo-fallback span { font-size: 9px; letter-spacing: 0.3em; color: var(--accent-2); font-weight: 700; }
.logo-fallback b { position: relative; }
.logo-fallback b::after { content: "↗"; color: var(--accent-2); margin-left: 3px; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav > ul { display: flex; align-items: center; gap: 34px; }
.main-nav a.nav-link {
  font-size: 15px; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; gap: 6px;
  padding: 8px 0; position: relative;
}
.main-nav a.nav-link:hover { color: var(--text); }
.nav-item.has-dropdown { position: relative; }
.nav-item.has-dropdown > a svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.nav-item.has-dropdown:hover > a svg { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--dropdown-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.35);
}
@media (hover: hover) and (pointer: fine) {
  .nav-item.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text-2);
}
.dropdown a:hover { background: rgba(59, 130, 246, 0.12); color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.main-nav .mobile-only-cta { display: none; }
.burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px;
}
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------------- Theme toggle ---------------- */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--h02); border: 1px solid var(--h12);
  color: var(--text); flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.theme-toggle:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* ---------------- Hero ---------------- */
.hero { padding: 92px 0 0; overflow: hidden; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -160px;
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy h1 { font-size: clamp(38px, 4.6vw, 60px); }
.hero-copy .lede { margin-top: 22px; color: var(--muted); font-size: 18px; max-width: 520px; }
.hero-cta { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-visual { position: relative; }

/* image slot component: shows real <img> when a src resolves, otherwise a labeled placeholder */
.img-box { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); }
.img-box img { width: 100%; height: 100%; object-fit: cover; }
.img-box.circle { border-radius: 50%; }
.img-fallback {
  display: none;
  position: absolute; inset: 0;
  flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 8px; padding: 24px;
  background:
    repeating-linear-gradient(135deg, rgba(59,130,246,0.06) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--panel), var(--bg));
  border: 1.5px dashed rgba(99, 164, 255, 0.4);
}
.img-box.img-missing .img-fallback { display: flex; }
.img-box.img-missing img { display: none; }
.img-fallback-icon { color: var(--accent-2); opacity: 0.8; }
.img-fallback-icon svg { width: 34px; height: 34px; }
.img-fallback-title { font-weight: 700; font-size: 14px; color: var(--text-2); }
.img-fallback-size { font-size: 12px; color: var(--faint); font-family: monospace; }

.hero-visual .img-box { aspect-ratio: 16 / 12.2; }

/* borderless/frameless image slot — for PNG illustrations that should show in full,
   with a soft glow blending into the background instead of a hard card frame */
.img-box.blend {
  background: transparent;
  box-shadow: none;
  overflow: visible;
  border-radius: 0;
}
.img-box.blend::before {
  content: "";
  position: absolute;
  inset: -14%;
  background: radial-gradient(55% 55% at 50% 45%, rgba(59,130,246,0.32), rgba(59,130,246,0.10) 55%, transparent 78%);
  filter: blur(26px);
  z-index: -1;
  pointer-events: none;
}
.img-box.blend img { object-fit: contain; }
.img-box.blend .img-fallback { border-radius: var(--radius-lg); }

/* stat pill floating on hero mockup (decorative, CSS-only, matches dashboard-in-photo feel) */
.floating-chip {
  --text: #f5f7fb;
  --muted: #9aa5b8;
  color: var(--text);
  position: absolute;
  background: rgba(9, 14, 26, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,0.6);
  font-size: 13px;
  display: none;
}
@media (min-width: 900px) {
  .floating-chip { display: block; }
  .chip-revenue { top: 8%; left: -6%; }
  .chip-orders { bottom: 10%; right: -6%; }
}
.floating-chip .fc-label { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.floating-chip .fc-value { font-weight: 800; font-size: 17px; font-family: "Space Grotesk"; }
.floating-chip .fc-up { color: var(--green); font-size: 11px; font-weight: 700; margin-left: 6px; }

/* Services strip inside hero section */
.services-strip { margin-top: 110px; }

/* ---------------- Hero trust strip (early credibility for cold traffic) ---------------- */
.hero-trust-strip {
  margin-top: 56px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px 26px;
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--h07);
  background: var(--panel-soft);
}
.hero-trust-item { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero-trust-item strong { color: var(--text); font-family: "Space Grotesk"; font-size: 15px; }
.hero-trust-rating { gap: 8px; }
.hero-trust-stars { display: flex; gap: 2px; }
.hero-trust-stars svg { width: 14px; height: 14px; color: #ffb443; }
.hero-trust-divider { width: 1px; height: 18px; background: var(--h12); }
@media (max-width: 640px) { .hero-trust-divider { display: none; } .hero-trust-strip { gap: 12px 20px; padding: 18px; } }

/* ---------------- Review platform badges ---------------- */
.review-badges {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 16px;
}
.review-badge {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--h07);
  background: var(--panel-soft);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.review-badge:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.review-badge-icon { width: 30px; height: 30px; flex-shrink: 0; }
.review-badge strong { display: block; font-size: 14.5px; }
.review-badge span:not(.review-badge-stars) { font-size: 12px; color: var(--muted); }
.review-badge-stars { display: flex; align-items: center; gap: 2px; margin-top: 2px; }
.review-badge-stars svg { width: 13px; height: 13px; border-radius: 2px; }
.review-badge-stars em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 6px; }
.review-badge-featured {
  border: 1px solid #00B67A;
  background: rgba(0, 182, 122, 0.07);
  padding: 18px 26px;
}
.review-badge-featured .review-badge-icon { width: 34px; height: 34px; }
.review-badge-featured strong { font-size: 16px; }
@media (max-width: 640px) { .review-badges { flex-direction: column; align-items: stretch; } }

/* ---------------- Mid-page CTA banner (reusable) ---------------- */
.mid-page-cta {
  margin-top: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 26px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(120deg, rgba(59,130,246,0.1), rgba(59,130,246,0.02));
}
.mid-page-cta strong { display: block; font-size: 16px; margin-bottom: 4px; }
.mid-page-cta span { font-size: 13.5px; color: var(--muted); }
.mid-page-cta .btn { flex-shrink: 0; }
@media (max-width: 640px) { .mid-page-cta { padding: 22px; justify-content: center; text-align: center; } .mid-page-cta .btn { width: 100%; } }


.service-cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--panel-soft);
  border: 1px solid var(--h07);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.service-card:hover { border-color: var(--border-strong); transform: translateY(-4px); background: rgba(59,130,246,0.05); }
.service-cards.six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .service-cards.six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .service-cards.six { grid-template-columns: 1fr; } }

/* ---------------- Brand logo badges (platform icons) ---------------- */
.brand-badge {
  width: 56px; height: 56px; border-radius: 16px;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  padding: 12px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.brand-badge img, .brand-badge svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(160deg, #1c3f8f, #12295e);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px var(--h06);
}
.icon-badge svg { width: 24px; height: 24px; color: #bcd4ff; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14.5px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--accent-2);
}
.card-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.card-link:hover svg { transform: translateX(3px); }

/* ---------------- Partners section ---------------- */
.section-alt { background: var(--panel); border-top: 1px solid var(--h05); border-bottom: 1px solid var(--h05); }

.partner-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.partner-card {
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-md);
  background: radial-gradient(120% 120% at 50% 50%, rgba(59,130,246,0.16), var(--spot-end) 72%);
  border: none;
  box-shadow: 0 0 24px -12px rgba(59,130,246,0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  transition: box-shadow 0.25s ease, transform .25s ease;
}
.partner-card:hover { box-shadow: 0 0 34px -6px rgba(59,130,246,0.7); transform: translateY(-3px); }
.partner-card img { width: 100%; height: 100%; object-fit: contain; }
.partner-card .img-fallback { border-radius: var(--radius-md); border-width: 1px; padding: 10px; }
.partner-card .img-fallback-title { font-size: 11.5px; }
.partner-card .img-fallback-size { font-size: 10px; }

.benefit-bar {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--h02);
}
.benefit-item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 24px;
  border-right: 1px solid var(--h06);
}
.benefit-item:last-child { border-right: none; }
.benefit-item .icon-badge { margin-bottom: 0; flex-shrink: 0; width: 46px; height: 46px; }
.benefit-item h4 { font-size: 15px; margin-bottom: 4px; }
.benefit-item p { font-size: 13px; color: var(--muted); }

/* ---------------- Tired of 9-5 (comparison) ---------------- */
.compare-wrap {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background: var(--panel);
}
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.compare-col { position: relative; min-height: 420px; }
.compare-col .img-box { border-radius: 0; height: 100%; position: absolute; inset: 0; }
.compare-col .img-box::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.32);
  pointer-events: none;
}
.compare-tag {
  position: absolute; top: 22px; left: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6, 9, 16, 0.85); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 13px; font-weight: 700;
  backdrop-filter: blur(4px);
}
.compare-tag.old { color: #ff9c9c; }
.compare-tag.new { color: var(--accent-2); }
.compare-tag svg { width: 16px; height: 16px; }
.compare-divider {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 44px;
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; z-index: 4;
  pointer-events: none;
}
.compare-divider .arrow-dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--bg), 0 10px 26px -6px rgba(59,130,246,0.8);
}
.compare-divider .arrow-dot svg { width: 18px; height: 18px; color: #fff; }
.compare-list {
  --text: #f5f7fb;
  color: var(--text);
  position: relative; z-index: 3;
  padding: 20px 22px 24px;
  background: linear-gradient(0deg, rgba(3,4,8,0.92), rgba(3,4,8,0.55) 70%, transparent);
  margin-top: auto;
}
.compare-col { display: flex; flex-direction: column; justify-content: flex-end; }
.compare-list ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.compare-list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.compare-list li svg { width: 16px; height: 16px; flex-shrink: 0; }
.compare-col.old li svg { color: #ff6b6b; }
.compare-col.new li svg { color: var(--green); }

/* ---------------- How it works ---------------- */
.process-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.process-card {
  background: var(--panel-soft);
  border: 1px solid var(--h07);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.process-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.process-card .step-no {
  position: absolute; top: 24px; right: 26px;
  font-family: "Space Grotesk"; font-weight: 700; font-size: 15px; color: var(--faint);
}
.process-card .icon-badge { margin-bottom: 26px; }
.process-card h3 { font-size: 19px; margin-bottom: 10px; }
.process-card p { color: var(--muted); font-size: 14.5px; }
.process-card .step-rule { width: 34px; height: 3px; background: var(--grad); border-radius: 3px; margin: 14px 0; }

.stat-bar {
  margin-top: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--h015);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 10px;
}
.stat-item { text-align: center; border-right: 1px solid var(--h06); padding: 0 12px; }
.stat-item:last-child { border-right: none; }
.stat-item .icon-badge { margin: 0 auto 18px; }
.stat-value { font-family: "Space Grotesk"; font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); }
.stat-label { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.stat-rule { width: 30px; height: 2px; background: var(--grad); margin: 12px auto 0; }

/* ---------------- Complete done-for-you ---------------- */
.dfy-grid { margin-top: 48px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: stretch; }
.dfy-dashboard {
  /* this mockup always renders as a dark "screenshot" card, in both themes */
  --text: #f5f7fb;
  --muted: #9aa5b8;
  --faint: #5b6576;
  --h02: rgba(255, 255, 255, 0.02);
  --h03: rgba(255, 255, 255, 0.03);
  --h05: rgba(255, 255, 255, 0.05);
  --h06: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #0b1223, #060910);
  padding: 24px;
  box-shadow: var(--shadow-glow);
}
.dfy-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.dfy-metric {
  background: var(--h03); border: 1px solid var(--h06);
  border-radius: var(--radius-sm); padding: 14px;
}
.dfy-metric .m-label { font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.dfy-metric .m-value { font-family: "Space Grotesk"; font-weight: 800; font-size: 18px; }
.dfy-metric .m-up { color: var(--green); font-size: 11px; font-weight: 700; margin-left: 4px; }
.dfy-chart-card {
  background: var(--h02); border: 1px solid var(--h06);
  border-radius: var(--radius-sm); padding: 16px; margin-bottom: 14px;
}
.dfy-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 12.5px; color: var(--muted); }
.dfy-chart-card svg { width: 100%; height: 120px; display: block; }
.dfy-sub-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.dfy-list-card, .dfy-donut-card {
  background: var(--h02); border: 1px solid var(--h06);
  border-radius: var(--radius-sm); padding: 14px; font-size: 12.5px;
}
.dfy-list-card .dlc-title, .dfy-donut-card .dlc-title { color: var(--muted); margin-bottom: 10px; }
.dfy-list-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--h05); }
.dfy-list-row:first-of-type { border-top: none; }
.dfy-list-row .name { font-weight: 600; }
.dfy-list-row .sub { color: var(--faint); font-size: 11px; }
.dfy-list-row .amt { color: var(--green); font-weight: 700; }
.dfy-donut-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dfy-donut-card svg { width: 90px; height: 90px; margin: 6px 0 10px; }
.dfy-donut-total { font-weight: 800; font-size: 15px; margin-top: -70px; margin-bottom: 46px; color: var(--text); }

/* ---------------- Chart animation (draws in on scroll) ---------------- */
.dfy-chart-card .rev-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.5s cubic-bezier(.16,.84,.44,1);
}
.reveal.in-view .dfy-chart-card .rev-line { stroke-dashoffset: 0; }
.dfy-chart-card .rev-area {
  opacity: 0;
  transition: opacity 1s ease 0.85s;
}
.reveal.in-view .dfy-chart-card .rev-area { opacity: 1; }
.dfy-donut-card svg {
  opacity: 0;
  transform: scale(0.55);
  transform-origin: center;
  transition: opacity 0.8s ease 0.25s, transform 0.9s cubic-bezier(.16,.84,.44,1) 0.25s;
}
.reveal.in-view .dfy-donut-card svg { opacity: 1; transform: scale(1); }
.dfy-dashboard {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.16,.84,.44,1);
}
.reveal.in-view .dfy-dashboard { opacity: 1; transform: translateY(0) scale(1); }

.dfy-checklist { display: flex; flex-direction: column; gap: 14px; }
.check-row {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--panel-soft); border: 1px solid var(--h07);
  border-radius: var(--radius-md); padding: 18px 20px;
  transition: border-color .2s ease;
}
.check-row:hover { border-color: var(--border-strong); }
.check-tick {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
}
.check-tick svg { width: 15px; height: 15px; color: #fff; }
.check-row h4 { font-size: 16px; margin-bottom: 4px; }
.check-row p { font-size: 13.5px; color: var(--muted); }

/* ---------------- Free consultation ---------------- */
.consult-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.consult-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 34px 0; }
.feature-mini { display: flex; flex-direction: column; gap: 12px; }
.feature-mini .icon-badge { width: 44px; height: 44px; margin-bottom: 0; border-radius: 12px; }
.feature-mini h4 { font-size: 15px; }
.feature-mini p { font-size: 13px; color: var(--muted); }
.consult-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack img, .avatar-stack .avatar-count {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--bg);
  margin-left: -10px; object-fit: cover; background: var(--panel-alt);
}
.avatar-stack img:first-child, .avatar-stack .avatar-count:first-child { margin-left: 0; }
.avatar-count {
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; background: var(--grad); color: #fff;
}
.avatar-caption strong { display: block; font-size: 14px; }
.avatar-caption span { font-size: 12.5px; color: var(--muted); }
.avatar-caption { display: flex; flex-direction: column; gap: 2px; margin-left: 10px; }
.avatar-line { display: flex; align-items: center; }

.trust-bar {
  margin-top: 36px;
  display: flex; align-items: center; gap: 18px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px 22px; background: rgba(59,130,246,0.05);
}
.trust-bar .icon-badge { flex-shrink: 0; margin-bottom: 0; }
.trust-bar strong { font-size: 15px; display: block; margin-bottom: 3px; }
.trust-bar span { font-size: 13.5px; color: var(--muted); }
.trust-bar .divider { width: 1px; align-self: stretch; background: var(--h08); }

.consult-visual .img-box { aspect-ratio: 1 / 1; }
.consult-visual .img-box img { transform: scale(1.28); }

/* ---------------- Testimonials ---------------- */
.testi-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.testi-card {
  background: var(--panel-soft); border: 1px solid var(--h07);
  border-radius: var(--radius-md); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, border-color .25s ease;
}
.testi-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.testi-top { display: flex; align-items: center; gap: 12px; }
.testi-top img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--border);
}
.testi-name { font-weight: 700; font-size: 15px; }
.testi-loc { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.testi-loc svg { width: 11px; height: 11px; }
.testi-quote-icon { margin-left: auto; color: var(--accent); opacity: 0.5; }
.testi-quote-icon svg { width: 20px; height: 20px; }
.testi-stars { display: flex; gap: 3px; }
.testi-stars svg { width: 14px; height: 14px; color: #ffb443; }
.testi-text { font-size: 14px; color: var(--text-2); }
.testi-date { font-size: 12px; color: var(--faint); display: flex; align-items: center; gap: 6px; margin-top: auto; }
.testi-date svg { width: 12px; height: 12px; }
.testi-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------------- Contact / Have questions ---------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 46px; align-items: center; }
.contact-visual .img-box { aspect-ratio: 1 / 1.15; }
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field {
  display: flex; align-items: center; gap: 10px;
  background: var(--field-bg);
  border: 1px solid var(--h12);
  border-radius: 12px; padding: 15px 16px;
  transition: border-color 0.2s ease;
}
.field:focus-within { border-color: var(--border-strong); }
.field svg { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }
.field input, .field textarea {
  background: none; border: none; outline: none; color: var(--text); font-size: 14.5px;
  width: 100%; font-family: inherit;
}
.field textarea { resize: vertical; min-height: 110px; padding-top: 2px; }
.field ::placeholder { color: var(--faint); }
.consent { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.consent a { color: var(--accent-2); text-decoration: underline; }
.consent input { accent-color: var(--accent); width: 16px; height: 16px; }
.form-msg { font-size: 13.5px; font-weight: 600; min-height: 18px; }
.form-msg.success { color: var(--green); }

.contact-bottom-bar {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 10px;
}
.contact-bottom-bar .benefit-item { border-right: 1px solid var(--h06); padding: 0 18px; }
.contact-bottom-bar .benefit-item:last-child { border-right: none; }

/* ---------------- Calendly embed wrapper ---------------- */
.calendly-wrap {
  max-width: 660px;
  margin: 30px auto 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-glow);
  padding: 14px;
  overflow: hidden;
}
.calendly-head {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 18px;
}
.calendly-head .icon-badge { margin-bottom: 0; flex-shrink: 0; width: 40px; height: 40px; }
.calendly-head strong { display: block; font-size: 14.5px; }
.calendly-head span { font-size: 12.5px; color: var(--muted); }
.calendly-wrap .calendly-inline-widget {
  border-radius: 14px;
  overflow: hidden;
  transition: height 0.25s ease;
  background: #fff;
}
.calendly-wrap.full { max-width: 100%; }

/* ---------------- Calendly POPUP widget polish ---------------- */
.calendly-overlay { background: rgba(5, 7, 12, 0.6) !important; }
.calendly-popup { border-radius: 20px !important; overflow: hidden; box-shadow: 0 30px 90px -20px rgba(0,0,0,0.55); }
.calendly-popup-close { top: 16px !important; }

/* ---------------- Mobile sticky booking bar ---------------- */
.sticky-mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99998;
  padding: 12px 76px 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--panel);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 34px -12px rgba(0,0,0,0.28);
  transform: translateY(115%);
  transition: transform 0.35s cubic-bezier(.16,.84,.44,1);
}
.sticky-mobile-cta.visible { transform: translateY(0); }
.sticky-mobile-cta-inner { display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 0 auto; }
.sticky-mobile-cta .btn { flex: 1; padding: 13px 20px; font-size: 14px; }
.sticky-mobile-cta-close {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--h06); border: none; color: var(--muted); cursor: pointer;
}
@media (max-width: 760px) { .sticky-mobile-cta { display: block; } }

/* ---------------- Simple page hero (About / Privacy / Contact / Services) ---------------- */
.page-hero { padding: 90px 0 20px; position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute; top: -220px; right: -160px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-copy { max-width: 760px; }
.page-hero-copy.center { max-width: 780px; margin: 0 auto; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); }
.page-hero .lede { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 620px; }
.page-hero-copy.center .lede { margin-left: auto; margin-right: auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--accent-2); font-weight: 600; }
.breadcrumb svg { width: 13px; height: 13px; }

/* ---------------- Service page: hero image duo ---------------- */
.svc-hero-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: 44px; align-items: center; }
.svc-shot-row { display: flex; align-items: center; gap: 22px; justify-content: center; position: relative; }
.svc-shot-row::before {
  content: "";
  position: absolute; inset: -10%;
  background: radial-gradient(55% 55% at 50% 50%, rgba(59,130,246,0.22), transparent 72%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}
.svc-shot {
  flex: 1 1 0; max-width: 220px; min-width: 0;
  border-radius: 26px; border: 1px solid var(--border);
  box-shadow: var(--shadow-glow); background: var(--panel);
  aspect-ratio: 3 / 4;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.svc-shot:nth-child(2) { margin-top: 32px; }
.svc-shot img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------------- Service page: process rail ---------------- */
.svc-process { display: flex; flex-direction: column; gap: 4px; margin-top: 48px; max-width: 780px; margin-left: auto; margin-right: auto; position: relative; }
.svc-process-row {
  display: grid; grid-template-columns: 46px 1fr; gap: 20px;
  padding: 20px 4px 34px;
  position: relative;
}
.svc-process-row:last-child { padding-bottom: 4px; }
.svc-process-row::before {
  content: "";
  position: absolute; left: 23px; top: 46px; bottom: -4px; width: 2px;
  background: linear-gradient(180deg, var(--border-strong), var(--border) 80%, transparent);
}
.svc-process-row:last-child::before { display: none; }
.svc-process-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; font-family: "Space Grotesk"; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--bg), 0 10px 26px -8px rgba(59,130,246,0.7);
  position: relative; z-index: 1; flex-shrink: 0;
}
.svc-process-row > div:last-child {
  background: var(--panel-soft); border: 1px solid var(--h07);
  border-radius: var(--radius-md); padding: 18px 22px;
  transition: border-color .2s ease;
}
.svc-process-row:hover > div:last-child { border-color: var(--border-strong); }
.svc-process-row h4 { font-size: 17px; margin-bottom: 6px; }
.svc-process-row p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------------- Simple content blocks (About / Privacy) ---------------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 46px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 12px; }
.prose p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.prose ul { margin: 0 0 16px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15.5px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.prose a { color: var(--accent-2); text-decoration: underline; }
.prose strong { color: var(--text); }
.updated-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 700; color: var(--accent-2);
  background: rgba(59,130,246,0.08); margin-bottom: 30px;
}

/* ---------------- About: team / values ---------------- */
.value-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  background: var(--panel-soft); border: 1px solid var(--h07);
  border-radius: var(--radius-lg); padding: 30px 26px;
  transition: border-color .25s ease, transform .25s ease;
}
.value-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 14.5px; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.story-stats { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story-stat { text-align: center; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 8px; }
.story-stat .num { font-family: "Space Grotesk"; font-weight: 800; font-size: 26px; }
.story-stat .lbl { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------------- Contact page details ---------------- */
.contact-details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.contact-detail-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--panel-soft); border: 1px solid var(--h07);
  border-radius: var(--radius-md); padding: 24px;
}
.contact-detail-card h4 { font-size: 15px; margin-bottom: 6px; }
.contact-detail-card p, .contact-detail-card a { color: var(--muted); font-size: 14px; }
.contact-detail-card a:hover { color: var(--accent-2); }

@media (max-width: 900px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-shot-row { order: -1; }
  .story-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .contact-details-grid { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: 1fr; }
}

/* ---------------- Footer ---------------- */
.pre-footer {
  background: var(--panel);
  border-top: 1px solid var(--h06);
  padding: 64px 0 40px;
}
.pre-footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--h07);
}
.pre-footer-copy h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.pre-footer-copy p { color: var(--muted); max-width: 460px; font-size: 15px; }
.pre-footer-visual svg { width: 190px; height: auto; color: var(--accent-2); opacity: 0.9; }
.pre-footer-visual img { width: 190px; height: auto; object-fit: contain; }

.footer-cols {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 0.9fr;
  gap: 30px;
}
.footer-col h5 { font-size: 15px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer-col h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--grad); }
.footer-col li, .footer-col a { font-size: 14px; color: var(--muted); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a:hover { color: var(--accent-2); }
.info-row { display: flex; gap: 10px; margin-bottom: 16px; }
.info-row svg { width: 17px; height: 17px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.info-row div strong { display: block; color: var(--text); font-size: 13px; margin-bottom: 2px; }
.svc-dot { color: var(--accent-2); margin-right: 8px; }
.menu-link { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; }
.menu-link svg { width: 13px; height: 13px; }
.social-row { display: flex; align-items: center; gap: 10px; }
.social-circle {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--h06);
  box-shadow: 0 0 12px 1px color-mix(in srgb, currentColor 55%, transparent), 0 0 22px 4px color-mix(in srgb, currentColor 25%, transparent);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.social-circle:hover { box-shadow: 0 0 16px 2px color-mix(in srgb, currentColor 75%, transparent), 0 0 30px 6px color-mix(in srgb, currentColor 40%, transparent); transform: translateY(-2px); }
.social-circle svg { width: 15px; height: 15px; }

.footer-bottom {
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--h06);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-bottom-left { display: flex; align-items: center; gap: 12px; }
.footer-bottom-left .icon-badge { margin-bottom: 0; width: 40px; height: 40px; }
.footer-bottom-left strong { display: block; font-size: 14px; }
.footer-bottom-left span { font-size: 12.5px; color: var(--muted); }
.footer-bottom-mid { font-size: 13px; color: var(--faint); }
.footer-bottom-right a { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.footer-bottom-right svg { width: 12px; height: 12px; }

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-bar, .stat-bar, .contact-bottom-bar { grid-template-columns: repeat(2, 1fr); }
  .benefit-item, .contact-bottom-bar .benefit-item { border-right: none; border-bottom: 1px solid var(--h06); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--h06); padding-bottom: 26px; margin-bottom: 10px; }
  .process-grid { grid-template-columns: 1fr; }
  .dfy-grid, .consult-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-visual, .consult-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .pre-footer-inner { flex-direction: column; text-align: center; }
  .pre-footer-copy p { margin: 0 auto; }
}

@media (max-width: 760px) {
  .header-actions .btn-primary { display: none; }
  .main-nav { position: fixed; inset: 72px 0 0 0; background: var(--mobile-nav-bg); flex-direction: column; align-items: stretch; padding: 20px 24px; gap: 0; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .nav-item.has-dropdown .dropdown { position: static !important; opacity: 1; visibility: visible; transform: none !important; width: 100%; min-width: 0; display: none; box-shadow: none; border: none; background: var(--h02); margin-top: 6px; }
  .nav-item.has-dropdown.open .dropdown { display: block; }
  .main-nav a.nav-link { padding: 14px 4px; border-bottom: 1px solid var(--h06); }
  .main-nav .btn { margin-top: 20px; }
  .main-nav .mobile-only-cta { display: block; }
  .burger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  section { padding: 64px 0; }
  .service-cards { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-col { min-height: 320px; }
  .compare-divider { display: none; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .dfy-metrics { grid-template-columns: 1fr; }
  .dfy-sub-grid { grid-template-columns: 1fr; }
  .consult-features { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 34px; }
  .contact-bottom-bar { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Service page hero image pair — fixed px widths overflowed narrow phones */
  .svc-shot { max-width: 44%; }
  .svc-shot-row { gap: 14px; }
  .svc-shot:nth-child(2) { margin-top: 20px; }

  /* Trust/avatar row can wrap instead of overflowing on narrow screens */
  .avatar-line { flex-wrap: wrap; row-gap: 10px; }

  /* CTA banner card had generous desktop padding — tighten for mobile */
  .compare-wrap[style*="padding:56px"] { padding: 36px 22px !important; }

  /* Process timeline connector should sit closer to the number on mobile */
  .svc-process-row { grid-template-columns: 40px 1fr; gap: 14px; }
  .svc-process-num { width: 40px; height: 40px; font-size: 14px; }
  .svc-process-row::before { left: 19px; }

  /* Story/value/contact detail grids collapse fully */
  .value-grid, .story-grid, .contact-details-grid { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: 1fr 1fr; }

  /* Prevent long headings/lede text from forcing horizontal scroll */
  .page-hero h1, .hero-copy h1 { word-break: break-word; }
}
