/* ============================================================
   service.css — общий стиль сервисных страниц (светлый editorial)
   Вынесен из inline <style> (канон: 1c-ut.php). Подключается
   через $useServiceCss = true перед include header.php.
   Страницы: 1c-ut, 1c-erp, 1c-buhgalteriya, nastroyka-1c, edo-1c,
   obnovlenie-1c, markirovka-1c, 1c-zup, arenda-1c, 1c-uh
   ============================================================ */
/* Override: скрыть дубликат кнопки в нашем header */
.header__cta--mobile { display: none !important; }
@media (max-width: 992px) {
    .header__cta--mobile { display: block !important; }
    .header__cta { display: none !important; }
}

/* Override: убрать глобальные синие плашки-счётчики и линии — оставляем спокойные "01/02/03/04" из шаблона */
.step::before, .step::after { display: none !important; content: none !important; }
.step { padding-top: 30px !important; }

/* ============================================================
   БЕЗОПАСНЫЙ ОФИС — эталонный шаблон посадочной
   Направление 01 «Эксперт-консультант».
   Тёплая бумага · серьёзный сериф · линии вместо теней.
   Аудитория: предприниматели и главбухи 40+.
   ============================================================ */

:root{
  --bg:#f8f9fb; --soft:#f1f4f9; --soft-2:#e9edf4; --paper:#ffffff;
  --navy:#07062B; --navy-deep:#050416;
  --ink:#0a0a0a; --ink-2:#374151; --ink-3:#6b7280;
  --on-dark:#edeef2; --on-dark-2:#a6acba;
  --line:#e5e7eb; --line-soft:#eef1f6;

  --accent:#1F5BFF; --accent-d:#1648d8; --accent-soft:#eaf0ff; --accent-ink:#fff;
  --red:#c0211f; --green:#1f8a52; --amber:#b06a16;

  --r:10px; --r-s:7px;
  --container:1140px;
  --gap:clamp(74px, 9vw, 124px);

  --sh-s:0 1px 2px rgba(30,29,35,.05);
  --sh-m:0 2px 12px rgba(30,29,35,.06), 0 18px 44px -24px rgba(30,29,35,.26);
  --sh-l:0 24px 60px -28px rgba(30,29,35,.5);

  --serif:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --font-display:var(--serif);
}
:root[data-accent="red"]{ --accent:#b0201d; --accent-d:#931a17; --accent-soft:#f9ecec; }
:root[data-accent="amber"]{ --accent:#b06a16; --accent-d:#945610; --accent-soft:#f8efe1; }
[data-font="sans"]{ --font-display:var(--sans); }

main *,main *::before,main *::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }
body{ margin:0; background:var(--bg); }
main{ color:var(--ink); font-family:var(--sans);
  font-size:18px; line-height:1.66; font-weight:400; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
main img{ max-width:100%; display:block; }
main a{ color:inherit; text-decoration:none; }
main button{ font:inherit; color:inherit; cursor:pointer; }
::selection{ background:var(--accent); color:#fff; }

.wrap{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:26px; }
.section{ padding-block:var(--gap); }
.section--soft{ background:var(--soft); }
.section--navy{ background:var(--navy); color:var(--on-dark); }

.eyebrow{ font-family:var(--sans); font-size:13px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); margin:0 0 20px; display:flex; align-items:center; gap:12px; }
.eyebrow::before{ content:""; width:26px; height:1px; background:currentColor; }
.eyebrow--c{ justify-content:center; }
.eyebrow--muted{ color:var(--ink-3); }
.eyebrow--ondark{ color:#cda352; }

h1,h2,h3,h4{ font-family:var(--font-display); color:var(--ink); margin:0; font-weight:700; line-height:1.14; letter-spacing:-.005em; }
h2.h{ font-size:clamp(28px,3.6vw,42px); line-height:1.16; }
h3{ font-size:clamp(20px,2.1vw,23px); line-height:1.25; }
.lead{ font-family:var(--sans); font-size:clamp(18px,1.5vw,21px); color:var(--ink-2); margin:0; max-width:60ch; line-height:1.6; }
.muted{ color:var(--ink-2); }
.sec-head{ max-width:740px; margin-bottom:clamp(40px,5vw,58px); }
.sec-head--c{ margin-inline:auto; text-align:center; }
.sec-head .lead{ margin-top:18px; }

/* ---- Buttons ---- */
.btn{ --b:var(--accent); --f:var(--accent-ink);
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 26px; border-radius:var(--r); border:1px solid transparent;
  background:var(--b); color:var(--f); font-family:var(--sans);
  font-weight:600; font-size:16px; line-height:1; letter-spacing:-.005em;
  transition:background .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover{ background:var(--accent-d); }
.btn .arr{ transition:transform .2s ease; }
.btn:hover .arr{ transform:translateX(3px); }
.btn--lg{ padding:17px 30px; font-size:16.5px; }
.btn--ghost{ --b:transparent; --f:var(--ink); border-color:var(--ink); }
.btn--ghost:hover{ --b:var(--ink); --f:#fff; }
.btn--light{ --b:#fff; --f:var(--navy); }
.btn--light:hover{ --b:var(--soft); }
.btn--ghost-light{ --b:transparent; --f:#fff; border-color:rgba(255,255,255,.45); }
.btn--ghost-light:hover{ --b:rgba(255,255,255,.12); border-color:#fff; }
.btn--block{ width:100%; }
.linkphone{ display:inline-flex; align-items:center; gap:9px; font-family:var(--sans); font-weight:600; font-size:16px; color:var(--ink); padding:15px 4px; }
.linkphone:hover{ color:var(--accent); }

/* ============================================================ HEADER */
.hdr{ position:sticky; top:0; z-index:60; background:var(--navy); color:var(--on-dark); border-bottom:1px solid rgba(255,255,255,.06); }
.hdr__bar{ display:flex; align-items:center; gap:28px; height:70px; }
.brand{ display:inline-flex; align-items:center; gap:11px; }
.brand__mark{ width:38px; height:38px; border-radius:7px; background:var(--red); display:grid; place-items:center; color:#fff; font-family:var(--sans); font-weight:800; font-size:16px; letter-spacing:-.04em; flex:none; }
.brand__name{ font-family:var(--sans); font-weight:700; font-size:18px; color:#fff; line-height:1; letter-spacing:-.01em; }
.brand__sub{ display:block; font-family:var(--sans); font-size:11px; font-weight:500; color:var(--on-dark-2); margin-top:3px; }
.nav{ display:flex; align-items:center; gap:2px; margin-left:6px; }
.nav a{ display:inline-flex; align-items:center; gap:6px; padding:9px 13px; border-radius:7px; color:var(--on-dark); font-family:var(--sans); font-size:15px; font-weight:500; transition:.15s; }
.nav a:hover{ background:rgba(255,255,255,.07); color:#fff; }
.hdr__right{ margin-left:auto; display:flex; align-items:center; gap:18px; }
.hdr__phone{ font-family:var(--sans); font-weight:600; font-size:15.5px; color:#fff; white-space:nowrap; }
.hdr__phone:hover{ opacity:.85; }
.burger{ display:none; width:42px; height:42px; border-radius:8px; background:rgba(255,255,255,.08); border:none; }
.burger span{ display:block; width:18px; height:2px; background:#fff; margin:4px auto; border-radius:2px; }
.mnav{ position:fixed; inset:70px 0 0; background:var(--navy); z-index:55; padding:22px 26px 40px; transform:translateY(-12px); opacity:0; pointer-events:none; transition:.22s ease; overflow:auto; }
.mnav.open{ transform:none; opacity:1; pointer-events:auto; }
.mnav a{ display:block; padding:15px 4px; font-family:var(--sans); font-size:18px; color:var(--on-dark); border-bottom:1px solid rgba(255,255,255,.08); }
.mnav .btn{ width:100%; margin-top:22px; }

/* ============================================================ HERO (приём F: фото + чипы) */
.hero__grid{ display:grid; grid-template-columns:1.12fr .88fr; gap:58px; align-items:center; padding-block:clamp(54px,7vw,92px); }
.hero h1{ font-size:clamp(36px,5vw,60px); line-height:1.08; margin:0 0 24px; max-width:16ch; letter-spacing:-.01em; }
.hero .lead{ max-width:50ch; }
.hero__cta{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:32px 0 18px; }
.hero__guarantee{ display:flex; align-items:flex-start; gap:11px; color:var(--ink-2); font-size:15.5px; max-width:48ch; line-height:1.5; }
.hero__guarantee svg{ flex:none; margin-top:2px; color:var(--green); }
.hero__guarantee b{ color:var(--ink); font-weight:600; }
.hero__sign{ display:flex; align-items:center; gap:14px; margin-top:28px; padding-top:24px; border-top:1px solid var(--line); }
.hero__sign-av{ width:52px; height:52px; border-radius:50%; background:var(--soft); border:1px solid var(--line); overflow:hidden; flex:none; position:relative; }
.hero__sign .nm{ font-family:var(--serif); font-style:italic; font-size:20px; color:var(--ink); line-height:1; }
.hero__sign .rl{ font-size:13px; color:var(--ink-3); margin-top:5px; }

.pf{ position:relative; max-width:380px; margin-inline:auto; }
.pf__photo{ aspect-ratio:4/4.5; background:var(--soft); border:1px solid var(--line); border-radius:var(--r); position:relative; overflow:hidden; }
.ph{ position:absolute; inset:0; display:grid; place-content:center; gap:9px; text-align:center; color:var(--ink-3); }
.ph svg{ width:42px; height:42px; margin:auto; opacity:.4; }
.ph span{ font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:11.5px; }
.pf__chip{ position:absolute; background:var(--paper); border:1px solid var(--line); border-radius:var(--r); padding:14px 17px; box-shadow:var(--sh-m); z-index:2; }
.pf__chip.a{ left:-20px; top:46px; }
.pf__chip.b{ right:-20px; bottom:72px; }
.pf__chip .n{ font-family:var(--serif); font-size:25px; font-weight:700; line-height:1; color:var(--ink); }
.pf__chip .l{ font-size:12px; color:var(--ink-2); margin-top:5px; }
.pf__chip .dot{ display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--green); margin-right:6px; vertical-align:1px; }

/* ============================================================ TRUST */
.trust{ border-block:1px solid var(--line); background:var(--paper); }
.trust__row{ display:flex; align-items:center; gap:38px; flex-wrap:wrap; padding-block:24px; }
.trust__lead{ font-size:13.5px; font-weight:600; color:var(--ink-2); line-height:1.4; }
.trust__logos{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; flex:1; }
.logo-ph{ height:42px; min-width:104px; padding:0 16px; border-radius:6px; background:var(--bg); border:1px solid var(--line); display:grid; place-items:center; font-family:ui-monospace,Menlo,monospace; font-size:11px; color:var(--ink-3); }

/* ============================================================ NUMBERS BAND (приём D-lite) */
.nums{ display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); border-radius:var(--r); background:var(--paper); overflow:hidden; }
.num{ padding:34px 30px; border-right:1px solid var(--line); position:relative; }
.num:last-child{ border-right:none; }
.num::before{ content:""; position:absolute; inset:0; background-image:repeating-linear-gradient(45deg, color-mix(in srgb,var(--accent) 5%,transparent) 0 1px, transparent 1px 13px); opacity:0; transition:opacity .3s; }
.num:hover::before{ opacity:1; }
.num .n{ font-family:var(--serif); font-size:clamp(38px,4vw,52px); font-weight:700; line-height:1; letter-spacing:-.02em; color:var(--ink); position:relative; }
.num .n em{ font-style:normal; color:var(--accent); }
.num .l{ font-size:14px; color:var(--ink-2); margin-top:12px; max-width:20ch; position:relative; }

/* ============================================================ SERVICES */
.services{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:var(--paper); }
.svc{ padding:32px 30px 30px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); display:flex; flex-direction:column; }
.svc:nth-child(3n){ border-right:none; }
.svc:nth-last-child(-n+3){ border-bottom:none; }
.svc__top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.svc__num{ font-family:var(--serif); font-weight:700; font-size:17px; color:var(--accent); letter-spacing:.04em; }
.svc__ic{ width:46px; height:46px; border-radius:9px; background:var(--accent-soft); color:var(--accent-d); display:grid; place-items:center; }
.svc__ic svg{ width:23px; height:23px; }
.svc h3{ margin-bottom:10px; }
.svc p{ margin:0; color:var(--ink-2); font-size:15.5px; line-height:1.6; }
.svc__t{ margin-top:18px; padding-top:16px; border-top:1px solid var(--line-soft); font-size:13.5px; color:var(--ink-3); display:flex; align-items:center; gap:8px; }
.svc__t::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--accent); opacity:.5; }
@media(min-width:761px){ .svc:hover{ background:var(--bg); } }

/* ============================================================ PRICING */
.prices{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items:stretch; }
.price{ background:var(--paper); border:1px solid var(--line); border-radius:var(--r); padding:32px 30px; display:flex; flex-direction:column; }
.price--hot{ border-color:var(--accent); box-shadow:var(--sh-m); }
.price__tag{ font-family:var(--sans); font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
.price--hot .price__tag{ color:var(--accent); }
.price__name{ font-family:var(--serif); font-size:24px; font-weight:700; margin:12px 0 8px; }
.price__desc{ color:var(--ink-2); font-size:14.5px; min-height:44px; line-height:1.5; }
.price__amount{ font-family:var(--serif); font-size:36px; font-weight:700; letter-spacing:-.01em; margin:20px 0 2px; }
.price__amount small{ font-family:var(--sans); font-size:14px; font-weight:500; color:var(--ink-3); }
.price__feat{ list-style:none; margin:20px 0 28px; padding:0; display:flex; flex-direction:column; gap:12px; }
.price__feat li{ display:flex; gap:11px; font-size:15px; color:var(--ink-2); line-height:1.45; }
.price__feat svg{ flex:none; margin-top:3px; color:var(--accent); }
.price .btn{ margin-top:auto; }
.price__note{ text-align:center; margin-top:30px; color:var(--ink-2); font-size:14.5px; max-width:72ch; margin-inline:auto; line-height:1.6; }
.price__note b{ color:var(--ink); }

/* ============================================================ PRODUCTS TABLE */
.ptable{ width:100%; border-collapse:collapse; background:var(--paper); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.ptable th,.ptable td{ text-align:left; padding:16px 24px; font-size:15.5px; }
.ptable thead th{ background:var(--soft); color:var(--ink-3); font-family:var(--sans); font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.07em; }
.ptable tbody tr{ border-top:1px solid var(--line-soft); }
.ptable tbody tr:hover{ background:var(--bg); }
.ptable td:first-child{ font-weight:600; color:var(--ink); }
.ptable td:first-child a{ color:var(--accent); }
.ptable td:first-child a:hover{ color:var(--accent-d); text-decoration:underline; }
.ptable td:last-child,.ptable th:last-child{ text-align:right; font-weight:600; white-space:nowrap; }
.ptable .from{ color:var(--accent); }

/* ============================================================ CASE (приём A: UI-мокап + приём B: было/стало) */
.case{ display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:center; }
.case__body p{ color:var(--ink-2); font-size:17px; line-height:1.66; }
.case__body p b{ color:var(--ink); font-weight:600; }
.ba{ display:grid; grid-template-columns:1fr 50px 1fr; align-items:stretch; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:var(--paper); margin-top:28px; }
.ba__col{ padding:22px 22px; }
.ba__col.was{ background:var(--soft); }
.ba__k{ font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; margin-bottom:14px; }
.ba__k.was{ color:var(--red); } .ba__k.now{ color:var(--green); }
.ba__line{ display:flex; justify-content:space-between; gap:12px; font-size:13.5px; padding:8px 0; border-bottom:1px solid var(--line-soft); color:var(--ink-2); }
.ba__line:last-child{ border-bottom:none; }
.ba__line .v{ font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ba__line .v.r{ color:var(--red); } .ba__line .v.g{ color:var(--green); }
.ba__arrow{ display:grid; place-items:center; background:var(--navy); color:#fff; }

/* fake 1C UI */
.uiwrap{ position:relative; }
.ui{ border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:var(--paper); box-shadow:var(--sh-l); }
.ui__bar{ height:38px; background:#f0ad1c; display:flex; align-items:center; gap:7px; padding:0 14px; }
.ui__bar i{ width:9px; height:9px; border-radius:50%; background:rgba(0,0,0,.18); }
.ui__bar .t{ margin-left:8px; font-family:var(--sans); font-size:12px; font-weight:600; color:#5a430a; }
.ui__toolbar{ display:flex; gap:6px; padding:9px 14px; border-bottom:1px solid var(--line); background:var(--soft); flex-wrap:wrap; }
.ui__toolbar b{ font-family:var(--sans); font-size:11px; padding:5px 10px; background:var(--paper); border:1px solid var(--line); border-radius:5px; font-weight:600; color:var(--ink-2); }
.ui__toolbar b.act{ background:var(--accent); color:#fff; border-color:transparent; }
.ui__rows{ padding:6px 0; font-family:var(--sans); }
.ui__row{ display:grid; grid-template-columns:18px 1.6fr 1fr 1fr; gap:14px; padding:9px 16px; align-items:center; font-size:12.5px; border-bottom:1px solid var(--line-soft); }
.ui__row:last-child{ border-bottom:none; }
.ui__row .c{ width:13px; height:13px; border:1.5px solid var(--accent); border-radius:3px; }
.ui__row.h{ font-weight:600; color:var(--ink-3); font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.ui__row.h .c{ border:none; }
.ui__cell{ height:8px; background:var(--line); border-radius:3px; }
.ui__cell.w90{ width:90%; } .ui__cell.w70{ width:70%; } .ui__cell.w50{ width:50%; }
.ui__num{ text-align:right; font-variant-numeric:tabular-nums; color:var(--ink); font-weight:600; }
.ui__num.g{ color:var(--green); }
.ui__total{ display:flex; justify-content:space-between; padding:11px 16px; background:var(--accent-soft); font-family:var(--sans); font-size:12.5px; font-weight:700; }
.ui__total .g{ color:var(--green); }
.ui__badge{ position:absolute; right:-16px; top:26px; background:var(--navy); color:#fff; border-radius:9px; padding:10px 14px; font-family:var(--sans); font-size:12px; box-shadow:var(--sh-l); z-index:2; }
.ui__badge b{ display:block; font-size:14px; } .ui__badge span{ color:#5fd191; }

/* ============================================================ STEPS */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); }
.step{ padding:30px 26px 6px; border-right:1px solid var(--line); }
.step:last-child{ border-right:none; }
.step__n{ font-family:var(--serif); font-size:15px; font-weight:700; color:var(--accent); letter-spacing:.06em; }
.step h3{ font-size:18px; margin:16px 0 9px; }
.step p{ margin:0; font-size:14.5px; color:var(--ink-2); line-height:1.55; }

/* ============================================================ EXPERT (приём C: печати) */
.expert{ display:grid; grid-template-columns:330px 1fr; gap:clamp(34px,5vw,60px); align-items:center; }
.expert__photo{ aspect-ratio:1/1.16; border-radius:var(--r); overflow:hidden; background:var(--soft); border:1px solid var(--line); position:relative; }
.expert h2{ font-size:clamp(24px,2.8vw,34px); margin-bottom:18px; }
.expert p{ color:var(--ink-2); font-size:17px; line-height:1.66; margin:0 0 18px; max-width:62ch; }
.expert p b{ color:var(--ink); font-weight:600; }
.expert__sign{ display:flex; align-items:baseline; gap:12px; margin-top:8px; }
.expert__sign .nm{ font-family:var(--serif); font-style:italic; font-size:22px; }
.expert__sign .rl{ font-size:13.5px; color:var(--ink-3); }
.seals{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:30px; }
.seal-card{ display:flex; gap:14px; align-items:flex-start; }
.seal{ width:58px; height:58px; border-radius:11px; background:var(--accent-soft); border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line)); display:grid; place-items:center; flex:none; position:relative; }
.seal::after{ content:""; position:absolute; inset:6px; border:1px solid color-mix(in srgb,var(--accent) 26%,transparent); border-radius:7px; }
.seal b{ font-family:var(--serif); font-size:23px; color:var(--accent-d); line-height:1; }
.seal-card .h{ font-family:var(--sans); font-weight:600; font-size:14.5px; color:var(--ink); }
.seal-card .d{ font-size:13px; color:var(--ink-2); margin-top:3px; line-height:1.4; }

/* ============================================================ FAQ */
.faq{ max-width:820px; margin-inline:auto; }
.qa{ border-bottom:1px solid var(--line); }
.qa__q{ width:100%; display:flex; align-items:center; gap:22px; justify-content:space-between; text-align:left; padding:24px 2px; background:none; border:none; font-family:var(--serif); font-size:clamp(18px,2vw,21px); font-weight:700; color:var(--ink); line-height:1.3; }
.qa__q:hover{ color:var(--accent); }
.qa__ic{ flex:none; width:26px; height:26px; position:relative; color:var(--accent); }
.qa__ic::before,.qa__ic::after{ content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); background:currentColor; }
.qa__ic::before{ width:14px; height:1.5px; }
.qa__ic::after{ width:1.5px; height:14px; transition:transform .25s ease; }
.qa.open .qa__ic::after{ transform:translate(-50%,-50%) scaleY(0); }
.qa__a{ overflow:hidden; height:0; transition:height .28s ease; }
.qa__a-inner{ padding:0 2px 26px; color:var(--ink-2); font-size:16.5px; line-height:1.66; max-width:74ch; }

/* ============================================================ QUIZ */
.quiz{ background:var(--paper); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; max-width:900px; margin-inline:auto; box-shadow:var(--sh-m); }
.quiz__head{ background:var(--navy); color:#fff; padding:26px clamp(28px,4vw,42px); display:flex; align-items:center; justify-content:space-between; gap:20px; }
.quiz__head h3{ color:#fff; font-size:clamp(20px,2.3vw,25px); }
.quiz__head p{ margin:7px 0 0; color:var(--on-dark-2); font-family:var(--sans); font-size:14px; }
.quiz__bars{ display:flex; gap:5px; }
.quiz__bars i{ width:24px; height:4px; border-radius:2px; background:rgba(255,255,255,.18); transition:.3s; }
.quiz__bars i.on{ background:#fff; }
.quiz__body{ padding:clamp(30px,4vw,46px); }
.quiz__step{ display:none; }
.quiz__step.active{ display:block; animation:fade .3s ease; }
@keyframes fade{ from{ opacity:0; transform:translateY(6px);} to{ opacity:1; transform:none; } }
.quiz__q{ font-family:var(--serif); font-size:clamp(21px,2.4vw,27px); font-weight:700; margin:0 0 6px; line-height:1.25; }
.quiz__hint{ color:var(--ink-3); font-family:var(--sans); font-size:14px; margin:0 0 24px; }
.opts{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.opt{ display:flex; align-items:center; gap:14px; padding:18px; border:1px solid var(--line); border-radius:var(--r-s); background:var(--paper); text-align:left; font-family:var(--sans); font-size:15.5px; font-weight:500; color:var(--ink); transition:.15s; }
.opt:hover{ border-color:var(--accent); }
.opt.sel{ border-color:var(--accent); background:var(--accent-soft); color:var(--accent-d); font-weight:600; }
.opt__box{ width:20px; height:20px; border-radius:50%; border:1.5px solid var(--ink-3); flex:none; display:grid; place-items:center; transition:.15s; }
.opt.sel .opt__box{ border-color:var(--accent); }
.opt.sel .opt__box::after{ content:""; width:10px; height:10px; border-radius:50%; background:var(--accent); }
.quiz__foot{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:28px; }
.quiz__back{ display:inline-flex; align-items:center; gap:8px; color:var(--ink-2); background:none; border:none; font-family:var(--sans); font-size:15px; font-weight:500; padding:8px; visibility:hidden; }
.quiz__back:hover{ color:var(--ink); }
.quiz__prog{ font-family:var(--sans); font-size:14px; color:var(--ink-3); }
.quiz__prog b{ color:var(--accent); }
.field{ display:flex; flex-direction:column; gap:8px; max-width:420px; }
.field label{ font-family:var(--sans); font-size:14px; font-weight:600; color:var(--ink-2); }
.field input{ padding:16px 18px; border:1px solid var(--line); border-radius:var(--r-s); font-size:16px; font-family:var(--sans); background:var(--paper); transition:.15s; }
.field input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.field .err{ color:var(--red); font-size:13.5px; display:none; }
.field.invalid .err{ display:block; }
.field.invalid input{ border-color:var(--red); }
.quiz__done{ text-align:center; padding:18px 0; }
.quiz__done .check{ width:60px; height:60px; border-radius:50%; background:color-mix(in srgb,var(--green) 12%,#fff); color:var(--green); display:grid; place-items:center; margin:0 auto 20px; }
.quiz__msgs{ display:flex; gap:12px; justify-content:center; margin-top:22px; }

/* ============================================================ CTA */
.cta{ position:relative; background:var(--navy); color:#fff; border-radius:var(--r); padding:clamp(40px,6vw,72px); overflow:hidden; }
.cta::after{ content:""; position:absolute; inset:0; background:repeating-linear-gradient(125deg,rgba(255,255,255,.04) 0 1px,transparent 1px 26px); pointer-events:none; }
.cta__grid{ position:relative; display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
.cta h2{ color:#fff; font-size:clamp(27px,3.2vw,38px); margin-bottom:16px; }
.cta p{ color:var(--on-dark); font-family:var(--sans); font-size:17.5px; margin:0 0 26px; max-width:46ch; line-height:1.6; }
.cta__actions{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.msgs{ display:flex; gap:11px; }
.msg-btn{ width:50px; height:50px; border-radius:9px; display:grid; place-items:center; color:#fff; transition:filter .18s; }
.msg-btn:hover{ filter:brightness(1.08); }
.msg-btn.tg{ background:#2aabee; } .msg-btn.wa{ background:#25d366; } .msg-btn.ph{ background:rgba(255,255,255,.13); }
.cta__form{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:var(--r); padding:28px; }
.cta__form .field input{ background:#fff; border-color:transparent; }
.cta__form label{ color:var(--on-dark-2); }
.cta__consent{ font-family:var(--sans); font-size:12.5px; color:var(--on-dark-2); margin-top:14px; line-height:1.5; }
.cta__consent a{ color:var(--on-dark); text-decoration:underline; }
.cta__contacts{ display:flex; flex-direction:column; gap:0; }
.cta__or{ display:flex; align-items:center; gap:14px; margin:22px 0; color:var(--on-dark-2); font-family:var(--sans); font-size:13px; }
.cta__or::before,.cta__or::after{ content:""; flex:1; height:1px; background:rgba(255,255,255,.14); }
.cta__line{ display:flex; align-items:center; gap:15px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:var(--r); padding:18px 20px; transition:background .18s; }
.cta__line:hover{ background:rgba(255,255,255,.09); }
.cta__line-ic{ width:42px; height:42px; border-radius:9px; background:rgba(255,255,255,.1); display:grid; place-items:center; color:#fff; flex:none; }
.cta__line .k{ display:block; font-family:var(--sans); font-size:12.5px; color:var(--on-dark-2); }
.cta__line .v{ display:block; font-family:var(--serif); font-size:21px; font-weight:700; color:#fff; margin-top:3px; }
.cta__msglinks{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.cta__msg{ display:flex; align-items:center; gap:11px; padding:15px 18px; border-radius:var(--r); color:#fff; font-family:var(--sans); font-weight:600; font-size:15px; transition:filter .18s; }
.cta__msg:hover{ filter:brightness(1.08); }
.cta__msg .cta__line-ic{ width:34px; height:34px; border-radius:8px; background:rgba(255,255,255,.18); }
.cta__msg.tg{ background:#2aabee; } .cta__msg.wa{ background:#25d366; }

.floats{ position:fixed; right:18px; bottom:18px; z-index:50; display:flex; flex-direction:column; gap:11px; }
.floats .msg-btn{ width:52px; height:52px; box-shadow:var(--sh-m); }
.floats .msg-btn.ph{ background:var(--navy); }

/* ============================================================ FOOTER */
.ftr{ background:var(--navy-deep); color:var(--on-dark-2); padding-block:clamp(50px,6vw,72px) 32px; }
.ftr__top{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.1fr; gap:40px; }
.ftr .brand__name{ color:#fff; }
.ftr__about{ font-family:var(--sans); margin:18px 0 20px; font-size:14.5px; max-width:34ch; line-height:1.6; }
.ftr h4{ font-family:var(--sans); color:#fff; font-size:13px; font-weight:600; letter-spacing:.05em; margin:0 0 16px; text-transform:uppercase; }
.ftr ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; font-family:var(--sans); font-size:14.5px; }
.ftr a:hover{ color:#fff; }
.ftr__contacts li{ margin-bottom:11px; }
.ftr__contacts b{ color:#fff; font-weight:600; }
.ftr__msgs{ display:flex; gap:9px; margin-top:16px; }
.ftr__bottom{ font-family:var(--sans); margin-top:42px; padding-top:24px; border-top:1px solid rgba(255,255,255,.1); display:flex; flex-wrap:wrap; gap:14px 28px; justify-content:space-between; font-size:12.5px; }
.ftr__legal{ display:flex; flex-wrap:wrap; gap:8px 22px; }

/* ============================================================ REVEAL */
@media (prefers-reduced-motion:no-preference){
  .reveal-on [data-reveal]{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .reveal-on [data-reveal].in{ opacity:1; transform:none; }
  .reveal-on [data-reveal][data-d="1"]{ transition-delay:.06s; }
  .reveal-on [data-reveal][data-d="2"]{ transition-delay:.12s; }
  .reveal-on [data-reveal][data-d="3"]{ transition-delay:.18s; }
}

/* ============================================================ TWEAKS PANEL */
.tweaks{ position:fixed; right:18px; bottom:86px; z-index:80; width:250px; background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:var(--sh-l); padding:18px; display:none; font-family:var(--sans); }
.tweaks.show{ display:block; }
.tweaks__h{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.tweaks__h b{ font-size:14px; } .tweaks__h button{ background:none; border:none; color:var(--ink-3); font-size:20px; line-height:1; }
.tweaks__g{ margin-bottom:14px; } .tweaks__g > span{ font-size:12px; font-weight:600; color:var(--ink-3); text-transform:uppercase; letter-spacing:.06em; display:block; margin-bottom:8px; }
.tweaks__row{ display:flex; gap:7px; }
.tweaks__row button{ flex:1; padding:9px 6px; border:1px solid var(--line); border-radius:7px; background:#fff; font-size:13px; font-weight:600; color:var(--ink-2); }
.tweaks__row button.on{ border-color:var(--accent); background:var(--accent-soft); color:var(--accent-d); }
.tweaks__sw{ width:14px; height:14px; border-radius:50%; display:inline-block; vertical-align:-2px; margin-right:5px; }

/* ============================================================ RESPONSIVE */
@media (max-width:1000px){
  .hero__grid{ grid-template-columns:1fr; gap:46px; }
  .pf{ margin-top:8px; }
  .services{ grid-template-columns:repeat(2,1fr); }
  .svc:nth-child(3n){ border-right:1px solid var(--line); }
  .svc:nth-child(2n){ border-right:none; }
  .svc:nth-last-child(-n+3){ border-bottom:1px solid var(--line); }
  .svc:nth-last-child(-n+2){ border-bottom:none; }
  .prices{ grid-template-columns:1fr; }
  .case,.expert,.cta__grid{ grid-template-columns:1fr; gap:34px; }
  .expert__photo{ max-width:330px; }
  .seals{ grid-template-columns:1fr; gap:16px; }
  .steps,.nums{ grid-template-columns:repeat(2,1fr); }
  .num:nth-child(2n){ border-right:none; }
  .num:nth-child(-n+2){ border-bottom:1px solid var(--line); }
  .step:nth-child(2n){ border-right:none; }
  .ftr__top{ grid-template-columns:1fr 1fr; gap:32px; }
}
@media (max-width:760px){
  .nav,.hdr__phone,.hdr__right .btn{ display:none; }
  .burger{ display:block; } .hdr__right{ margin-left:auto; }
  body{ font-size:17px; }
  .services{ grid-template-columns:1fr; }
  .svc{ border-right:none !important; border-bottom:1px solid var(--line) !important; }
  .svc:last-child{ border-bottom:none !important; }
  .nums{ grid-template-columns:1fr; }
  .num{ border-right:none; border-bottom:1px solid var(--line); }
  .num:last-child{ border-bottom:none; }
  .opts{ grid-template-columns:1fr; }
  .ba{ grid-template-columns:1fr; }
  .ba__arrow{ height:44px; } .ba__arrow svg{ transform:rotate(90deg); }
  .steps{ grid-template-columns:1fr; }
  .step{ border-right:none; border-bottom:1px solid var(--line); padding-bottom:24px; }
  .ptable{ display:block; overflow-x:auto; white-space:nowrap; -webkit-overflow-scrolling:touch; }
  .case{ grid-template-columns:1fr; gap:28px; }
  .case > *{ min-width:0; }
  .pf__chip.a{ left:6px; } .pf__chip.b{ right:6px; }
  .ftr__top{ grid-template-columns:1fr; }
}
