/* ============================================================
   BluOak Consulting — Design System
   ============================================================ */

:root {
  /* Brand palette */
  --navy:        #0B1F3A;
  --navy-900:    #081729;
  --royal:       #1F4E79;
  --slate:       #4A5568;
  --slate-300:   #8A95A6;
  --mist:        #F7F9FC;
  --mist-200:    #EDF1F7;
  --line:        #E2E8F2;
  --teal:        #00A6A6;
  --teal-soft:   #E1F4F4;
  --white:       #FFFFFF;

  /* Accent — tweakable */
  --accent:      var(--teal);
  --accent-soft: var(--teal-soft);
  --accent-ink:  #007E7E;

  /* Typography — tweakable heading family */
  --font-head: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Space Mono", ui-monospace, monospace;

  /* Spacing rhythm */
  --section-y: clamp(60px, 6.5vw, 96px);
  --gutter:    clamp(20px, 5vw, 72px);
  --maxw:      1200px;

  /* Radius + shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11,31,58,.06), 0 2px 8px rgba(11,31,58,.05);
  --shadow-md: 0 8px 24px rgba(11,31,58,.08), 0 2px 6px rgba(11,31,58,.05);
  --shadow-lg: 0 30px 60px -20px rgba(11,31,58,.28), 0 12px 28px -12px rgba(11,31,58,.18);
  --shadow-navy: 0 40px 80px -28px rgba(8,23,41,.55);
}

* { 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(--navy);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--mist); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.section--navy .eyebrow { color: var(--teal); }

.section-head { max-width: 660px; margin-bottom: clamp(32px, 3.6vw, 48px); }
.section-head h2 {
  font-size: clamp(27px, 3.2vw, 40px);
  margin-top: 15px;
}
.section-head p {
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  color: var(--slate);
  margin-top: 16px;
}
.section--navy .section-head p { color: #B9C6D8; }

.lead { font-size: clamp(16.5px, 1.4vw, 19px); color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), background .25s, box-shadow .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary {
  background: var(--accent);
  color: #042b2b;
  box-shadow: 0 10px 24px -8px color-mix(in oklab, var(--accent) 60%, transparent);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px color-mix(in oklab, var(--accent) 70%, transparent); }
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover { transform: translateY(-2px); background: var(--royal); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--onnavy {
  background: rgba(255,255,255,.06);
  color: var(--white);
  border-color: rgba(255,255,255,.22);
}
.btn--onnavy:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--white) 82%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(11,31,58,.04);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
  transition: height .3s cubic-bezier(.2,.7,.3,1);
}
.nav.is-scrolled .nav__inner { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--navy); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--accent-ink); font-weight: 800; }
.brand__blu { color: var(--royal); font-weight: 800; }
.brand__suffix { font-weight: 500; color: var(--slate); letter-spacing: -0.01em; }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav .btn--navy { padding: 11px 20px; font-size: 14.5px; box-shadow: 0 8px 18px -10px rgba(11,31,58,.55); }
.nav .btn--navy svg { width: 15px; height: 15px; }

/* Hamburger toggle — always visible */
.nav__toggle {
  display: grid; place-content: center; gap: 5px;
  width: 44px; height: 44px; flex: none;
  background: var(--mist); border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; padding: 0;
  transition: background .2s, border-color .2s;
}
.nav__toggle:hover { background: #fff; border-color: color-mix(in oklab, var(--accent) 40%, transparent); }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .32s cubic-bezier(.2,.7,.3,1), opacity .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown menu panel */
.nav__menu {
  position: absolute; top: calc(100% + 10px); right: var(--gutter);
  width: min(300px, calc(100vw - 2 * var(--gutter)));
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
  transition: opacity .26s ease, transform .26s cubic-bezier(.2,.7,.3,1), visibility .26s;
}
.nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--navy);
  padding: 13px 14px; border-radius: var(--r-sm);
  transition: background .18s, color .18s, padding-left .18s;
}
.nav__menu a::after {
  content: ""; width: 7px; height: 7px; flex: none;
  border-right: 2px solid var(--slate-300); border-top: 2px solid var(--slate-300);
  transform: rotate(45deg); opacity: 0; transition: opacity .18s, border-color .18s;
}
.nav__menu a:hover { background: var(--mist); color: var(--accent-ink); padding-left: 18px; }
.nav__menu a:hover::after { opacity: 1; border-color: var(--accent-ink); }
.nav__menu .nav__menu-sep { height: 1px; background: var(--line); margin: 8px 6px; }
.nav__menu .nav__menu-cta { justify-content: center; background: var(--navy); color: #fff; margin-top: 2px; }
.nav__menu .nav__menu-cta::after { display: none; }
.nav__menu .nav__menu-cta:hover { background: var(--royal); color: #fff; padding-left: 14px; }

/* Click-catcher backdrop */
.nav__scrim {
  position: fixed; inset: 0; z-index: -1;
  visibility: hidden;
}
.nav.is-open .nav__scrim { visibility: visible; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mist) 100%);
  color: var(--slate);
  overflow: hidden;
  padding-block: clamp(52px, 6vw, 88px) clamp(56px, 6.5vw, 96px);
}
.hero__glow {
  position: absolute; pointer-events: none; inset: 0;
  background:
    radial-gradient(55% 48% at 88% 4%, color-mix(in oklab, var(--accent) 15%, transparent), transparent 70%),
    radial-gradient(52% 46% at 4% 96%, rgba(31,78,121,.10), transparent 72%);
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    linear-gradient(rgba(11,31,58,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,58,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(120% 85% at 70% 10%, #000 30%, transparent 80%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  padding: 8px 15px; border-radius: 100px;
}
.hero__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,166,166,.2); }
.hero h1 {
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin: 22px 0 0;
}
.hero h1 .accent { color: var(--teal); }
.hero__sub {
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--slate);
  max-width: 520px;
  margin-top: 20px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__stats {
  display: flex; gap: clamp(20px, 3.5vw, 44px); margin-top: 40px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero__stat .n { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); color: var(--navy); letter-spacing: -0.03em; }
.hero__stat .l { font-size: 13px; color: var(--slate); margin-top: 4px; }

/* ---------- Hero tools row ---------- */
.hero__tools {
  margin-top: clamp(40px, 4.5vw, 60px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap; justify-content: space-between;
}
.hero__tools-label {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--slate-300);
  flex: none;
}
.hero__tools-logos { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); flex-wrap: wrap; }
.hero__tools-logos .trust__logo {
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px;
  color: var(--navy); letter-spacing: -0.02em; opacity: 1;
}

