/* ==========================================================================
   CraniumIT — Precision Cyber-Editorial / Mission-Control
   Global Stylesheet
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --obsidian-950: #040814;
  --obsidian-900: #081126;
  --obsidian-800: #0c1830;

  --brand-900: var(--obsidian-950);
  --brand-800: var(--obsidian-900);
  --brand-700: var(--obsidian-800);
  --brand-600: #142a52;
  --brand-500: #2563eb;
  --brand-400: #3b82f6;
  --brand-300: #6b9cff;

  --accent-500: #00d4a0;
  --accent-400: #2eebb8;

  --ink-900: #0c1526;
  --ink-700: #2b3a55;
  --ink-500: #5a6b88;
  --ink-300: #8b9bb4;

  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-soft-2: #eef2f9;
  --white: #ffffff;

  --line: rgba(12, 21, 38, 0.1);
  --line-dark: rgba(255, 255, 255, 0.1);

  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-hairline: 0 0 0 1px var(--line);
  --shadow-sm: 0 1px 2px rgba(4, 8, 20, 0.04);
  --shadow: 0 8px 24px rgba(4, 8, 20, 0.06);
  --shadow-lg: 0 20px 48px rgba(4, 8, 20, 0.1);

  --maxw: 1180px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Bakbak One", "Inter", sans-serif;
  --font-mono: var(--font-body);
  --font: var(--font-body);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --tex-grid: linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  --tex-dot: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.14) 1px, transparent 0);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 400;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { color: var(--ink-500); }

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section--soft { background: var(--bg-soft); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.section-head p { margin-top: 14px; font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-500);
  background: var(--bg-soft-2);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; }

.btn--primary {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(35, 80, 196, 0.32);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(35, 80, 196, 0.42);
}

.btn--accent {
  background: linear-gradient(120deg, var(--accent-500), var(--accent-400));
  color: var(--brand-900);
  box-shadow: 0 12px 26px rgba(0, 212, 160, 0.3);
}

.btn--accent:hover { transform: translateY(-3px); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

.btn--outline {
  background: transparent;
  color: var(--brand-500);
  border-color: var(--brand-500);
}

.btn--outline:hover {
  background: var(--brand-500);
  color: var(--white);
  transform: translateY(-3px);
}

.btn--sm { padding: 11px 22px; font-size: 0.9rem; }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(4, 8, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  background: rgba(4, 8, 20, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-400), var(--accent-500));
  color: var(--brand-900);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(61, 111, 240, 0.4);
}

.logo__text span { color: var(--accent-400); }

/* Wordmark: Cranium in off-white, IT and the tagline in the logo cyan */
.logo__lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo__badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.logo__emblem {
  width: 32px;
  height: 32px;
  display: block;
}

.logo__words {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.28rem;
  letter-spacing: 0;
  color: #fcf5f9;
}

.logo__it {
  color: #31b3cd;
}

.logo__tag {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #31b3cd;
  padding-left: 0.04em;
}

.header .logo__name { font-size: 1.38rem; }
.footer .logo__name { font-size: 1.22rem; }
.footer .logo__badge { width: 38px; height: 38px; }
.footer .logo__emblem { width: 28px; height: 28px; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

button.nav__link {
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.nav__item { position: relative; }

.nav__toggle-caret {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.25s var(--ease);
}

.nav__item:hover .nav__toggle-caret,
.nav__item:focus-within .nav__toggle-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: none;
  border: 1px solid var(--line);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
  border: 1px solid var(--line);
}

.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 0.92rem;
  color: var(--ink-700);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.dropdown a:hover {
  background: var(--bg-soft);
  color: var(--brand-500);
}

.dropdown__group { position: relative; }

.dropdown__parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dropdown__caret {
  color: var(--ink-300);
  font-size: 1.05rem;
  line-height: 1;
}

.dropdown__sub {
  position: absolute;
  top: -6px;
  left: 100%;
  min-width: 180px;
  margin-left: 8px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: none;
  border: 1px solid var(--line);
  padding: 8px;
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 2;
}

.dropdown__sub::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 12px;
}

.dropdown__group:hover .dropdown__sub,
.dropdown__group:focus-within .dropdown__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.header__cta { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  position: relative;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-burger span { top: 50%; transform: translate(-50%, -50%); }
.nav-burger span::before { content: ""; top: -6px; transform: translateX(-50%); }
.nav-burger span::after { content: ""; top: 6px; transform: translateX(-50%); }

.nav-burger.is-open span { background: transparent; }
.nav-burger.is-open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-burger.is-open span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 110px;
  background: radial-gradient(
      1100px 600px at 15% -10%,
      rgba(35, 80, 196, 0.5),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 90% 0%,
      rgba(0, 212, 160, 0.22),
      transparent 55%
    ),
    linear-gradient(160deg, var(--brand-900), var(--brand-700));
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 60% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 60% 30%, black, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-400);
  box-shadow: 0 0 0 4px rgba(53, 230, 187, 0.25);
}

.hero h1 { color: var(--white); }

.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent-400), var(--brand-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  max-width: 560px;
  margin: 22px 0 34px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.stat__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}

/* Hero visual card */
.hero__visual { position: relative; }

.hero__panel {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.hero__panel h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}

.shield-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shield-row:last-child { border-bottom: 0; }

.shield-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(0, 212, 160, 0.16);
  color: var(--accent-400);
  flex-shrink: 0;
}

.shield-row .t { color: var(--white); font-weight: 600; font-size: 0.92rem; }
.shield-row .s { color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; }

.shield-row .ok {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-400);
  background: rgba(0, 212, 160, 0.14);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}


/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-400), var(--accent-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--bg-soft-2);
  color: var(--brand-500);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.card:hover .card__icon {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}

.card__icon svg { width: 27px; height: 27px; }

.card h3 { margin-bottom: 11px; }
.card p { font-size: 0.95rem; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-500);
  transition: gap 0.25s var(--ease);
}

.card:hover .card__link { gap: 12px; }
.card__link svg { width: 15px; height: 15px; }

/* ---------- Split (about) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split__body p + p { margin-top: 16px; }

.split__list { margin-top: 26px; display: grid; gap: 14px; }

.split__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-700);
}

.split__list .tick {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 212, 160, 0.14);
  color: var(--accent-500);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Pillars / VM cards */
.pillar {
  background: linear-gradient(160deg, var(--brand-800), var(--brand-700));
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}

.pillar::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(0, 212, 160, 0.14);
  filter: blur(6px);
}

.pillar h3 { color: var(--white); margin-bottom: 12px; }
.pillar p { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; position: relative; }

.pillar__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-400);
  margin-bottom: 14px;
}

/* ---------- Industries ---------- */
.industry {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease);
}

.industry:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.industry .card__icon { margin-bottom: 16px; }
.industry h3 { font-size: 1.12rem; margin-bottom: 9px; }
.industry p { font-size: 0.9rem; }

/* ---------- Advantages ---------- */
.advantage {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.advantage:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.advantage__num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
}

.advantage h3 { font-size: 1.08rem; margin-bottom: 7px; }
.advantage p { font-size: 0.92rem; }


/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, var(--brand-600), var(--brand-500) 55%, var(--brand-400));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
}

.cta::after {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 160, 0.28), transparent 70%);
}

.cta h2 { color: var(--white); position: relative; }
.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin: 16px auto 30px;
  max-width: 620px;
  position: relative;
}

.cta .btn { position: relative; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.info-card .card__icon { margin-bottom: 0; width: 48px; height: 48px; }
.info-card .card__icon svg { width: 22px; height: 22px; }

.info-card h4 { font-size: 1rem; margin-bottom: 5px; }
.info-card a, .info-card p { font-size: 0.92rem; color: var(--ink-500); }
.info-card a:hover { color: var(--brand-500); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 7px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 0.94rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.field textarea { resize: vertical; min-height: 130px; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(61, 111, 240, 0.12);
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-300);
  margin-top: 14px;
}

.form-alert {
  display: none;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.form-alert.is-visible { display: block; }

.form-alert--ok {
  background: rgba(0, 212, 160, 0.12);
  color: #067a5c;
  border: 1px solid rgba(0, 212, 160, 0.35);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 140px 0 70px;
  background: radial-gradient(
      900px 500px at 85% -20%,
      rgba(0, 212, 160, 0.2),
      transparent 60%
    ),
    linear-gradient(150deg, var(--brand-900), var(--brand-700));
  color: var(--white);
  text-align: center;
}

.page-hero h1 { color: var(--white); }
.page-hero p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 660px;
  margin: 18px auto 0;
  font-size: 1.06rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 9px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 20px;
}

.breadcrumb a:hover { color: var(--accent-400); }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.35); }

/* ---------- Detail block (solution sections) ---------- */
.detail {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 44px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.detail:last-child { border-bottom: 0; }

.detail__aside .card__icon { width: 62px; height: 62px; }
.detail__aside h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.detail__aside .eyebrow { margin-top: 18px; }

.detail__body p { margin-bottom: 16px; }

.feature-list { display: grid; gap: 12px; margin-top: 8px; }

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ink-700);
}

.feature-list .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 212, 160, 0.14);
  color: var(--accent-500);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.72rem;
}

/* ---------- Clients marquee ---------- */
.clients {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.client-logo {
  height: 88px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-300);
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.client-logo:hover {
  color: var(--brand-500);
  border-color: var(--brand-300);
  transform: translateY(-4px);
}


/* ---------- Footer ---------- */
.footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.68);
  padding: 70px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer .logo { margin-bottom: 18px; }

.footer p { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; }

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.footer__subhead { margin-top: 28px; }

.footer__links li { margin-bottom: 11px; }

.footer__links .footer__links {
  margin-top: 8px;
  padding-left: 14px;
}

.footer__links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer__links a:hover {
  color: var(--accent-400);
  padding-left: 5px;
}

.footer__contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 13px;
  font-size: 0.9rem;
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  color: var(--accent-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.socials { display: flex; gap: 11px; margin-top: 18px; }

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.25s var(--ease);
}

.socials a:hover {
  background: linear-gradient(120deg, var(--brand-500), var(--accent-500));
  color: var(--white);
  transform: translateY(-3px);
}

.socials svg { width: 18px; height: 18px; }

.footer__bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.footer__bottom a:hover { color: var(--accent-400); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s var(--ease);
  z-index: 900;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 46px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1120px) {
  .nav { gap: 0; }
  .nav__link { padding: 10px 9px; font-size: 0.9rem; }
}

@media (max-width: 860px) {
  .nav-burger { display: block; }

  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--brand-800);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-140%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }

  .nav.is-open { transform: translateY(0); }

  .nav__link { padding: 13px 14px; }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    padding: 6px;
    margin: 4px 0 6px;
  }

  .dropdown a { color: rgba(255, 255, 255, 0.8); }
  .dropdown a:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }

  .dropdown__caret { display: none; }

  .dropdown__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .header__cta .btn { display: none; }

  .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { gap: 26px; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions { flex-direction: column; }
}

