/* ============================================================
   ХАССП под ключ — ГОСТСЕРТГРУПП + Агата 24
   Премиум B2B-лендинг. Дизайн-система (палитра gsg-rt.ru)
   ============================================================ */

:root {
  /* — Бренд — */
  --blue: #1F5DBC;          /* первичный: кнопки, акценты */
  --blue-2: #2F69B8;        /* вторичный: ховеры, иконки */
  --blue-bright: #2F74E0;   /* верх градиента кнопки */
  --navy: #173B69;          /* заголовки, тёмные плашки, футер */
  --navy-deep: #102C4F;     /* самый тёмный */
  --green: #1B9E4B;         /* галочки, success, статусы Агаты */
  --green-soft: #E7F4EC;

  /* — Нейтральные — */
  --white: #FFFFFF;
  --zone: #EEF1F5;          /* зонирование секций */
  --zone-2: #F6F8FB;
  --border: #E3E8F0;
  --ink: #2B3442;           /* основной текст */
  --ink-2: #5B6776;         /* вторичный текст */
  --ink-3: #8893A2;         /* третичный/подписи */

  /* — Тревожный (только блок риска) — */
  --danger: #C0392B;
  --danger-bg: #FBF6EF;
  --danger-line: #E8D9C4;

  /* — Типографика — */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;

  /* — Радиусы — */
  --r-card: 16px;
  --r-card-lg: 22px;
  --r-btn: 12px;
  --r-input: 10px;
  --r-pill: 999px;

  /* — Тени (тонированы навирн) — */
  --sh-xs: 0 1px 2px rgba(23,59,105,.05);
  --sh-sm: 0 2px 8px rgba(23,59,105,.06);
  --sh-md: 0 8px 30px rgba(23,59,105,.08);
  --sh-lg: 0 18px 50px rgba(23,59,105,.12);
  --sh-xl: 0 30px 80px rgba(23,59,105,.18);
  --sh-blue: 0 12px 30px rgba(31,93,188,.28);

  /* — Раскладка — */
  --maxw: 1200px;
  --gutter: 64px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--display); color: var(--navy); letter-spacing: -.02em; line-height: 1.12; font-weight: 800; }
::selection { background: rgba(31,93,188,.16); }

/* ============================================================
   Layout helpers
   ============================================================ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 86px 0; position: relative; }
.section--tight { padding: 70px 0; }
.section--zone { background: var(--zone); }
.section--zone2 { background: var(--zone-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: #93B6E8; }
.eyebrow--light::before { background: #93B6E8; }
.eyebrow--danger { color: var(--danger); }
.eyebrow--danger::before { background: var(--danger); }

.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.14;
  text-wrap: balance;
}
.section-head .lead {
  margin-top: 20px; font-size: 18.5px; color: var(--ink-2); line-height: 1.6;
  text-wrap: pretty;
}
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 16px; line-height: 1;
  padding: 0 26px; height: 54px;
  border-radius: var(--r-btn);
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .22s var(--ease); }
.btn-primary {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  color: #fff; box-shadow: var(--sh-blue);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
  opacity: .9; pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(31,93,188,.36); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0) scale(.99); }
.btn-ghost {
  background: #fff; color: var(--blue); border: 1.5px solid var(--blue);
}
.btn-ghost:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-ghost-navy { background: transparent; color: var(--navy); border: 1.5px solid #C9D4E2; }
.btn-ghost-navy:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-lg { height: 58px; font-size: 16.5px; padding: 0 32px; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: var(--blue); box-shadow: var(--sh-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.microcopy { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.microcopy .sla { color: var(--ink); font-weight: 600; }

/* checkmark list */
.checks { display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink); line-height: 1.5; }
.checks .ck {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; margin-top: 1px;
}
.checks .ck svg { width: 14px; height: 14px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 76px;
  display: flex; align-items: center;
  background: rgba(255,255,255,0);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 18px rgba(23,59,105,.07);
  border-bottom-color: var(--border);
  height: 68px;
}
.header .container { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand img { height: 42px; width: auto; }
.brand .tag { font-size: 11px; letter-spacing: .02em; color: var(--ink-2); font-weight: 600; line-height: 1.25; max-width: 132px; border-left: 1.5px solid var(--border); padding-left: 12px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  padding: 8px 11px; border-radius: 8px; transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: var(--navy); background: var(--zone); }
.header-right { display: flex; align-items: center; gap: 18px; flex: none; }
.phone-link { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.phone-link .num { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.phone-link .sub { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); place-items: center; background: #fff; }
.burger svg { width: 22px; height: 22px; color: var(--navy); }

/* mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(16,44,79,.45); backdrop-filter: blur(2px); z-index: 110; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); z-index: 111;
  background: #fff; transform: translateX(100%); transition: transform .3s var(--ease);
  display: flex; flex-direction: column; padding: 22px;
  box-shadow: -20px 0 60px rgba(23,59,105,.2);
}
.drawer.open { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer-top img { height: 26px; }
.drawer-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; }
.drawer-close svg { width: 22px; height: 22px; color: var(--navy); }
.drawer nav { display: grid; gap: 4px; }
.drawer nav a { font-size: 17px; font-weight: 600; color: var(--navy); padding: 13px 12px; border-radius: 10px; }
.drawer nav a:hover { background: var(--zone); }
.drawer-foot { margin-top: auto; display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--border); }
.drawer-foot .num { font-size: 20px; font-weight: 800; color: var(--navy); }

/* mobile bottom sticky CTA */
.mobile-cta { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; padding: 128px 0 76px;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(31,93,188,.07), transparent 60%),
    linear-gradient(180deg, #F4F7FC 0%, #fff 46%);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); line-height: 1.5; margin-bottom: 22px; max-width: 520px;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.025em;
  color: var(--navy); text-wrap: balance;
}
.hero h1 .hl { color: var(--blue); }
.hero .sub { margin-top: 24px; font-size: 18.5px; color: var(--ink-2); line-height: 1.6; max-width: 540px; text-wrap: pretty; }

/* dual pillars */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 28px; }
.pillar {
  border: 1px solid var(--border); border-radius: 14px; padding: 16px 16px 15px; background: #fff;
  box-shadow: var(--sh-xs);
}
.pillar .ph { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.pillar .pic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.pillar .pic svg { width: 17px; height: 17px; }
.pillar--guard .pic { background: rgba(31,93,188,.1); color: var(--blue); }
.pillar--ctrl .pic { background: var(--green-soft); color: var(--green); }
.pillar h3 { font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.pillar p { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero .microcopy { max-width: 480px; }

/* trust strip under hero */
.trust-strip {
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 11px 18px; align-items: center; justify-content: center;
}
.trust-strip span {
  font-size: 11.5px; font-weight: 600; letter-spacing: .03em; color: var(--ink-3);
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px;
}
.trust-strip span:not(:last-child)::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #C5CEDA; margin-left: 17px; }

/* ============================================================
   Агата dashboard mockup (hero right)
   ============================================================ */
.dash {
  position: relative; background: #fff; border-radius: var(--r-card-lg);
  border: 1px solid var(--border); box-shadow: var(--sh-xl);
  overflow: hidden;
}
.dash::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.dash-top { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.dash-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); font-size: 15px; letter-spacing: -.02em; }
.dash-logo .dot { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--green), var(--blue)); display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }
.dash-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 4px 9px; border-radius: var(--r-pill); }
.dash-live .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); position: relative; }
.dash-live .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--green); opacity: .35; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 70%,100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dash-live .pulse::after { animation: none; } }