/* ---------- Hero dashboard mock ---------- */
.dash {
  position: relative;
  background: linear-gradient(180deg, #fff, #fbfcfe);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-navy);
  padding: 20px;
  color: var(--navy);
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transform-style: preserve-3d;
}
.dash__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash__title { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.dash__title small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; color: var(--slate-300); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--mist-200); }
.dash__dots i:nth-child(1){ background:#FF6058; } .dash__dots i:nth-child(2){ background:#FFBD2E; } .dash__dots i:nth-child(3){ background:#28C840; }

.dash__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 12px; }
.kpi { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; }
.kpi .lab { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-300); }
.kpi .val { font-family: var(--font-head); font-weight: 800; font-size: 21px; margin-top: 5px; letter-spacing: -0.02em; }
.kpi .chg { font-size: 11px; font-weight: 600; margin-top: 3px; display: inline-flex; align-items: center; gap: 3px; }
.kpi .chg.up { color: #14926A; } .kpi .chg.down { color: #C2543B; }

.dash__main { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px; }
.panel h5 { font-size: 12px; font-weight: 600; color: var(--slate); display: flex; justify-content: space-between; }
.panel h5 span { font-family: var(--font-mono); font-size: 10px; color: var(--accent-ink); }
.spark-legend { display: flex; gap: 12px; margin-top: 8px; font-size: 10px; color: var(--slate-300); }
.spark-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 4px; vertical-align: middle; }