/* ---------- Brand logo (real asset) ---------- */
.logo__img {
  height: 40px;
  width: auto;
  display: block;
}

.header .logo__img { height: 54px; }
.footer .logo__img { height: 46px; }

/* ---------- Section head variants ---------- */
.section-head--light h2,
.section-head--light p { color: var(--white); }
.section-head--light .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-400);
}

/* ---------- Dark band with client marquee ---------- */
.band-dark {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      1000px 480px at 20% 0%,
      rgba(35, 80, 196, 0.42),
      transparent 60%
    ),
    radial-gradient(
      800px 420px at 90% 100%,
      rgba(0, 212, 160, 0.18),
      transparent 60%
    ),
    linear-gradient(160deg, var(--brand-900), var(--brand-700));
  color: var(--white);
}

.band-dark::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: 54px 54px;
  pointer-events: none;
}

.band-dark .container { position: relative; z-index: 2; }

/* Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.marquee + .marquee { margin-top: 20px; }

.marquee__track {
  display: flex;
  align-items: center;
  gap: 58px;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
  animation-duration: 48s;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee__item {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  height: 54px;
  padding: 0 6px;
}

.marquee__item img {
  max-height: 42px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1) brightness(1.35);
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.marquee__item:hover img {
  opacity: 1;
  filter: none;
  transform: scale(1.08);
}

/* Certification badges */
.certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 46px;
}

.cert {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}

.cert img {
  height: 96px;
  width: auto;
  opacity: 0.92;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.cert:hover img { transform: translateY(-5px) scale(1.04); opacity: 1; }

.cert span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.stat-card__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card__label {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--ink-500);
  font-weight: 500;
}


/* ---------- Process / How we work ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
  position: relative;
}

.process__step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}

.process__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.process__step::after {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--bg-soft-2);
  line-height: 1;
  transition: color 0.4s var(--ease);
}

.process__step:hover::after { color: rgba(0, 212, 160, 0.24); }

.process__icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease);
}

.process__step:hover .process__icon { transform: rotate(-8deg) scale(1.08); }
.process__icon svg { width: 26px; height: 26px; }

.process__step h3 { font-size: 1.08rem; margin-bottom: 9px; }
.process__step p { font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.testimonial__quote {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 4.4rem;
  line-height: 1;
  color: var(--bg-soft-2);
  pointer-events: none;
}

.testimonial__stars {
  display: flex;
  gap: 3px;
  color: #f5a623;
}

.testimonial__stars svg { width: 18px; height: 18px; }

.testimonial p {
  font-size: 0.97rem;
  color: var(--ink-700);
  position: relative;
  z-index: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
}

.testimonial__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  flex-shrink: 0;
}

.testimonial__name { font-weight: 700; color: var(--ink-900); font-size: 0.94rem; }
.testimonial__role { font-size: 0.82rem; color: var(--ink-300); }

/* ---------- Team ---------- */
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }

.team-card__role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 14px;
}

.team-card p { font-size: 0.88rem; }


/* ---------- Enhanced animations ---------- */
.floating {
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.hero__blob--1 {
  width: 360px;
  height: 360px;
  background: rgba(61, 111, 240, 0.55);
  top: -80px;
  right: -60px;
  animation: float 9s ease-in-out infinite;
}

.hero__blob--2 {
  width: 280px;
  height: 280px;
  background: rgba(0, 212, 160, 0.4);
  bottom: -80px;
  left: -60px;
  animation: float 11s ease-in-out infinite reverse;
}

/* Pulsing live dot */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(53, 230, 187, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(53, 230, 187, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 230, 187, 0); }
}

.hero__badge .dot { animation: pulse-ring 2.2s infinite; }

/* Gradient border shine on hover for feature cards */
.card--feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--brand-400), var(--accent-400));
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card--feature:hover::after { opacity: 1; }

/* Staggered reveal delays handled by JS; add a directional variant */
.reveal--left { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--zoom { transform: scale(0.94); }

.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--zoom.is-visible { transform: none; }

/* Icon ring pulse */
.card:hover .card__icon { animation: none; }

/* Marquee fade edge helper */
.marquee-wrap { position: relative; }

/* Logo wall sizing helper for solution detail */
.detail__aside .card__icon svg { width: 30px; height: 30px; }

/* Soft heading gradient */
.text-gradient {
  background: linear-gradient(100deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- V2 Responsive ---------- */
@media (max-width: 1024px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .marquee__track { gap: 40px; }
  .marquee__item img { max-height: 34px; max-width: 120px; }
}

@media (max-width: 520px) {
  .stats-band { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .certs { gap: 20px; }
  .cert img { height: 74px; }
  .header .logo__img { height: 42px; }
  .footer .logo__img { height: 38px; }
  .logo__img { height: 34px; }
  .header .logo__name { font-size: 1.12rem; }
  .header .logo__tag { letter-spacing: 0.1em; font-size: 0.42rem; }
  .header .logo__badge { width: 34px; height: 34px; }
  .header .logo__emblem { width: 26px; height: 26px; }
}

/* ---------- Photo backgrounds ---------- */
.hero {
  background:
    linear-gradient(160deg, rgba(4, 8, 20, 0.94) 15%, rgba(4, 8, 20, 0.7) 60%, rgba(16, 31, 71, 0.55)),
    url("../assets/img/bg/home-hero-bkgnd.jpg") center / cover no-repeat,
    var(--brand-900);
}

.band-dark {
  background:
    linear-gradient(160deg, rgba(4, 8, 20, 0.9), rgba(4, 8, 20, 0.62) 50%, rgba(4, 8, 20, 0.9)),
    url("../assets/img/bg/section-bkgnd-twisted-circle.jpg") center / cover no-repeat,
    var(--brand-900);
}

.page-hero--photo {
  padding: 170px 0 96px;
  background:
    linear-gradient(180deg, rgba(4, 8, 20, 0.8), rgba(4, 8, 20, 0.88)),
    var(--hero-img) center / cover no-repeat,
    var(--brand-900);
}

.page-hero--about { --hero-img: url("../assets/img/pages/feat-img-cascade.jpg"); }
.page-hero--industries { --hero-img: url("../assets/img/pages/feat-img-industries.jpg"); }
.page-hero--contact { --hero-img: url("../assets/img/pages/feat-img-abstractface.jpg"); }
.page-hero--solutions { --hero-img: url("../assets/img/bg/section-bkgnd-twisted-circle.jpg"); }
.page-hero--cmms { --hero-img: url("../assets/img/industries/industry-healthcare.jpg"); }
.page-hero--linknest { --hero-img: url("../assets/img/products/linknest-hero.jpg"); }
.page-hero--mercury { --hero-img: url("../assets/img/solutions/solutions-infrastructure.jpg"); }
.page-hero--browser { --hero-img: url("../assets/img/bg/home-hero-bkgnd.jpg"); }
.page-hero--sslforge { --hero-img: url("../assets/img/solutions/solutions-cybersecurity.jpg"); }
.page-hero--relaydesk { --hero-img: url("../assets/img/solutions/solutions-cybersecurity.jpg"); }

.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-400);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.demo-login {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.demo-login code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.12em 0.4em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-400, #7dd3fc);
}

.demo-login--on-light {
  color: var(--ink-muted, #4b5568);
}

.demo-login--on-light code {
  background: rgba(4, 8, 20, 0.06);
  color: var(--ink, #0f172a);
}

.at-a-glance code {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.faq code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(4, 8, 20, 0.06);
}

/* ---------- Browser Launcher Pro: product panel & supported-browser strip ---------- */
.bl-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  display: grid;
  gap: 26px;
  justify-items: center;
  padding: 42px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
  border: 1px solid var(--line);
}

.bl-panel::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-400), var(--accent-400));
  opacity: 0.22;
}

.bl-panel > * { position: relative; }

.bl-panel__mark {
  width: 118px;
  height: 118px;
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.bl-browsers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

.bl-browsers img {
  height: 38px;
  width: auto;
  padding: 8px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.bl-browsers figcaption {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-500);
}

.bl-note {
  margin-top: 24px;
  color: var(--ink-500);
  font-size: 0.95rem;
}

/* ---------- Browser Launcher Pro: "A Look Inside" screenshot gallery ---------- */
.bl-shots {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, 1fr);
}

.bl-shot {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.bl-shot:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.bl-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.bl-shot h3 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
}

.bl-shot p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-500);
}

.bl-shot--feature {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
  padding: 26px;
}

.bl-shot--feature img { border-radius: var(--radius); }

.bl-shot--feature h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.bl-shot--feature .split__list { margin-top: 18px; }

.bl-shot__body { min-width: 0; }

.bl-shot--reverse { grid-template-columns: 1fr minmax(0, 300px); }

@media (max-width: 860px) {
  .bl-shots { grid-template-columns: repeat(2, 1fr); }

  .bl-shot--feature { grid-template-columns: 1fr; gap: 26px; }

  .bl-shot--reverse { grid-template-columns: 1fr; }

  .bl-shot--feature img {
    max-width: 340px;
    margin-inline: auto;
  }

  .bl-shot--reverse img { order: -1; }
}

@media (max-width: 520px) {
  .bl-shots { grid-template-columns: 1fr; }
}

.text-link { color: var(--brand-500); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

.sector__body .card__link + .card__link { margin-left: 22px; }

/* ---------- Home: product spotlight ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.spotlight h2 { color: var(--white); }
.spotlight p { color: rgba(255, 255, 255, 0.72); margin: 16px 0 26px; font-size: 1.05rem; }
.spotlight .eyebrow { background: rgba(255, 255, 255, 0.1); color: var(--accent-400); }
.spotlight .sector__tags span { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: var(--white); }
.spotlight .feature-list li { color: rgba(255, 255, 255, 0.85); }
.spotlight .page-hero__actions {
  justify-content: flex-start;
  margin-top: 0;
}

@media (max-width: 860px) {
  .spotlight { grid-template-columns: 1fr; }
}

/* Mirrored spotlight band (alternating product sections on the home page) */
.spotlight + .spotlight { margin-top: clamp(40px, 6vw, 76px); }
.spotlight--reverse { grid-template-columns: 0.8fr 1.2fr; }
.spotlight--reverse > div:first-child { order: 2; }
.spotlight--reverse > div:last-child { order: 1; }

@media (max-width: 860px) {
  .spotlight--reverse { grid-template-columns: 1fr; }
  .spotlight--reverse > div:first-child,
  .spotlight--reverse > div:last-child { order: 0; }
}

/* ---------- Product page: scale tiers (small -> mid -> large) ---------- */
.tier {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tier:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.tier__band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tier__size {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-900);
}

.tier__range {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-500);
  background: rgba(35, 80, 196, 0.1);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.tier__lead { font-size: 0.95rem; color: var(--ink-500); }

.tier .feature-list { margin-top: 2px; }
.tier .feature-list li { font-size: 0.9rem; }


/* ---------- Client logos (white artwork on dark band) ---------- */
.marquee__item img { opacity: 0.8; }

.marquee__item:hover img {
  filter: drop-shadow(0 0 12px rgba(53, 230, 187, 0.55));
}

/* ---------- Illustration frame ---------- */
.media-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-400), var(--accent-400));
  opacity: 0.22;
}