.dash-body { padding: 18px; display: grid; gap: 14px; }
.gauge-card { display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: 14px; background: var(--zone-2); border: 1px solid var(--border); }
.gauge { position: relative; width: 92px; height: 92px; flex: none; }
.gauge svg { transform: rotate(-90deg); }
.gauge .val { position: absolute; inset: 0; display: grid; place-items: center; }
.gauge .val b { font-family: var(--display); font-size: 25px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.gauge-card .gx h4 { font-size: 15px; color: var(--navy); font-weight: 700; }
.gauge-card .gx p { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.4; }

.dash-rows { display: grid; gap: 8px; }
.drow { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--border); background: #fff; }
.drow .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--zone); display: grid; place-items: center; color: var(--blue); flex: none; }
.drow .ic svg { width: 16px; height: 16px; }
.drow .rx { flex: 1; min-width: 0; }
.drow .rx .t { font-size: 13px; font-weight: 600; color: var(--navy); }
.drow .rx .s { font-size: 11.5px; color: var(--ink-3); }
.drow .stat { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 5px; }
.stat--ok { color: var(--green); background: var(--green-soft); }
.stat--warn { color: #B26A00; background: #FCF3E2; }
.dash-tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.tile { background: var(--navy); color: #fff; border-radius: 12px; padding: 13px 12px; }
.tile b { font-family: var(--display); font-size: 23px; font-weight: 800; display: block; letter-spacing: -.02em; }
.tile span { font-size: 10.5px; color: #A9BDD8; line-height: 1.3; display: block; margin-top: 3px; }
.tile--green { background: var(--green); }
.tile--green span { color: #C7EAD3; }

.dash-badge {
  position: absolute; z-index: 3; background: #fff; border-radius: 13px; padding: 11px 14px;
  box-shadow: var(--sh-lg); border: 1px solid var(--border); display: flex; gap: 10px; align-items: center;
}
.dash-badge .bi { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.dash-badge .bt b { display: block; font-size: 14px; color: var(--navy); font-weight: 800; }
.dash-badge .bt span { font-size: 11px; color: var(--ink-2); }
.dash-badge--tl { top: -42px; left: -30px; }
.dash-badge--tl .bi { background: var(--green-soft); color: var(--green); }
.dash-badge--br { bottom: -40px; right: -26px; }
.dash-badge--br .bi { background: rgba(31,93,188,.1); color: var(--blue); }
.dash-wrap { position: relative; }
.float { animation: float 6s ease-in-out infinite; }
.float.f2 { animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* ============================================================
   Trust band (block 3)
   ============================================================ */
.logowall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin: 26px auto 12px; max-width: 940px; }
.logo-chip {
  height: 58px; padding: 0 26px; min-width: 150px; border-radius: 12px;
  background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center; text-align: center;
  font-weight: 700; color: #93A0B2; letter-spacing: .02em; font-size: 14px;
  filter: grayscale(1); transition: filter .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.logo-chip:hover { filter: none; color: var(--navy); box-shadow: var(--sh-sm); }
.proof-line { text-align: center; font-size: 18px; color: var(--ink); max-width: 720px; margin: 0 auto; line-height: 1.5; }
.proof-line b { color: var(--navy); font-weight: 700; }

.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin: 42px auto 30px; max-width: 960px; }
.stat-cell { text-align: center; }
.stat-cell .num { font-family: var(--display); font-size: clamp(34px, 4vw, 50px); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.stat-cell .lbl { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.accred { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding-top: 30px; border-top: 1px solid var(--border); }
.accred span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.accred span svg { width: 19px; height: 19px; color: var(--blue); }

/* ============================================================
   Generic card grid
   ============================================================ */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 28px; box-shadow: var(--sh-xs); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card.hov:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #D4DEEC; }
.icon-box { width: 46px; height: 46px; border-radius: 12px; background: rgba(31,93,188,.09); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.icon-box svg { width: 23px; height: 23px; }
.card h3 { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: -.015em; margin-bottom: 9px; }
.card p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

/* ============================================================
   Photo placeholder (documentary)
   ============================================================ */
.photo {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(23,59,105,.025) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #DDE5F0, #C7D3E4);
  display: grid; place-items: center; color: var(--navy);
  border: 1px solid var(--border);
}
.photo .ph-in { text-align: center; padding: 22px; display: grid; gap: 8px; justify-items: center; }
.photo .ph-in svg { width: 30px; height: 30px; color: #6F7F97; opacity: .8; }
.photo .ph-cap { font-size: 12.5px; color: #5E6E86; font-weight: 600; max-width: 230px; line-height: 1.4; }
.photo .ph-tag { position: absolute; top: 12px; left: 12px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(23,59,105,.78); color: #fff; padding: 4px 9px; border-radius: 6px; }

/* ============================================================
   Method — floor plan (killer element)
   ============================================================ */
.method-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.floorplan {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card-lg);
  box-shadow: var(--sh-lg); padding: 22px; position: sticky; top: 96px;
}
.floorplan h4 { font-size: 14px; color: var(--ink-2); font-weight: 600; margin-bottom: 4px; letter-spacing: 0; }
.floorplan .fp-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.floorplan .fp-title b { font-family: var(--display); font-size: 17px; color: var(--navy); }
.fp-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--border); }
.fp-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.fp-legend .sw { width: 13px; height: 13px; border-radius: 4px; }
.fp-legend .ln { width: 18px; height: 0; border-top: 2px solid; }

.method-list { display: grid; gap: 4px; }
.mitem { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.mitem:last-child { border-bottom: none; }
.mitem .mn { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; font-size: 15px; display: grid; place-items: center; }
.mitem .mx h3 { font-size: 17px; color: var(--navy); font-weight: 700; letter-spacing: -.01em; margin-bottom: 5px; }
.mitem .mx p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* filter banner */
.filter-banner {
  margin-top: 52px; background: var(--navy); border-radius: var(--r-card-lg); padding: 40px 44px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; color: #fff;
  position: relative; overflow: hidden;
}
.filter-banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(47,116,224,.3), transparent 70%); }
.filter-banner .fb-ic { width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.filter-banner .fb-ic svg { width: 32px; height: 32px; color: #fff; }
.filter-banner h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.filter-banner p { color: #C2D2E8; font-size: 16px; line-height: 1.6; position: relative; z-index: 1; }
.filter-banner p b { color: #fff; }

/* ============================================================
   Audit (block 5)
   ============================================================ */
.audit-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 880px; margin: 0 auto 12px; }
.audit-logos .lc { height: 50px; padding: 0 20px; border-radius: 10px; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; font-weight: 700; color: #8C99AC; font-size: 14px; filter: grayscale(1); }
.audit-note { text-align: center; font-size: 13px; color: var(--ink-3); margin-bottom: 46px; }
.audit-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 46px; }
.afact { text-align: center; padding: 30px 22px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--border); box-shadow: var(--sh-xs); }
.afact .big { font-family: var(--display); font-size: clamp(38px,4.6vw,54px); font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.03em; }
.afact .big small { font-size: .45em; color: var(--ink-2); font-weight: 700; }
.afact .ad { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.grade-row { display: inline-flex; gap: 6px; margin-top: 14px; justify-content: center; }
.grade-row .g { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 14px; font-family: var(--display); color: #fff; background: #C5CEDA; }
.grade-row .g.on { background: var(--green); }
.grade-row .g.bad { background: var(--danger); }

.steps-h { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: st; }
.hstep { position: relative; padding: 26px 22px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--border); box-shadow: var(--sh-xs); }
.hstep .sn { font-family: var(--display); font-size: 14px; font-weight: 800; color: var(--blue); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.hstep .sn .nb { width: 26px; height: 26px; border-radius: 7px; background: rgba(31,93,188,.1); display: grid; place-items: center; }
.hstep h3 { font-size: 16.5px; color: var(--navy); font-weight: 700; margin-bottom: 7px; letter-spacing: -.01em; }
.hstep p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* ============================================================
   Risk (block 6) — danger palette
   ============================================================ */
.risk { background: var(--danger-bg); }
.risk-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 36px; }
.rcard { background: #fff; border: 1px solid var(--danger-line); border-radius: var(--r-card); padding: 30px 26px; box-shadow: 0 4px 18px rgba(192,57,43,.05); }
.rcard .ric { width: 44px; height: 44px; border-radius: 11px; background: #FBEAE7; color: var(--danger); display: grid; place-items: center; margin-bottom: 18px; }
.rcard .ric svg { width: 22px; height: 22px; }
.rcard .rbig { font-family: var(--display); font-size: clamp(34px,4.2vw,46px); font-weight: 800; color: var(--danger); line-height: 1.02; letter-spacing: -.02em; }
.rcard .rt { margin-top: 10px; font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.rcard .rlaw { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); font-style: italic; }
.legal-banner {
  background: var(--navy); color: #fff; border-radius: var(--r-card); padding: 30px 34px;
  display: flex; gap: 22px; align-items: flex-start; position: relative; overflow: hidden; margin-bottom: 22px;
}
.legal-banner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--blue); }
.legal-banner .lb-ic { flex: none; width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.legal-banner .lb-ic svg { width: 23px; height: 23px; color: #fff; }
.legal-banner p { font-size: 16.5px; line-height: 1.6; color: #DCE6F3; }
.legal-banner p b { color: #fff; }
.stat-callout {
  border-radius: var(--r-card); overflow: hidden; position: relative; min-height: 200px;
  display: flex; align-items: flex-end; color: #fff; padding: 32px 34px;
  background: linear-gradient(0deg, rgba(16,44,79,.92), rgba(16,44,79,.5)), repeating-linear-gradient(135deg, #2a456b 0 14px, #243d60 14px 28px);
}
.stat-callout p { font-size: 16px; line-height: 1.6; max-width: 760px; position: relative; z-index: 1; }
.stat-callout p b { color: #fff; font-weight: 700; }
.risk-cta { text-align: center; margin-top: 34px; }
.risk-cta a { color: var(--blue); font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; }
.risk-cta a svg { width: 18px; height: 18px; }

/* ============================================================
   ROI (block 7)
   ============================================================ */
.roi-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 30px; }
.roi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 30px 26px; box-shadow: var(--sh-xs); }
.roi-card .ric { width: 44px; height: 44px; border-radius: 11px; background: rgba(31,93,188,.09); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.roi-card .ric svg { width: 22px; height: 22px; }
.roi-card .rbig { font-family: var(--display); font-size: clamp(30px,3.6vw,40px); font-weight: 800; color: var(--navy); line-height: 1.05; letter-spacing: -.02em; }
.roi-card p { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.roi-sum {
  background: var(--zone); border-radius: var(--r-card); padding: 30px 34px;
  display: flex; gap: 26px; align-items: center; flex-wrap: wrap; justify-content: space-between;
  border: 1px solid var(--border);
}
.roi-sum p { font-size: 17px; color: var(--ink); line-height: 1.55; max-width: 680px; }
.roi-sum p b { color: var(--green); font-weight: 700; }

/* ============================================================
   Process timeline (block 8)
   ============================================================ */
.timeline { max-width: 880px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 14px; bottom: 14px; width: 2px; background: var(--border); }
.tstep { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding-bottom: 30px; }
.tstep:last-child { padding-bottom: 0; }
.tstep .tnode {
  width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 2px solid var(--border);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--ink-3);
  position: relative; z-index: 1; transition: all .3s var(--ease);
}
.tstep.lit .tnode { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.tstep .tbody { padding-top: 4px; }
.tstep .tbody .th { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 7px; }
.tstep .tbody h3 { font-size: 19px; color: var(--navy); font-weight: 700; letter-spacing: -.015em; }
.tstep .tbody .dur { font-size: 12.5px; font-weight: 700; color: var(--blue); background: rgba(31,93,188,.1); padding: 4px 11px; border-radius: var(--r-pill); }
.tstep .tbody p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.tstep .tbody .agata-mini { margin-top: 12px; display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 8px 13px; border-radius: 10px; }
.tstep .tbody .agata-mini svg { width: 16px; height: 16px; }
.process-sum { max-width: 880px; margin: 36px auto 0; background: var(--navy); color: #fff; border-radius: var(--r-card); padding: 26px 32px; display: flex; gap: 20px; align-items: center; }
.process-sum svg { width: 30px; height: 30px; color: #fff; flex: none; }
.process-sum p { font-size: 16.5px; line-height: 1.55; color: #DCE6F3; }
.process-sum p b { color: #fff; }

/* ============================================================
   Comparison table (block 9)
   ============================================================ */
.compare { max-width: 980px; margin: 0 auto; border-radius: var(--r-card-lg); overflow: hidden; box-shadow: var(--sh-md); border: 1px solid var(--border); }
.crow { display: grid; grid-template-columns: 1.1fr 1fr 1.08fr; }
.crow > div { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.crow.head > div { padding: 22px; font-weight: 800; font-family: var(--display); letter-spacing: -.01em; }
.crow .feat { font-weight: 600; color: var(--navy); background: var(--zone-2); font-size: 14.5px; }
.crow .old { background: #fff; color: var(--ink-2); font-size: 14.5px; gap: 10px; }
.crow .new { background: #F5F9FF; color: var(--ink); font-size: 14.5px; gap: 10px; font-weight: 500; }
.crow.head .feat { background: var(--navy); color: #fff; }
.crow.head .old { background: #EDEFF3; color: var(--ink-2); justify-content: flex-start; }
.crow.head .new { background: var(--blue); color: #fff; position: relative; }
.crow.head .new .star { margin-left: auto; }
.compare .crow:last-child > div { border-bottom: none; }
.crow .ic-x { color: #B6BFCC; flex: none; }
.crow .ic-c { color: var(--green); flex: none; }
.crow .ic-x svg, .crow .ic-c svg { width: 18px; height: 18px; }
.new-col-border { box-shadow: inset 0 0 0 2px var(--blue); }
.compare-sum { max-width: 980px; margin: 22px auto 0; text-align: center; background: var(--navy); color: #fff; border-radius: var(--r-card); padding: 22px 30px; font-size: 16.5px; line-height: 1.5; }
.compare-sum b { color: #93C9A8; }
.compare-tabs { display: none; }

/* ============================================================
   Агата features zigzag (block 10)
   ============================================================ */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.feat-row:last-child { margin-bottom: 0; }
.feat-row.flip .feat-text { order: 2; }
.feat-text .fnum { font-family: var(--display); font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .04em; margin-bottom: 12px; }
.feat-text h3 { font-size: clamp(22px,2.6vw,27px); color: var(--navy); line-height: 1.15; margin-bottom: 14px; letter-spacing: -.02em; }
.feat-text p { font-size: 16.5px; color: var(--ink-2); line-height: 1.6; margin-bottom: 16px; }
.feat-text .benefit { display: flex; gap: 11px; align-items: flex-start; padding: 14px 16px; background: var(--green-soft); border-radius: 12px; }
.feat-text .benefit svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 2px; }
.feat-text .benefit span { font-size: 14.5px; color: #15643A; font-weight: 600; line-height: 1.45; }

/* device mock with mini-ui screenshots */
.device {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--sh-lg);
  overflow: hidden; position: relative;
}
.device::before { content: ""; display: block; height: 38px; background: var(--zone-2); border-bottom: 1px solid var(--border); }
.device .dots { position: absolute; top: 14px; left: 16px; display: flex; gap: 6px; }
.device .dots i { width: 9px; height: 9px; border-radius: 50%; background: #D2DAE6; }
.device .scr { padding: 18px; }
.annot { position: absolute; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 600; padding: 7px 11px; border-radius: 9px; box-shadow: var(--sh-md); z-index: 3; max-width: 180px; line-height: 1.35; }
.annot::after { content: ""; position: absolute; width: 9px; height: 9px; background: var(--navy); transform: rotate(45deg); }

/* mini journal screenshot */
.scr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.scr-head .stitle { font-size: 13px; font-weight: 700; color: var(--navy); }
.scr-head .smeta { font-size: 11px; color: var(--ink-3); }
.jrow { display: flex; align-items: center; gap: 11px; padding: 11px; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 8px; background: #fff; }
.jrow .av { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg,var(--green),var(--blue)); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
.jrow .jx { flex: 1; min-width: 0; }
.jrow .jx .a { font-size: 12.5px; font-weight: 600; color: var(--navy); }
.jrow .jx .b { font-size: 10.5px; color: var(--ink-3); }
.jrow .temp { font-size: 13px; font-weight: 800; font-family: var(--display); color: var(--green); }
.jrow .temp.bad { color: var(--danger); }

/* points grid screenshot */
.pgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.pt { padding: 11px; border-radius: 10px; border: 1px solid var(--border); }
.pt .pn { font-size: 11.5px; font-weight: 700; color: var(--navy); }
.pt .pst { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; margin-top: 6px; }
.pt .pst .d { width: 7px; height: 7px; border-radius: 50%; }
.pt.ok .pst { color: var(--green); } .pt.ok .pst .d { background: var(--green); }
.pt.warn .pst { color: #B26A00; } .pt.warn .pst .d { background: #E8A12B; }

/* checklist screenshot */
.cl-item { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.cl-item:last-child { border: none; }
.cl-item .cb { width: 22px; height: 22px; border-radius: 7px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.cl-item .cb svg { width: 13px; height: 13px; }
.cl-item .cb.empty { background: var(--zone); color: transparent; border: 1px solid var(--border); }
.cl-item .clt { font-size: 12.5px; color: var(--navy); font-weight: 500; flex: 1; }
.cl-item .clm { font-size: 10.5px; color: var(--ink-3); }

/* ============================================================
   Security (block 11)
   ============================================================ */
.sec-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.sec-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px 20px; text-align: left; box-shadow: var(--sh-xs); }
.sec-card .sic { width: 42px; height: 42px; border-radius: 11px; background: rgba(31,93,188,.09); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.sec-card .sic svg { width: 21px; height: 21px; }
.sec-card h3 { font-size: 15.5px; color: var(--navy); font-weight: 700; margin-bottom: 7px; letter-spacing: -.01em; }
.sec-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.sec-micro { text-align: center; margin-top: 30px; font-size: 14.5px; color: var(--ink-2); }

/* ============================================================
   Segments + triggers (block 12)
   ============================================================ */
.seg-card { overflow: hidden; padding: 0; }
.seg-card .photo { border-radius: 0; height: 180px; border: none; border-bottom: 1px solid var(--border); }
.seg-card .seg-body { padding: 24px 26px 26px; }
.seg-card h3 { font-size: 18px; color: var(--navy); font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.seg-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.exclusion { text-align: center; font-size: 14px; color: var(--ink-3); margin: 30px auto 40px; max-width: 620px; }
.triggers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 900px; margin: 0 auto; }
.trigger {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 14px;
  background: #fff; border: 1px solid var(--border); cursor: pointer; text-align: left;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.trigger:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); border-color: var(--blue); }
.trigger .tar { flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(31,93,188,.1); color: var(--blue); display: grid; place-items: center; transition: background .2s, color .2s; }
.trigger:hover .tar { background: var(--blue); color: #fff; }
.trigger .tar svg { width: 17px; height: 17px; }
.trigger span { font-size: 15px; color: var(--ink); line-height: 1.45; font-weight: 500; }
.trigger span b { color: var(--navy); font-weight: 700; }

/* ============================================================
   Cases (block 13)
   ============================================================ */
.case-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; overflow: hidden; padding: 0; margin-bottom: 22px; }
.case-card .photo { border-radius: 0; border: none; min-height: 280px; }
.case-card .cbody { padding: 32px 36px; }
.case-card .ctype { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .02em; margin-bottom: 18px; text-transform: uppercase; }
.case-card .cblock { margin-bottom: 16px; }
.case-card .cblock .clabel { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.case-card .cblock p { font-size: 15px; color: var(--ink); line-height: 1.5; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 24px; padding: 18px 0; margin: 4px 0 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.case-metrics .m b { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--navy); display: block; letter-spacing: -.02em; }
.case-metrics .m b .pos { color: var(--green); }
.case-metrics .m span { font-size: 12.5px; color: var(--ink-2); }
.case-quote { font-size: 15.5px; color: var(--ink); font-style: italic; line-height: 1.5; }
.case-quote .who { display: block; font-style: normal; font-size: 13px; color: var(--ink-3); margin-top: 8px; font-weight: 600; }
.video-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 36px; }
.vcard { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: var(--sh-xs); }
.vcard .photo { border-radius: 0; border: none; height: 180px; }
.vcard .play { position: absolute; inset: 0; display: grid; place-items: center; }
.vcard .play .pb { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: var(--sh-md); }
.vcard .play .pb svg { width: 22px; height: 22px; color: var(--blue); margin-left: 3px; }
.vcard .vcap { padding: 16px 18px; }
.vcard .vcap b { font-size: 15px; color: var(--navy); font-weight: 700; display: block; }
.vcard .vcap span { font-size: 13px; color: var(--ink-2); }

/* ============================================================
   Experts (block 14)
   ============================================================ */
.exp-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.company-block .badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.company-block .badges .bdg { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--border); padding: 9px 15px; border-radius: var(--r-pill); box-shadow: var(--sh-xs); }
.company-block .badges .bdg svg { width: 17px; height: 17px; color: var(--blue); }
.company-block p { font-size: 16.5px; color: var(--ink-2); line-height: 1.65; }
.expert-cards { display: grid; gap: 16px; }
.ecard { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 18px; box-shadow: var(--sh-xs); }
.ecard .photo { height: 88px; width: 88px; border-radius: 14px; }
.ecard .ex h3 { font-size: 17px; color: var(--navy); font-weight: 700; }
.ecard .ex .role { font-size: 13.5px; color: var(--blue); font-weight: 600; margin: 3px 0 6px; }
.ecard .ex p { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.ally-callout { margin-top: 28px; background: var(--zone); border-radius: var(--r-card); padding: 26px 30px; position: relative; border: 1px solid var(--border); }
.ally-callout::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; background: var(--blue); border-radius: 4px; }
.ally-callout p { font-size: 16px; color: var(--ink); line-height: 1.6; padding-left: 14px; }
.ally-callout p b { color: var(--navy); }

/* ============================================================
   Pricing (block 15)
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: start; }
.pcard { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.pcard.feat { box-shadow: var(--sh-lg); border-color: var(--blue); transform: translateY(-14px); position: relative; z-index: 2; }
.pcard .phead { padding: 28px 28px 24px; border-bottom: 1px solid var(--border); position: relative; }
.pcard.feat .phead { background: var(--blue); border-bottom: none; }
.pcard .pbadge { position: absolute; top: 20px; right: 24px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: #fff; color: var(--blue); padding: 5px 11px; border-radius: var(--r-pill); }
.pcard .pname { font-family: var(--display); font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.pcard.feat .pname { color: #fff; }
.pcard .pfor { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; margin-top: 8px; min-height: 58px; }
.pcard.feat .pfor { color: #CFE0F6; }
.pcard .pprice { padding: 22px 28px 8px; }
.pcard .pprice .from { font-size: 13px; color: var(--ink-3); }
.pcard .pprice .amt { font-family: var(--display); font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.pcard .pprice .rec { font-size: 13px; color: var(--green); font-weight: 600; margin-top: 6px; }
.pcard .pprice .note { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.pcard .pfeat { padding: 14px 28px 24px; display: grid; gap: 11px; }
.pcard .pfeat li { display: flex; gap: 10px; font-size: 14px; color: var(--ink); line-height: 1.45; }
.pcard .pfeat li svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 2px; }
.pcard .pcta { padding: 0 28px 28px; }
.price-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 40px auto 0; }
.pbanner { border-radius: var(--r-card); padding: 24px 28px; display: flex; gap: 16px; align-items: flex-start; }
.pbanner.light { background: var(--zone); border: 1px solid var(--border); }
.pbanner.dark { background: var(--navy); color: #fff; }
.pbanner svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.pbanner.light svg { color: var(--green); }
.pbanner.dark svg { color: #fff; }
.pbanner h4 { font-size: 15.5px; margin-bottom: 5px; }
.pbanner.light h4 { color: var(--navy); }
.pbanner.dark h4 { color: #fff; }
.pbanner p { font-size: 13.5px; line-height: 1.5; }
.pbanner.light p { color: var(--ink-2); }
.pbanner.dark p { color: #C2D2E8; }

/* ============================================================
   Guarantees (block 16)
   ============================================================ */
.guar-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.gcard { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px 22px; box-shadow: var(--sh-xs); }
.gcard .gic { width: 44px; height: 44px; border-radius: 11px; background: rgba(31,93,188,.09); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.gcard .gic svg { width: 22px; height: 22px; }
.gcard h3 { font-size: 16px; color: var(--navy); font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.gcard p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.gcard p b { color: var(--green); }
.commercial { margin-top: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px 28px; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; }
.commercial span { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.commercial span svg { width: 18px; height: 18px; color: var(--green); }

/* ============================================================
   Quiz (block 18)
   ============================================================ */
.quiz-section { background: var(--navy); position: relative; overflow: hidden; }
.quiz-section::before { content: ""; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(47,116,224,.18), transparent 70%); }
.quiz-section::after { content: ""; position: absolute; bottom: -120px; right: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(27,158,75,.13), transparent 70%); }
.quiz-section .section-head h2 { color: #fff; }
.quiz-section .section-head .lead { color: #B6C7DE; }
.quiz-section .eyebrow { color: #93B6E8; }
.quiz-section .eyebrow::before { background: #93B6E8; }
.quiz-card {
  max-width: 720px; margin: 0 auto; background: #fff; border-radius: var(--r-card-lg);
  box-shadow: var(--sh-xl); overflow: hidden; position: relative; z-index: 1;
}
.quiz-progress { height: 6px; background: var(--zone); }
.quiz-progress .bar { height: 100%; background: linear-gradient(90deg,var(--blue),var(--green)); width: 20%; transition: width .4s var(--ease); }
.quiz-inner { padding: 38px 40px 40px; }
.quiz-step-label { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .03em; margin-bottom: 10px; }
.quiz-q { font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 24px; line-height: 1.2; }
.quiz-options { display: grid; gap: 12px; }
.quiz-options.two { grid-template-columns: 1fr 1fr; }
.qopt {
  display: flex; align-items: center; gap: 14px; padding: 17px 20px; border-radius: 13px;
  border: 1.5px solid var(--border); background: #fff; text-align: left; width: 100%;
  transition: border-color .18s var(--ease), background .18s var(--ease), transform .15s var(--ease);
}
.qopt:hover { border-color: var(--blue); background: #F5F9FF; }
.qopt.sel { border-color: var(--blue); background: #F0F6FF; box-shadow: inset 0 0 0 1px var(--blue); }
.qopt .qic { width: 38px; height: 38px; border-radius: 10px; background: var(--zone); color: var(--blue); display: grid; place-items: center; flex: none; }
.qopt .qic svg { width: 20px; height: 20px; }
.qopt .qtx { font-size: 15.5px; font-weight: 600; color: var(--navy); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.quiz-back { font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.quiz-back svg { width: 16px; height: 16px; }
.quiz-back:hover { color: var(--navy); }
.quiz-back.hide { visibility: hidden; }

/* quiz result */
.quiz-result { display: none; }
.quiz-result.show { display: block; }
.quiz-result .rlabel { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .03em; margin-bottom: 10px; }
.quiz-result .rrange { font-family: var(--display); font-size: clamp(30px,5vw,42px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.quiz-result .rdesc { font-size: 15px; color: var(--ink-2); margin: 14px 0 24px; line-height: 1.55; }
.quiz-form { display: grid; gap: 12px; }
.quiz-form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field input {
  height: 50px; border: 1.5px solid var(--border); border-radius: var(--r-input);
  padding: 0 15px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,93,188,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.consent label { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.consent label a { color: var(--blue); text-decoration: underline; }

/* ============================================================
   FAQ (block 19)
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; max-width: 1060px; margin: 0 auto; }
.faq-list { display: grid; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 4px; text-align: left; }
.faq-q span { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; line-height: 1.4; }
.faq-q .fq-ic { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--zone); color: var(--blue); display: grid; place-items: center; transition: background .2s, transform .25s var(--ease); }
.faq-q .fq-ic svg { width: 16px; height: 16px; }
.faq-item.open .fq-ic { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { font-size: 15.5px; color: var(--ink-2); line-height: 1.65; padding: 0 4px 24px; max-width: 680px; }
.faq-side { background: var(--navy); border-radius: var(--r-card); padding: 30px 28px; color: #fff; position: sticky; top: 96px; }
.faq-side h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.faq-side p { font-size: 14px; color: #B6C7DE; line-height: 1.5; margin-bottom: 18px; }
.faq-side .fnum { font-family: var(--display); font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 18px; display: block; }

/* ============================================================
   Final CTA (block 20)
   ============================================================ */
.final-cta { position: relative; overflow: hidden; padding: 100px 0; color: #fff; text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 120%); }
.final-cta::before { content: ""; position: absolute; inset: 0; opacity: .12;
  background: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 22px); }
.final-cta .container { position: relative; z-index: 1; max-width: 820px; }
.final-cta h2 { color: #fff; font-size: clamp(30px,4.2vw,44px); line-height: 1.12; text-wrap: balance; }
.final-cta .lead { color: #CFE0F6; font-size: 18.5px; margin: 20px auto 28px; max-width: 640px; line-height: 1.6; }
.final-cta .fc-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin-bottom: 32px; }
.final-cta .fc-checks span { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: #E4EDF9; }
.final-cta .fc-checks span svg { width: 18px; height: 18px; color: #6FE3A0; }
.final-cta .fc-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.final-cta .fc-micro { font-size: 14px; color: #AFC4E0; }
.promise { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.18); font-family: var(--display); font-size: clamp(19px,2.4vw,25px); font-weight: 700; color: #fff; line-height: 1.4; text-wrap: balance; }
.promise b { color: #6FE3A0; }

/* ============================================================
   Footer (block 22)
   ============================================================ */
.footer { background: var(--navy-deep); color: #fff; padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { height: 30px; margin-bottom: 18px; }
.foot-brand p { font-size: 14px; color: #93A8C6; line-height: 1.6; max-width: 280px; }
.foot-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6E86A8; margin-bottom: 16px; }
.foot-col a, .foot-col p { font-size: 14.5px; color: #C2D2E6; line-height: 2; transition: color .18s var(--ease); }
.foot-col a:hover { color: #fff; }
.foot-contacts .bignum { font-family: var(--display); font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.foot-contacts .sub { font-size: 12.5px; color: #6E86A8; margin-bottom: 16px; }
.foot-backlink { margin-top: 40px; padding: 20px 26px; background: rgba(255,255,255,.05); border-radius: var(--r-card); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-backlink p { font-size: 14.5px; color: #C2D2E6; }
.foot-backlink a { font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.foot-backlink a svg { width: 16px; height: 16px; }
.foot-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom p { font-size: 12.5px; color: #6E86A8; line-height: 1.6; }
.foot-bottom .flinks { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-bottom .flinks a { font-size: 12.5px; color: #93A8C6; }
.foot-bottom .flinks a:hover { color: #fff; }

/* ============================================================
   Cookie banner (block 21)
   ============================================================ */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 120;
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-card); box-shadow: var(--sh-xl); padding: 18px 22px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.cookie.show { transform: none; }
.cookie p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; flex: 1; min-width: 240px; }
.cookie p a { color: var(--blue); text-decoration: underline; }
.cookie .ck-btns { display: flex; gap: 10px; }
.cookie .btn { height: 42px; font-size: 14px; padding: 0 20px; }

/* ============================================================
   Real client logos + proof letters
   ============================================================ */
.logo-tile {
  height: 78px; padding: 0 22px; min-width: 148px; border-radius: 12px;
  background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.logo-tile img { max-height: 48px; max-width: 152px; width: auto; object-fit: contain; }
.logo-tile:hover { box-shadow: var(--sh-sm); transform: translateY(-2px); }

.proof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.proof-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--sh-xs); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #D4DEEC; }
.proof-logo { height: 76px; display: grid; place-items: center; padding: 14px 22px; border-bottom: 1px solid var(--border); background: var(--zone-2); }
.proof-logo img { max-height: 44px; max-width: 180px; width: auto; object-fit: contain; }
.proof-body { padding: 22px 24px; flex: 1; }
.proof-body .ptag { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.proof-body h3 { font-size: 17px; color: var(--navy); font-weight: 700; letter-spacing: -.01em; margin-bottom: 9px; line-height: 1.25; }
.proof-body p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.proof-letter { display: flex; align-items: center; gap: 13px; padding: 14px 24px; border-top: 1px solid var(--border); cursor: pointer; transition: background .2s var(--ease); width: 100%; text-align: left; }
.proof-letter:hover { background: var(--zone-2); }
.proof-letter .lthumb { width: 44px; height: 58px; border-radius: 6px; border: 1px solid var(--border); object-fit: cover; object-position: top center; flex: none; box-shadow: var(--sh-xs); background: #fff; }
.proof-letter .lx b { font-size: 13px; color: var(--navy); font-weight: 700; display: flex; align-items: center; gap: 7px; }
.proof-letter .lx b svg { width: 14px; height: 14px; color: var(--blue); }
.proof-letter .lx span { font-size: 11.5px; color: var(--ink-3); }

.letters-head { text-align: center; margin: 52px 0 24px; }
.letters-head h3 { font-size: 20px; color: var(--navy); }
.letters-head p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.letters-strip { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.letter-thumb { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: var(--sh-xs); cursor: pointer; position: relative; aspect-ratio: 3/4; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.letter-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.letter-thumb:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.letter-thumb .lname { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 11px 9px; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(0deg, rgba(16,44,79,.92), transparent); line-height: 1.25; }
.letter-thumb .zoom { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.92); display: grid; place-items: center; opacity: 0; transition: opacity .2s var(--ease); }
.letter-thumb:hover .zoom { opacity: 1; }
.letter-thumb .zoom svg { width: 15px; height: 15px; color: var(--navy); }
.proof-note { text-align: center; font-size: 13px; color: var(--ink-3); margin: 28px auto 0; max-width: 720px; line-height: 1.5; }

.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(16,44,79,.86); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 5vh 24px; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 700px); max-height: 90vh; border-radius: 10px; box-shadow: var(--sh-xl); background: #fff; }
.lightbox .lb-close { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; transition: background .2s var(--ease); }
.lightbox .lb-close:hover { background: rgba(255,255,255,.28); }
.lightbox .lb-close svg { width: 24px; height: 24px; color: #fff; }

/* ============================================================
   Real photography placements
   ============================================================ */
.media-fill { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card .photo { background: #DDE5F0; }
.case-card .photo .media-fill { position: absolute; inset: 0; }
.ecard .photo { overflow: hidden; }
.ecard .photo .media-fill { border-radius: 14px; object-position: center 22%; }

.team-banner {
  position: relative; border-radius: var(--r-card-lg); overflow: hidden;
  margin-bottom: 52px; box-shadow: var(--sh-lg); border: 1px solid var(--border);
}
.team-banner img { width: 100%; display: block; aspect-ratio: 2.5 / 1; object-fit: cover; object-position: center 64%; }
.team-banner .tb-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 40px 28px;
  background: linear-gradient(0deg, rgba(16,44,79,.9) 8%, rgba(16,44,79,.55) 50%, transparent);
  color: #fff;
}
.team-banner .tb-cap .eyebrow { color: #93B6E8; margin-bottom: 10px; }
.team-banner .tb-cap .eyebrow::before { background: #93B6E8; }
.team-banner .tb-cap b { font-family: var(--display); font-size: clamp(21px,2.5vw,28px); font-weight: 800; display: block; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.team-banner .tb-cap span { font-size: 15.5px; color: #CFE0F6; display: block; margin-top: 8px; max-width: 680px; line-height: 1.55; }

.company-photo { width: 100%; border-radius: var(--r-card); margin-top: 26px; border: 1px solid var(--border); box-shadow: var(--sh-sm); display: block; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; }
.company-photo-cap { font-size: 13px; color: var(--ink-3); margin-top: 10px; line-height: 1.45; }

@media (max-width: 860px) {
  .team-banner img { aspect-ratio: 1.6 / 1; object-position: center 60%; }
  .team-banner .tb-cap { padding: 40px 24px 22px; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  :root { --gutter: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .dash-wrap { max-width: 520px; margin: 0 auto; }
  .method-grid { grid-template-columns: 1fr; gap: 36px; }
  .floorplan { position: static; }
  .exp-grid { grid-template-columns: 1fr; gap: 36px; }
  .sec-grid { grid-template-columns: repeat(3,1fr); }
  .nav { display: none; }
  .burger { display: grid; }
  .header-right .phone-link { display: none; }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 60px 0; }
  .hero { padding: 120px 0 72px; }
  .grid-3, .grid-4, .stats-row, .risk-cards, .roi-cards, .steps-h, .audit-stats, .price-grid, .guar-grid, .video-row, .proof-grid { grid-template-columns: 1fr; }
  .letters-strip { grid-template-columns: repeat(3,1fr); }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .feat-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .feat-row.flip .feat-text { order: 0; }
  .case-card { grid-template-columns: 1fr; }
  .case-card .photo { min-height: 200px; }
  .triggers { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .price-banners { grid-template-columns: 1fr; }
  .pcard.feat { transform: none; }
  .header-right .phone-link { display: none; }
  .burger { display: grid; }
  .quiz-options.two { grid-template-columns: 1fr; }
  .quiz-form .frow { grid-template-columns: 1fr; }
  .compare { display: none; }
  .compare-tabs { display: block; }
  .roi-sum { flex-direction: column; align-items: flex-start; }
  /* mobile bottom CTA */
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(23,59,105,.08);
    gap: 12px; transform: translateY(120%); transition: transform .35s var(--ease);
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; }
  .mobile-cta .call { flex: none; width: 54px; height: 54px; border-radius: var(--r-btn); border: 1.5px solid var(--border); display: grid; place-items: center; }
  .mobile-cta .call svg { width: 22px; height: 22px; color: var(--navy); }
}
@media (max-width: 560px) {
  :root { --gutter: 22px; }
  .hero h1 { font-size: 31px; }
  .section-head { margin-bottom: 40px; }
  .quiz-inner { padding: 26px 22px 28px; }
  .filter-banner { grid-template-columns: 1fr; padding: 30px 26px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .letters-strip { grid-template-columns: repeat(2,1fr); }
  .dash-badge { display: none; }
  .hero-cta .btn { width: 100%; }
  .case-card .cbody { padding: 26px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .trust-strip span:not(:last-child)::after { display: none; }
}