.donut-wrap { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.donut-stat { font-family: var(--font-head); font-weight: 800; font-size: 24px; }
.donut-stat small { display: block; font-size: 10px; font-weight: 500; color: var(--slate-300); font-family: var(--font-mono); letter-spacing: .05em; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; margin-top: 10px; }
.bars .b { flex: 1; background: var(--mist-200); border-radius: 4px 4px 0 0; position: relative; }
.bars .b.on { background: linear-gradient(180deg, var(--accent), color-mix(in oklab, var(--accent) 60%, #fff)); }

.dash__float {
  position: absolute; right: -26px; bottom: 34px;
  background: var(--navy); color: #fff;
  border-radius: var(--r-md); padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  transform: translateZ(60px);
}
.dash__float .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(0,166,166,.22); display: grid; place-items: center; color: var(--teal); }
.dash__float .ic svg { width: 20px; height: 20px; }
.dash__float .t { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.1; }
.dash__float .s { font-size: 11px; color: #95A6BC; }

/* ============================================================
   LOGO / TRUST STRIP
   ============================================================ */
.trust { border-bottom: 1px solid var(--line); }
.trust__inner { padding-block: 40px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.trust__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-300); max-width: 200px; }
.trust__logos { display: flex; align-items: center; gap: clamp(28px, 5vw, 56px); flex-wrap: wrap; }
.trust__logo { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--slate-300); letter-spacing: -0.02em; opacity: .8; display: inline-flex; align-items: center; gap: 8px; }
.trust__logo svg { width: 20px; height: 20px; opacity: .7; }

/* ============================================================
   STAT BAND
   ============================================================ */
.statband { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.statband .cell { background: #fff; padding: clamp(24px,3vw,40px); }
.section--navy .statband { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.12); }
.section--navy .statband .cell { background: var(--navy); }
.statband .n { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px,3.2vw,42px); letter-spacing: -0.03em; color: var(--navy); }
.section--navy .statband .n { color: #fff; }
.statband .n .u { color: var(--accent-ink); }
.section--navy .statband .n .u { color: var(--teal); }
.statband .l { color: var(--slate); font-size: 14px; margin-top: 7px; }
.section--navy .statband .l { color: #95A6BC; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px;
  display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.svc::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 18px; }
.svc__ic svg { width: 23px; height: 23px; }
.svc__num { position: absolute; top: 24px; right: 26px; font-family: var(--font-mono); font-size: 12px; color: var(--line); font-weight: 600; }
.svc h3 { font-size: 18.5px; }
.svc p { color: var(--slate); font-size: 14.5px; margin-top: 10px; }
.svc__list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.svc__list li { font-size: 13.5px; color: var(--slate); display: flex; gap: 9px; align-items: flex-start; }
.svc__list li::before { content: ""; width: 16px; height: 16px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007E7E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat; }
.svc__extra {
  display: grid; grid-template-rows: 0fr;
  margin-top: 0; opacity: 0;
  transition: grid-template-rows .4s cubic-bezier(.2,.7,.3,1), opacity .35s, margin-top .4s;
}
.svc__extra > .svc__extra-inner { overflow: hidden; display: flex; flex-direction: column; gap: 9px; }
.svc__extra-inner::before {
  content: "Also included"; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--slate-300);
  padding-top: 14px; margin-bottom: 2px; border-top: 1px dashed var(--line);
}
.svc.is-expanded .svc__extra { grid-template-rows: 1fr; opacity: 1; margin-top: 9px; }
.svc__more {
  margin-top: auto; padding-top: 22px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
}
.svc__more svg { width: 15px; height: 15px; transition: transform .3s; }
.svc:hover .svc__more svg { transform: translateX(4px); }
.svc.is-expanded .svc__more svg { transform: rotate(90deg); }
.svc.is-expanded:hover .svc__more svg { transform: rotate(90deg); }

/* ============================================================
   SOLUTIONS
   ============================================================ */
.sol-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.sol {
  background: #fff; color: var(--slate); border-radius: var(--r-lg);
  padding: 24px; position: relative; overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.sol::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 100% 0%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 60%); opacity: 0; transition: opacity .35s; }
.sol:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.sol:hover::before { opacity: 1; }
.sol__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); position: relative; }
.sol h3 { color: var(--navy); font-size: 18px; margin-top: 13px; position: relative; }
.sol p { color: var(--slate); font-size: 14px; margin-top: 9px; position: relative; }
.sol__metric { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; position: relative; }
.sol__metric b { font-family: var(--font-head); font-weight: 800; font-size: 23px; color: var(--accent-ink); letter-spacing: -0.02em; }
.sol__metric span { font-size: 12.5px; color: var(--slate-300); }

/* ============================================================
   PROCESS
   ============================================================ */