.media-frame--right::before { inset: 22px 22px -22px -22px; }

.media-frame img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: none;
  border: 1px solid var(--line);
}

.pillar-stack {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.pillar-stack .pillar { padding: 26px 26px 24px; }

/* ---------- Team photos ---------- */
.team-card__photo {
  display: block;
  aspect-ratio: 5 / 6;
  margin-bottom: 20px;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: var(--bg-soft);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s var(--ease);
}

.team-card:hover .team-card__photo img { transform: scale(1.05); }

a.team-card__photo:focus-visible {
  outline: 3px solid var(--accent-400);
  outline-offset: 3px;
}

/* ---------- Contact: flags, offices, FAQ ---------- */
.flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 4px;
}

.flag-row a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.flag-row img {
  width: 26px;
  height: 17px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--line);
}

.office {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.office:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.office__flag {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.office__body { padding: 24px 26px 28px; }
.office__body .pillar__kicker { color: var(--brand-500); margin-bottom: 10px; }
.office__body h3 { font-size: 1.12rem; margin-bottom: 10px; }
.office__body p { font-size: 0.92rem; margin-bottom: 14px; }

.office__body a {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-500);
  margin-top: 4px;
}

.office__body a:hover { color: var(--accent-500); }

.faq { margin-top: 26px; border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink-900);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft-2);
  color: var(--brand-500);
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: rgba(0, 212, 160, 0.16);
}

.faq summary:hover { color: var(--brand-500); }
.faq details p { padding: 0 44px 20px 0; font-size: 0.95rem; }

/* ---------- Photo CTA ---------- */
.cta--photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  min-height: 400px;
  text-align: left;
  background: url("../assets/img/bg/cta-bkgnd-mobilesite.jpg") left center / cover no-repeat, #e6e7ea;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta--photo::after { display: none; }
.cta--photo > * { grid-column: 2; }
.cta--photo h2 { color: var(--ink-900); }
.cta--photo p { color: var(--ink-500); margin: 16px 0 30px; }
.cta--photo .btn { justify-self: start; }
.cta--photo .page-hero__actions {
  margin-top: 0;
  justify-content: flex-start;
}

/* ---------- V3 Responsive ---------- */
@media (max-width: 860px) {
  .media-frame { max-width: 320px; }

  .cta--photo {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: center;
    background:
      linear-gradient(rgba(240, 241, 244, 0.88), rgba(240, 241, 244, 0.94)),
      url("../assets/img/bg/cta-bkgnd-mobilesite.jpg") left center / cover no-repeat;
  }

  .cta--photo > * { grid-column: 1; }
  .cta--photo p { margin-inline: auto; }
  .cta--photo .btn { justify-self: center; }
  .cta--photo .page-hero__actions { justify-content: center; }
}

@media (max-width: 520px) {
  .media-frame::before { inset: 14px -10px -14px 10px; }
  .media-frame--right::before { inset: 14px 10px -14px -10px; }
  .faq details p { padding-right: 0; }
}


/* ---------- Overview: quick-jump anchor index ---------- */
.sol-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sol-index__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.sol-index__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-400), var(--accent-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.sol-index__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.sol-index__card:hover::before { transform: scaleX(1); }

.sol-index__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sol-index__card .card__icon { margin-bottom: 0; }

.sol-index__card:hover .card__icon {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}

.sol-index__num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-300);
}

.sol-index__card h3 { font-size: 1.1rem; }
.sol-index__card p { font-size: 0.9rem; }

.sol-index__card .card__link { margin-top: auto; }
.sol-index__card:hover .card__link { gap: 12px; }

/* ---------- Solution detail cards (stacked) ---------- */
.solutions-list { display: grid; gap: 30px; }

.sol {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  scroll-margin-top: 110px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.sol:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.sol__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 44px 38px;
  background-color: var(--brand-900);
  background-image:
    linear-gradient(180deg, rgba(4, 8, 20, 0.92), rgba(8, 17, 38, 0.66)),
    var(--sol-img, linear-gradient(160deg, var(--brand-800), var(--brand-700)));
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  color: var(--white);
  overflow: hidden;
}

/* Per-solution CC0 photography (StockSnap) sits behind the dark panel gradient */
#cybersecurity .sol__aside {
  --sol-img: url("../assets/img/solutions/solutions-cybersecurity.jpg");
}
#project-implementation .sol__aside {
  --sol-img: url("../assets/img/solutions/solutions-project.jpg");
}
#it-infrastructure .sol__aside {
  --sol-img: url("../assets/img/solutions/solutions-infrastructure.jpg");
}
#consulting .sol__aside {
  --sol-img: url("../assets/img/solutions/solutions-consulting.jpg");
}
#outsourcing .sol__aside {
  --sol-img: url("../assets/img/solutions/solutions-outsourcing.jpg");
}
#custom-software .sol__aside {
  --sol-img: url("../assets/img/solutions/solutions-software.jpg");
}

.sol__aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 82% 18%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 82% 18%, #000, transparent 72%);
  pointer-events: none;
}

.sol__aside > * { position: relative; z-index: 1; }

.sol__index {
  position: absolute;
  top: 14px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.09);
  z-index: 0;
}

.sol__aside .card__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-400);
}

.sol__aside .card__icon svg { width: 30px; height: 30px; }

.sol__aside h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
}

.sol__aside .eyebrow {
  margin: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-400);
  align-self: flex-start;
}

.sol__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 44px 40px;
}

.sol__body > p { font-size: 1rem; }

.sol__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.sol__tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand-500);
  background: var(--bg-soft-2);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.sol__body .card__link { margin-top: 0; }

/* ---------- V4 Responsive ---------- */
@media (max-width: 1024px) {
  .sol-index { grid-template-columns: repeat(2, 1fr); }
  .sol { grid-template-columns: 1fr; }
  .sol__aside { padding: 36px 34px 30px; }
  .sol__body { padding: 34px 34px 38px; }
}

@media (max-width: 860px) {
  .sol-index { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .sol-index__card { padding: 22px 20px; }
  .sol__aside { padding: 30px 24px 26px; }
  .sol__body { padding: 28px 24px 32px; }
  .sol__index { font-size: 2.9rem; top: 10px; right: 18px; }
}


/* ---------- Left column wrapper ---------- */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-self: start;
}

/* Stacked info cards (replaces inline spacing) */
.info-stack { display: grid; gap: 18px; }

/* Info card refinements */
.info-card .card__icon { flex-shrink: 0; }

.info-card:hover .card__icon {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}

.flag-row a { font-weight: 600; color: var(--ink-700); }
.flag-row a:hover { color: var(--brand-500); }

/* ---------- Dark "urgent support" panel ---------- */
.support-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 28px 26px;
  background: linear-gradient(160deg, var(--brand-800), var(--brand-700));
  color: var(--white);
  box-shadow: var(--shadow);
}

.support-card::after {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 160, 0.3), transparent 70%);
  pointer-events: none;
}

.support-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-400);
  margin-bottom: 16px;
}

.support-card__icon svg { width: 26px; height: 26px; }

.support-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.support-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.support-card .btn { position: relative; z-index: 1; }

/* ---------- Form card head + actions ---------- */
.form-card__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.form-card__head .card__icon { margin-bottom: 0; flex-shrink: 0; }
.form-card__head h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card__head p { font-size: 0.92rem; }

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-actions .form-note { margin-top: 0; flex: 1 1 220px; }

/* ---------- V5 Responsive ---------- */
@media (max-width: 860px) {
  .form-card__head { flex-direction: column; gap: 12px; }
  .support-card { padding: 24px 22px; }
}


/* ---------- Industry card: header row + chips + link ---------- */
.industry {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.industry::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-400), var(--accent-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.industry:hover::before { transform: scaleX(1); }

.industry__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.industry__top .card__icon { margin-bottom: 0; }

.industry:hover .card__icon {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}

.industry__num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-300);
  transition: color 0.35s var(--ease);
}

.industry:hover .industry__num { color: var(--brand-400); }

.industry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.industry__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-500);
  background: var(--bg-soft-2);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

.industry .card__link { margin-top: auto; padding-top: 16px; }
.industry:hover .card__link { gap: 12px; }


/* Stacked advantage variant (replaces inline flex-direction: column) */
.advantage--stack { flex-direction: column; align-items: flex-start; }

/* Vision & Mission media split (illustration sizing) */
.split--media { align-items: center; }
.split--media .media-frame { max-width: 420px; }

/* Stats row inside the leadership section (replaces inline margin) */
.team-stats { margin-top: 56px; }

/* Leadership: role shown as a pill badge */
.team-card__role {
  display: inline-block;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft-2);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}


.split__body > h2 + p { margin-top: 16px; }

/* ---------- Hero + overlapping stats panel ---------- */
.hero--home { padding-bottom: 170px; }

.home-stats {
  position: relative;
  z-index: 3;
  margin-top: -80px;
  background: linear-gradient(to bottom, transparent 80px, var(--bg-soft) 80px);
}

.home-stats__panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
  overflow: hidden;
}

.home-stat {
  background: var(--white);
  padding: 32px 30px;
}

.home-stat .stat-card__label { margin-top: 10px; }

/* ---------- Solutions: sticky intro + service list ---------- */
.home-solutions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.home-solutions__intro {
  position: sticky;
  top: 120px;
}

.home-solutions__intro p { margin: 18px 0 30px; font-size: 1.05rem; }

.home-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}

.home-service {
  position: relative;
  display: block;
  padding: 30px 40px 30px 0;
  border-top: 1px solid var(--line);
}

.home-service::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-400), var(--accent-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.home-service::after {
  content: "";
  position: absolute;
  top: 46px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--ink-300);
  border-right: 2px solid var(--ink-300);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.home-service .card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.home-service .card__icon svg { width: 24px; height: 24px; }

.home-service h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  transition: color 0.3s var(--ease);
}

.home-service p { font-size: 0.93rem; }

.home-service:hover::before,
.home-service:focus-visible::before { transform: scaleX(1); }

.home-service:hover::after,
.home-service:focus-visible::after {
  transform: translateX(5px) rotate(45deg);
  border-color: var(--accent-500);
}

.home-service:hover h3,
.home-service:focus-visible h3 { color: var(--brand-500); }

.home-service:hover .card__icon,
.home-service:focus-visible .card__icon {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400));
  color: var(--white);
}

.home-service:focus-visible {
  outline: 3px solid var(--accent-400);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- Why choose us: photo panel ---------- */
.home-why {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px);
  background:
    linear-gradient(90deg, var(--brand-900) 32%, rgba(4, 8, 20, 0.72) 58%, rgba(4, 8, 20, 0.08)),
    url("../assets/img/pages/feat-img-abstractface.jpg") right center / cover no-repeat,
    var(--brand-900);
  box-shadow: none;
  border: 1px solid var(--line);
}

