/* ENVOI marketing site — reset, layout, header, footer and section components */

/* ---------------- Reset ---------------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 14px;
  overflow-x: hidden;
  overflow-x: clip; /* clip keeps position: sticky working */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: #071428;
  background: #f4f8fd;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip; /* clip keeps position: sticky working */
}
body.nav-locked {
  overflow: hidden;
  touch-action: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
@media (max-width: 640px) {
  html { font-size: 13.5px; }
}

:root {
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ink: #0a1730;
  --ink-2: #26364f;
  --muted: #5b6b85;
  --line: #e1e8f2;
  --line-2: #cfdbea;
  --paper: #ffffff;
  --soft: #f4f7fc;
  --soft-2: #eaf1fb;
  --blue: #0a6cf0;
  --blue-deep: #0552c4;
  --blue-soft: #e6f0ff;
  --navy: #04122b;
  --navy-2: #072356;
  --sky: #7ed7ff;
  --accent: #ff6a1a;
  --ok: #10a36b;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 23, 48, 0.06), 0 2px 8px rgba(10, 23, 48, 0.04);
  --shadow: 0 10px 30px rgba(10, 23, 48, 0.08);
  --shadow-lg: 0 24px 60px rgba(4, 18, 43, 0.18);
  --nav-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.site {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

.wrap {
  width: 90%;
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
.skip:focus { left: 0.75rem; }

:focus-visible {
  outline: 3px solid rgba(10, 108, 240, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 108, 240, 0.28);
}
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 14px 30px rgba(10, 108, 240, 0.34); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 106, 26, 0.3);
}
.btn-accent:hover { background: #ec5a0b; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-light:hover { background: rgba(255, 255, 255, 0.18); }

.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-weight: 700;
}
.text-link:hover { gap: 0.55rem; }
.text-link svg { width: 1em; height: 1em; }
.text-link { transition: gap 0.2s var(--ease); }

/* ---------------- Header ---------------- */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.top.scrolled,
.site.menu-open .top,
.top.solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 23, 48, 0.06);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 90%;
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color 0.3s;
}
.logo img { width: 36px; height: auto; }

.links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.links > a,
.drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 10px;
  background: none;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.links > a:hover,
.drop-btn:hover,
.drop.on .drop-btn { color: #fff; background: rgba(255, 255, 255, 0.1); }

.links > a.active,
.drop-btn.active { color: #fff; }

/* Solid (white) header: dark text */
.top.scrolled .logo,
.site.menu-open .logo,
.top.solid .logo { color: var(--navy); }
.top.scrolled .links > a,
.top.scrolled .drop-btn,
.top.solid .links > a,
.top.solid .drop-btn,
.site.menu-open .links > a,
.site.menu-open .drop-btn { color: var(--ink-2); }
.top.scrolled .links > a:hover,
.top.scrolled .drop-btn:hover,
.top.scrolled .drop.on .drop-btn,
.top.solid .links > a:hover,
.top.solid .drop-btn:hover,
.top.solid .drop.on .drop-btn { color: var(--blue); background: var(--blue-soft); }
.top.scrolled .links > a.active,
.top.scrolled .drop-btn.active,
.top.solid .links > a.active,
.top.solid .drop-btn.active { color: var(--blue); }
.top.scrolled .links > a.active::after,
.top.scrolled .drop-btn.active::after,
.top.solid .links > a.active::after,
.top.solid .drop-btn.active::after { background: var(--blue); }
.links > a.active::after,
.drop-btn.active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--sky);
}
.links > a,
.drop-btn { position: relative; }

.drop-btn svg { width: 0.75rem; height: 0.75rem; transition: transform 0.25s var(--ease); }
.drop.on .drop-btn svg { transform: rotate(180deg); }

.drop { position: relative; }
.drop::after {
  /* hover bridge between button and panel */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.9rem;
}

