*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Logo palette ──────────────────────────────────────────────────────────
   Bright Gold  #FFE008  rgb(255,224,8)
   Amber Gold   #FBBD2A  rgb(251,189,42)
   Bright Marine #006DB5 rgb(0,109,181)
   Fresh Sky    #2DAAE1  rgb(45,170,225)
   Black        #000000
   ─────────────────────────────────────────────────────────────────────────── */

:root {
  /* ─── Dark theme (default) ─────────────────────────────────────────────── */
  --bg: #04060c;
  --surf: #09101e;
  --surf2: #0e1828;
  --border: #152236;
  --text: #edf4ff;
  --muted: #4a6880;
  --accent: #ffe008; /* Bright Gold   — primary accent dark  */
  --accent-dim: #fbbd2a; /* Amber Gold    — hover/dim            */
  --accent-rgb: 255, 224, 8;
  --blue: #2daae1; /* Fresh Sky     — secondary dark       */
  --blue-deep: #006db5; /* Bright Marine — tertiary dark        */
  --blue-rgb: 45, 170, 225;
  --ok: #36cc78;
  /* CTAs always use Bright Gold regardless of theme */
  --cta-bg: #ffe008;
  --cta-bg-dim: #fbbd2a;
  --cta-text: #000000;
  --font-d: "Space Grotesk", sans-serif;
  --font-b: "Inter", sans-serif;
  --r: 14px;
  --max: 1200px;
  --sp: 110px;
  --tr: 0.22s ease;
}

[data-theme="light"] {
  /* ─── Light theme ──────────────────────────────────────────────────────── */
  --bg: #eef5ff;
  --surf: #ffffff;
  --surf2: #e2eeff;
  --border: #b8cfee;
  --text: #020810; /* near-Black from palette              */
  --muted: #4a6080;
  --accent: #006db5; /* Bright Marine — primary accent light */
  --accent-dim: #005798;
  --accent-rgb: 0, 109, 181;
  --blue: #006db5; /* Bright Marine — secondary light      */
  --blue-deep: #006db5;
  --blue-rgb: 0, 109, 181;
  --ok: #1a8c52;
  /* CTAs unchanged — always Bright Gold */
}

html {
  scroll-behavior: auto;
  font-size: 16px;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background var(--tr),
    color var(--tr);
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  cursor: pointer;
  font-family: var(--font-b);
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.hidden {
  display: none !important;
}
.w100 {
  width: 100%;
}
.accent {
  color: var(--accent);
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 9px;
  font-family: var(--font-b);
  font-size: 0.93rem;
  font-weight: 500;
  transition: all var(--tr);
  cursor: pointer;
  min-height: 46px;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
/* Primary CTA: Bright Gold bg + black text — identical in both themes */
.btn-primary {
  background: var(--cta-bg);
  color: var(--cta-text);
  border-color: var(--cta-bg);
  font-weight: 600;
}
/* Light: add subtle border to define gold button against bright background */
[data-theme="light"] .btn-primary {
  border-color: rgba(0, 0, 0, 0.18);
}
.btn-primary:hover {
  background: var(--cta-bg-dim);
  border-color: var(--cta-bg-dim);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 200, 0, 0.32);
}
/* Ghost button: in dark hero context, border must be visible against near-black bg */
.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}
[data-theme="light"] .btn-ghost {
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.22);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
[data-theme="light"] .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition:
    background var(--tr),
    border-color var(--tr),
    backdrop-filter var(--tr);
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(4, 6, 12, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom-color: var(--border);
}
[data-theme="light"] #header.scrolled {
  background: rgba(238, 245, 255, 0.92);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.logo-img.broken {
  display: none;
}
.logo-fallback {
  display: none;
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-img.broken ~ .logo-fallback {
  display: block;
}
.logo-fallback em {
  font-style: normal;
  color: var(--text);
}
.logo-fallback {
  color: var(--accent);
}

#main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
#main-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 7px;
  transition: color var(--tr);
  min-height: 44px;
  display: flex;
  align-items: center;
}
#main-nav a:hover {
  color: var(--text);
}
#main-nav .nav-cta {
  color: var(--accent);
  border: 1.5px solid;
  border-color: rgba(var(--accent-rgb), 0.35);
  border-radius: 8px;
  padding: 7px 16px;
}
#main-nav .nav-cta:hover {
  background: rgba(var(--accent-rgb), 0.08);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surf);
  border: 1.5px solid var(--border);
  color: var(--muted);
  transition:
    border-color var(--tr),
    color var(--tr);
}
.theme-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.ico-sun {
  display: flex;
}
.ico-moon {
  display: none;
}
[data-theme="light"] .ico-sun {
  display: none;
}
[data-theme="light"] .ico-moon {
  display: flex;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform var(--tr),
    opacity var(--tr);
  pointer-events: none;
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-main {
  flex: 1;
  display: flex;
  align-items: stretch;   /* visual stretches to match text column height */
  gap: 56px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 110px 24px 48px;
}
.hero-text {
  flex: 1 1 52%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: center;
}
.hero-visual {
  flex: 0 0 44%;
  min-width: 300px;
  min-height: 340px;      /* floor so canvas has room on short text blocks */
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
}
[data-theme="light"] .hero-visual {
  background: transparent;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 24px;
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 35%,
    rgba(4, 6, 12, 0.45) 100%
  );
}
[data-theme="light"] .hero-vignette {
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 35%,
    rgba(238, 245, 255, 0.35) 100%
  );
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 36px;
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--ok);
  animation: pdot 2s ease-in-out infinite;
}
@keyframes pdot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px var(--ok);
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 3px var(--ok);
  }
}
.hero h1 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  /* Dark: pure white headline lifts off the glowing particle background */
  color: var(--blue);
  text-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.8),
    0 0 24px rgba(0, 0, 0, 0.4);
}
.hero h1 .accent {
  /* Dark: Bright Gold — brand color, bold weight prevents bleed on dark bg */
  color: var(--accent);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}