.home-why__body { max-width: 560px; }

.home-why .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-400);
}

.home-why h2 { color: var(--white); }

.home-why__lead {
  margin-top: 14px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
}

.home-why__list {
  display: grid;
  gap: 26px;
  margin-top: 36px;
}

.home-why__list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.home-why__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(0, 212, 160, 0.14);
  border: 1px solid rgba(53, 230, 187, 0.28);
  color: var(--accent-400);
}

.home-why__icon svg { width: 24px; height: 24px; }

.home-why__list h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.home-why__list p { color: rgba(255, 255, 255, 0.66); font-size: 0.95rem; }

/* ---------- Left-aligned section head with action ---------- */
.home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.home-head > div { max-width: 620px; }
.home-head p { margin-top: 12px; font-size: 1.05rem; }

/* ---------- Featured testimonial ---------- */
.testimonial--feature {
  background: linear-gradient(160deg, var(--brand-800), var(--brand-700));
  border-color: transparent;
  box-shadow: none;
  border: 1px solid var(--line);
}

.testimonial--feature p { color: rgba(255, 255, 255, 0.84); }
.testimonial--feature .testimonial__quote { color: rgba(255, 255, 255, 0.08); }
.testimonial--feature .testimonial__name { color: var(--white); }
.testimonial--feature .testimonial__role { color: rgba(255, 255, 255, 0.55); }

/* ---------- V7 Responsive ---------- */
@media (max-width: 960px) {
  .home-solutions { grid-template-columns: 1fr; }
  .home-solutions__intro { position: static; max-width: 640px; }
}

@media (max-width: 860px) {
  .home-stats__panel { grid-template-columns: repeat(2, 1fr); }

  .home-why {
    background:
      linear-gradient(180deg, rgba(4, 8, 20, 0.78), rgba(4, 8, 20, 0.94)),
      url("../assets/img/pages/feat-img-abstractface.jpg") 70% center / cover no-repeat,
      var(--brand-900);
  }
}

@media (max-width: 520px) {
  .hero--home { padding-bottom: 140px; }
  .home-stat { padding: 22px 18px; }
  .home-services { grid-template-columns: 1fr; }
  .home-service { padding-right: 32px; }
  .home-why { padding: 32px 22px; }
  .home-why__list li { gap: 14px; }
}

/* ---------- Industries: typographic sector directory ---------- */
.sector-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-bottom: clamp(12px, 2vw, 20px);
}

.sector-intro > div { max-width: 620px; }
.sector-intro p { margin-top: 12px; font-size: 1.05rem; }

.sector-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 420px;
}

.sector-jump a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.sector-jump a:hover {
  border-color: var(--brand-400);
  color: var(--brand-500);
  background: var(--bg-soft);
}

.sector {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(40px, 6vw, 68px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.sector__title .card__icon { margin-bottom: 20px; }

.sector__title h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  transition: color 0.3s var(--ease);
}

.sector:hover .sector__title h2,
.sector:focus-within .sector__title h2 { color: var(--brand-500); }

.sector:hover .card__icon,
.sector:focus-within .card__icon {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}

.sector__body > p { font-size: 1.02rem; margin-bottom: 18px; }
.sector__body .card__link { margin-top: 20px; }

.sector__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.sector__tags span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand-500);
  background: var(--bg-soft-2);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.home-why--cascade {
  background:
    linear-gradient(90deg, var(--brand-900) 32%, rgba(4, 8, 20, 0.72) 58%, rgba(4, 8, 20, 0.08)),
    url("../assets/img/pages/feat-img-cascade.jpg") right center / cover no-repeat,
    var(--brand-900);
}

/* ---------- Contact: overlapping shortcut dock ---------- */
.page-hero--dock { padding-bottom: 150px; }

.contact-dock {
  position: relative;
  z-index: 3;
  margin-top: -72px;
}

.contact-dock__panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
  border: 1px solid var(--line);
  overflow: hidden;
}

.contact-dock__item {
  background: var(--white);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.25s var(--ease);
}

a.contact-dock__item:hover { background: var(--bg-soft); }

.contact-dock__item .card__icon { margin-bottom: 12px; }
.contact-dock__item h3 { font-size: 1rem; }
.contact-dock__item p { font-size: 0.9rem; }

a.contact-dock__item:hover .card__icon {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400));
  color: var(--white);
}

.form-wrap { max-width: 820px; margin-inline: auto; }

.form-card__head h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin-bottom: 6px;
}

#offices { scroll-margin-top: 110px; }

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.presence {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.presence:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.presence__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.presence__top img {
  width: 28px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--line);
}

.presence__top span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-500);
}

.presence h3 { font-size: 1.12rem; margin-bottom: 10px; }
.presence p { font-size: 0.92rem; margin-bottom: 14px; }

.presence a {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-500);
  margin-top: 4px;
}

.presence a:hover { color: var(--accent-500); }

/* ---------- V8 Responsive ---------- */
@media (max-width: 1024px) {
  .sector { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .contact-dock__panel { grid-template-columns: repeat(2, 1fr); }
  .presence-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .home-why--cascade {
    background:
      linear-gradient(180deg, rgba(4, 8, 20, 0.78), rgba(4, 8, 20, 0.94)),
      url("../assets/img/pages/feat-img-cascade.jpg") center / cover no-repeat,
      var(--brand-900);
  }

  .page-hero--dock { padding-bottom: 110px; }
  .contact-dock { margin-top: -48px; }
}

@media (max-width: 520px) {
  .sector-jump { max-width: none; }
  .contact-dock__panel { grid-template-columns: 1fr; }
  .contact-dock__item { padding: 20px 18px; }
}


/* Photo beneath each sector heading */
.sector__media {
  margin-top: clamp(20px, 3vw, 28px);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}

.sector__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}

.sector:hover .sector__media img,
.sector:focus-within .sector__media img { transform: scale(1.05); }


/* ---------- CMMS / product pricing (see hosting rules in Mission-Control block) ---------- */

.price__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 22px;
  box-shadow: var(--shadow-sm);
}

.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.price-card ul {
  list-style: none;
  margin: 12px 0 22px;
  padding: 0;
  color: var(--ink-500);
  font-size: 0.92rem;
  flex: 1;
}

.price-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-500);
}

.price-card .btn { width: 100%; justify-content: center; }

.price-card--featured {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(0, 212, 160, 0.18), var(--shadow);
}

.price-card__ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-500);
  color: var(--brand-900);
  font-size: 0.72rem;
  font-weight: 700;
}

.price-card__size,
.price-card__unit,
.price-card__month,
.price-card__min,
.price-card__audience,
.price-card__meta {
  color: var(--ink-500);
}

.price-card__size { font-size: 0.88rem; margin: 6px 0 14px; }

.price-card__price {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.price-card__amount {
  display: inline-block;
  margin-right: 6px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink-900);
}

.price-card__unit { font-size: 0.88rem; }
.price-card__month,
.price-card__min { display: block; font-size: 0.82rem; }

.price-card__audience { margin-bottom: 10px; }
.price-card__meta { font-size: 0.88rem; margin-bottom: 6px; color: var(--ink-700); }

.price-example__label {
  color: var(--ink-500);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.price-example__total {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink-900);
}

.price__fineprint {
  margin-top: 18px;
  font-size: 0.9rem;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.price-table thead th {
  background: var(--bg-soft);
  color: var(--ink-900);
  font-weight: 700;
}

.price-table tbody th {
  color: var(--ink-900);
  font-weight: 600;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }

.price-service__fee {
  color: var(--brand-500);
  font-weight: 700;
  margin: 6px 0 8px;
}

@media (max-width: 1100px) {
  .price__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .price__grid { grid-template-columns: 1fr; }
  .price__switch .btn { flex: 1; text-align: center; justify-content: center; }
}



/* ---------- SSL Forge: product panel & capability strip ---------- */
.sf-panel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  display: grid;
  gap: 24px;
  justify-items: center;
  padding: 42px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
  border: 1px solid var(--line);
}

.sf-panel::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-400), var(--accent-400));
  opacity: 0.22;
}

.sf-panel > * { position: relative; }

.sf-panel__mark {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: var(--brand-600);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.sf-panel__mark svg { width: 48px; height: 48px; }

.sf-panel__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink-900);
  text-align: center;
}

.sf-caps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-caps span {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.sf-note {
  margin-top: 24px;
  color: var(--ink-500);
  font-size: 0.95rem;
}


/* ==========================================================================
   MISSION-CONTROL — Core overrides & new surfaces
   ========================================================================== */

body {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

code, kbd, pre, samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  padding: 0.12em 0.45em;
  border-radius: 6px;
  background: var(--bg-soft-2);
  border: 1px solid var(--line);
  color: var(--ink-900);
}

pre {
  overflow-x: auto;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--obsidian-900);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line-dark);
  line-height: 1.55;
}

pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 2000;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent-500);
  color: var(--obsidian-950);
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid rgba(0, 212, 160, 0.35);
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 12px;
  outline: none;
}

/* ---------- Technical texture utilities ---------- */
.texture-grid::after,
.hero::after,
.page-hero::after,
.band-dark::before {
  background-image: var(--tex-grid);
  background-size: 48px 48px;
}

.texture-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tex-dot);
  background-size: 18px 18px;
  pointer-events: none;
  opacity: 0.35;
}

/* ---------- Frosted mission header ---------- */
.header {
  background: rgba(4, 8, 20, 0.62);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: none;
}

.header.is-scrolled {
  background: rgba(4, 8, 20, 0.94);
  box-shadow: 0 1px 0 var(--line-dark);
}

/* ---------- Mega menu ---------- */
.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(920px, calc(100vw - 40px));
  padding: 20px;
  background: rgba(8, 17, 38, 0.98);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 50;
}

.nav__item:hover .mega,
.nav__item:focus-within .mega,
.nav__item.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav__item:hover .dropdown:not(.mega),
.nav__item:focus-within .dropdown:not(.mega),
.nav__item.is-open .dropdown:not(.mega) {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mega__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.mega__card:hover {
  border-color: rgba(0, 212, 160, 0.35);
  background: rgba(37, 99, 235, 0.08);
}

.mega__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.mega__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.mega__meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-400);
}

/* ---------- Editorial cards (hairline, not soft SaaS) ---------- */
.card,
.price-card,
.sol-index__card,
.info-card,
.presence,
.industry,
.form-card {
  box-shadow: none;
  border: 1px solid var(--line);
}

.card:hover,
.industry:hover,
.info-card:hover,
.presence:hover,
.sol-index__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(37, 99, 235, 0.22);
}

.btn--primary {
  background: var(--brand-500);
  box-shadow: none;
  border: 1px solid rgba(37, 99, 235, 0.4);
}