.mega {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  min-width: 22rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(4, 18, 43, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.mega.wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 36rem;
}
.mega::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px 0 0 0;
}
.drop.on .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega a {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  transition: background 0.2s;
}
.mega a:hover { background: var(--soft); }
.mega a:hover .mi { background: var(--blue); color: #fff; transform: scale(1.06); }
.mega .mi {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  transition: background 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.mega .mi svg { width: 1.15rem; height: 1.15rem; }
.mega strong { display: block; color: var(--ink); font-size: 0.92rem; font-weight: 700; }
.mega small { display: block; margin-top: 0.1rem; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }

/* On the white (solid / scrolled) header the panel turns navy for contrast */
@media (min-width: 981px) {
  .top.solid .mega,
  .top.scrolled .mega {
    border-color: rgba(255, 255, 255, 0.08);
    background:
      radial-gradient(60% 80% at 100% 0%, rgba(10, 108, 240, 0.35), transparent 60%),
      linear-gradient(160deg, #0a1d45 0%, var(--navy) 100%);
  }
  .top.solid .mega::before,
  .top.scrolled .mega::before { background: #0a1d45; border-color: rgba(255, 255, 255, 0.08); }
  .top.solid .mega a:hover,
  .top.scrolled .mega a:hover { background: rgba(255, 255, 255, 0.07); }
  .top.solid .mega .mi,
  .top.scrolled .mega .mi { background: rgba(126, 215, 255, 0.12); color: var(--sky); }
  .top.solid .mega a:hover .mi,
  .top.scrolled .mega a:hover .mi { background: var(--blue); color: #fff; }
  .top.solid .mega strong,
  .top.scrolled .mega strong { color: #fff; }
  .top.solid .mega small,
  .top.scrolled .mega small { color: #9fb5d6; }
}

/* Header click-to-call */
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88%, 92%, 96% { transform: rotate(-14deg); } 90%, 94%, 98% { transform: rotate(14deg); } }

.menu-btn {
  display: none;
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.top.scrolled .menu-btn,
.top.solid .menu-btn,
.site.menu-open .menu-btn { background: var(--soft); color: var(--navy); }
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
  content: '';
  position: relative;
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.site.menu-open .menu-btn span { background: transparent; }
.site.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); background: currentColor; }
.site.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); background: currentColor; }

/* ---------------- Page sections ---------------- */
.site-main { display: block; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.soft { background: var(--soft); }
.section.tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section.dark {
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(10, 108, 240, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.dark .eyebrow,
.page-hero .eyebrow { color: var(--sky); }

.sec-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head h2,
.h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.sec-head p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}
.dark .sec-head p { color: #b9cbe6; }

.prose { max-width: 46rem; color: var(--ink-2); font-size: 1.02rem; line-height: 1.75; }
.prose p { margin: 0 0 1.05rem; }
.prose h2 { margin: 2rem 0 0.8rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -0.02em; color: var(--ink); line-height: 1.25; }
.prose h3 { margin: 1.5rem 0 0.5rem; font-size: 1.15rem; color: var(--ink); }
.prose ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.prose a { color: var(--blue); font-weight: 600; }
.prose strong { color: var(--ink); }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(50% 70% at 90% 10%, rgba(10, 108, 240, 0.45), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(126, 215, 255, 0.14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 2.5rem;
  align-items: center;
}
.page-hero h1 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.page-hero .lede {
  margin: 1.1rem 0 1.75rem;
  max-width: 40rem;
  color: #c3d4ec;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-points {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 1.35rem;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.hero-points li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: #dbe7f7;
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-points svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: #5ee0a8; margin-top: 0.1rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: #9fb5d6;
}
.crumbs li + li::before { content: '/'; margin-right: 0.4rem; opacity: 0.6; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---------------- Cards ---------------- */
.grid-2,
.grid-3 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
a.card:hover,
.card.hover:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 108, 240, 0.35);
  box-shadow: var(--shadow);
}
.card h3 { margin: 1rem 0 0.45rem; font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }
.card .text-link { margin-top: 1rem; font-size: 0.92rem; }

.ic {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
}
.ic svg { width: 1.45rem; height: 1.45rem; }
.dark .card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
.dark .card p { color: #b9cbe6; }
.dark .ic { background: rgba(126, 215, 255, 0.12); color: var(--sky); }

/* Numbered steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-row li {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.steps-row li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.9rem;
  color: var(--blue);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.steps-row h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.steps-row p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.dark .steps-row li { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.dark .steps-row li::before { color: var(--sky); }
.dark .steps-row p { color: #b9cbe6; }

/* Check list */
.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--ink-2);
  font-weight: 600;
  line-height: 1.5;
}
.checks svg { flex-shrink: 0; width: 1.3rem; height: 1.3rem; margin-top: 0.05rem; color: var(--ok); }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* Use-case tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.tags li {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 0.75rem; max-width: 52rem; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: rgba(10, 108, 240, 0.35); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .ans { padding: 0 1.25rem 1.2rem; color: var(--muted); line-height: 1.7; }
.faq .ans p { margin: 0; }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(126, 215, 255, 0.3), transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 55%, var(--navy-2) 100%);
  box-shadow: 0 24px 50px rgba(10, 108, 240, 0.25);
}
.cta-band h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.2; }
.cta-band p { margin: 0.5rem 0 0; color: #d7e6ff; max-width: 36rem; }
.cta-band .btn-ghost { border-color: transparent; }

/* Related links */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
  transition: border-color 0.2s, transform 0.3s var(--ease), color 0.2s;
}
.related a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.related small { display: block; color: var(--muted); font-weight: 500; margin-top: 0.15rem; }
.related svg { flex-shrink: 0; width: 1.1rem; height: 1.1rem; color: var(--blue); }

/* ---------------- Forms ---------------- */
.form-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink); /* stay dark even inside dark sections */
  box-shadow: var(--shadow);
}
.form-card h2,
.form-card h3 { margin: 0 0 0.35rem; font-size: 1.35rem; letter-spacing: -0.01em; }
.form-card > p { margin: 0 0 1.25rem; color: var(--muted); font-size: 0.95rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.fields .wide { grid-column: 1 / -1; }
.fields label { display: grid; gap: 0.35rem; }
.fields label > span { font-size: 0.84rem; font-weight: 700; color: var(--ink-2); }
.fields input,
.fields select,
.fields textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.fields textarea { resize: vertical; min-height: 6rem; }
.fields input:focus,
.fields select:focus,
.fields textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 108, 240, 0.12);
}
.form-card .btn { margin-top: 1.1rem; }
.form-status { margin: 0.85rem 0 0; font-size: 0.92rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: #d92d20; }

/* ---------------- Tools ---------------- */
.vol-out { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.1rem; }
.vol-out div { padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.vol-out .hl { border-color: rgba(10, 108, 240, 0.35); background: var(--blue-soft); }
.vol-out small { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.vol-out strong { font-size: 1.5rem; letter-spacing: -0.02em; }
.vol-out .hl strong { color: var(--blue); }
.formula { padding: 1rem 1.25rem; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: var(--blue-soft); color: var(--ink); font-weight: 700; }

/* ---------------- Guides ---------------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article { max-width: 48rem; }
.article h2 { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.prose table { width: 100%; margin: 1rem 0 1.5rem; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--soft); color: var(--ink); font-weight: 700; }
.prose tbody td:first-child { color: var(--ink); font-weight: 650; }
.article-side { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.side-cta h3 { margin: 0 0 0.3rem; }
.side-links { display: grid; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.side-links a { position: relative; display: block; padding: 0.75rem 2rem 0.75rem 0.85rem; border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.2s, background 0.2s; }
.side-links a:hover { border-color: var(--blue); background: var(--blue-soft); }
.side-links strong { display: block; font-size: 0.9rem; }
.side-links small { display: block; color: var(--muted); font-size: 0.8rem; }
.side-links svg { position: absolute; right: 0.75rem; top: 50%; width: 1rem; height: 1rem; color: var(--blue); transform: translateY(-50%); }
.guide-card h2 { margin: 0.2rem 0 0.5rem; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.3; }
.guide-card .eyebrow { margin: 0; }
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .prose table { display: block; overflow-x: auto; }
}

/* ---------------- About page ---------------- */
.ab-sec { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.ab-sec .sec-head { margin-bottom: 1.75rem; }

/* Hero */
.ab-hero { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.ab-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 2.5rem; align-items: center; }
.ab-hero .btn svg { width: 1rem; height: 1rem; }
.ab-badge {
  justify-self: end;
  width: min(100%, 18rem);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}
.ab-badge-mark { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(255, 106, 26, 0.4); }
.ab-badge-mark svg { width: 1.5rem; height: 1.5rem; }
.ab-badge p { margin: 1.1rem 0 1.2rem; color: #c3d4ec; font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.01em; }
.ab-badge p b { color: #fff; font-weight: 800; }
.ab-badge ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 1rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); list-style: none; }
.ab-badge li { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #dbe7f7; font-size: 0.82rem; font-weight: 600; }
.ab-badge li svg { width: 0.95rem; height: 0.95rem; color: var(--sky); }

/* Who we are */
.ab-who { align-items: center; }
.ab-who p:not(.eyebrow) { margin: 1rem 0 0; color: var(--ink-2); line-height: 1.75; }
.ab-focus { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--line); }
.ab-focus-title { margin: 0 0 1rem; font-weight: 800; color: var(--ink); }
.ab-focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ab-focus-grid div { display: grid; gap: 0.6rem; padding: 1rem; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.ab-focus-grid span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 11px; background: var(--blue-soft); color: var(--blue); }
.ab-focus-grid div:nth-child(2) span { background: #fff1e8; color: var(--accent); }
.ab-focus-grid div:nth-child(3) span { background: #e7f8ef; color: var(--ok); }
.ab-focus-grid div:nth-child(4) span { background: #efeafd; color: #6d4ae0; }
.ab-focus-grid svg { width: 1.2rem; height: 1.2rem; }
.ab-focus-grid b { font-size: 0.95rem; line-height: 1.3; }

/* What we do — divided list, not cards */
.ab-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; max-width: 64rem; margin: 0 auto; padding: 0; list-style: none; }
.ab-list > li > a, .ab-list > li > div { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0.25rem; border-bottom: 1px solid var(--line-2); }
.ab-list > li > a { transition: padding 0.3s var(--ease); }
.ab-list > li > a:hover { padding-left: 0.6rem; }
.ab-ic { flex-shrink: 0; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 14px; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.ab-ic svg { width: 1.35rem; height: 1.35rem; }
.ab-txt { flex: 1; min-width: 0; }
.ab-txt b { display: block; font-size: 1rem; color: var(--ink); }
.ab-txt small { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.ab-go { color: var(--blue); opacity: 0.5; transition: opacity 0.2s, transform 0.3s var(--ease); }
.ab-go svg { width: 1.1rem; height: 1.1rem; }
.ab-list a:hover .ab-go { opacity: 1; transform: translateX(3px); }

/* Why ENVOI exists — blue quote band */
.ab-quote {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  text-align: center;
  color: #fff;
  background: radial-gradient(50% 120% at 100% 0%, rgba(126, 215, 255, 0.3), transparent 60%), linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 55%, var(--navy-2) 100%);
}
.ab-quote .eyebrow { color: #cfe3ff; }
.ab-quote .eyebrow::before { display: none; }
.ab-quote blockquote { max-width: 46rem; margin: 0.4rem auto 0.9rem; font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.ab-quote p:not(.eyebrow) { max-width: 40rem; margin: 0 auto; color: #d7e6ff; line-height: 1.7; }

/* Our approach — numbered steps on a line */

/* Vision & mission */
.ab-vm { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ab-vision { margin: 0.3rem 0 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); }
.ab-vision span { color: var(--blue); }
.ab-mission { padding: 1.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ab-mission .checks li { font-size: 0.95rem; }
.ab-close { margin-top: clamp(2rem, 4vw, 3rem) !important; padding-top: 1.5rem; border-top: 1px solid var(--line-2); text-align: center; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.ab-close b { color: var(--ink); }

@media (max-width: 980px) {
  .ab-hero-grid, .ab-vm { grid-template-columns: 1fr; }
  .ab-badge { justify-self: start; }
  .ab-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .ab-focus-grid { grid-template-columns: 1fr 1fr; } .ab-focus-grid div { padding: 0.8rem; } }

/* ---------------- About page: motion ---------------- */
@keyframes abUp { from { opacity: 0; transform: translateY(22px); } }
@keyframes abPop { from { opacity: 0; translate: 0 24px; scale: 0.96; } }
@keyframes abFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes abShine { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes abDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Hero: staggered entrance + floating badge */
.ab-anim .ab-hero-grid > div:first-child > * { animation: abUp 0.8s var(--ease) both; }
.ab-anim .ab-hero-grid > div:first-child > :nth-child(2) { animation-delay: 0.08s; }
.ab-anim .ab-hero-grid > div:first-child > :nth-child(3) { animation-delay: 0.16s; }
.ab-anim .ab-hero-grid > div:first-child > :nth-child(4) { animation-delay: 0.24s; }
.ab-badge { animation: abPop 0.9s var(--ease) 0.3s both, abFloat 6s ease-in-out 1.2s infinite; }
.ab-badge-mark { transition: transform 0.4s var(--ease); }
.ab-badge:hover .ab-badge-mark { transform: rotate(-8deg) scale(1.08); }

/* Who we are: focus tiles pop in one by one, lift on hover */
.js .ab-focus .ab-focus-grid div { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), box-shadow 0.3s; transition-delay: var(--d, 0s); }
.js .ab-focus.in .ab-focus-grid div { opacity: 1; transform: none; }
.ab-focus-grid div:hover { box-shadow: var(--shadow); transition-delay: 0s; }
.ab-focus-grid span { transition: transform 0.35s var(--ease); }
.ab-focus-grid div:hover span { transform: scale(1.1) rotate(-6deg); }

/* What we do: icon tile turns blue on hover */
.ab-ic { transition: background 0.25s, color 0.25s, transform 0.35s var(--ease); }
.ab-list a:hover .ab-ic { background: var(--blue); color: #fff; transform: scale(1.06); }
.ab-list a:hover b { color: var(--blue); }
.ab-txt b { transition: color 0.2s; }

/* Why ENVOI exists: slowly shifting gradient */
.ab-quote { background-size: 200% 200%; animation: abShine 14s ease-in-out infinite alternate; }

/* Our approach: connecting line draws in, circles fill on hover */

/* Vision & mission */
.ab-mission { transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.ab-mission:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------------- About page: deep transitions ---------------- */
/* Directional + depth reveals (blur → sharp) */
.js .reveal.from-left { transform: translateX(-40px); filter: blur(6px); }
.js .reveal.from-right { transform: translateX(40px) scale(0.97); filter: blur(6px); }
.js .reveal.blur-in { transform: translateY(18px) scale(0.98); filter: blur(8px); }
.js .reveal.from-left, .js .reveal.from-right, .js .reveal.blur-in { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.from-left.in, .js .reveal.from-right.in, .js .reveal.blur-in.in { transform: none; filter: none; }

/* 3D tilt (driven by js/about.js) with a soft moving light */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.ab-badge[data-tilt], .js .reveal.in[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s var(--ease), box-shadow 0.35s, opacity 0.9s var(--ease), filter 0.9s var(--ease); }
.js .ab-focus.in .ab-focus-grid div[data-tilt] { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
[data-tilt] { position: relative; }
[data-tilt]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
[data-tilt]:hover::after { opacity: 1; }
.ab-badge[data-tilt]::after { background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(126, 215, 255, 0.22), transparent 60%); }
.ab-badge > * { transform: translateZ(30px); }
.ab-focus-grid div > * { transform: translateZ(18px); }

/* Highlighter sweep */
.ab-mark {
  background: linear-gradient(transparent 58%, rgba(255, 106, 26, 0.28) 58%) no-repeat 0 0 / 0% 100%;
  transition: background-size 1.1s var(--ease) 0.5s;
}
.reveal.in .ab-mark { background-size: 100% 100%; }

/* Quote: word-by-word */
.ab-quote blockquote .w { display: inline-block; opacity: 0; transform: translateY(0.5em); filter: blur(4px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease); transition-delay: calc(var(--i) * 0.07s + 0.15s); }
.ab-quote .reveal.in blockquote .w { opacity: 1; transform: none; filter: none; }

/* Mission checks draw themselves */
.ab-mission .checks svg path, .ab-mission .checks svg circle { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 0.8s var(--ease); }
.ab-mission .checks li:nth-child(2) svg * { transition-delay: 0.1s; }
.ab-mission .checks li:nth-child(3) svg * { transition-delay: 0.2s; }
.ab-mission .checks li:nth-child(4) svg * { transition-delay: 0.3s; }
.ab-mission .checks li:nth-child(5) svg * { transition-delay: 0.4s; }
.ab-mission.in .checks svg path, .ab-mission.in .checks svg circle { stroke-dashoffset: 0; }

/* Hero parallax (js/about.js sets --par while scrolling) */
.ab-hero::before { transform: translateY(var(--par, 0)); }
.ab-hero .ab-hero-grid { transform: translateY(calc(var(--par, 0px) * -0.15)); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal.from-left, .js .reveal.from-right, .js .reveal.blur-in { transform: none; filter: none; }
  .ab-mark { background-size: 100% 100%; }
  .ab-mission .checks svg path, .ab-mission .checks svg circle { stroke-dashoffset: 0; }
}

/* ---------------- About page: responsive polish ---------------- */
@media (max-width: 980px) {
  .ab-hero-grid { gap: 1.5rem; transform: none !important; }   /* no parallax shift on touch screens */
  .ab-badge { width: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 0.9rem; padding: 1rem 1.1rem; animation: abPop 0.9s var(--ease) 0.3s both; }
  .ab-badge > * { transform: none; }
  .ab-badge p { margin: 0; font-size: 1.05rem; }
  .ab-badge p br { display: none; }
  .ab-badge ul { grid-column: 1 / -1; margin-top: 0.85rem; padding-top: 0.75rem; }
  .ab-who { gap: 1.5rem; }
  .ab-vm { gap: 1.25rem; }
  /* softer reveals on small screens: rise instead of sliding sideways */
  .js .reveal.from-left, .js .reveal.from-right { transform: translateY(20px); filter: blur(4px); }
}
@media (max-width: 640px) {
  .ab-hero { padding-top: calc(var(--nav-h) + 1.75rem); padding-bottom: 2rem; }
  .ab-hero h1 { font-size: 1.75rem; line-height: 1.15; }
  .ab-hero .lede { font-size: 0.95rem; margin: 0.8rem 0 1.25rem; }
  .ab-hero .hero-actions { flex-direction: column; gap: 0.6rem; }
  .ab-hero .hero-actions .btn { width: 100%; }
  .ab-badge-mark { width: 2.6rem; height: 2.6rem; border-radius: 12px; }

  .ab-sec { padding: 2rem 0; }
  .ab-sec .sec-head { margin-bottom: 1.1rem; }
  .ab-sec .sec-head h2, .ab-who .h2 { font-size: 1.4rem; }
  .ab-who p:not(.eyebrow) { font-size: 0.95rem; margin-top: 0.75rem; }

  /* focus: icon beside label, 2 columns */
  .ab-focus { padding: 0.9rem; border-radius: 18px; }
  .ab-focus-title { margin-bottom: 0.7rem; font-size: 0.95rem; }
  .ab-focus-grid { gap: 0.5rem; }
  .ab-focus-grid div { grid-template-columns: auto 1fr; align-items: center; gap: 0.55rem; padding: 0.7rem; border-radius: 12px; }
  .ab-focus-grid span { width: 2rem; height: 2rem; border-radius: 9px; }
  .ab-focus-grid svg { width: 1rem; height: 1rem; }
  .ab-focus-grid b { font-size: 0.8rem; }
  .ab-focus-grid div > * { transform: none; }

  /* services: tidy white cards instead of thin dividers */
  .ab-list { gap: 0.55rem; }
  .ab-list > li > a, .ab-list > li > div { padding: 0.85rem 0.9rem; gap: 0.8rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .ab-list > li > a:hover { padding-left: 0.9rem; }
  .ab-ic { width: 2.4rem; height: 2.4rem; border-radius: 11px; background: var(--blue-soft); box-shadow: none; }
  .ab-ic svg { width: 1.15rem; height: 1.15rem; }
  .ab-txt b { font-size: 0.93rem; }
  .ab-txt small { font-size: 0.82rem; }

  .ab-quote { padding: 2.25rem 0; }
  .ab-quote blockquote { font-size: 1.3rem; }
  .ab-quote p:not(.eyebrow) { font-size: 0.92rem; }

  .ab-vision { font-size: 1.15rem; }
  .ab-mission { padding: 1rem 1.1rem; border-radius: 18px; }
  .ab-mission .checks li { font-size: 0.9rem; }
  .ab-close { margin-top: 1.5rem !important; padding-top: 1.1rem; font-size: 0.92rem; }
}
/* ---------------- About page: short version on phones (less scrolling) ---------------- */
@media (max-width: 640px) {
  .ab-badge { display: none; }
  .ab-who > div:first-child p:not(.eyebrow) + p { display: none; }   /* keep first paragraph only */

  .ab-list { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .ab-list > li > a, .ab-list > li > div { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 0.8rem; height: 100%; }
  .ab-txt small, .ab-go { display: none; }
  .ab-txt b { font-size: 0.85rem; line-height: 1.3; }

  .ab-quote { padding: 1.75rem 0; }
  .ab-quote p:not(.eyebrow) { display: none; }
  .ab-quote blockquote { margin-bottom: 0; }

  .ab-vm { gap: 1rem; }
  .ab-vision { font-size: 1.05rem; }
  .ab-mission .checks { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .ab-mission .checks li { padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--soft); font-size: 0.8rem; }
  .ab-mission .checks svg { display: none; }
  .ab-close { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ab-badge, .ab-quote, .ab-anim .ab-hero-grid > div:first-child > * { animation: none; }
  .js .ab-focus .ab-focus-grid div { opacity: 1; transform: none; }
}

/* ---------------- FAQ (two columns) ---------------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-layout .faq { max-width: none; margin: 0; }
.faq-side > p:not(.eyebrow) { margin: 0.9rem 0 0; color: var(--muted); line-height: 1.65; }

/* ---------------- Footer ---------------- */
.foot {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
  background: var(--navy);
  color: #a9bbd6;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.foot .logo { color: #fff; }
/* Contact strip above the columns */
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28); }
.btn-wa:hover { background: #1ebe5b; }
.foot ul + .foot-title { margin-top: 1.6rem; }
.foot-about p { margin: 1rem 0 1.25rem; max-width: 22rem; line-height: 1.7; font-size: 0.93rem; }
.foot-title {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; font-size: 0.93rem; }
.foot a { transition: color 0.2s; }
.foot a:hover { color: #fff; }
.foot-contact { display: grid; gap: 0.55rem; font-size: 0.93rem; }
.foot-contact a,
.foot-contact span { display: flex; gap: 0.55rem; align-items: flex-start; }
.foot-contact svg { flex-shrink: 0; width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; color: var(--sky); }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* WhatsApp floating button */
.wa {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom));
  z-index: 55;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease);
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 1.7rem; height: 1.7rem; }

/* ---------------- Scroll reveal ---------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .links > a, .drop-btn { padding: 0.55rem 0.6rem; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .faq-layout { grid-template-columns: 1fr; }
  .menu-btn { display: grid; place-items: center; }
  .links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin: 0;
    padding: 0.75rem 1rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .site.menu-open .links { opacity: 1; visibility: visible; transform: none; }
  .links > a, .drop-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.75rem;
    font-size: 1rem;
    color: var(--ink-2);
  }
  .drop::after { display: none; }
  .mega,
  .mega.wide {
    position: static;
    display: none;
    min-width: 0;
    padding: 0.25rem 0 0.5rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    grid-template-columns: 1fr;
  }
  .drop.on .mega { display: grid; transform: none; }
  .mega::before { display: none; }
  .mega, .mega.wide { background: var(--soft); border-radius: 14px; padding: 0.35rem; margin: 0.25rem 0 0.5rem; }
  .mega strong { color: var(--ink); }
  .mega small { color: var(--muted); }
  .mega .mi { background: var(--blue-soft); color: var(--blue); }
  .mega a:hover { background: #fff; }
  .links > a.active::after, .drop-btn.active::after { display: none; }
  .links > a.active, .drop-btn.active { color: var(--blue); }
  .page-hero-grid, .split { grid-template-columns: 1fr; }
  .grid-3, .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --nav-h: 4rem; }
  .logo { font-size: 1.1rem; }
  .logo img { width: 30px; }
  .wrap { width: calc(100% - 1.5rem); }
  .grid-2, .grid-3, .steps-row, .steps-row.three, .related, .checks, .fields { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 1.3rem; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band .hero-actions, .cta-band .hero-actions .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------------- Footer link groups ---------------- */
.foot-group summary { list-style: none; cursor: default; }
.foot-group summary::-webkit-details-marker { display: none; }
.foot-group + .foot-group { margin-top: 1.6rem; }

/* ---------------- Footer: phones (accordion) ---------------- */
@media (max-width: 760px) {
  .foot { padding: 2.25rem 0 5.5rem; } /* bottom room for the floating WhatsApp button */
  .foot .wrap { width: calc(100% - 2.5rem); }
  .foot-grid { grid-template-columns: 1fr; gap: 0.6rem; }

  /* brand block */
  .foot-about { grid-column: auto; padding-bottom: 0.9rem; }
  .foot-about p { display: none; }
  .foot-about .logo { font-size: 1.15rem; }
  .foot-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1rem; font-size: 0.82rem; }
  .foot-contact a,
  .foot-contact span { align-items: center; gap: 0.5rem; padding: 0.6rem 0.7rem; border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: #dbe7f7; }
  .foot-contact a:nth-child(3),
  .foot-contact span { grid-column: 1 / -1; }
  .foot-contact svg { margin: 0; color: var(--sky); }

  /* link groups → clearly tappable dropdown cards */
  .foot-grid > div:not(.foot-about) { display: grid; gap: 0.6rem; }
  .foot-group,
  .foot-group + .foot-group { margin: 0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; background: rgba(255, 255, 255, 0.04); overflow: hidden; transition: background 0.25s, border-color 0.25s; }
  .foot-group[open] { background: rgba(255, 255, 255, 0.07); border-color: rgba(126, 215, 255, 0.3); }
  .foot-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0.85rem 1rem;
    cursor: pointer;
    font-size: 0.8rem;
  }
  .foot-group summary::after {
    content: '+';
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: rgba(126, 215, 255, 0.14);
    color: var(--sky);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s var(--ease), background 0.25s, color 0.25s;
  }
  .foot-group[open] summary::after { content: '−'; background: var(--blue); color: #fff; transform: rotate(180deg); }
  .foot-group ul { gap: 0.75rem; padding: 0.15rem 1rem 1rem; font-size: 0.9rem; animation: footOpen 0.3s var(--ease); }
  @keyframes footOpen { from { opacity: 0; transform: translateY(-6px); } }

  .foot-bottom { margin-top: 1.5rem; padding-top: 0; border-top: 0; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 0.75rem; text-align: center; }
}

/* Section headings: one consistent, slightly smaller size across the site */
.sec-head h2,
.h2 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); letter-spacing: -0.02em; }
.sec-head p { font-size: 0.95rem; }
.sec-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }

/* Menu dropdowns: compact on laptop / desktop */
@media (min-width: 981px) {
  .mega { min-width: 18.5rem; padding: 0.4rem; border-radius: 16px; }
  .mega.wide { min-width: 30rem; }
  .mega a { gap: 0.6rem; padding: 0.5rem 0.6rem; border-radius: 10px; }
  .mega .mi { width: 1.9rem; height: 1.9rem; border-radius: 8px; }
  .mega .mi svg { width: 1rem; height: 1rem; }
  .mega strong { font-size: 0.84rem; }
  .mega small { margin-top: 0.05rem; font-size: 0.74rem; line-height: 1.35; }
}

/* ================= Section labels: one consistent style everywhere =================
   Blue line + small uppercase blue text (sky blue on dark backgrounds). */
.eyebrow,
.calc-kicker,
.dyn-sum-kicker,
.b-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before,
.calc-kicker::before,
.dyn-sum-kicker::before,
.b-tag::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
/* centred headings: line on both sides */
.sec-head.center .eyebrow::before,
.ab-quote .eyebrow::before { display: block; }
.sec-head.center .eyebrow::after,
.ab-quote .eyebrow::after {
  content: '';
  display: block;
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* Labels inside section heads: the ".sec-head p" text rule must not recolour/resize them */
.sec-head p.eyebrow,
.faq-side p.eyebrow,
.prose p.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--blue);
  font-size: 0.74rem;
  line-height: 1.2;
}
.dark .sec-head p.eyebrow,
.page-hero p.eyebrow { color: var(--sky); }

/* About — value cards + mission text */
.ab-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.ab-values li { display: grid; align-content: start; gap: 0.45rem; padding: 1.25rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.ab-values li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ab-values span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 0.25rem; border-radius: 11px; background: var(--blue-soft); color: var(--blue); }
.ab-values svg { width: 1.2rem; height: 1.2rem; }
.ab-values b { font-size: 0.98rem; color: var(--ink); }
.ab-values small { color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.ab-mission-text { margin: 0.4rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--ink); }
@media (max-width: 900px) { .ab-values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ab-values { grid-template-columns: 1fr; } }

/* ---------- Service hero card: animated scene (site-builder/hero-scenes.mjs) + points ---------- */
.hero-card { display: grid; gap: 1rem; padding: 1rem; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); }
.hero-card .hero-points { grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; padding: 0 0.35rem 0.35rem; border: 0; background: none; backdrop-filter: none; }
.hero-card .hero-points li { font-size: 0.86rem; }
.hero-card .hero-points svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 480px) { .hero-card .hero-points { grid-template-columns: 1fr; } }

.hs { overflow: hidden; border-radius: 14px; background: radial-gradient(120% 90% at 50% 0%, rgba(47, 134, 255, 0.28), rgba(6, 22, 56, 0.55)); border: 1px solid rgba(255, 255, 255, 0.08); }
.hs svg { display: block; width: 100%; height: auto; max-height: 12rem; }
.hs * { transform-box: fill-box; transform-origin: center; }
.hs text { font-family: inherit; font-weight: 800; }

/* parts */
.hs-road { fill: #0a1a3c; }
.hs-lane { stroke: rgba(255, 255, 255, 0.45); stroke-width: 2; stroke-dasharray: 14 10; }
.hs-floor { fill: #0a1a3c; }
.hs-body { fill: #eaf2ff; }
.hs-body-open { fill: rgba(234, 242, 255, 0.1); stroke: #9cc3ff; stroke-width: 1.5; stroke-dasharray: 5 4; }
.hs-label { fill: #0a6cf0; font-size: 11px; letter-spacing: 0.08em; }
.hs-cab { fill: #2f86ff; }
.hs-glass { fill: #bfe0ff; }
.hs-chassis { fill: #10264f; }
.hs-wheel circle { fill: #0b1530; stroke: #3c4f78; stroke-width: 2; }
.hs-wheel .hs-axle { fill: #8aa3cc; stroke: none; }
.hs-wheel line { stroke: #8aa3cc; stroke-width: 1.5; }
.hs-box rect { stroke: rgba(0, 0, 0, 0.18); stroke-width: 1; }
.hs-box line { stroke: rgba(0, 0, 0, 0.2); stroke-width: 1; }
.hs-ta rect { fill: #f5b041; }
.hs-tb rect { fill: #ff8a3d; }
.hs-tc rect { fill: #d9a066; }
.hs-pin path { fill: #ff8a3d; }
.hs-pin-b path { fill: #5ee0a8; }
.hs-pin circle { fill: #fff; }
.hs-route { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 1.5; stroke-dasharray: 4 5; }
.hs-sky rect { fill: rgba(140, 180, 255, 0.16); }
.hs-speed line { stroke: rgba(255, 255, 255, 0.55); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 18 40; }
.hs-share text { fill: #c3d4ec; font-size: 10px; font-weight: 700; }
.hs-share text:first-child { fill: #5ee0a8; font-weight: 800; }
.hs-roof { fill: #ff8a3d; }
.hs-wall { fill: #eaf2ff; }
.hs-win { fill: #ffd76a; }
.hs-door { fill: #2f86ff; }
.hs-item rect, .hs-item path { fill: #eaf2ff; stroke: #2f86ff; stroke-width: 1.5; stroke-linecap: round; }
.hs-item .hs-screen { fill: #2f86ff; stroke: none; }
.hs-item .hs-leaf { fill: #5ee0a8; stroke: none; }
.hs-rack { fill: none; stroke: #8aa3cc; stroke-width: 3; stroke-linecap: round; }
.hs-belt rect { fill: #10264f; stroke: #3c4f78; }
.hs-belt line { stroke: rgba(255, 255, 255, 0.4); stroke-width: 2; stroke-dasharray: 6 6; }
.hs-lines line, .hs-lines path { fill: none; stroke: rgba(156, 195, 255, 0.35); stroke-width: 1.5; stroke-dasharray: 3 4; }
.hs-packet { fill: #5ee0a8; offset-rotate: 0deg; }
.hs-ring { fill: none; stroke: #2f86ff; stroke-width: 2; }
.hs-hub circle { fill: #2f86ff; }
.hs-hub path { fill: #eaf2ff; }
.hs-hub .hs-door { fill: #2f86ff; }
.hs-node circle { fill: #10264f; stroke: #9cc3ff; stroke-width: 1.5; }
.hs-node rect, .hs-node path { fill: #f5b041; }
.hs-phone > rect:first-child { fill: #10264f; stroke: #3c4f78; stroke-width: 2; }
.hs-phone .hs-screen { fill: #eaf2ff; }
.hs-order rect { fill: #2f86ff; }
.hs-order text { fill: #fff; font-size: 6.8px; }
.hs-check circle { fill: #5ee0a8; }
.hs-check path { fill: none; stroke: #06301d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* motion */
.hs-move { animation: hs-dash 0.9s linear infinite; }
.hs-belt .hs-move { animation-duration: 0.6s; }
.hs-route { animation: hs-dash 1.6s linear infinite; }
.hs-wheel { animation: hs-spin 0.7s linear infinite; }
.hs-bob { animation: hs-bob 0.45s ease-in-out infinite alternate; }
.hs-scroll { animation: hs-scroll 14s linear infinite; }
.hs-speed line { animation: hs-speed 0.9s linear infinite; }
.hs-speed line:nth-child(2) { animation-delay: -0.3s; }
.hs-speed line:nth-child(3) { animation-delay: -0.6s; }
.hs-blink { animation: hs-blink 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.6s); }
.hs-drop { opacity: 0; animation: hs-drop 7s cubic-bezier(0.3, 1.4, 0.5, 1) infinite; animation-delay: calc(var(--i, 0) * 0.65s); }
.hs-pop { opacity: 0; animation: hs-pop 8s ease-out infinite; animation-delay: calc(var(--i, 0) * 0.28s); }
.hs-carry { opacity: 0; offset-path: path('M58 98 Q114 20 176 84'); offset-rotate: 0deg; animation: hs-carry 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.5s); }
.hs-convey { opacity: 0; offset-path: path('M330 98 L232 98'); offset-rotate: 0deg; animation: hs-convey 4.5s linear infinite; animation-delay: calc(var(--i, 0) * 1.5s); }
.hs-packet { opacity: 0; animation: hs-travel 3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.6s); }
.hs-ring { animation: hs-ring 2.4s ease-out infinite; animation-delay: calc(var(--i, 0) * 1.2s); }
.hs-order { opacity: 0; animation: hs-order 4.5s ease-out infinite; animation-delay: calc(var(--i, 0) * 0.5s); }
.hs-fly { opacity: 0; offset-rotate: 0deg; animation: hs-fly 4.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.5s); }
.hs-tick { opacity: 0; animation: hs-tick 4.5s ease-out infinite; animation-delay: calc(var(--i, 0) * 1.5s); }

@keyframes hs-dash { to { stroke-dashoffset: 24; } }
@keyframes hs-spin { to { transform: rotate(360deg); } }
@keyframes hs-bob { to { transform: translateY(-1.2px); } }
@keyframes hs-scroll { to { transform: translateX(-320px); } }
@keyframes hs-speed { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 58; } }
@keyframes hs-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes hs-drop { 0% { opacity: 0; transform: translateY(-46px); } 7% { opacity: 1; transform: translateY(0); } 84% { opacity: 1; transform: translateY(0); } 92%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes hs-pop { 0% { opacity: 0; transform: scale(0.3); } 5% { opacity: 1; transform: scale(1.08); } 8% { transform: scale(1); } 82% { opacity: 1; transform: scale(1); } 90%, 100% { opacity: 0; transform: scale(0.8); } }
@keyframes hs-carry { 0% { opacity: 0; offset-distance: 0%; } 4% { opacity: 1; } 22% { opacity: 1; offset-distance: 100%; } 26%, 100% { opacity: 0; offset-distance: 100%; } }
@keyframes hs-convey { 0% { opacity: 0; offset-distance: 0%; } 6% { opacity: 1; } 30% { opacity: 1; offset-distance: 100%; } 36%, 100% { opacity: 0; offset-distance: 100%; } }
@keyframes hs-travel { 0% { opacity: 0; offset-distance: 0%; } 10% { opacity: 1; } 80% { opacity: 1; offset-distance: 100%; } 100% { opacity: 0; offset-distance: 100%; } }
@keyframes hs-ring { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.3); } }
@keyframes hs-order { 0% { opacity: 0; transform: translateX(-10px); } 8% { opacity: 1; transform: none; } 80% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes hs-fly { 0% { opacity: 0; offset-distance: 0%; } 5% { opacity: 1; } 30% { opacity: 1; offset-distance: 100%; } 34%, 100% { opacity: 0; offset-distance: 100%; } }
@keyframes hs-tick { 0%, 30% { opacity: 0; transform: scale(0.2); } 36% { opacity: 1; transform: scale(1.15); } 40% { transform: scale(1); } 85% { opacity: 1; } 95%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hs * { animation: none !important; }
  .hs-drop, .hs-pop, .hs-order, .hs-tick { opacity: 1; }
}

/* hero scene: cargo (ocean / air / surface) */
.hs-sea { fill: #0b3a7a; }
.hs-wave { fill: none; stroke: rgba(156, 195, 255, 0.45); stroke-width: 1.5; animation: hs-wave 3s linear infinite; animation-delay: calc(var(--i, 0) * -1.5s); }
.hs-hull { fill: #10264f; stroke: #3c4f78; stroke-width: 1.5; }
.hs-stripe { fill: #ff8a3d; }
.hs-bridge { fill: #eaf2ff; }
.hs-sail { animation: hs-sail 3.2s ease-in-out infinite; }
.hs-plane { offset-path: path('M-30 46 Q160 -2 350 28'); offset-rotate: auto; animation: hs-plane 7s linear infinite; }
.hs-plane path { fill: #eaf2ff; }
.hs-plane .hs-wing { fill: #9cc3ff; }
@keyframes hs-wave { to { transform: translateX(20px); } }
@keyframes hs-sail { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(2px) rotate(-1.2deg); } }
@keyframes hs-plane { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) { .hs-plane { offset-distance: 50%; } }

/* Service hero text — matches the calculator pages (B2C / B2B): blue last word + perk row */
.page-hero h1 .hl { background: linear-gradient(90deg, #7ed7ff, #4aa3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lede { margin: 0.9rem 0 1.1rem; max-width: 34rem; line-height: 1.65; }
.hero-perks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.hero-perks li { display: inline-flex; align-items: center; gap: 0.4rem; color: #dbe7f7; font-size: 0.88rem; font-weight: 600; }
.hero-perks svg { width: 1.05rem; height: 1.05rem; color: #5ee0a8; }
@media (max-width: 560px) { .hero-perks { gap: 0.4rem 0.9rem; } .hero-perks li { font-size: 0.8rem; } }

/* hero scenes: twinkling stars + drifting clouds */
.hs-star { fill: #cfe3ff; animation: hs-twinkle 3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.7s); }
.hs-cloud { fill: rgba(220, 235, 255, 0.16); animation: hs-drift 22s linear infinite; animation-delay: calc(var(--i, 0) * -11s); }
.hs-crane path, .hs-crane line { fill: none; stroke: #f5b041; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hs-crane .hs-cable { stroke: #cfe3ff; stroke-width: 1; }
.hs-lift { animation: hs-lift 4s ease-in-out infinite; }
.hs-dock { fill: #10264f; }
@keyframes hs-twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes hs-drift { from { transform: translateX(-120px); } to { transform: translateX(360px); } }
@keyframes hs-lift { 0%, 100% { transform: translateY(0); } 45%, 55% { transform: translateY(-16px); } }

/* Service hero label + heading: identical to the calculator pages (B2C / B2B) */
.page-hero-grid .eyebrow { margin: 0 0 0.85rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.page-hero-grid h1 { max-width: 16ch; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; }
@media (max-width: 640px) {
  .page-hero-grid .eyebrow { font-size: 0.72rem; margin-bottom: 0.6rem; }
  .page-hero-grid h1 { font-size: 1.55rem; line-height: 1.15; }
  .page-hero-grid .lede { font-size: 0.88rem; line-height: 1.55; }
}
/* service heroes start at the same height as the calculator heroes */
.svc-hero { padding-top: calc(var(--nav-h, 4.5rem) + clamp(1.75rem, 4vw, 3rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.svc-hero .page-hero-grid { align-items: start; }
@media (max-width: 640px) { .svc-hero { padding-top: calc(var(--nav-h, 4rem) + 1rem); padding-bottom: 2rem; } }

/* ---------- About hero: animated route network behind the badge (build.mjs → aboutNetwork) ---------- */
@media (min-width: 961px) {
  .ab-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .ab-visual { position: relative; min-height: 24rem; }
  .ab-net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .ab-visual .ab-badge { position: absolute; right: 0; bottom: -0.5rem; z-index: 1; width: min(17.5rem, 64%); }
  .ab-visual .ab-badge ul { flex-wrap: nowrap; }
  .ab-visual .ab-badge p { margin: 0.8rem 0 0.9rem; font-size: 1.2rem; }
}
.ab-net * { transform-box: fill-box; transform-origin: center; }
.an-grid line { stroke: rgba(126, 215, 255, 0.06); stroke-width: 1; }
.an-spoke { fill: none; stroke: rgba(126, 215, 255, 0.22); stroke-width: 1.2; stroke-dasharray: 3 5; animation: an-dash 2.4s linear infinite; }
.an-main { fill: none; stroke: rgba(126, 215, 255, 0.55); stroke-width: 2; stroke-dasharray: 6 6; animation: an-dash 1.2s linear infinite; }
.an-main-glow { fill: none; stroke: #4aa3ff; stroke-width: 6; stroke-linecap: round; opacity: 0.18; filter: blur(3px); }
.an-dot { fill: #7ed7ff; offset-rotate: 0deg; opacity: 0; animation: an-travel 3.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.7s); }
.an-parcel { offset-rotate: 0deg; animation: an-parcel 4.5s ease-in-out infinite; }
.an-parcel rect { fill: var(--accent); }
.an-parcel path { fill: none; stroke: rgba(0, 0, 0, 0.25); stroke-width: 1; }
.an-city circle { fill: #10264f; stroke: rgba(126, 215, 255, 0.6); stroke-width: 1.5; animation: an-blink 3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.6s); }
.an-city text { fill: rgba(195, 212, 236, 0.6); font-size: 8.5px; font-weight: 600; }
.an-core { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.an-hub:nth-of-type(2) .an-core, .an-hub[style*='--i:1'] .an-core { fill: #2f86ff; }
.an-eye { fill: #fff; }
.an-ring { fill: none; stroke: #7ed7ff; stroke-width: 1.5; animation: an-ring 2.4s ease-out infinite; animation-delay: calc(var(--j, 0) * 1.2s + var(--i, 0) * 0.4s); }
.an-hub text { fill: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.01em; }

@keyframes an-dash { to { stroke-dashoffset: -24; } }
@keyframes an-travel { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes an-parcel { 0% { offset-distance: 0%; } 50% { offset-distance: 100%; } 100% { offset-distance: 0%; } }
@keyframes an-ring { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }
@keyframes an-blink { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

@media (max-width: 960px) {
  .ab-visual { display: grid; gap: 0.5rem; }
  .ab-net { display: block; width: 100%; height: auto; max-height: 15rem; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-net * { animation: none !important; }
  .an-dot { opacity: 0; }
  .an-parcel { offset-distance: 50%; }
}

/* About hero: same top spacing, label and heading size as the service / calculator heroes */
.ab-hero.svc-hero .ab-hero-grid { align-items: start; }
.ab-hero-grid .eyebrow { margin: 0 0 0.85rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.ab-hero-grid h1 { max-width: 22ch; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; }
.ab-hero-grid .lede { margin: 0.9rem 0 1.4rem; max-width: 34rem; line-height: 1.65; }
@media (max-width: 640px) {
  .ab-hero-grid .eyebrow { font-size: 0.72rem; margin-bottom: 0.6rem; }
  .ab-hero-grid h1 { font-size: 1.55rem; line-height: 1.15; }
  .ab-hero-grid .lede { font-size: 0.88rem; line-height: 1.55; }
}

/* ---------- Contact page ---------- */
/* hero: quick actions card on the right */

/* body */
.ct-section { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
.ct-left .h2 { margin-bottom: 1.25rem; }
.ct-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.ct-card { --tone: var(--blue); --tone-bg: var(--blue-soft); position: relative; display: grid; align-content: start; gap: 0.3rem; padding: 1.1rem 1.1rem 1rem; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, var(--tone-bg) 0%, #fff 55%); color: inherit; text-decoration: none; transition: border-color 0.25s, box-shadow 0.3s, transform 0.3s var(--ease); }
.ct-card:hover { border-color: var(--tone); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--tone) 55%, transparent); transform: translateY(-3px); }
.ct-card.t-green { --tone: #16a34a; --tone-bg: #e7f8ef; }
.ct-card.t-violet { --tone: #7c3aed; --tone-bg: #efeafd; }
.ct-card.t-orange { --tone: var(--accent); --tone-bg: #fff1e8; }
.ct-ic { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 0.4rem; border-radius: 12px; background: var(--tone); color: #fff; box-shadow: 0 8px 18px -8px var(--tone); }
.ct-ic svg { width: 1.2rem; height: 1.2rem; }
.ct-card h3 { margin: 0; font-size: 1rem; }
.ct-card p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.5; overflow-wrap: anywhere; }
.ct-go { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.5rem; color: var(--tone); font-size: 0.82rem; font-weight: 800; }
.ct-go svg { width: 0.9rem; height: 0.9rem; transition: transform 0.25s; }
.ct-card:hover .ct-go svg { transform: translateX(3px); }

.ct-next { margin-top: 1.25rem; padding: 1.1rem 1.2rem; border: 1px dashed var(--line-2); border-radius: 18px; background: var(--soft); }
.ct-next-title { margin: 0 0 0.8rem; color: var(--ink); font-size: 0.9rem; font-weight: 800; }
.ct-next ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.ct-next li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ct-next li > b { flex-shrink: 0; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.8rem; }
.ct-next strong { display: block; color: var(--ink); font-size: 0.84rem; line-height: 1.3; }
.ct-next small { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.76rem; line-height: 1.4; }

/* form */
.ct-form { position: sticky; top: calc(var(--nav-h) + 1rem); }
.ct-form-head { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1.1rem; }
.ct-form-ic { flex-shrink: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: linear-gradient(135deg, #2f86ff, var(--blue)); color: #fff; box-shadow: 0 10px 22px -8px rgba(10, 108, 240, 0.6); }
.ct-form-ic svg { width: 1.2rem; height: 1.2rem; }
.ct-form-head h2 { margin: 0; font-size: 1.25rem; }
.ct-form-head p { margin: 0.15rem 0 0; }
.ct-send { gap: 0.5rem; }
.ct-send svg { width: 1rem; height: 1rem; transition: transform 0.25s; }
.ct-send:hover svg { transform: translateX(3px); }

@media (max-width: 960px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-form { position: static; }
}
@media (max-width: 640px) {
  .ct-cards { gap: 0.6rem; }
  .ct-card { padding: 0.85rem; border-radius: 14px; }
  .ct-ic { width: 2.2rem; height: 2.2rem; }
  .ct-card h3 { font-size: 0.92rem; }
  .ct-card p { font-size: 0.78rem; }
  .ct-next ol { grid-template-columns: minmax(0, 1fr); gap: 0.7rem; }
}

/* Highlighted heading word on every dark hero: moving multi-colour shimmer, like the home page */
html .page-hero h1 .hl,
html .calc-intro h1 .hl {
  background: linear-gradient(90deg, #7ed7ff 0%, #4aa3ff 18%, #a78bfa 34%, #ff8a3d 50%, #a78bfa 66%, #4aa3ff 82%, #7ed7ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hl-shimmer 6s linear infinite;
}
@keyframes hl-shimmer { to { background-position: 200% center; } }
@media (prefers-reduced-motion: reduce) { html .page-hero h1 .hl, html .calc-intro h1 .hl { animation: none; } }

/* ---------- Inline "sending → sent" overlay on enquiry forms (window.envoiSending in js/site.js) ---------- */
/* the form's fields are hidden; the card takes their place */
.is-sending > :not(.form-sending) { display: none !important; }
.form-sending { grid-column: 1 / -1; padding: clamp(1.25rem, 3vw, 2rem) 1rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-align: center; animation: sp-fade 0.25s ease both; }
.form-card .form-sending, .dyn-modal-box .form-sending { padding: 0.5rem 0; border: 0; }
.fs-inner { max-width: 26rem; margin: 0 auto; animation: sp-pop 0.4s cubic-bezier(0.2, 1.3, 0.4, 1) both; }
.fs-timer { display: block; height: 3px; margin-top: 1rem; border-radius: 3px; background: var(--blue); transform-origin: left; animation: fs-timer var(--fs-close, 4s) linear both; }
@keyframes fs-timer { to { transform: scaleX(0); } }
.fs-inner h3 { margin: 0.5rem 0 0.35rem; font-size: 1.25rem; letter-spacing: -0.015em; }
.fs-inner > p { margin: 0 auto; max-width: 22rem; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.fs-inner > p b { color: var(--ink); white-space: nowrap; }
/* while sending: envelope loops, laptop keeps blinking, no tick yet */
.form-sending:not(.is-sent) .sp-env { animation: sp-fly 1.3s cubic-bezier(0.45, 0, 0.3, 1) 0.2s infinite; }
.form-sending:not(.is-sent) .sp-arm { animation-iteration-count: infinite; }
.form-sending:not(.is-sent) .sp-led { animation-iteration-count: infinite; }
.form-sending:not(.is-sent) .sp-trail { animation-delay: 0s; }
.form-sending:not(.is-sent) .sp-check { display: none; }
/* sent: envelope has arrived, tick pops straight away */
.form-sending.is-sent .sp-env { display: none; }
.form-sending.is-sent .sp-arm, .form-sending.is-sent .sp-led { animation: none; }
.form-sending.is-sent .sp-trail { animation-delay: 0s; animation-duration: 0.4s; }
.form-sending.is-sent .sp-check { animation-delay: 0.1s; }
.form-sending.is-sent .sp-check path { animation-delay: 0.4s; }

/* scene */
.sp-scene { display: block; width: 100%; max-width: 19rem; height: auto; margin: 0 auto; border-radius: 16px; background: linear-gradient(180deg, #eef5ff, #fff); }
.sp-scene * { transform-box: fill-box; transform-origin: center; }
.sp-desk { stroke: #c9d6ea; stroke-width: 3; stroke-linecap: round; }
.sp-head { fill: #f2c9a5; }
.sp-hair { fill: #1f2a44; }
.sp-body { fill: var(--blue); }
.sp-arm { fill: none; stroke: #f2c9a5; stroke-width: 6; stroke-linecap: round; transform-origin: 0% 50%; animation: sp-type 0.35s ease-in-out 3 alternate; }
.sp-screen { fill: #1f2a44; }
.sp-base { fill: #8aa3cc; }
.sp-led { fill: #7ed7ff; animation: sp-blink 0.5s ease-in-out 3; }
.sp-trail { fill: none; stroke: #9cc3ff; stroke-width: 2; stroke-dasharray: 4 5; stroke-dashoffset: 120; opacity: 0.8; animation: sp-trail 0.9s ease-out 0.55s both; }
.sp-env { offset-path: path('M112 92 Q160 18 214 50'); offset-rotate: 0deg; opacity: 0; animation: sp-fly 1s cubic-bezier(0.45, 0, 0.3, 1) 0.6s both; }
.sp-env rect { fill: var(--accent); }
.sp-env path { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.sp-hub rect { fill: #dbe7f7; }
.sp-hub .sp-roof { fill: var(--blue); }
.sp-hub .sp-win { fill: #fff; }
.sp-hub .sp-door { fill: var(--blue); }
.sp-check { opacity: 0; transform: scale(0.3); animation: sp-check 0.45s cubic-bezier(0.2, 1.5, 0.4, 1) 1.55s both; }
.sp-check circle { fill: #22c55e; }
.sp-check path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: sp-draw 0.35s ease-out 1.85s forwards; }

@keyframes sp-fade { from { opacity: 0; } }
@keyframes sp-pop { from { opacity: 0; transform: translateY(16px) scale(0.94); } }
@keyframes sp-type { to { transform: rotate(-12deg); } }
@keyframes sp-blink { 50% { opacity: 0.2; } }
@keyframes sp-trail { from { stroke-dashoffset: 120; opacity: 0; } to { stroke-dashoffset: 0; opacity: 0.8; } }
@keyframes sp-fly { 0% { offset-distance: 0%; opacity: 0; transform: scale(0.6); } 15% { opacity: 1; transform: scale(1); } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; transform: scale(0.5); } }
@keyframes sp-check { to { opacity: 1; transform: scale(1); } }
@keyframes sp-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .form-sending * { animation: none !important; }
  .sp-check { opacity: 1; transform: none; }
  .sp-check path { stroke-dashoffset: 0; }
  .sp-trail { stroke-dashoffset: 0; }
}

/* International quote form: Pickup (India) › Deliver to [Country] [Postal / ZIP] — like the international rate calculator */
.fields .route-intl {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 0.6rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #f4f8ff, #fff);
}
.route-intl .route-arrow {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
}
.route-intl .route-arrow svg {
  width: 0.85rem;
  height: 0.85rem;
}
/* the ZIP box sits beside the country under the same "Deliver to" label */
.route-intl .route-zip-lbl {
  visibility: hidden;
}
@media (max-width: 640px) {
  .fields .route-intl {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .route-intl > label:first-child {
    grid-column: 1 / -1;
  }
  .route-intl .route-arrow {
    display: none;
  }
  .route-intl .route-zip-lbl {
    visibility: visible;
  }
}

/* ---------------- About page on phones: everything from desktop, in compact form ---------------- */
@media (max-width: 640px) {
  /* hero badge: a slim horizontal card under the route map */
  .ab-badge {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.25rem 0.75rem;
    justify-self: stretch;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    animation: abPop 0.9s var(--ease) 0.3s both;
  }
  .ab-badge-mark { grid-row: span 2; width: 2.6rem; height: 2.6rem; border-radius: 12px; }
  .ab-badge-mark svg { width: 1.25rem; height: 1.25rem; }
  .ab-badge p { margin: 0; font-size: 1rem; }
  .ab-badge p br { display: none; }
  .ab-badge ul { gap: 0.35rem; padding: 0; border-top: 0; }
  .ab-badge li { padding: 0.2rem 0.55rem; font-size: 0.74rem; }

  /* who we are: both paragraphs */
  .ab-who > div:first-child p:not(.eyebrow) + p { display: block; }

  /* what we do: short description under each service */
  .ab-txt small { display: block; margin-top: 0.2rem; font-size: 0.74rem; line-height: 1.4; }

  /* why ENVOI exists: the line under the quote */
  .ab-quote p:not(.eyebrow) { display: block; margin-top: 0.75rem; font-size: 0.88rem; }

  /* what sets ENVOI apart: 2 per row instead of 6 tall cards */
  .ab-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .ab-values li { gap: 0.3rem; padding: 0.85rem 0.8rem; border-radius: 16px; }
  .ab-values span { width: 2rem; height: 2rem; border-radius: 9px; }
  .ab-values svg { width: 1rem; height: 1rem; }
  .ab-values li b, .ab-values li h3 { font-size: 0.86rem; line-height: 1.3; }
  .ab-values li p { margin: 0; font-size: 0.76rem; line-height: 1.45; }

  /* closing line */
  .ab-close { display: block; margin-top: 1.25rem !important; font-size: 0.9rem; }
}
@media (max-width: 640px) {
  .ab-badge p b::before { content: ' '; }
  .ab-values small { font-size: 0.76rem; line-height: 1.45; }
}

/* About on phones / tablets: keep the badge floating, and show the light on auto-swaying cards */
@media (max-width: 980px) {
  .ab-badge { animation: abPop 0.9s var(--ease) 0.3s both, abFloat 6s ease-in-out 1.2s infinite; }
}
.tilt-auto[data-tilt]::after { opacity: 0.75; }
.tilt-auto[data-tilt] { transition: box-shadow 0.35s, opacity 0.9s var(--ease), filter 0.9s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .ab-badge { animation: none; }
}

/* About hero on phones: the two buttons side by side */
@media (max-width: 640px) {
  .ab-hero .hero-actions { flex-direction: row; flex-wrap: nowrap; gap: 0.5rem; }
  .ab-hero .hero-actions .btn { flex: 1 1 0; width: auto; min-width: 0; padding-left: 0.6rem; padding-right: 0.6rem; font-size: 0.86rem; white-space: nowrap; justify-content: center; }
  .ab-hero .hero-actions .btn svg { width: 16px; height: 16px; flex-shrink: 0; }
}

/* About hero badge on phones: same card as on laptops (icon, two-line title, divider, city chips), full width */
@media (max-width: 640px) {
  .ab-badge {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
  }
  .ab-badge-mark { width: 2.9rem; height: 2.9rem; border-radius: 14px; }
  .ab-badge-mark svg { width: 1.4rem; height: 1.4rem; }
  .ab-badge p { margin: 0.85rem 0 0.95rem; font-size: 1.25rem; line-height: 1.25; }
  .ab-badge p br { display: inline; }
  .ab-badge p b::before { content: none; }
  .ab-badge ul { gap: 0.45rem; padding: 0.85rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .ab-badge li { padding: 0.3rem 0.7rem; font-size: 0.8rem; }
}

/* About hero badge on tablets: same card as laptops, centred under the map (not stretched) */
@media (min-width: 641px) and (max-width: 980px) {
  .ab-badge {
    display: block;
    justify-self: center;
    width: min(100%, 22rem);
    margin-top: 1rem;
  }
  .ab-badge p br { display: inline; }
}

/* About hero badge on phones: compact card, centred under the map */
@media (max-width: 640px) {
  .ab-badge {
    justify-self: center;
    width: min(100%, 15.5rem);
    margin: 0.5rem auto 0;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
  }
  .ab-badge-mark { width: 2.2rem; height: 2.2rem; border-radius: 11px; }
  .ab-badge-mark svg { width: 1.1rem; height: 1.1rem; }
  .ab-badge p { margin: 0.55rem 0 0.65rem; font-size: 1rem; }
  .ab-badge ul { gap: 0.35rem; padding-top: 0.6rem; }
  .ab-badge li { padding: 0.2rem 0.55rem; font-size: 0.72rem; }
  .ab-badge li svg { width: 0.8rem; height: 0.8rem; }
}

/* ---------- Contact hero scene: phone → call / chat / email → ENVOI desk replies ---------- */
.hs-ct-trail { fill: none; stroke: rgba(156, 195, 255, 0.45); stroke-width: 1.6; stroke-dasharray: 3 5; animation: ct-dash 1.6s linear infinite; }
.hs-ct-phone > rect:first-child { fill: #10264f; stroke: #5d8fd6; stroke-width: 1.5; }
.hs-ct-screen { fill: #eaf2ff; }
.hs-ct-home { fill: #5d8fd6; }
.hs-ct-line { fill: #9cc3ff; }
.hs-ct-line.is-me { fill: #22c55e; animation: ct-blink 1.8s ease-in-out infinite; }
.hs-ct-phone { animation: ct-buzz 3.6s ease-in-out infinite; }
.hs-ct-wave { fill: none; stroke: #7ed7ff; stroke-width: 2; stroke-linecap: round; opacity: 0; animation: ct-wave 1.8s ease-out infinite; animation-delay: calc(var(--i) * 0.3s); }

.hs-ct-msg { offset-rotate: 0deg; opacity: 0; animation: ct-fly 3.6s cubic-bezier(0.45, 0, 0.3, 1) infinite; animation-delay: calc(var(--i) * 1.2s); }
.hs-ct-msg circle { stroke: #fff; stroke-width: 1.5; }
.hs-ct-msg path, .hs-ct-msg rect { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.hs-ct-msg.is-call circle { fill: #2f86ff; }
.hs-ct-msg.is-call path { fill: #fff; stroke: none; }
.hs-ct-msg.is-chat circle { fill: #22c55e; }
.hs-ct-msg.is-chat path { fill: #fff; stroke: none; }
.hs-ct-msg.is-mail circle { fill: #7c3aed; }

.hs-ct-desk { fill: #5d8fd6; }
.hs-ct-body { fill: #2f86ff; }
.hs-ct-head { fill: #f2c9a5; }
.hs-ct-hair { fill: #1f2a44; }
.hs-ct-set, .hs-ct-mic { fill: none; stroke: #0b1530; stroke-width: 2.2; stroke-linecap: round; }
.hs-ct-ear { fill: #0b1530; }
.hs-ct-laptop path { fill: #0b1530; stroke: #5d8fd6; stroke-width: 1; }
.hs-ct-laptop rect { fill: #8aa3cc; }
.hs-ct-agent { animation: ct-nod 3.6s ease-in-out infinite; }

.hs-ct-reply rect, .hs-ct-reply > path:first-of-type { fill: #fff; }
.hs-ct-dots circle { fill: #8aa3cc; animation: ct-dot 1.2s ease-in-out infinite; }
.hs-ct-dots circle:nth-child(2) { animation-delay: 0.15s; }
.hs-ct-dots circle:nth-child(3) { animation-delay: 0.3s; }
.hs-ct-reply { animation: ct-reply 3.6s ease-in-out infinite; }
.hs-ct-dots { animation: ct-typing 3.6s steps(1) infinite; }
.hs-ct-tick { fill: none; stroke: #16a34a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; animation: ct-tick 3.6s ease-out infinite; }

@keyframes ct-dash { to { stroke-dashoffset: -16; } }
@keyframes ct-blink { 50% { opacity: 0.35; } }
@keyframes ct-buzz { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-4deg); } 78% { transform: rotate(4deg); } 82% { transform: rotate(-3deg); } 86% { transform: rotate(0); } }
@keyframes ct-wave { 0% { opacity: 0; transform: scale(0.8); } 30% { opacity: 0.9; } 100% { opacity: 0; transform: scale(1.15); } }
@keyframes ct-fly { 0% { offset-distance: 0%; opacity: 0; transform: scale(0.5); } 10% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; transform: scale(0.6); } }
@keyframes ct-nod { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(1.5px); } 80% { transform: translateY(0); } }
@keyframes ct-dot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-2px); opacity: 1; } }
@keyframes ct-reply { 0%, 20% { opacity: 0; transform: translateY(4px) scale(0.9); } 30%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ct-typing { 0% { opacity: 1; } 62% { opacity: 0; } }
@keyframes ct-tick { 0%, 62% { stroke-dashoffset: 20; } 74%, 100% { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hs-contact * { animation: none !important; }
  .hs-ct-msg { opacity: 1; offset-distance: 50%; }
  .hs-ct-msg.is-call { offset-distance: 20%; }
  .hs-ct-msg.is-mail { offset-distance: 80%; }
  .hs-ct-reply { opacity: 1; }
  .hs-ct-dots { opacity: 0; }
  .hs-ct-tick { stroke-dashoffset: 0; }
}

/* About hero on phones: badge sits over the empty bottom-right of the route map (no extra height) */
@media (max-width: 640px) {
  .ab-visual { position: relative; }
  .ab-net { margin-bottom: 0; }
  .ab-badge {
    position: absolute;
    right: 0;
    bottom: 0.25rem;
    width: 11.5rem;
    margin: 0;
    padding: 0.7rem 0.75rem;
    border-radius: 16px;
  }
  .ab-badge-mark { width: 1.9rem; height: 1.9rem; border-radius: 10px; }
  .ab-badge-mark svg { width: 0.95rem; height: 0.95rem; }
  .ab-badge p { margin: 0.4rem 0 0.5rem; font-size: 0.86rem; }
  .ab-badge ul { gap: 0.25rem; padding-top: 0.45rem; }
  .ab-badge li { padding: 0.15rem 0.45rem; font-size: 0.64rem; }
  .ab-badge li svg { width: 0.7rem; height: 0.7rem; }
}
@media (max-width: 640px) {
  .ab-badge {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 0.55rem;
    bottom: 0;
    width: 12.75rem;
    padding: 0.6rem 0.7rem;
  }
  .ab-badge p { margin: 0; font-size: 0.8rem; line-height: 1.2; }
  .ab-badge ul { grid-column: 1 / -1; flex-wrap: nowrap; margin-top: 0.5rem; padding-top: 0.45rem; }
  .ab-badge li { white-space: nowrap; }
}

/* "Other" in a dropdown -> typed value box */
.other-input { margin-top: 0.45rem; animation: other-in 0.2s ease-out; }
.other-input[hidden] { display: none; }
@keyframes other-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------------- FAQ v2: numbered cards, smooth accordion, staggered entrance ---------------- */
.faq details {
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s;
}
.faq details::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), #22c3ee);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.faq details:hover { border-color: rgba(10, 108, 240, 0.28); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(10, 60, 140, 0.35); }
.faq details[open] {
  background: linear-gradient(180deg, #f5f9ff, #fff 70%);
  border-color: rgba(10, 108, 240, 0.35);
  box-shadow: 0 14px 30px -18px rgba(10, 60, 140, 0.45);
}
.faq details[open]::before { transform: scaleY(1); }
.faq summary { justify-content: flex-start; }
.faq summary::after { display: none; }
.faq-n {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.faq details[open] .faq-n { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.faq-q { flex: 1 1 auto; }
.faq details:hover .faq-q { color: var(--blue); }
.faq-ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--blue);
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.faq-ic svg { width: 1rem; height: 1rem; stroke-width: 2.2; }
.faq details[open] .faq-ic { transform: rotate(180deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq .ans { padding-left: calc(1.25rem + 2rem + 1rem); }
.site-main > .section .faq details .ans { padding-left: calc(1.15rem + 2rem + 1rem); }
.faq details[open] .ans p { animation: faq-ans 0.45s var(--ease) both; }
@keyframes faq-ans { from { opacity: 0; transform: translateY(-6px); } }

/* cards slide in one after another when the list scrolls into view */
.faq.reveal > * { opacity: 0; transform: translateY(14px); }
.faq.reveal.in > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.25s, box-shadow 0.3s var(--ease), background-color 0.3s;
  transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s, 0s;
}
.faq.reveal.in > details:hover { transform: translateY(-2px); transition-delay: 0s; }

@media (max-width: 640px) {
  .faq-n { width: 1.7rem; height: 1.7rem; font-size: 0.7rem; }
  .faq-ic { width: 1.7rem; height: 1.7rem; }
  .faq details .ans, .site-main > .section .faq details .ans { padding-left: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .faq.reveal > * { opacity: 1; transform: none; }
  .faq details[open] .ans p, .fq * { animation: none !important; }
  .fq-msg:not(.fq-typing) { opacity: 1 !important; transform: none !important; }
  .fq-typing { display: none !important; }
}


/* FAQ side: animated help-desk chat (fills the space next to the questions) */
.faq-layout { grid-template-areas: 'side faq' 'art faq'; }
.faq-side { grid-area: side; }
.faq-layout .faq { grid-area: faq; }
.faq-art { grid-area: art; display: grid; place-items: center; align-self: center; padding: 1.5rem 0; }
.fq { position: relative; width: 100%; max-width: 360px; }
.fq::before {
  content: '';
  position: absolute;
  inset: 8% -8% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 140, 240, 0.22), transparent);
  filter: blur(8px);
  animation: fq-glow 6s ease-in-out infinite;
}
.fq-win {
  border: 1px solid #dfe8f5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(10, 50, 120, 0.35), 0 8px 18px -10px rgba(10, 50, 120, 0.15);
  overflow: hidden;
  animation: fq-float 7s ease-in-out infinite;
}
.fq-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(120deg, #0a6cf0, #1b9cf2 60%, #22c3ee);
  color: #fff;
}
.fq-av { position: relative; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.fq-av svg { width: 1.2rem; height: 1.2rem; }
.fq-av i { position: absolute; right: 0; bottom: 0; width: 0.62rem; height: 0.62rem; border-radius: 50%; background: #22c55e; border: 2px solid #1b8cf0; }
.fq-who { display: grid; line-height: 1.25; }
.fq-who strong { font-size: 0.92rem; }
.fq-who span { display: flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; opacity: 0.9; }
.fq-who b { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #86efac; animation: fq-blink 1.6s ease-in-out infinite; }
.fq-body { display: grid; gap: 0.55rem; padding: 1rem; background: linear-gradient(180deg, #f6f9fe, #fff); min-height: 17rem; align-content: start; }
.fq-msg {
  margin: 0;
  max-width: 82%;
  padding: 0.55rem 0.8rem;
  border-radius: 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0;
  animation: 12s var(--ease) infinite both;
}
.fq-msg.me { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; transform-origin: 100% 100%; }
.fq-msg.bot { justify-self: start; background: #fff; color: var(--ink); border: 1px solid #e3ebf6; border-bottom-left-radius: 4px; transform-origin: 0 100%; }
.fq-slot { display: grid; }
.fq-slot > * { grid-area: 1 / 1; }
.fq-typing { display: flex; gap: 0.25rem; align-items: center; width: max-content; padding: 0.7rem 0.85rem; animation-name: fq-typing; }
.fq-typing i { width: 0.38rem; height: 0.38rem; border-radius: 50%; background: #9db6dd; animation: fq-dot 0.9s ease-in-out infinite; }
.fq-typing i:nth-child(2) { animation-delay: 0.15s; }
.fq-typing i:nth-child(3) { animation-delay: 0.3s; }
.fq-msg.m1 { animation-name: fq-in1; }
.fq-msg.m2 { animation-name: fq-in2; }
.fq-msg.m3 { animation-name: fq-in3; }
.fq-msg.m4 { animation-name: fq-in4; }
.fq-track { width: 82%; padding: 0.7rem 0.8rem; }
.fq-tr-head { display: flex; align-items: center; gap: 0.55rem; }
.fq-tr-ic { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 9px; background: #e9f9ef; color: #16a34a; }
.fq-tr-ic svg { width: 1.05rem; height: 1.05rem; }
.fq-tr-head div { display: grid; line-height: 1.25; }
.fq-tr-head strong { font-size: 0.8rem; }
.fq-tr-head span { font-size: 0.7rem; color: var(--muted); }
.fq-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 0.6rem; }
.fq-bar { grid-column: 1 / -1; height: 5px; border-radius: 99px; background: #e6edf7; overflow: hidden; margin-bottom: 0.35rem; }
.fq-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0a6cf0, #22c3ee); transform-origin: left; animation: fq-fill 12s var(--ease) infinite; }
.fq-steps em { font-style: normal; font-size: 0.64rem; color: var(--muted); }
.fq-steps em:nth-of-type(2) { text-align: center; }
.fq-steps em:nth-of-type(3) { text-align: right; color: var(--blue); font-weight: 700; }
.fq-input { display: flex; align-items: center; justify-content: space-between; margin: 0 0.8rem 0.8rem; padding: 0.45rem 0.45rem 0.45rem 0.85rem; border: 1px solid #e3ebf6; border-radius: 12px; font-size: 0.76rem; color: #94a3b8; }
.fq-input b { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 9px; background: var(--blue); color: #fff; }
.fq-input svg { width: 0.95rem; height: 0.95rem; }
.fq-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem 0.55rem 0.55rem;
  border: 1px solid #e3ebf6;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 30px -16px rgba(10, 50, 120, 0.35);
  animation: fq-float 6s ease-in-out infinite;
}
.fq-chip span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; }
.fq-chip svg { width: 1.1rem; height: 1.1rem; }
.fq-chip div { display: grid; line-height: 1.2; }
.fq-chip strong { font-size: 0.92rem; }
.fq-chip em { font-style: normal; font-size: 0.68rem; color: var(--muted); }
.fq-chip.c1 { top: 20%; left: -16%; animation-delay: -2s; }
.fq-chip.c1 span { background: #eef4ff; color: var(--blue); }
.fq-chip.c2 { bottom: -5%; right: -12%; animation-delay: -4s; }
.fq-chip.c2 span { background: #e9f9ef; color: #16a34a; }

/* 12 s story: question → typing → answer → tracking card → thanks → fade and repeat */
@keyframes fq-in1 { 0%, 3% { opacity: 0; transform: translateY(10px) scale(0.92); } 7%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes fq-typing { 0%, 12% { opacity: 0; transform: scale(0.9); } 15%, 26% { opacity: 1; transform: none; } 28%, 100% { opacity: 0; } }
@keyframes fq-in2 { 0%, 27% { opacity: 0; transform: translateY(10px) scale(0.92); } 31%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes fq-in3 { 0%, 38% { opacity: 0; transform: translateY(10px) scale(0.92); } 42%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes fq-in4 { 0%, 64% { opacity: 0; transform: translateY(10px) scale(0.92); } 68%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes fq-fill { 0%, 43% { transform: scaleX(0.08); } 60%, 100% { transform: scaleX(1); } }
@keyframes fq-dot { 50% { transform: translateY(-3px); opacity: 0.5; } }
@keyframes fq-blink { 50% { opacity: 0.35; } }
@keyframes fq-float { 50% { transform: translateY(-8px); } }
@keyframes fq-glow { 50% { opacity: 0.6; transform: scale(0.94); } }
@media (max-width: 900px) {
  .faq-layout { grid-template-areas: 'side' 'faq'; }
  .faq-art { display: none; }
}

/* Section titles: last word in the multicolour brand gradient (same colours as the hero), slow shimmer */
.hl-last {
  background: linear-gradient(90deg, var(--blue), #22c3ee 30%, #a78bfa 55%, var(--accent, #f97316) 80%, var(--blue)) 0 center / 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hl-last 7s linear infinite;
}
@keyframes hl-last { to { background-position: 220% center; } }
@media (prefers-reduced-motion: reduce) {
  .hl-last { animation: none; }
}

/* Centred section heads look like the FAQ head: label with its line, title, subtitle */
.sec-head.center { display: grid; justify-items: center; }
.sec-head.center .eyebrow::before { display: block; }
.sec-head.center > p:not(.eyebrow) { max-width: 38rem; }
.sec-head.center { max-width: 56rem; }
.sec-head.center .eyebrow::after { display: none; }