.proc { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.proc__step { background: #fff; padding: clamp(24px,2.6vw,34px); position: relative; transition: background .3s; }
.proc__step:hover { background: var(--mist); }
.proc__n { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.proc__step h3 { font-size: 17.5px; margin-top: 14px; }
.proc__step p { color: var(--slate); font-size: 14px; margin-top: 8px; }
.proc__bar { height: 3px; background: var(--mist-200); border-radius: 2px; margin-top: 20px; overflow: hidden; }
.proc__bar i { display: block; height: 100%; background: var(--accent); width: 0; }

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cases { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.case {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: #fff; transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case__viz { height: 150px; background: linear-gradient(160deg, #EEF3F9, #F7F9FC); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; padding: 18px; }
.case__viz .tag { position: absolute; top: 16px; left: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); z-index: 2; }
.case__body { padding: 24px 26px 26px; }
.case__body h3 { font-size: 19px; }
.case__body p { color: var(--slate); font-size: 14.5px; margin-top: 9px; }
.case__out { display: flex; gap: 24px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.case__out .n { font-family: var(--font-head); font-weight: 800; font-size: 23px; color: var(--navy); letter-spacing: -0.02em; }
.case__out .n .u { color: var(--accent-ink); }
.case__out .l { font-size: 12.5px; color: var(--slate-300); margin-top: 2px; }

/* ============================================================
   WHY / FEATURES
   ============================================================ */
.why { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px 22px; }
.feat { padding: 4px; }
.feat__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent-ink); margin-bottom: 16px; }
.feat__ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 17.5px; }
.feat p { color: var(--slate); font-size: 14.5px; margin-top: 9px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; }
.quote__mark { font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: .6; color: var(--accent); height: 24px; }
.quote p { font-size: 15px; color: var(--navy); margin: 8px 0 0; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote__av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 16px; flex: none; }
.quote__by .nm { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.quote__by .rl { font-size: 13px; color: var(--slate-300); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px,5vw,72px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 19px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--navy); }
.faq__q .ic { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; transition: background .25s, border-color .25s; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--slate); border-radius: 2px; transition: transform .3s, background .25s; }
.faq__q .ic::before { width: 11px; height: 1.7px; }
.faq__q .ic::after { width: 1.7px; height: 11px; }
.faq__item.open .faq__q .ic { background: var(--accent); border-color: var(--accent); }
.faq__item.open .faq__q .ic::before, .faq__item.open .faq__q .ic::after { background: #042b2b; }
.faq__item.open .faq__q .ic::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { color: var(--slate); font-size: 14.5px; padding-bottom: 22px; max-width: 60ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: stretch; }
.contact__info { display: flex; flex-direction: column; }
.contact__info h2 { font-size: clamp(27px,3.2vw,40px); }
.contact__points { margin-top: 30px; display: flex; flex-direction: column; gap: 4px; }
.cpoint { display: flex; gap: 15px; padding: 16px 0; border-top: 1px solid var(--line); }
.cpoint .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.cpoint .ic svg { width: 20px; height: 20px; }
.cpoint .k { font-size: 12.5px; color: var(--slate-300); font-family: var(--font-mono); letter-spacing: .05em; }
.cpoint .v { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--navy); margin-top: 2px; }
.contact__assure { margin-top: auto; padding-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.assure-chip { font-size: 12.5px; font-family: var(--font-mono); letter-spacing: .04em; color: var(--slate); background: #fff; border: 1px solid var(--line); padding: 7px 13px; border-radius: 100px; display: inline-flex; gap: 7px; align-items: center; }
.assure-chip svg { width: 13px; height: 13px; color: var(--accent-ink); }

.formcard { background: #fff; border-radius: var(--r-xl); padding: clamp(28px,3vw,40px); box-shadow: var(--shadow-lg); color: var(--navy); }
.formcard h3 { font-size: 20px; }
.formcard > p { color: var(--slate); font-size: 14px; margin-top: 6px; }
.form { margin-top: 22px; display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--slate); font-family: var(--font-head); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 14.5px; color: var(--navy);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--mist); transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.form .btn { width: 100%; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--slate-300); text-align: center; }
.form__ok { display: none; text-align: center; padding: 20px; }
.form__ok.show { display: block; }
.form__ok .ck { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin: 0 auto 16px; }
.form__ok h3 { font-size: 20px; }
.form__ok p { color: var(--slate); margin-top: 8px; font-size: 15px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.ctaband { position: relative; overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(120deg, var(--navy), var(--royal)); padding: clamp(40px,6vw,72px); text-align: center; }
.ctaband__glow { position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, color-mix(in oklab, var(--accent) 28%, transparent), transparent 70%); pointer-events: none; }
.ctaband h2 { position: relative; color: #fff; font-size: clamp(26px,3.4vw,40px); max-width: 680px; margin-inline: auto; }
.ctaband p { position: relative; color: #C4D1E2; font-size: 16.5px; max-width: 540px; margin: 16px auto 0; }
.ctaband__cta { position: relative; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--mist); color: var(--slate); border-top: 1px solid var(--line); padding-block: clamp(48px,5vw,68px) 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { color: var(--navy); margin-bottom: 16px; }
.footer__about { font-size: 14px; max-width: 300px; line-height: 1.7; color: var(--slate); }
.footer__col h4 { color: var(--navy); font-size: 12.5px; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; padding: 5px 0; color: var(--slate); transition: color .2s; }
.footer__col a:hover { color: var(--accent-ink); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: clamp(40px,5vw,64px); padding-top: 28px; border-top: 1px solid var(--line); font-size: 13.5px; }
.footer__bottom a:hover { color: var(--accent-ink); }

/* ============================================================
   PRICING
   ============================================================ */
.price-offer {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; text-align: center;
  background: var(--accent-soft); border: 1px solid color-mix(in oklab, var(--accent) 28%, transparent);
  border-radius: 100px; padding: 11px 20px; margin: 0 auto clamp(32px,3.5vw,44px);
  width: fit-content; max-width: 100%;
}
.price-offer b { font-family: var(--font-head); font-weight: 700; color: var(--accent-ink); font-size: 15px; }
.price-offer span { color: var(--slate); font-size: 14.5px; }
.price-offer .tagpill { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent-ink); padding: 4px 10px; border-radius: 100px; }

.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
}
.price:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price--featured {
  border: 1.5px solid var(--accent); box-shadow: var(--shadow-md);
  position: relative; background: linear-gradient(180deg, var(--accent-soft), #fff 32%);
}
.price--featured:hover { box-shadow: var(--shadow-lg); }
.price__ribbon {
  position: absolute; top: 0; right: 28px; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #042b2b; background: var(--accent); padding: 6px 13px; border-radius: 100px;
}
.price__name { font-family: var(--font-head); font-weight: 700; font-size: 17.5px; color: var(--navy); }
.price__desc { color: var(--slate); font-size: 13.5px; margin-top: 6px; min-height: 38px; }
.price__amount { display: flex; align-items: baseline; gap: 7px; margin: 18px 0 4px; flex-wrap: wrap; }
.price__from { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-300); }
.price__num { font-family: var(--font-head); font-weight: 800; font-size: 38px; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.price__per { font-size: 13.5px; color: var(--slate); font-weight: 500; }
.price__sub { font-size: 12.5px; color: var(--slate-300); margin-bottom: 20px; }
.price__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.price__list li { font-size: 13.5px; color: var(--slate); display: flex; gap: 10px; align-items: flex-start; }
.price__list li::before { content: ""; width: 17px; height: 17px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007E7E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat; }
.price .btn { margin-top: auto; width: 100%; }

.price-extras { margin-top: clamp(36px,4vw,52px); border-top: 1px solid var(--line); padding-top: clamp(32px,4vw,44px); }
.price-extras h3 { font-family: var(--font-head); font-weight: 700; font-size: 17.5px; color: var(--navy); text-align: center; }
.price-extras p { text-align: center; color: var(--slate); font-size: 14px; margin-top: 8px; }
.price-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.price-chip {
  display: inline-flex; align-items: baseline; gap: 9px;
  background: var(--mist); border: 1px solid var(--line); border-radius: 100px;
  padding: 11px 18px; transition: border-color .2s, background .2s;
}
.price-chip:hover { border-color: color-mix(in oklab, var(--accent) 40%, transparent); background: #fff; }
.price-chip .k { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy); }
.price-chip .v { font-family: var(--font-mono); font-size: 13px; color: var(--accent-ink); font-weight: 600; }
.price-foot { text-align: center; color: var(--slate-300); font-size: 13px; margin-top: 30px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; } .reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; } .reveal[data-d="4"]{ transition-delay: .32s; }
.reveal[data-d="5"]{ transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .dash { transform: none; }
  .dash__float { right: 14px; }
  .svc-grid, .sol-grid, .why, .quotes, .proc, .statband { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 840px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .nav__menu { right: 0; left: 0; width: auto; margin-inline: var(--gutter); }
}
@media (max-width: 760px) {
  .nav .btn--navy { display: none; }
  .hero__stats { flex-wrap: wrap; gap: 24px; }
  .svc-grid, .sol-grid, .why, .quotes, .cases, .proc, .statband, .faq, .contact, .footer__top, .form .row, .footer__bottom { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .statband, .proc { border-radius: var(--r-md); }
  .faq { gap: 24px; }
  .contact__assure { margin-top: 28px; }
}