.btn--primary:hover {
  background: var(--brand-400);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.btn--accent {
  background: var(--accent-500);
  color: var(--obsidian-950);
  box-shadow: none;
  border: 1px solid rgba(0, 212, 160, 0.45);
}

.btn:hover {
  transform: translateY(-2px);
}

/* ---------- Hero mission band ---------- */
.hero,
.page-hero {
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(37, 99, 235, 0.35), transparent 58%),
    radial-gradient(700px 420px at 88% 0%, rgba(0, 212, 160, 0.16), transparent 55%),
    linear-gradient(165deg, var(--obsidian-950) 0%, var(--obsidian-800) 100%);
}

.hero__panel {
  box-shadow: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-500);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-strip__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-500);
}

/* ---------- Product tabs ---------- */
.product-tabs { display: grid; gap: 28px; }

.product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.product-tabs__btn {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-500);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.product-tabs__btn.is-active {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.product-tabs__panel { display: none; }
.product-tabs__panel.is-active { display: block; }

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.bento__item {
  grid-column: span 4;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 180px;
}

.bento__item:nth-child(1) { grid-column: span 7; }
.bento__item:nth-child(2) { grid-column: span 5; }
.bento__item:nth-child(3) { grid-column: span 5; }
.bento__item:nth-child(4) { grid-column: span 7; }

/* ---------- Fit selector ---------- */
.fit-selector {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  background: var(--bg-soft);
}

.fit-selector__q {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink-900);
  margin-bottom: 16px;
}

.fit-selector__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.fit-selector__options button,
.fit-selector__options label {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.fit-selector__result {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 212, 160, 0.35);
  background: rgba(0, 212, 160, 0.08);
  color: var(--ink-700);
  font-size: 0.95rem;
}

/* ---------- Jump bar & spec table ---------- */
.jump-bar-wrap {
  position: sticky;
  top: 72px;
  z-index: 45;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.jump-bar a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-700);
}

.jump-bar a:hover {
  border-color: var(--brand-500);
  color: var(--brand-500);
}

.spec-table,
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.spec-table th,
.spec-table td,
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.spec-table thead th,
.compare-table thead th {
  background: var(--bg-soft);
  font-family: var(--font-body);
  color: var(--ink-900);
}

.spec-table tbody tr:last-child td,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- At-a-glance & related band ---------- */
.at-a-glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}

.at-a-glance > * {
  padding: 22px 20px;
  background: var(--white);
}

.related-band {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--obsidian-900);
  color: rgba(255, 255, 255, 0.78);
  border-block: 1px solid var(--line-dark);
}

.related-band h2 { color: var(--white); }

/* ---------- Price hosting visibility ---------- */
.price [data-hosting="inhouse"] { display: none; }

.price:has(#hostingInhouse:checked) [data-hosting="cloud"] { display: none; }
.price:has(#hostingInhouse:checked) [data-hosting="inhouse"] { display: block; }
.price:has(#hostingInhouse:checked) .price__note [data-hosting="inhouse"] { display: inline; }
.price:has(#hostingInhouse:checked) .price__note [data-hosting="cloud"] { display: none; }

.price:has(#hostingCloud:checked) [data-hosting="inhouse"] { display: none; }
.price:has(#hostingCloud:checked) [data-hosting="cloud"] { display: block; }

.price-card.is-featured,
.price-card--featured {
  border-color: rgba(0, 212, 160, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 212, 160, 0.25);
}

/* ---------- Legal & error pages ---------- */
.legal-doc {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px) 0;
}

.legal-doc h2 {
  margin-top: 2.2em;
  margin-bottom: 0.65em;
  font-size: 1.35rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--ink-500);
  font-size: 0.98rem;
}

.legal-doc ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0 1.25rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px 22px 80px;
  background:
    var(--tex-dot),
    linear-gradient(180deg, var(--obsidian-950), var(--obsidian-800));
  background-size: 20px 20px, auto;
  color: rgba(255, 255, 255, 0.82);
}

.error-page h1 {
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--white);
  font-family: var(--font-mono);
  letter-spacing: -0.06em;
}

.error-page p { color: rgba(255, 255, 255, 0.62); max-width: 420px; margin: 16px auto 28px; }

/* ---------- Focus & motion (consolidated) ---------- */
:focus-visible {
  outline: 2px solid var(--accent-400);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .mega__grid { grid-template-columns: 1fr 1fr; }
  .bento__item,
  .bento__item:nth-child(n) { grid-column: span 12; }
  .at-a-glance { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .mega {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
  }
  .mega__grid { grid-template-columns: 1fr; }
  .at-a-glance { grid-template-columns: 1fr; }
  .product-tabs__btn { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none !important; }
}

/* ==========================================================================
   Visual polish pass — contrast, hero, mega menu, type, motion
   ========================================================================== */

h1, h2, h3, h4 {
  letter-spacing: 0;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }

/* ==========================================================================
   Mega Menu — High-contrast, polished Mission-Control navigation panels
   ========================================================================== */
.header__inner {
  position: relative;
}

/* Full-height hover targets: nav fills the header, items fill the nav */
.header .nav {
  align-self: stretch;
  align-items: center;
}

.nav__item {
  /* static so .mega positions against .header__inner; stretch so the
     hover hit-area fills the header height (not just the link box) */
  position: static;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav__item.is-open > .nav__link {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav__item.is-open .nav__toggle-caret {
  transform: rotate(180deg);
}

.dropdown.mega,
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(960px, calc(100vw - 44px));
  padding: 20px 22px 22px;
  margin-top: 6px;
  background:
    radial-gradient(640px 220px at 14% 0%, rgba(37, 99, 235, 0.14), transparent 62%),
    radial-gradient(520px 200px at 88% 0%, rgba(0, 212, 160, 0.1), transparent 60%),
    linear-gradient(180deg, #0b162d 0%, #060d1c 100%);
  border: 1px solid rgba(148, 179, 255, 0.2);
  border-radius: 18px;
  box-shadow:
    0 32px 80px -12px rgba(2, 6, 18, 0.84),
    0 12px 28px -8px rgba(2, 6, 18, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.22s var(--ease), visibility 0.2s;
  z-index: 60;
}

/* Invisible hover bridge covering the visual gap under the header */
.dropdown.mega::before,
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav__item:hover > .dropdown.mega,
.nav__item:focus-within > .dropdown.mega,
.nav__item.is-open > .dropdown.mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Reset legacy light .dropdown a defaults inside .mega */
.dropdown.mega a,
.mega a {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #f8fafc;
}

.dropdown.mega a:hover,
.mega a:hover {
  background: transparent;
  color: #ffffff;
}

/* Top header bar inside each mega panel */
.mega__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mega__header-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mega__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-400);
}

.mega__sub {
  font-size: 0.84rem;
  color: #9cb0cc;
  line-height: 1.35;
}

.dropdown.mega a.mega__all,
.mega a.mega__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: #dffef4;
  background: rgba(0, 212, 160, 0.1);
  border: 1px solid rgba(0, 212, 160, 0.28);
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.dropdown.mega a.mega__all:hover,
.mega a.mega__all:hover {
  background: rgba(0, 212, 160, 0.2);
  border-color: rgba(46, 235, 184, 0.55);
  color: #ffffff;
  transform: translateX(2px);
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mega__card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 13px;
  min-height: 112px;
  padding: 15px 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

/* Support legacy or standalone <a class="mega__card"> cleanly */
.dropdown.mega a.mega__card,
a.mega__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
}

.mega__card:hover,
.mega__card:focus-within {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(46, 235, 184, 0.45);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.55);
}

.mega__card--accent {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.22), rgba(0, 212, 160, 0.12));
  border-color: rgba(46, 235, 184, 0.34);
}

.mega__card--accent:hover,
.mega__card--accent:focus-within {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.3), rgba(0, 212, 160, 0.18));
  border-color: rgba(46, 235, 184, 0.65);
}

.mega__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(107, 156, 255, 0.28);
  color: #7eb2ff;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.mega__icon svg {
  width: 18px;
  height: 18px;
}

.mega__card:hover .mega__icon,
.mega__card:focus-within .mega__icon {
  background: rgba(0, 212, 160, 0.16);
  border-color: rgba(46, 235, 184, 0.48);
  color: var(--accent-400);
}

.mega__icon--accent {
  background: rgba(0, 212, 160, 0.16);
  border-color: rgba(46, 235, 184, 0.4);
  color: var(--accent-400);
}

.mega__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
}

.mega__title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.dropdown.mega a.mega__title,
.mega .mega__title,
.mega__title {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #ffffff;
  margin: 0;
}

/* Full-card click target via stretched link on primary title */
.mega__card .mega__title::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
}

.mega__card:hover .mega__title {
  color: #ffffff;
}

.mega__badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ef7cf;
  background: rgba(0, 212, 160, 0.16);
  border: 1px solid rgba(46, 235, 184, 0.35);
  line-height: 1.45;
}

.mega__arrow {
  margin-left: auto;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.38);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.mega__card:hover .mega__arrow,
.mega__card:focus-within .mega__arrow {
  color: var(--accent-400);
  transform: translateX(3px);
}

.mega__desc {
  display: block;
  color: #b4c2d8;
  font-size: 0.82rem;
  line-height: 1.45;
}

.mega__meta {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-400);
}

.dropdown.mega .mega__meta a,
.mega .mega__meta a,
.mega__meta a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  color: #4bf2c4;
  background: rgba(0, 212, 160, 0.1);
  border: 1px solid rgba(46, 235, 184, 0.26);
  font-size: 0.67rem;
  line-height: 1.35;
  letter-spacing: 0.06em;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.dropdown.mega .mega__meta a:hover,
.mega .mega__meta a:hover,
.mega__meta a:hover {
  background: rgba(0, 212, 160, 0.24);
  border-color: rgba(46, 235, 184, 0.6);
  color: #ffffff;
  text-decoration: none;
}

/* Related-band cards reuse .mega__grid & .mega__card cleanly */
.related-band .mega__card {
  flex-direction: column;
  gap: 7px;
  padding: 18px 20px;
  min-height: 120px;
}

.related-band .mega__meta {
  padding-top: 10px;
}

/* Header density */
.nav {
  gap: 2px;
}

.nav__link {
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: 999px;
}

.nav__link.is-active,
.nav__link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header .logo__img {
  height: 48px;
}

/* Full-bleed photographic hero with readable overlay */
.hero--home {
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: 132px 0 96px;
  background:
    linear-gradient(105deg, rgba(4, 8, 20, 0.94) 0%, rgba(4, 8, 20, 0.78) 48%, rgba(4, 8, 20, 0.55) 100%),
    radial-gradient(900px 520px at 80% 20%, rgba(0, 212, 160, 0.18), transparent 55%),
    url("../assets/img/bg/home-hero-bkgnd.jpg") center / cover no-repeat;
}

.hero--home::after {
  opacity: 0.35;
  background-size: 64px 64px;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.15rem);
  letter-spacing: 0;
  text-transform: none;
  color: #fcf5f9;
  margin-bottom: 8px;
  line-height: 1;
  text-shadow: none;
}

.hero__brand .logo__it {
  color: #31b3cd;
}

.hero__brand-tag {
  display: block;
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.72rem, 1.1vw, 0.92rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #31b3cd;
}