[data-theme="light"] .hero h1 {
  /* Light: deep charcoal — max contrast on ice-blue background */
  color: var(--accent);
  text-shadow: none;
}
[data-theme="light"] .hero h1 .accent {
  /* Light: deep navy — heavy enough to read against bright backgrounds */
  color: var(--cta-bg);
}
/* hero-lead: explicit color — no opacity shortcut so contrast is WCAG-verifiable */
.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: #f0f0f0;
  max-width: 520px;
  margin: 0 0 40px;
  line-height: 1.75;
}
[data-theme="light"] .hero-lead {
  color: #000000;
}
.br-desk {
  display: inline;
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-trust {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.hero-trust span {
  /* Dark: pure white text — checkmark color carries the brand green */
  font-size: 0.8rem;
  color: #ffffff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-trust span::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  /* Dark: bright emerald — pops against dark background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2336CC78' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
[data-theme="light"] .hero-trust span {
  /* Light: near-black text — readable on bright background */
  color: #1a1a1a;
}
[data-theme="light"] .hero-trust span::before {
  /* Light: deep forest green — sufficient contrast on white/ice-blue */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23146B38' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.hero-stats {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 24px 20px;
  border-top: 1px solid var(--border);
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
[data-theme="light"] .hero-stats {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 44px;
  gap: 3px;
}
.hstat-n {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 2rem;
  color: var(--cta-bg);
  line-height: 1;
  letter-spacing: -0.02em;
}
[data-theme="light"] .hstat-n {
  color: var(--accent);
}
.hstat-l {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
[data-theme="light"] .hstat-l {
  color: #334155;
}
.hstat-sep {
  width: 1px;
  height: 44px;
  background: var(--border);
}

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section {
  padding: var(--sp) 0;
}
.sect-alt {
  background: var(--surf);
}

.s-head {
  text-align: center;
  margin-bottom: 56px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}
.s-head h2 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.s-desc {
  color: var(--muted);
  font-size: 1.02rem;
  margin-top: 14px;
}

/* ─── Plans ──────────────────────────────────────────────────────────────── */
.plans-switch {
  display: flex;
  justify-content: center;
  background: var(--surf);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 52px;
  gap: 4px;
}
.sw-btn {
  padding: 10px 32px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--tr);
  min-height: 44px;
}
/* Active tab: Bright Gold + black text — same in both themes */
.sw-btn.active {
  background: var(--cta-bg);
  color: var(--cta-text);
}
.sw-btn:hover:not(.active) {
  color: var(--text);
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.plan-card {
  background: var(--surf);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transition:
    box-shadow var(--tr),
    border-color var(--tr),
    transform var(--tr);
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.plan-card.plan-hot {
  border-color: rgba(255, 224, 8, 0.5);
  box-shadow: 0 0 40px rgba(255, 224, 8, 0.07);
}
[data-theme="light"] .plan-card.plan-hot {
  border-color: rgba(0, 109, 181, 0.45);
  box-shadow: 0 0 40px rgba(0, 109, 181, 0.07);
}
.plan-card.plan-hot:hover {
  box-shadow: 0 16px 48px rgba(255, 224, 8, 0.18);
}
[data-theme="light"] .plan-card.plan-hot:hover {
  box-shadow: 0 16px 48px rgba(0, 109, 181, 0.15);
}
/* Hot label: Bright Gold + black text — same in both themes */
.hot-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plan-tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 5px;
  width: fit-content;
}
.tag-blue {
  background: rgba(var(--blue-rgb), 0.12);
  color: var(--blue);
}
.tag-amber {
  background: rgba(255, 224, 8, 0.12);
  color: var(--cta-bg);
}
[data-theme="light"] .tag-amber {
  background: rgba(0, 109, 181, 0.1);
  color: var(--accent);
}
.tag-green {
  background: rgba(54, 204, 120, 0.12);
  color: var(--ok);
}
.tag-teal {
  background: rgba(var(--blue-rgb), 0.08);
  color: var(--blue);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.plan-price b {
  font-family: var(--font-d);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan-price em {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
  margin-right: 2px;
}
.plan-price small {
  font-size: 0.9rem;
  color: var(--muted);
}
.plan-spd {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}
.plan-ft {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-grow: 1;
}
.plan-ft li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.plan-ft li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}
.plan-custom {
  text-align: center;
  align-items: center;
  justify-content: center;
}
.custom-glyph {
  color: var(--accent);
  display: flex;
}
.plan-custom h3 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.3rem;
}
.plan-custom p {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 260px;
  line-height: 1.6;
}

/* ─── Services ───────────────────────────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.svc-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 36px 32px;
  transition:
    border-color var(--tr),
    transform var(--tr),
    box-shadow var(--tr);
}
.svc-card:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.08);
}
.svc-ico {
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
}
.svc-card h3 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.svc-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ─── About ──────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
.about-txt .eyebrow {
  margin-bottom: 16px;
  display: block;
}
.about-txt h2 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-txt p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 14px;
}
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--muted);
}
.chip svg {
  flex-shrink: 0;
  color: var(--muted);
}

.about-card {
  background: var(--surf);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 4px solid var(--cta-bg);
}
.acard-top {
  display: flex;
  align-items: center;
}
.acard-logo {
  height: 50px;
  width: auto;
  display: block;
}
.acard-logo.broken {
  display: none;
}
.acard-logo-fb {
  display: none;
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.acard-logo.broken ~ .acard-logo-fb {
  display: block;
}
.acard-logo-fb em {
  font-style: normal;
  color: var(--text);
}
.acard-logo-fb {
  color: var(--accent);
}
.acard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.acard-s {
  background: var(--surf2);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acard-n {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.acard-l {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.acard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.acard-tags span {
  background: rgba(255, 224, 8, 0.1);
  border: 1px solid rgba(255, 224, 8, 0.28);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cta-bg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
[data-theme="light"] .acard-tags span {
  background: rgba(0, 109, 181, 0.08);
  border-color: rgba(0, 109, 181, 0.22);
  color: var(--accent);
}
.acard-note {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.acard-note svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* ─── Clients marquee ────────────────────────────────────────────────────── */
.clients-sect {
  overflow: hidden;
  padding-bottom: var(--sp);
}
.clients-sect .s-head {
  margin-bottom: 52px;
}
.marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.marquee-row {
  overflow: hidden;
  padding: 0.5rem;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
.mq-inner {
  display: flex;
  width: max-content;
}
@keyframes mq-l {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes mq-r {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
.marquee-row .mq-inner {
  animation: mq-l 42s linear infinite;
}
.mq-rev .mq-inner {
  animation: mq-r 42s linear infinite;
}
.marquee-wrap:hover .mq-inner {
  animation-play-state: paused;
}

.cl {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 32px;
  min-width: 160px;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 0 8px;
  transition:
    border-color var(--tr),
    transform var(--tr);
}
.cl:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  transform: translateY(-2px);
}
.cl img {
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--tr);
}
.cl:hover img {
  opacity: 1;
}
.cl span {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 500;
  text-align: center;
}

/* ─── Territory ──────────────────────────────────────────────────────────── */
.comm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.comm-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition:
    border-color var(--tr),
    transform var(--tr),
    box-shadow var(--tr);
}
.comm-card:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  transform: translateX(4px);
  box-shadow: -4px 0 0 0 var(--accent);
}
.comm-ico {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
  display: flex;
}
.comm-body h3 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.comm-body p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.78;
}

/* ─── Contact ────────────────────────────────────────────────────────────── */
.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.c-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.fg {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fg label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.fg input,
.fg select,
.fg textarea {
  background: var(--surf);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 0.93rem;
  transition:
    border-color var(--tr),
    box-shadow var(--tr);
  min-height: 46px;
  width: 100%;
  appearance: none;
}
.fg textarea {
  resize: vertical;
  min-height: 120px;
}
.fg input::placeholder,
.fg textarea::placeholder {
  color: var(--muted);
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A6880' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.fg select option {
  background: var(--surf);
  color: var(--text);
}
.c-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.ci {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color var(--tr);
}
.ci svg {
  flex-shrink: 0;
  color: var(--accent);
}
a.ci:hover {
  color: var(--accent);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
#footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 44px 0 32px;
}
.ft-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 28px;
}
.ft-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.ft-nav a {
  color: var(--muted);
  font-size: 0.84rem;
  padding: 6px 11px;
  border-radius: 5px;
  transition: color var(--tr);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.ft-nav a:hover {
  color: var(--text);
}
.ft-social {
  display: flex;
  gap: 8px;
}
.spill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  transition: all var(--tr);
}
.spill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.ft-sep {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}
.ft-copy {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

/* ─── Scroll reveal ──────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .br-desk {
    display: inline;
  }
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid {
    grid-template-columns: 55fr 45fr;
  }
  .hstat {
    padding: 10px 52px;
  }
  .c-info {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px;
  }
}
@media (min-width: 1100px) {
  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  #pg-business {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .hero-main {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 90px;
    padding-bottom: 32px;
  }
  /* On mobile: text first (top), logo canvas below */
  .hero-text {
    flex: none;
    width: 100%;
    text-align: center;
    align-items: center;   /* centre pill, h1, lead, btns, trust */
    order: 1;
  }
  .hero-visual {
    flex: none;
    width: 92%;
    min-width: 0;
    min-height: 240px;
    max-height: 280px;
    order: 2;
    border-radius: 18px;
    /* subtle backdrop so logo canvas reads against any bg */
    background: rgba(4, 6, 12, 0.18);
  }
  [data-theme="light"] .hero-visual {
    background: rgba(0, 109, 181, 0.06);
  }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }
  .br-desk { display: none; }
}
@media (max-width: 767px) {
  #main-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 6, 12, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 199;
    border-top: 1px solid var(--border);
  }
  [data-theme="light"] #main-nav {
    background: rgba(238, 245, 255, 0.97);
  }
  #main-nav a {
    font-size: 1.05rem;
    padding: 15px 40px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  body.nav-open #main-nav {
    display: flex;
  }
  body.nav-open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
  }
  body.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hamburger {
    display: flex;
  }
  .hstat-sep {
    display: none;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hstat {
    padding: 14px 8px;
    border: 1px solid var(--border);
  }
  .ft-top {
    flex-direction: column;
    align-items: center;
  }
  .ft-nav {
    display: none;
  }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.5rem; }
  /* Stronger shadow on mobile — ambient particles sit behind the text */
  .hero h1 {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.95), 0 0 32px rgba(0,0,0,0.60);
  }
  [data-theme="light"] .hero h1 { text-shadow: none; }
  .hero-lead {
    /* Frosted text legibility backdrop on mobile */
    border-radius: 10px;
    padding: 10px 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  [data-theme="light"] .hero-lead {
    color: #000;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .hero-btns .btn { width: 100%; }
  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .comm-card { flex-direction: column; }
}
.hero {
  position: relative;
}
.hero-main {
  position: relative;
  z-index: 1;
}
#hero-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
@media (max-width: 900px) {
  .hero-visual,
  #hero-canvas {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
  }
}
/* style.css — override hero text colors for light theme (add near existing hero styles) */
[data-theme="light"] .hero h1 {
  color: #0a0f1a;
  text-shadow: none;
}
[data-theme="light"] .hero-lead {
  color: #0a0f1a;
}
[data-theme="light"] .hero-trust span {
  color: #0a0f1a;
}

@media (max-width: 767px) {
  [data-theme="light"] .hero h1 {
    color: #0a0f1a;
    text-shadow: none;
  }
  [data-theme="light"] .hero-lead {
    color: #0a0f1a;
  }
  [data-theme="light"] .hero-trust span {
    color: #0a0f1a;
  }
  .hero-visual {
    display: none;
  }
}