.hero--home h1 {
  max-width: 18ch;
  font-weight: 400;
  text-wrap: balance;
}

.hero--home h1 .grad {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: inherit;
}

.hero__lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
}

.hero__panel {
  background: rgba(7, 16, 31, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45) !important;
  padding: 28px 26px !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.hero__panel h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.shield-row .icon {
  background: rgba(0, 212, 160, 0.16);
  border: 1px solid rgba(0, 212, 160, 0.28);
}

.shield-row .t { font-size: 0.98rem; }
.shield-row .s { color: rgba(255, 255, 255, 0.62); }

.shield-row .ok {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.btn--accent {
  box-shadow: 0 0 0 1px rgba(0, 212, 160, 0.35), 0 10px 30px rgba(0, 212, 160, 0.22);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Trust strip sits into the hero curve */
.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  width: calc(100% - 44px);
  max-width: calc(var(--maxw) - 44px);
  margin-inline: auto;
  padding: 16px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(4, 8, 20, 0.12);
  justify-content: space-between;
}

.home-stats {
  margin-top: 0;
  padding-top: 28px;
  background: transparent;
}

.home-stats__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 28px 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.home-stat {
  text-align: center;
  padding: 8px 10px;
}

.stat-card__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-card__label {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--ink-500);
}

/* Solutions + product surfaces */
.home-service {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: #fff;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.home-service:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.product-tabs__nav {
  background: #0a1428;
  border-color: transparent;
  padding: 8px;
}

.product-tabs__btn {
  color: rgba(255, 255, 255, 0.62);
}

.product-tabs__btn.is-active {
  background: rgba(0, 212, 160, 0.14);
  color: #fff;
  border-color: rgba(0, 212, 160, 0.35);
  box-shadow: none;
}

.band-dark .product-tabs__panel .spotlight,
.product-tabs__panel.is-active .spotlight {
  align-items: start;
}

.fit-selector {
  background: #fff;
  box-shadow: 0 1px 0 rgba(4, 8, 20, 0.04);
}

.fit-selector__options button,
.fit-selector__options label {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink-700);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.fit-selector__options button.is-active,
.fit-selector__options button:hover {
  border-color: rgba(0, 212, 160, 0.55);
  background: rgba(0, 212, 160, 0.1);
  color: var(--ink-900);
}

.fit-selector__result {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(0, 212, 160, 0.06));
}

.fit-selector__result strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.cta {
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(0, 212, 160, 0.2), transparent 60%),
    linear-gradient(160deg, #081126, #0c1830);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.72); margin: 12px auto 24px; max-width: 36rem; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 18px;
  margin-bottom: 10px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink-900);
  padding: 14px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq details[open] summary {
  color: var(--brand-500);
}

.page-hero {
  background:
    linear-gradient(120deg, rgba(4, 8, 20, 0.92), rgba(8, 17, 38, 0.82)),
    radial-gradient(700px 360px at 90% 10%, rgba(0, 212, 160, 0.16), transparent 60%),
    linear-gradient(165deg, #040814, #0c1830);
  padding: 128px 0 72px;
}

.jump-bar-wrap {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero--home .hero__content {
  animation: hero-rise 0.7s var(--ease) both;
}

.hero--home .hero__visual {
  animation: hero-rise 0.85s var(--ease) 0.12s both;
}

@media (max-width: 960px) {
  .hero--home {
    min-height: auto;
    padding: 120px 0 72px;
  }
  .hero--home h1 { max-width: none; }
  .trust-strip {
    margin-top: -18px;
    justify-content: center;
  }
  .home-stats__panel {
    grid-template-columns: 1fr 1fr;
  }
  .nav__item {
    position: relative;
  }
  .nav__item > .nav__link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .dropdown.mega,
  .mega {
    display: none;
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin: 6px 0 10px;
    padding: 14px;
    border-radius: 14px;
    box-shadow: none;
    background: #071022;
    border-color: rgba(148, 179, 255, 0.16);
  }
  .dropdown.mega::before,
  .mega::before {
    display: none;
  }
  .nav__item:hover > .dropdown.mega,
  .nav__item:focus-within > .dropdown.mega {
    display: none;
    transform: none;
  }
  .nav__item.is-open > .dropdown.mega {
    display: block;
    transform: none;
  }
  .mega__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .mega__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .mega__card {
    min-height: auto;
    padding: 12px 14px;
  }
}

@media (max-width: 720px) {
  .home-stats__panel { grid-template-columns: 1fr; }
  .trust-strip { gap: 12px 16px; }
  .mega__grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Polish v3 — mission-control continuity (overrides prior polish)
   ========================================================================== */

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -34px;
  width: calc(100% - 44px);
  max-width: calc(var(--maxw) - 44px);
  margin-inline: auto;
  padding: 18px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.94), rgba(7, 14, 28, 0.97));
  box-shadow: 0 24px 60px rgba(4, 8, 20, 0.45);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  justify-content: space-between;
  gap: 12px 20px;
}

.trust-strip__item {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.trust-strip__item strong {
  color: #35e6bb;
  font-weight: 700;
  margin-right: 6px;
}

.trust-strip__item::before {
  background: #35e6bb;
  box-shadow: 0 0 10px rgba(53, 230, 187, 0.55);
}

.home-stats {
  margin-top: 0;
  padding-top: 36px;
  background: transparent;
}

.home-stats__panel {
  border: 1px solid rgba(12, 21, 38, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(600px 200px at 10% 0%, rgba(37, 99, 235, 0.14), transparent 55%),
    linear-gradient(160deg, #071022, #0c1830);
  box-shadow: 0 20px 48px rgba(4, 8, 20, 0.14);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.home-stat {
  text-align: left;
  padding: 28px 26px;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.home-stat:last-child { border-right: 0; }

.stat-card__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 700;
  color: #35e6bb;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 28px rgba(53, 230, 187, 0.25);
}

.stat-card__label {
  margin-top: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  max-width: 14ch;
}

/* ---------- Home Solutions section uplift ---------- */
.home-solutions-band {
  background:
    radial-gradient(760px 380px at 0% 18%, rgba(37, 99, 235, 0.045), transparent 62%),
    radial-gradient(640px 340px at 100% 85%, rgba(0, 212, 160, 0.045), transparent 60%),
    #ffffff;
}

.home-solutions {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

.home-solutions__intro {
  position: sticky;
  top: 112px;
}

.home-solutions__intro h2 {
  font-size: clamp(1.95rem, 3.1vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 15ch;
  text-wrap: balance;
}

.home-solutions__intro p {
  margin: 16px 0 24px;
  font-size: 1.02rem;
  line-height: 1.62;
  max-width: 38ch;
  color: var(--ink-500);
}

.home-solutions__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.home-solutions__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.home-solutions__link:hover,
.home-solutions__link:focus-visible {
  color: var(--brand-500);
  gap: 10px;
}

.home-solutions__note {
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(12, 21, 38, 0.1);
  background:
    radial-gradient(360px 180px at 0% 0%, rgba(0, 212, 160, 0.14), transparent 60%),
    linear-gradient(155deg, #071022, #0c1830);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(4, 8, 20, 0.12);
}

.home-solutions__note-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-solutions__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35e6bb;
  box-shadow: 0 0 12px rgba(53, 230, 187, 0.65);
  flex-shrink: 0;
}

.home-solutions__checks {
  list-style: none;
  display: grid;
  gap: 10px;
}

.home-solutions__checks li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.74);
}

.home-solutions__checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #35e6bb;
  border-bottom: 2px solid #35e6bb;
  transform: rotate(-45deg);
}

.home-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.home-service {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 22px 18px;
  border: 1px solid rgba(12, 21, 38, 0.09);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(4, 8, 20, 0.03), 0 8px 22px rgba(4, 8, 20, 0.03);
  overflow: hidden;
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    background-color 0.28s var(--ease);
}

.home-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s var(--ease);
}

.home-service::after {
  display: none;
}

.home-service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.home-service .card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 0;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.14);
  color: var(--brand-500);
  transition:
    background 0.28s var(--ease),
    border-color 0.28s var(--ease),
    color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.home-service .card__icon svg {
  width: 21px;
  height: 21px;
}

.home-service__arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(12, 21, 38, 0.09);
  background: var(--bg-soft);
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.home-service__arrow svg {
  width: 15px;
  height: 15px;
}

.home-service h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin-bottom: 7px;
  transition: color 0.25s var(--ease);
}

.home-service p {
  font-size: 0.91rem;
  line-height: 1.56;
  color: var(--ink-500);
  margin-bottom: 16px;
}

.home-service__meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(12, 21, 38, 0.07);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ink-500);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.home-service:hover,
.home-service:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: 0 16px 36px rgba(4, 8, 20, 0.08);
  text-decoration: none;
}

.home-service:hover::before,
.home-service:focus-visible::before {
  transform: scaleX(1);
}

.home-service:hover .card__icon,
.home-service:focus-visible .card__icon {
  background: #081126;
  border-color: rgba(53, 230, 187, 0.35);
  color: #35e6bb;
  box-shadow: 0 8px 20px rgba(4, 8, 20, 0.16);
}

.home-service:hover .home-service__arrow,
.home-service:focus-visible .home-service__arrow {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #ffffff;
  transform: translate(2px, -2px);
}

.home-service:hover h3,
.home-service:focus-visible h3 {
  color: var(--brand-500);
}

.home-service:hover .home-service__meta,
.home-service:focus-visible .home-service__meta {
  color: var(--ink-900);
  border-top-color: rgba(37, 99, 235, 0.14);
}

@media (max-width: 960px) {
  .home-solutions {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .home-solutions__intro {
    position: static;
    max-width: 640px;
  }
  .home-solutions__intro h2 {
    max-width: 18ch;
  }
  .home-services {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .home-services {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .home-service {
    padding: 22px 20px 18px;
  }
}

.section--soft {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(37, 99, 235, 0.06), transparent 55%),
    linear-gradient(180deg, #f4f7fc, #eef2f9);
}

.product-tabs__nav {
  background: rgba(4, 8, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  backdrop-filter: blur(10px);
}

.product-tabs__btn {
  color: rgba(255, 255, 255, 0.58);
}

.product-tabs__btn.is-active {
  background: rgba(0, 212, 160, 0.16);
  color: #fff;
  border-color: rgba(0, 212, 160, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 212, 160, 0.12), inset 0 0 20px rgba(0, 212, 160, 0.06);
}

.product-tabs__btn:hover:not(.is-active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.band-dark .product-tabs__panel .spotlight,
.product-tabs__panel.is-active .spotlight {
  align-items: start;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.spotlight h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  max-width: 22ch;
}

.band-dark .feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.band-dark .feature-list li:last-child { border-bottom: 0; }

.band-dark .feature-list .tick {
  background: rgba(0, 212, 160, 0.16);
  color: #35e6bb;
  border: 1px solid rgba(53, 230, 187, 0.28);
}

.products-compare {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.band-dark .btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
}

.fit-selector {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(4, 8, 20, 0.06);
  padding: clamp(28px, 4vw, 40px);
}

.fit-selector__options button.is-active,
.fit-selector__options button:hover {
  border-color: rgba(0, 212, 160, 0.55);
  background: rgba(0, 212, 160, 0.1);
  color: var(--ink-900);
  transform: translateY(-1px);
}

.process {
  gap: 0;
  border-top: 1px solid var(--line);
}

.process__step {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  box-shadow: none;
  padding: 36px 24px 28px;
  overflow: visible;
}

.process__step:last-child { border-right: 0; }

.process__step:hover {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.55);
}

.process__step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-400), var(--accent-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.process__step:hover::before { transform: scaleX(1); }

.process__step::after {
  color: rgba(37, 99, 235, 0.12);
  top: 18px;
  right: 18px;
  font-size: 2.2rem;
}

.process__step:hover::after { color: rgba(0, 212, 160, 0.22); }

.process__icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-500);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.process__step:hover .process__icon {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-400));
  color: #fff;
  border-color: transparent;
}

.home-why {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 70px rgba(4, 8, 20, 0.28);
}

.cta {
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 80px);
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% -10%, rgba(0, 212, 160, 0.28), transparent 58%),
    radial-gradient(500px 260px at 90% 100%, rgba(37, 99, 235, 0.28), transparent 55%),
    linear-gradient(160deg, #040814, #0c1830);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(4, 8, 20, 0.2);
}

.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.72); margin: 14px auto 28px; max-width: 36rem; }

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 230, 187, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(53, 230, 187, 0); }
}

@keyframes brand-glow {
  0%, 100% { text-shadow: 0 0 28px rgba(53, 230, 187, 0.25); }
  50% { text-shadow: 0 0 42px rgba(53, 230, 187, 0.45); }
}

.hero__brand {
  animation: none;
}

.shield-row .ok {
  animation: status-pulse 2.8s ease-in-out infinite;
}

.shield-row:nth-child(2) .ok { animation-delay: 0.4s; }
.shield-row:nth-child(3) .ok { animation-delay: 0.8s; }

@media (prefers-reduced-motion: reduce) {
  .hero__brand,
  .shield-row .ok {
    animation: none;
  }
}

@media (max-width: 860px) {
  .home-stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .process__step { border-right: 0; border-bottom: 1px solid var(--line); }
  .process__step:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    margin-top: -18px;
  }
  .home-stats__panel { grid-template-columns: 1fr 1fr; }
}
/* Fix: contain sticky solutions intro so it cannot leave a white strip over dark bands */
#solutions {
  overflow: clip;
}

.home-solutions__intro {
  top: 96px;
}

.band-dark {
  isolation: isolate;
}

.band-dark .section-head--light {
  margin-bottom: 28px;
}

.header.is-scrolled {
  background: rgba(4, 8, 20, 0.98);
}

/* ==========================================================================
   Day / Night theme
   ========================================================================== */
html[data-theme="night"] {
  color-scheme: dark;
}

html[data-theme="day"] {
  color-scheme: light;
}

/* ---------- Theme toggle control ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.theme-toggle__icon {
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-theme="day"] .theme-toggle__icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 14.5A8.5 8.5 0 1 1 12.5 3 7 7 0 0 0 21 14.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 14.5A8.5 8.5 0 1 1 12.5 3 7 7 0 0 0 21 14.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Day: header / nav ---------- */
html[data-theme="day"] .header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(12, 21, 38, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="day"] .header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(12, 21, 38, 0.1);
  box-shadow: 0 10px 32px rgba(4, 8, 20, 0.08);
}

html[data-theme="day"] .logo {
  color: var(--ink-900);
}

html[data-theme="day"] .header .logo__name,
html[data-theme="day"] .footer .logo__name {
  color: #0c1526;
}

html[data-theme="day"] .header .logo__badge,
html[data-theme="day"] .footer .logo__badge {
  background: transparent;
  width: auto;
  height: auto;
}

html[data-theme="day"] .header .logo__emblem,
html[data-theme="day"] .footer .logo__emblem {
  width: 40px;
  height: 40px;
}

html[data-theme="day"] .nav__link {
  color: var(--ink-700);
  font-weight: 500;
}

html[data-theme="day"] .nav__link:hover {
  color: var(--brand-500);
  background: rgba(37, 99, 235, 0.08);
}

html[data-theme="day"] .nav__link.is-active,
html[data-theme="day"] .nav__link[aria-current="page"],
html[data-theme="day"] .nav__item.is-open > .nav__link {
  color: var(--brand-500);
  background: rgba(37, 99, 235, 0.1);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.16);
}

html[data-theme="day"] .nav__toggle-caret {
  color: var(--ink-500);
}

html[data-theme="day"] .nav__item.is-open .nav__toggle-caret,
html[data-theme="day"] .nav__link:hover .nav__toggle-caret {
  color: var(--brand-500);
}

html[data-theme="day"] .theme-toggle {
  border-color: rgba(12, 21, 38, 0.12);
  background: #f3f6fb;
  color: var(--ink-900);
}

html[data-theme="day"] .theme-toggle:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.28);
  color: var(--brand-500);
}

html[data-theme="day"] .nav-burger {
  background: #f3f6fb;
  border-color: rgba(12, 21, 38, 0.12);
}

html[data-theme="day"] .nav-burger span,
html[data-theme="day"] .nav-burger span::before,
html[data-theme="day"] .nav-burger span::after {
  background: var(--ink-900);
}

html[data-theme="day"] .nav-burger.is-open span {
  background: transparent;
}

@media (max-width: 860px) {
  html[data-theme="day"] .nav {
    background: #ffffff;
    border-bottom: 1px solid rgba(12, 21, 38, 0.1);
    box-shadow: 0 18px 40px rgba(4, 8, 20, 0.1);
  }

  html[data-theme="day"] .nav__link {
    border-radius: 10px;
  }

  html[data-theme="day"] .dropdown {
    background: #f6f8fc;
    border-color: rgba(12, 21, 38, 0.08);
  }

  html[data-theme="day"] .dropdown a {
    color: var(--ink-700);
  }

  html[data-theme="day"] .dropdown a:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-500);
  }
}

@media (max-width: 960px) {
  html[data-theme="day"] .dropdown.mega,
  html[data-theme="day"] .mega {
    background: #f6f8fc !important;
    border-color: rgba(12, 21, 38, 0.1) !important;
    box-shadow: none !important;
  }
}

/* ---------- Day: mega menu ---------- */
html[data-theme="day"] .dropdown.mega,
html[data-theme="day"] .mega {
  background:
    radial-gradient(640px 220px at 14% 0%, rgba(37, 99, 235, 0.07), transparent 62%),
    radial-gradient(520px 200px at 88% 0%, rgba(0, 212, 160, 0.05), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid rgba(12, 21, 38, 0.1);
  box-shadow:
    0 28px 64px -16px rgba(4, 8, 20, 0.18),
    0 10px 24px -8px rgba(4, 8, 20, 0.08),
    inset 0 1px 0 #ffffff;
}

html[data-theme="day"] .dropdown.mega a,
html[data-theme="day"] .mega a {
  color: var(--ink-900);
}

html[data-theme="day"] .dropdown.mega a:hover,
html[data-theme="day"] .mega a:hover {
  color: var(--ink-900);
}

html[data-theme="day"] .mega__header {
  border-bottom-color: rgba(12, 21, 38, 0.1);
}

html[data-theme="day"] .mega__eyebrow {
  color: #067a5c;
}

html[data-theme="day"] .mega__sub {
  color: var(--ink-500);
}

html[data-theme="day"] .dropdown.mega a.mega__all,
html[data-theme="day"] .mega a.mega__all {
  color: #045c45;
  background: rgba(0, 212, 160, 0.12);
  border-color: rgba(0, 179, 134, 0.35);
}

html[data-theme="day"] .dropdown.mega a.mega__all:hover,
html[data-theme="day"] .mega a.mega__all:hover {
  color: #034536;
  background: rgba(0, 212, 160, 0.2);
  border-color: rgba(0, 179, 134, 0.5);
}

html[data-theme="day"] .mega__card,
html[data-theme="day"] .dropdown.mega a.mega__card,
html[data-theme="day"] a.mega__card {
  background: #ffffff;
  border: 1px solid rgba(12, 21, 38, 0.1);
  color: var(--ink-900);
  box-shadow: 0 1px 2px rgba(4, 8, 20, 0.03);
}

html[data-theme="day"] .mega__card:hover,
html[data-theme="day"] .mega__card:focus-within {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow:
    0 14px 28px -12px rgba(4, 8, 20, 0.14),
    0 0 0 1px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

html[data-theme="day"] .mega__card--accent {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.08), rgba(0, 212, 160, 0.08));
  border-color: rgba(0, 179, 134, 0.32);
}

html[data-theme="day"] .mega__card--accent:hover,
html[data-theme="day"] .mega__card--accent:focus-within {
  border-color: rgba(0, 179, 134, 0.55);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(0, 212, 160, 0.12));
}

html[data-theme="day"] .mega__icon {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.22);
  color: var(--brand-500);
}

html[data-theme="day"] .mega__card:hover .mega__icon,
html[data-theme="day"] .mega__card:focus-within .mega__icon {
  background: rgba(0, 212, 160, 0.14);
  border-color: rgba(0, 179, 134, 0.4);
  color: #067a5c;
}

html[data-theme="day"] .dropdown.mega a.mega__title,
html[data-theme="day"] .mega .mega__title,
html[data-theme="day"] .mega__title,
html[data-theme="day"] .mega__card:hover .mega__title {
  color: var(--ink-900);
}

html[data-theme="day"] .mega__card:hover .mega__title {
  color: var(--brand-500);
}

html[data-theme="day"] .mega__desc {
  color: var(--ink-500);
}

html[data-theme="day"] .mega__arrow {
  color: rgba(12, 21, 38, 0.32);
}

html[data-theme="day"] .mega__card:hover .mega__arrow,
html[data-theme="day"] .mega__card:focus-within .mega__arrow {
  color: var(--brand-500);
}

html[data-theme="day"] .mega__badge {
  color: #045c45;
  background: rgba(0, 212, 160, 0.14);
  border-color: rgba(0, 179, 134, 0.3);
}

html[data-theme="day"] .dropdown.mega .mega__meta a,
html[data-theme="day"] .mega .mega__meta a,
html[data-theme="day"] .mega__meta a {
  color: #045c45;
  background: rgba(0, 212, 160, 0.1);
  border-color: rgba(0, 179, 134, 0.28);
}

html[data-theme="day"] .dropdown.mega .mega__meta a:hover,
html[data-theme="day"] .mega .mega__meta a:hover,
html[data-theme="day"] .mega__meta a:hover {
  color: #034536;
  background: rgba(0, 212, 160, 0.2);
  border-color: rgba(0, 179, 134, 0.45);
}

html[data-theme="day"] .related-band .mega__card {
  background: #ffffff;
  border-color: rgba(12, 21, 38, 0.1);
}

/* ---------- Day: heroes ---------- */
html[data-theme="day"] .hero,
html[data-theme="day"] .hero--home {
  background:
    linear-gradient(105deg, rgba(246, 248, 252, 0.94) 0%, rgba(246, 248, 252, 0.82) 48%, rgba(238, 242, 249, 0.7) 100%),
    radial-gradient(900px 520px at 80% 20%, rgba(0, 212, 160, 0.12), transparent 55%),
    url("../assets/img/bg/home-hero-bkgnd.jpg") center / cover no-repeat;
  color: var(--ink-900);
}

html[data-theme="day"] .hero::after,
html[data-theme="day"] .hero--home::after {
  background-image: linear-gradient(rgba(12, 21, 38, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 21, 38, 0.06) 1px, transparent 1px);
}

html[data-theme="day"] .hero h1,
html[data-theme="day"] .page-hero h1,
html[data-theme="day"] .stat__num {
  color: var(--ink-900);
}

html[data-theme="day"] .hero__brand {
  color: #0c1526;
  text-shadow: none;
}

html[data-theme="day"] .hero__brand .logo__it,
html[data-theme="day"] .hero__brand-tag,
html[data-theme="day"] .logo__it,
html[data-theme="day"] .logo__tag {
  color: #0f7490;
}

html[data-theme="day"] .hero__lead,
html[data-theme="day"] .page-hero p,
html[data-theme="day"] .stat__label,
html[data-theme="day"] .demo-login {
  color: var(--ink-700);
}

html[data-theme="day"] .hero__badge {
  background: rgba(12, 21, 38, 0.06);
  border-color: rgba(12, 21, 38, 0.12);
  color: var(--ink-700);
}

html[data-theme="day"] .hero__panel {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(12, 21, 38, 0.12) !important;
  box-shadow: 0 24px 60px rgba(4, 8, 20, 0.12) !important;
}

html[data-theme="day"] .hero__panel h4 {
  color: var(--ink-900);
}

html[data-theme="day"] .shield-row {
  border-bottom-color: rgba(12, 21, 38, 0.1);
}

html[data-theme="day"] .shield-row .t {
  color: var(--ink-900);
}

html[data-theme="day"] .shield-row .s {
  color: var(--ink-500);
}

html[data-theme="day"] .shield-row .icon {
  background: rgba(0, 212, 160, 0.12);
  border: 1px solid rgba(0, 212, 160, 0.28);
  color: #067a5c;
}

html[data-theme="day"] .shield-row .ok {
  color: #067a5c;
  background: rgba(0, 212, 160, 0.14);
}

html[data-theme="day"] .page-hero {
  background:
    radial-gradient(900px 500px at 85% -20%, rgba(0, 212, 160, 0.12), transparent 60%),
    linear-gradient(150deg, #eef2f9, #f6f8fc);
  color: var(--ink-900);
}

html[data-theme="day"] .page-hero--photo {
  background:
    linear-gradient(180deg, rgba(246, 248, 252, 0.88), rgba(238, 242, 249, 0.92)),
    var(--hero-img) center / cover no-repeat,
    #eef2f9;
}

html[data-theme="day"] .page-hero .eyebrow {
  background: rgba(12, 21, 38, 0.06);
  color: var(--brand-500);
}

html[data-theme="day"] .breadcrumb {
  color: var(--ink-500);
}

html[data-theme="day"] .breadcrumb .sep {
  color: var(--ink-300);
}

html[data-theme="day"] .demo-login code {
  background: rgba(12, 21, 38, 0.06);
  color: var(--ink-900);
}

html[data-theme="day"] .btn--ghost {
  color: var(--ink-900);
  border-color: rgba(12, 21, 38, 0.28);
}

html[data-theme="day"] .btn--ghost:hover {
  background: rgba(12, 21, 38, 0.06);
  border-color: rgba(12, 21, 38, 0.45);
}

/* ---------- Day: dark bands / product sections ---------- */
html[data-theme="day"] .band-dark {
  background:
    radial-gradient(1000px 480px at 20% 0%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(800px 420px at 90% 100%, rgba(0, 212, 160, 0.08), transparent 60%),
    linear-gradient(160deg, #eef2f9, #f6f8fc);
  color: var(--ink-700);
}

html[data-theme="day"] .band-dark::before {
  background-image: linear-gradient(rgba(12, 21, 38, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 21, 38, 0.05) 1px, transparent 1px);
}

html[data-theme="day"] .section-head--light h2,
html[data-theme="day"] .section-head--light p {
  color: var(--ink-900);
}

html[data-theme="day"] .section-head--light .eyebrow {
  background: rgba(12, 21, 38, 0.06);
  color: var(--brand-500);
}

html[data-theme="day"] .spotlight h2,
html[data-theme="day"] .spotlight h3 {
  color: var(--ink-900);
}

html[data-theme="day"] .spotlight p,
html[data-theme="day"] .spotlight .feature-list li {
  color: var(--ink-700);
}

html[data-theme="day"] .spotlight .eyebrow {
  background: rgba(12, 21, 38, 0.06);
  color: var(--brand-500);
}

html[data-theme="day"] .spotlight .sector__tags span {
  background: rgba(12, 21, 38, 0.05);
  border-color: rgba(12, 21, 38, 0.12);
  color: var(--ink-700);
}

html[data-theme="day"] .product-tabs__nav {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(12, 21, 38, 0.1);
}

html[data-theme="day"] .product-tabs__btn {
  color: var(--ink-500);
}

html[data-theme="day"] .product-tabs__btn.is-active {
  background: rgba(0, 212, 160, 0.14);
  color: var(--ink-900);
  border-color: rgba(0, 212, 160, 0.4);
}

html[data-theme="day"] .product-tabs__btn:hover:not(.is-active) {
  color: var(--ink-900);
  background: rgba(12, 21, 38, 0.05);
}

html[data-theme="day"] .band-dark .product-tabs__panel .spotlight,
html[data-theme="day"] .product-tabs__panel.is-active .spotlight {
  border-color: rgba(12, 21, 38, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 252, 0.9));
}

html[data-theme="day"] .band-dark .feature-list li {
  border-bottom-color: rgba(12, 21, 38, 0.08);
}

html[data-theme="day"] .band-dark .btn--ghost {
  border-color: rgba(12, 21, 38, 0.28);
  color: var(--ink-900);
}

html[data-theme="day"] .related-band {
  background: #eef2f9;
  color: var(--ink-700);
  border-block-color: rgba(12, 21, 38, 0.1);
}

html[data-theme="day"] .related-band h2 {
  color: var(--ink-900);
}

/* ---------- Day: footer & CTA ---------- */
html[data-theme="day"] .footer {
  background: var(--bg-soft);
  color: var(--ink-700);
  border-top: 1px solid var(--line);
}

html[data-theme="day"] .footer p {
  color: var(--ink-500);
}

html[data-theme="day"] .footer h4 {
  color: var(--ink-900);
}

html[data-theme="day"] .footer__links a {
  color: var(--ink-700);
}

html[data-theme="day"] .footer__links a:hover {
  color: var(--brand-500);
}

html[data-theme="day"] .footer__bottom {
  color: var(--ink-500);
  border-top-color: rgba(12, 21, 38, 0.1);
}

html[data-theme="day"] .footer__bottom a:hover {
  color: var(--brand-500);
}

html[data-theme="day"] .cta:not(.cta--photo) {
  background: linear-gradient(130deg, #e8eef8, #dfe8f6 55%, #e6f7f2);
  color: var(--ink-900);
}

html[data-theme="day"] .cta:not(.cta--photo) h2 {
  color: var(--ink-900);
}

html[data-theme="day"] .cta:not(.cta--photo) p {
  color: var(--ink-700);
}

html[data-theme="day"] .socials a {
  color: var(--ink-700);
  border-color: rgba(12, 21, 38, 0.14);
  background: rgba(12, 21, 38, 0.04);
}

html[data-theme="day"] .socials a:hover {
  color: var(--brand-500);
  border-color: rgba(37, 99, 235, 0.35);
}

/* ---------- Day: trust strip + home stats ---------- */
html[data-theme="day"] .trust-strip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 252, 0.98));
  border-color: rgba(12, 21, 38, 0.12);
  box-shadow: 0 18px 44px rgba(4, 8, 20, 0.1);
  color: var(--ink-700);
}

html[data-theme="day"] .trust-strip__item {
  color: var(--ink-700);
}

html[data-theme="day"] .trust-strip__item strong {
  color: #067a5c;
}

html[data-theme="day"] .trust-strip__item::before {
  background: #00b386;
  box-shadow: 0 0 8px rgba(0, 179, 134, 0.35);
}

html[data-theme="day"] .home-stats__panel {
  background:
    radial-gradient(600px 200px at 10% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
    linear-gradient(160deg, #ffffff, #f3f6fb);
  border: 1px solid rgba(12, 21, 38, 0.1);
  box-shadow: 0 16px 40px rgba(4, 8, 20, 0.08);
}

html[data-theme="day"] .home-stat {
  border-right-color: rgba(12, 21, 38, 0.08);
}

html[data-theme="day"] .stat-card__num {
  color: #067a5c;
  text-shadow: none;
}

html[data-theme="day"] .stat-card__label {
  color: var(--ink-500);
}

/* ---------- Day: solutions delivery note ---------- */
html[data-theme="day"] .home-solutions__note {
  background:
    radial-gradient(360px 180px at 0% 0%, rgba(0, 212, 160, 0.1), transparent 60%),
    linear-gradient(155deg, #ffffff, #f3f6fb);
  border-color: rgba(12, 21, 38, 0.12);
  color: var(--ink-700);
  box-shadow: 0 12px 28px rgba(4, 8, 20, 0.06);
}

html[data-theme="day"] .home-solutions__note-head {
  color: var(--ink-900);
  border-bottom-color: rgba(12, 21, 38, 0.1);
}

html[data-theme="day"] .home-solutions__checks li {
  color: var(--ink-700);
}

html[data-theme="day"] .home-solutions__dot {
  background: #00b386;
  box-shadow: 0 0 8px rgba(0, 179, 134, 0.35);
}

html[data-theme="day"] .home-solutions__checks li::before {
  border-left-color: #00b386;
  border-bottom-color: #00b386;
}

/* ---------- Day: client / cert logos ---------- */
html[data-theme="day"] .marquee__item img {
  opacity: 0.78;
  filter: grayscale(1) brightness(0.28) contrast(1.05);
}

html[data-theme="day"] .marquee__item:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1) contrast(1);
  transform: scale(1.08);
}

html[data-theme="day"] .cert span {
  color: var(--ink-700);
}

html[data-theme="day"] .cert img {
  opacity: 0.88;
  /* awards-*.png are white seals for dark bands — darken for day */
  filter: brightness(0) saturate(100%);
}

html[data-theme="day"] .cert:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%);
}

html[data-theme="day"] .footer__contact svg {
  color: #067a5c;
}
