/* ==========================================================================
   Dexel — фирменный стиль
   Графит #272E36 + бирюзовый #00A3C2 (из логотипа)
   Шаблон 1С-Битрикс «Dexel» (local/templates/dexel): подключается ядром как template_styles.css.
   ========================================================================== */

:root {
  --accent: #00A3C2;
  --accent-hover: #1BB8D6;
  --accent-deep: #0089A5;
  --accent-soft: #A3DEEB;
  --black: #050607;
  --ink: #0A0C0E;
  --graphite: #272E36;
  --g1: #101316;
  --g2: #15191D;
  --g3: #1D2227;
  --paper: #F0F4F6;
  --paper-2: #E3EBEF;
  --white: #FFFFFF;
  --text-dark: #F4F7F9;
  --muted-dark: #B4BEC6;
  --muted-light: #5B6873;
  --line-dark: rgba(255, 255, 255, .09);
  --line-light: rgba(10, 12, 14, .12);
  --radius: 6px;
  --radius-lg: 10px;
  --container: 1240px;
  --gutter: 24px;
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 84px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--black); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* subtle film grain for depth */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.2; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--muted-dark); max-width: 640px; }
.section--paper .lead, .section--white .lead { color: var(--muted-light); }
.accent { color: var(--accent); }
.mark {
  background: linear-gradient(180deg, transparent 0 54%, var(--accent-soft) 54% 94%, transparent 94%);
  padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 3px; flex: none;
  background: repeating-linear-gradient(90deg, var(--accent) 0 12px, transparent 12px 17px);
}
.section--paper .eyebrow, .section--white .eyebrow { color: var(--graphite); }
.section--paper .eyebrow::before, .section--white .eyebrow::before { background: repeating-linear-gradient(90deg, var(--accent-deep) 0 12px, transparent 12px 17px); }

/* road marking divider (motif from the logo) */
.road { height: 4px; background: repeating-linear-gradient(90deg, var(--accent) 0 44px, transparent 44px 72px); opacity: .9; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 28px; border-radius: var(--radius); border: 1px solid transparent; background: transparent;
  font-weight: 700; font-size: 15.5px; letter-spacing: .01em; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--black); box-shadow: 0 10px 30px -12px rgba(0, 163, 194, .55); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--graphite); }
.btn--outline-dark { border-color: rgba(10, 12, 14, .3); color: var(--ink); }
.btn--outline-dark:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn--sm { --h: 46px; padding: 0 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--accent); }
.link-arrow .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(5px); }

.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); box-sizing: content-box; padding-top: env(safe-area-inset-top, 0px); transition: background .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease); border-bottom: 1px solid transparent; }
.hdr.is-solid { background: rgba(5, 6, 7, .86); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line-dark); --hdr-h: 72px; }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.hdr__logo img { width: 168px; height: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; padding: 10px 14px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .78); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__right { display: flex; align-items: center; gap: 20px; }
.hdr__phone { display: flex; flex-direction: column; line-height: 1.2; font-weight: 700; font-size: 16px; white-space: nowrap; }
.hdr__phone small { font-size: 12px; font-weight: 500; color: var(--muted-dark); }
.hdr__phone:hover { color: var(--accent); }

.burger { display: none; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .2); background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 45; background: var(--black); padding: calc(var(--hdr-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; overflow-y: auto; }
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav a.mnav__a { font-family: var(--font-display); font-size: 26px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.mnav__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.mnav__foot a.phone { font-size: 22px; font-weight: 700; color: var(--accent); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--dark { background: var(--ink); color: var(--text-dark); }
.section--black { background: var(--black); color: var(--text-dark); }
.section--g { background: var(--g1); color: var(--text-dark); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }
.section--accent { background: var(--accent); color: var(--black); }
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head--center .lead { margin: 0 auto; }
.sec-head .lead { margin: 0; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: calc(var(--hdr-h) + 48px) 0 64px; background: radial-gradient(1200px 700px at 85% 10%, rgba(0, 163, 194, .08), transparent 60%), var(--black); overflow: hidden; display: flex; align-items: center; }
.hero__road { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero__road path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 26 18; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -880; } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 28px; font-size: clamp(2.2rem, 4.6vw, 4.1rem); }
.hero h1 .accent { display: inline-block; }
.hero .lead { margin-bottom: 40px; font-size: clamp(1.05rem, 1.35vw, 1.22rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.fact { padding: 22px 18px 0 0; }
.fact + .fact { padding-left: 18px; border-left: 1px solid var(--line-dark); }
.fact b { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 600; color: var(--accent); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; white-space: nowrap; }
.fact span { font-size: 14px; color: var(--muted-dark); line-height: 1.4; display: block; }

.hero__media { position: relative; height: min(76vh, 700px); min-height: 520px; }
.hero__img { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { inset: 0 0 0 14%; }
.hero__img--main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); }
.hero__img--sub { width: 46%; aspect-ratio: 4 / 5; left: 0; bottom: 8%; border: 6px solid var(--black); }
.hero__badge { position: absolute; right: 24px; bottom: 24px; z-index: 2; background: var(--accent); color: var(--black); border-radius: var(--radius); padding: 16px 18px; max-width: 250px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; font-weight: 600; }
.hero__badge .i { width: 28px; height: 28px; stroke-width: 2; }
.hero__badge b { display: block; font-family: var(--font-display); font-size: 15px; margin-bottom: 2px; }
.hero__frame { position: absolute; top: -14px; right: -14px; width: 120px; height: 120px; border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); }

/* ---------- Ticker ---------- */
.ticker { background: var(--accent); color: var(--black); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(0, 0, 0, .1); }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker__item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.ticker__item::after { content: ""; width: 26px; height: 4px; background: repeating-linear-gradient(90deg, var(--black) 0 9px, transparent 9px 13px); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Service cards ---------- */
.svc-main { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.svc-big { position: relative; min-height: 560px; border-radius: var(--radius-lg); overflow: hidden; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: 96px 40px 40px; isolation: isolate; }
.svc-big__bg { position: absolute; inset: 0; z-index: -2; }
.svc-big__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-big:hover .svc-big__bg img { transform: scale(1.05); }
.svc-big::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 6, 7, .1) 0%, rgba(5, 6, 7, .55) 40%, rgba(5, 6, 7, .96) 100%); }
.svc-big__num { position: absolute; top: 32px; left: 40px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--accent); letter-spacing: .1em; }
.svc-big h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.svc-big p { color: rgba(255, 255, 255, .78); max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.ticks--1 { grid-template-columns: 1fr; }

.svc-small { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { position: relative; border-radius: var(--radius-lg); padding: 32px; background: var(--white); border: 1px solid var(--line-light); color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(10, 12, 14, .35); border-color: rgba(10, 12, 14, .25); }
.card__ico { width: 56px; height: 56px; border-radius: var(--radius); background: var(--ink); color: var(--accent); display: grid; place-items: center; margin-bottom: 24px; }
.card__ico .i { width: 28px; height: 28px; }
.card h3 { font-size: 1.12rem; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--muted-light); line-height: 1.6; }
.card--dark { background: var(--g2); border-color: var(--line-dark); color: var(--text-dark); }
.card--dark:hover { border-color: rgba(0, 163, 194, .45); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .9); }
.card--dark p { color: var(--muted-dark); }
.card--dark .card__ico { background: rgba(0, 163, 194, .1); }

/* ---------- Advantages ---------- */
.adv { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.adv__item { position: relative; padding: 40px 32px 44px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .35s var(--ease); }
.adv__item:hover { background: rgba(0, 163, 194, .04); }
.adv__item::before { content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 3px; background: var(--accent); transition: width .45s var(--ease); }
.adv__item:hover::before { width: calc(100% + 2px); }
.adv__n { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .1em; margin-bottom: 36px; display: flex; justify-content: space-between; align-items: center; }
.adv__n .i { width: 30px; height: 30px; color: var(--white); opacity: .85; }
.adv__item h3 { font-size: 1.12rem; margin-bottom: 12px; }
.adv__item p { font-size: 15px; color: var(--muted-dark); line-height: 1.6; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding-top: 26px; border-top: 3px solid var(--black); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; white-space: nowrap; }
.stat span { font-size: 15.5px; font-weight: 600; line-height: 1.45; display: block; max-width: 240px; }
.section--dark .stat, .section--black .stat { border-top-color: var(--accent); }
.section--dark .stat b, .section--black .stat b { color: var(--accent); }
.section--dark .stat span, .section--black .stat span { color: var(--muted-dark); font-weight: 500; }

/* ---------- Calculator ---------- */
.calc-wrap { position: relative; }
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--g2); border: 1px solid var(--line-dark); border-radius: calc(var(--radius) + 4px); margin-bottom: 28px; }
.tab { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: var(--radius); border: 0; background: transparent; font-weight: 700; font-size: 15.5px; color: var(--muted-dark); transition: background .25s, color .25s; }
.tab .i { width: 22px; height: 22px; }
.tab[aria-selected="true"] { background: var(--accent); color: var(--black); }
.tab:not([aria-selected="true"]):hover { color: var(--white); }
.tabpanel[hidden] { display: none; }

.calc { display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: start; }
.calc__form { background: var(--g2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 36px; display: grid; gap: 30px; }
.calc__res { position: sticky; top: calc(var(--hdr-h) + 16px); background: var(--accent); color: var(--black); border-radius: var(--radius-lg); padding: 34px; overflow: hidden; }
.calc__res::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--black) 0 30px, transparent 30px 48px); opacity: .9; }
.res__label { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 12px; }
.res__total { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 3.4vw, 2.9rem); letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.res__total small { font-size: .5em; letter-spacing: 0; font-weight: 600; margin-right: 6px; }
.res__vat { font-size: 14px; font-weight: 600; margin: 10px 0 24px; opacity: .75; }
.res__list { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1.5px solid rgba(0, 0, 0, .85); }
.res__list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(0, 0, 0, .3); font-size: 14.5px; line-height: 1.4; }
.res__list li span:first-child { opacity: .82; }
.res__list li b { white-space: nowrap; font-weight: 800; }
.res__list li.is-muted { opacity: .55; }
.res__note { font-size: 12.5px; line-height: 1.5; margin: 16px 0 0; opacity: .75; }
.res__month { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: rgba(0, 0, 0, .08); border-radius: var(--radius); padding: 12px 14px; margin: -8px 0 22px; font-size: 14px; font-weight: 600; }
.res__month b { font-family: var(--font-display); font-size: 18px; white-space: nowrap; }
.res__alt { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 18px; font-size: 14.5px; line-height: 1.5; margin-bottom: 20px; }
.res__alt b { color: var(--accent); display: block; font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }

.f { display: grid; gap: 12px; }
.f__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--text-dark); }
.f__label output, .f__label .f__val { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.f__hint { font-size: 13px; color: var(--muted-dark); font-weight: 500; letter-spacing: 0; }
.f__note { font-size: 13px; color: var(--muted-dark); line-height: 1.5; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.seg { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 10px; }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--g1); transition: border-color .2s, background .2s; }
.seg__opt .i { width: 26px; height: 26px; color: var(--muted-dark); margin-bottom: 6px; transition: color .2s; }
.seg__opt b { font-size: 15px; line-height: 1.25; }
.seg__opt small { font-size: 12.5px; color: var(--muted-dark); line-height: 1.35; }
.seg__opt:hover > span { border-color: rgba(255, 255, 255, .25); }
.seg__opt input:checked + span { border-color: var(--accent); background: rgba(0, 163, 194, .07); box-shadow: inset 0 0 0 1px var(--accent); }
.seg__opt input:checked + span .i { color: var(--accent); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg--classes { --n: 6; gap: 8px; }
.seg--classes .seg__opt > span { padding: 14px 10px; text-align: center; align-items: center; }
.seg--classes b { font-family: var(--font-display); font-weight: 600; font-size: 14px; white-space: nowrap; }
.seg__opt.is-small > span { opacity: .45; }
.seg__opt .tag { font-style: normal; z-index: 1; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--black); font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; white-space: nowrap; }

.inp { width: 100%; height: 54px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--g1); color: var(--white); font-size: 17px; font-weight: 600; transition: border-color .2s; -moz-appearance: textfield; }
.inp::-webkit-outer-spin-button, .inp::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.inp:focus { outline: none; border-color: var(--accent); }
.inp-unit { position: relative; }
.inp-unit .inp { padding-right: 56px; }
.inp-unit > i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 14px; color: var(--muted-dark); pointer-events: none; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; --p: 50%; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) 0 var(--p), #2E353C var(--p) 100%); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: #2E353C; }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--accent); border: 5px solid var(--black); box-shadow: 0 0 0 1px var(--accent); cursor: grab; transition: transform .15s; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 5px solid var(--black); box-shadow: 0 0 0 1px var(--accent); cursor: grab; }
.range:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-dark); margin-top: -4px; }

.zones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.zone { text-align: center; padding: 8px 4px; border-radius: 4px; background: var(--g1); border: 1px solid var(--line-dark); font-size: 12px; line-height: 1.3; color: var(--muted-dark); transition: all .2s; }
.zone b { display: block; font-size: 12.5px; color: var(--text-dark); }
.zone.is-on { background: var(--accent); border-color: var(--accent); color: rgba(0, 0, 0, .7); }
.zone.is-on b { color: var(--black); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--g1); font-size: 13.5px; font-weight: 700; color: var(--muted-dark); transition: all .2s; }
.chip:hover { color: var(--white); border-color: rgba(255, 255, 255, .3); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--black); }

.stepper { display: flex; align-items: center; height: 54px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--g1); overflow: hidden; }
.stepper button { width: 54px; height: 100%; border: 0; background: transparent; font-size: 22px; font-weight: 500; color: var(--white); transition: background .2s, color .2s; }
.stepper button:hover { background: rgba(0, 163, 194, .12); color: var(--accent); }
.stepper input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; text-align: center; font-size: 17px; font-weight: 700; color: var(--white); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

.switch { display: flex; align-items: center; gap: 14px; cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1.35; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__ui { position: relative; flex: none; width: 50px; height: 28px; border-radius: 999px; background: #2E353C; transition: background .25s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); transition: transform .25s var(--ease), background .25s; }
.switch input:checked + .switch__ui { background: var(--accent); }
.switch input:checked + .switch__ui::after { transform: translateX(22px); background: var(--black); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--accent); outline-offset: 3px; }
.switch small { display: block; font-size: 12.5px; color: var(--muted-dark); font-weight: 500; }

.opts { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: auto 1fr 150px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--g1); transition: border-color .2s; }
.opt.is-on { border-color: rgba(0, 163, 194, .55); }
.opt__check { width: 22px; height: 22px; accent-color: var(--accent); cursor: pointer; }
.opt__name { font-size: 14.5px; font-weight: 600; line-height: 1.35; cursor: pointer; }
.opt__name small { display: block; font-size: 12.5px; color: var(--muted-dark); font-weight: 500; }
.opt .stepper { height: 42px; }
.opt .stepper button { width: 40px; font-size: 18px; }
.opt .stepper input { font-size: 15px; }
.opt:not(.is-on) .stepper { opacity: .7; }

.warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: rgba(0, 163, 194, .1); border: 1px solid rgba(0, 163, 194, .35); color: var(--accent); font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.warn .i { width: 20px; height: 20px; }
.warn[hidden] { display: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 3px; background: repeating-linear-gradient(90deg, var(--accent-deep) 0 22px, transparent 22px 36px); }
.step { position: relative; }
.step__n { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-bottom: 26px; box-shadow: 0 0 0 8px var(--paper); }
.step h3 { font-size: 1.08rem; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted-light); }

/* ---------- Split / text blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__media .tag-photo { position: absolute; left: 20px; bottom: 20px; background: var(--accent); color: var(--black); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; }
.prose { font-size: 17px; line-height: 1.75; }
.prose p { margin-bottom: 1.1em; }
.prose h3 { margin: 1.6em 0 .7em; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 3px; background: var(--accent-deep); }
.section--dark .prose, .section--black .prose { color: rgba(244, 247, 249, .86); }
.section--dark .prose ul li::before, .section--black .prose ul li::before { background: var(--accent); }
.section--paper .prose, .section--white .prose { color: #2C3640; }

.quote { border-left: 4px solid var(--accent); padding: 6px 0 6px 24px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.45; letter-spacing: -.01em; margin: 32px 0; }

/* ---------- Directions / chips list ---------- */
.dir { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dir__box { border-radius: var(--radius-lg); padding: 36px; background: var(--g2); border: 1px solid var(--line-dark); }
.dir__box h3 { margin-bottom: 8px; }
.dir__box > p { color: var(--muted-dark); font-size: 15px; margin-bottom: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .02); }
.tags span.is-accent { border-color: rgba(0, 163, 194, .5); color: var(--accent); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; gap: 16px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { z-index: 2; position: absolute; left: 16px; bottom: 16px; right: 16px; font-size: 13.5px; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 10px; }
.gallery figcaption::before { content: ""; width: 18px; height: 3px; background: var(--accent); flex: none; }
.gallery figure::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)); pointer-events: none; }
.g1 { grid-column: span 5; grid-row: span 4; }
.g2 { grid-column: span 7; grid-row: span 2; }
.g3 { grid-column: span 4; grid-row: span 2; }
.g4 { grid-column: span 3; grid-row: span 2; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 920px; margin: 0 auto; }
.faq details { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-light); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: rgba(10, 12, 14, .3); box-shadow: 0 16px 40px -28px rgba(10, 12, 14, .4); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; font-weight: 700; font-size: 17.5px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0C0E' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq .faq__a { padding: 0 28px 26px; color: #46525D; font-size: 16px; line-height: 1.7; max-width: 780px; }
.section--dark .faq details, .section--black .faq details { background: var(--g2); border-color: var(--line-dark); }
.section--dark .faq .faq__a { color: var(--muted-dark); }

/* ---------- Tables ---------- */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-light); background: var(--white); -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.tbl th, .tbl td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line-light); white-space: nowrap; }
.tbl thead th { background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .02em; vertical-align: bottom; }
.tbl thead th small { display: block; color: var(--muted-dark); font-weight: 500; }
.tbl tbody th { font-weight: 600; color: #2C3640; white-space: normal; min-width: 220px; }
.tbl td { font-weight: 700; font-variant-numeric: tabular-nums; }
.tbl tbody tr:hover td, .tbl tbody tr:hover th { background: #EEF7FA; }
.tbl tr.tbl__group td, .tbl tr.tbl__group th { background: var(--paper); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-light); padding: 10px 18px; }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl td.hl { background: rgba(0, 163, 194, .14); }
.tbl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tbl-tabs .chip { background: var(--white); border-color: var(--line-light); color: var(--muted-light); }
.tbl-tabs .chip:hover { color: var(--ink); border-color: var(--ink); }
.tbl-tabs .chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.tbl-note { font-size: 14px; color: var(--muted-light); margin-top: 16px; line-height: 1.6; }

.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; margin-top: 24px; background: var(--accent); color: var(--black); }
.term { padding: 28px; display: flex; gap: 16px; align-items: flex-start; font-size: 15px; line-height: 1.5; font-weight: 600; }
.term + .term { border-left: 1px solid rgba(0, 0, 0, .15); }
.term .i { width: 30px; height: 30px; stroke-width: 1.8; }

/* ---------- Fleet ---------- */
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.truck { border-radius: var(--radius-lg); padding: 28px; background: var(--white); border: 1px solid var(--line-light); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.truck:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(10, 12, 14, .4); }
.truck__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.truck__t { font-family: var(--font-display); font-weight: 600; font-size: 2rem; letter-spacing: -.04em; line-height: 1; }
.truck__t small { font-size: .5em; letter-spacing: 0; margin-left: 4px; }
.truck__pal { background: var(--ink); color: var(--accent); font-size: 13px; font-weight: 800; padding: 6px 10px; border-radius: 4px; white-space: nowrap; }
.truck svg.truck__pic { width: 100%; height: 70px; margin: 6px 0 18px; }
.truck h3 { font-size: 1.05rem; margin-bottom: 8px; }
.truck p { font-size: 15px; color: var(--muted-light); margin-bottom: 18px; }
.truck__price { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-light); font-size: 14px; color: var(--muted-light); display: flex; justify-content: space-between; align-items: baseline; }
.truck__price b { font-family: var(--font-display); font-size: 18px; color: var(--ink); font-weight: 600; }

.bodies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.body-card { border-radius: var(--radius-lg); padding: 36px 32px; background: var(--g2); border: 1px solid var(--line-dark); }
.body-card .card__ico { background: var(--accent); color: var(--black); }
.body-card h3 { margin-bottom: 12px; }
.body-card p { color: var(--muted-dark); font-size: 15.5px; }
.body-card .ticks { grid-template-columns: 1fr; margin: 18px 0 0; }
.body-card .ticks li { color: var(--text-dark); font-size: 14.5px; }

/* ---------- Page hero (inner) ---------- */
.phero { position: relative; padding: calc(var(--hdr-h) + 72px) 0 88px; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); isolation: isolate; }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .75; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 6, 7, .97) 0%, rgba(5, 6, 7, .85) 40%, rgba(5, 6, 7, .35) 100%), linear-gradient(0deg, rgba(5, 6, 7, .9), transparent 40%); }
.phero h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.phero .lead { margin-bottom: 36px; max-width: 700px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted-dark); margin-bottom: 26px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: .5; }
.phero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.phero__chips span { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .16); background: rgba(5, 6, 7, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 14.5px; font-weight: 600; }
.phero__chips .i { width: 20px; height: 20px; color: var(--accent); }

/* ---------- Feature list (numbered rows) ---------- */
.rows { display: grid; }
.row { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line-light); align-items: start; }
.row:last-child { border-bottom: 1px solid var(--line-light); }
.row__n { font-family: var(--font-display); font-weight: 600; color: var(--accent-deep); font-size: 15px; letter-spacing: .08em; padding-top: 4px; }
.row h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
.row p { color: #46525D; font-size: 16px; line-height: 1.7; margin-bottom: .7em; }
.row .ticks { margin: 12px 0 0; }
.row .ticks li { color: #2C3640; }
.row .ticks li::before { border-color: var(--accent-deep); }
.section--dark .row { border-color: var(--line-dark); }
.section--dark .row p { color: var(--muted-dark); }
.section--dark .row .ticks li { color: var(--text-dark); }

/* marketplace flow */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); }
.flow__s { padding: 28px 22px; background: var(--g2); position: relative; }
.flow__s + .flow__s { border-left: 1px solid var(--line-dark); }
.flow__s .i { width: 32px; height: 32px; color: var(--accent); margin-bottom: 18px; }
.flow__s b { display: block; font-size: 15.5px; margin-bottom: 6px; line-height: 1.3; }
.flow__s span { font-size: 13.5px; color: var(--muted-dark); line-height: 1.5; display: block; }
.flow__s em { position: absolute; top: 22px; right: 18px; font-style: normal; font-family: var(--font-display); font-size: 12px; color: rgba(255, 255, 255, .3); }

/* ---------- CTA / form ---------- */
.cta { position: relative; overflow: hidden; }
.cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.cta h2 { margin-bottom: 22px; }
.cta__lead { font-size: 18px; line-height: 1.6; margin-bottom: 32px; font-weight: 500; max-width: 520px; }
.cta__contacts { display: grid; gap: 14px; }
.cta__contacts a { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 18px; }
.cta__contacts a .i { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--black); color: var(--accent); }
.cta__contacts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta__road { position: absolute; right: -180px; bottom: -150px; width: 760px; opacity: .22; pointer-events: none; transform: rotate(-12deg); }

.form { display: grid; gap: 14px; }
/* Форма скрывается после успешной отправки (main.js ставит hidden): без этого правила display: grid перекрывал hidden */
.form[hidden] { display: none; }
.form-card { background: var(--black); color: var(--text-dark); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.form-card > p { color: var(--muted-dark); font-size: 15px; margin-bottom: 26px; }
.fld { display: grid; gap: 8px; }
.fld > span { font-size: 13px; font-weight: 700; color: var(--muted-dark); letter-spacing: .02em; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--g2); color: var(--white); font-size: 16px; transition: border-color .2s; }
.fld textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.fld select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A3C2' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.fld select option { background: var(--g2); color: var(--white); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); }
.fld input.is-err { border-color: #FF6B4A; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted-dark); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent.is-err { color: #FF8A70; }
/* Независимые обязательные галочки формы: согласие на обработку ПД, Политика, Пользовательское соглашение */
.consents { display: grid; gap: 10px; }
.form__ok { text-align: center; padding: 24px 0; }
.form__ok .i { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--accent); color: var(--black); margin: 0 auto 20px; stroke-width: 2.4; }
.form__ok h3 { margin-bottom: 10px; }
.form__ok p { color: var(--muted-dark); }
.form__err { font-size: 14px; color: #FF8A70; line-height: 1.5; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s var(--ease); }
.modal.is-open { opacity: 1; }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: 100%; max-width: 540px; max-height: calc(100vh - 32px); overflow-y: auto; transform: translateY(14px); transition: transform .3s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__x { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); background: var(--g2); display: grid; place-items: center; z-index: 1; }
.modal__x:hover { border-color: var(--accent); color: var(--accent); }
.modal__x .i { width: 18px; height: 18px; }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.ccard { padding: 32px; border-radius: var(--radius-lg); background: var(--g2); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 6px; transition: border-color .25s; }
.ccard:hover { border-color: rgba(0, 163, 194, .45); }
.ccard .i { width: 30px; height: 30px; color: var(--accent); margin-bottom: 18px; }
.ccard small { font-size: 13px; color: var(--muted-dark); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ccard b { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.35; letter-spacing: -.01em; }
.ccard span { color: var(--muted-dark); font-size: 14.5px; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); height: 480px; background: var(--g2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.9) contrast(1.05); transition: filter .4s; }
.map:hover iframe { filter: none; }
.map__card { position: absolute; left: 24px; top: 24px; background: var(--black); color: var(--white); border-radius: var(--radius); padding: 20px 22px; max-width: 320px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.map__card b { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 6px; }
.map__card span { font-size: 14px; color: var(--muted-dark); display: block; margin-bottom: 14px; }

/* ---------- Footer ---------- */
.ftr { background: var(--black); color: var(--text-dark); padding: 88px 0 32px; position: relative; }
.ftr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--accent) 0 44px, transparent 44px 72px); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.ftr__logo img { width: 168px; height: auto; margin-bottom: 26px; }
.ftr__about { color: var(--muted-dark); font-size: 15px; line-height: 1.65; max-width: 340px; }
.ftr h4 { font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.ftr ul a { color: rgba(244, 247, 249, .8); transition: color .2s; }
.ftr ul a:hover { color: var(--accent); }
.ftr__phone { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.01em; display: block; margin-bottom: 8px; }
.ftr__phone:hover { color: var(--accent); }
.ftr__contacts { font-size: 15px; color: rgba(244, 247, 249, .8); display: grid; gap: 10px; }
.ftr__contacts a:hover { color: var(--accent); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 28px; font-size: 13px; color: var(--muted-dark); line-height: 1.6; }
.ftr__bottom a:hover { color: var(--accent); }
.ftr__disc { max-width: 640px; }

/* ---------- Misc ---------- */
.mt-0 { margin-top: 0; }
.mb-s { margin-bottom: 16px; }
.mb-m { margin-bottom: 32px; }
.mb-l { margin-bottom: 56px; }
.center { text-align: center; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.note-box { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--paper-2); color: #2C3640; font-size: 15px; line-height: 1.6; }
.note-box .i { width: 26px; height: 26px; color: var(--accent-deep); stroke-width: 2; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.legal { max-width: 860px; }
.legal h2 { font-size: 1.4rem; margin: 2em 0 .8em; }
.legal p, .legal li { color: #2C3640; font-size: 16px; line-height: 1.75; }
.legal ul { padding-left: 1.2em; }

/* Reveal on scroll (only when JS is on) */
.js [data-reveal] { transform: translateY(22px); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr__right { margin-left: auto; }
  .calc { grid-template-columns: 1fr 360px; }
  .svc-small { grid-template-columns: repeat(2, 1fr); }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow__s:nth-child(4) { border-left: 0; }
  .flow__s:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root { --hdr-h: 72px; }
  .hero { min-height: 0; }
  .hero__grid, .split, .cta__grid, .sec-head, .dir { grid-template-columns: 1fr; }
  .hero__media { height: 520px; min-height: 0; }
  .svc-main { grid-template-columns: 1fr; }
  .svc-big { min-height: 480px; }
  .calc { grid-template-columns: 1fr; }
  .calc__res { position: relative; top: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 32px; bottom: 32px; left: 31px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--accent-deep) 0 16px, transparent 16px 26px); }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 24px; padding-bottom: 32px; }
  .step__n { grid-row: span 2; margin: 0; }
  .fleet, .bodies { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-rows: 110px; }
  .row { grid-template-columns: 60px 1fr; }
  .row > div:last-child { grid-column: 2; }
  .terms { grid-template-columns: 1fr; }
  .term + .term { border-left: 0; border-top: 1px solid rgba(0, 0, 0, .15); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hdr__logo img { width: 128px; }
  .hdr__phone, .hdr__right .btn { display: none; }
  .hero { padding-top: calc(var(--hdr-h) + 28px); }
  .hero__cta .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { padding-top: 18px; }
  .hero__media { height: 420px; }
  .hero__img--main { left: 10%; }
  .hero__badge { right: 12px; bottom: 12px; max-width: 210px; }
  .svc-big { padding: 76px 22px 28px; min-height: 460px; }
  .svc-big__num { left: 22px; top: 24px; }
  .ticks { grid-template-columns: 1fr; }
  .svc-small, .adv, .fleet, .bodies, .values { grid-template-columns: 1fr; }
  .adv__item { padding: 32px 24px; }
  .card { padding: 26px; }
  .calc__form { padding: 22px 18px; gap: 26px; }
  .calc__res { padding: 28px 22px; }
  .tabs { display: flex; }
  .tab { flex: 1; padding: 0 12px; justify-content: center; }
  .seg { --n: 1 !important; }
  .seg--classes { grid-template-columns: repeat(3, 1fr); }
  .seg:not(.seg--classes) .seg__opt > span { flex-direction: row; align-items: center; gap: 12px; padding: 14px; }
  .seg:not(.seg--classes) .seg__opt .i { margin: 0; }
  .seg__opt > span > em { display: flex; flex-direction: column; font-style: normal; }
  .f-row, .fld-row { grid-template-columns: 1fr; }
  .zones { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .zone { font-size: 10.5px; padding: 6px 2px; }
  .zone b { font-size: 11px; }
  .opt { grid-template-columns: auto 1fr; }
  .opt .stepper { grid-column: 1 / -1; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__s:nth-child(n) { border-left: 0; border-top: 1px solid var(--line-dark); }
  .flow__s:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .flow__s:nth-child(-n+2) { border-top: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .g1, .g2, .g3, .g4 { grid-column: span 1; grid-row: span 1; }
  .g1 { grid-row: span 2; }
  .g2 { grid-column: span 2; }
  .faq summary { padding: 20px; font-size: 16px; }
  .faq .faq__a { padding: 0 20px 22px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 36px; }
  .map { height: 420px; }
  .map__card { left: 12px; right: 12px; top: 12px; max-width: none; }
  .phero { min-height: 0; padding-bottom: 64px; }
  .row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .row > div:last-child { grid-column: auto; }
  .stat b { font-size: 2.3rem; }
  .res__total { font-size: 2.2rem; }
}

/* ---------- Additions ---------- */
.seg__opt em { font-style: normal; display: flex; flex-direction: column; gap: 4px; }
.section--accent .eyebrow { color: var(--black); }
.section--accent .eyebrow::before { background: repeating-linear-gradient(90deg, var(--black) 0 12px, transparent 12px 17px); }
.phero--plain { min-height: 0; align-items: flex-start; padding-bottom: 72px; background: radial-gradient(900px 500px at 90% 0%, rgba(0, 163, 194, .09), transparent 60%), var(--black); }
.phero--plain::before { display: none; }
.section--paper .link-arrow, .section--white .link-arrow { color: var(--ink); }
.section--paper .svc-big .link-arrow { color: var(--accent); }
.section--paper .faq__a a, .section--white .faq__a a { color: var(--ink); }
@media (max-width: 640px) {
  .hero__img--sub { display: none; }
  .hero__img--main { left: 0; }
  .hero__frame { right: -6px; top: -8px; width: 80px; height: 80px; }
}

.map--static { display: grid; place-items: center; padding: 24px; background:
  repeating-linear-gradient(90deg, rgba(0, 163, 194, .5) 0 34px, transparent 34px 56px) center / 100% 4px no-repeat,
  radial-gradient(600px 300px at 50% 50%, rgba(0, 163, 194, .08), transparent 70%), var(--g2); }
.map--static .map__card { position: relative; left: auto; top: auto; max-width: 380px; text-align: left; }

.f-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.f-row3 .f { gap: 8px; }
.flow__p { display: inline-block; margin-top: 12px; font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--black); background: var(--accent); padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.tbl-title { font-size: 1.25rem; margin: 0 0 18px; }
.tbl-title + div { margin-bottom: 0; }
@media (max-width: 640px) {
  .tab .i { display: none; }
  .tab { padding: 0 8px; font-size: 14px; }
  .f-row3 { gap: 8px; }
  .f-row3 .inp-unit > i { display: none; }
  .f-row3 .inp { padding: 0 12px; }
}

/* ---------- Общий расчёт ---------- */
.combo { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; margin-top: 24px; align-items: stretch; }
.combo__list { background: var(--g2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 30px 32px; }
.combo__head h3 { font-size: 1.35rem; margin-bottom: 8px; }
.combo__head p { color: var(--muted-dark); font-size: 14.5px; line-height: 1.55; max-width: 600px; margin-bottom: 14px; }
.combo__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto 130px; grid-template-areas: "sw name trips edit sum"; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.combo__row:last-child { padding-bottom: 4px; }
.combo__row > .switch { grid-area: sw; }
.combo__name { grid-area: name; display: flex; gap: 14px; align-items: center; min-width: 0; }
.combo__name .i { width: 26px; height: 26px; color: var(--muted-dark); transition: color .2s; }
.combo__name b { display: block; font-size: 16px; line-height: 1.3; transition: color .2s; }
.combo__name small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted-dark); }
.combo__trips { grid-area: trips; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted-dark); }
.combo__trips .stepper { height: 40px; width: 120px; }
.combo__trips .stepper button { width: 38px; font-size: 18px; }
.combo__trips .stepper input { font-size: 15px; }
.combo__edit { grid-area: edit; border: 0; background: transparent; padding: 6px 0; color: var(--muted-dark); font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.combo__edit:hover { color: var(--accent); }
.combo__sum { grid-area: sum; text-align: right; font-family: var(--font-display); font-size: 17px; font-weight: 600; white-space: nowrap; color: var(--muted-dark); transition: color .2s; }
.combo__row:not(.is-on) .combo__name b { color: var(--muted-dark); }
.combo__row.is-on .combo__name .i { color: var(--accent); }
.combo__row.is-on .combo__sum { color: var(--white); }
.combo__total { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 34px; border-radius: var(--radius-lg); background: var(--accent); color: var(--black); }
.combo__total::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--black) 0 30px, transparent 30px 48px); opacity: .9; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.tab.is-in-combo::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.tab[aria-selected="true"].is-in-combo::after { background: var(--black); }
.calc-more { margin: 20px 0 0; font-size: 15px; color: var(--muted-dark); }
.calc-more a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1180px) { .combo { grid-template-columns: minmax(0, 1fr) 360px; } }
@media (max-width: 980px) { .combo { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .combo__list { padding: 22px 18px; }
  .combo__total { padding: 28px 22px; }
  .combo__row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "sw name sum" ". trips edit"; gap: 10px 12px; }
  .combo__name .i { display: none; }
  .combo__trips:empty { display: none; }
  .combo__edit { justify-self: end; }
}

/* ---------- Личный кабинет ---------- */
.hdr__acc { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .2); color: var(--white); transition: border-color .2s, color .2s; }
.hdr__acc .i { width: 21px; height: 21px; }
.hdr__acc:hover { border-color: var(--accent); color: var(--accent); }
.hdr__acc.is-auth::after { content: ""; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--black); }
.phero--cab { padding-bottom: 56px; }
.phero--cab h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.cab { display: grid; gap: 28px; }
.cab .eyebrow { margin-bottom: 12px; }
.demo-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius-lg); border: 1.5px dashed var(--accent-deep); background: #E2F4F8; color: #1C3943; font-size: 14.5px; line-height: 1.55; }
.demo-note .i { width: 22px; height: 22px; color: var(--accent-deep); stroke-width: 2; }
.demo-note b { color: var(--ink); }
.demo-note a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.auth--single { grid-template-columns: minmax(0, 520px); }
.auth__tabs { display: flex; margin-bottom: 26px; background: var(--g1); }
.auth__tabs .tab { flex: 1; justify-content: center; padding: 0 14px; height: 48px; font-size: 14.5px; }
.form-card .form h3 { font-size: 1.3rem; margin-bottom: 4px; }
.fld > span small { font-weight: 500; color: var(--muted-dark); }
.auth__hint { font-size: 13px; color: var(--muted-dark); margin: 0; text-align: center; }
.auth__side { color: var(--ink); padding-top: 8px; }
.auth__side h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 22px; }
.auth__side h3 { font-size: 1.1rem; margin: 32px 0 14px; }
.auth__side .ticks { margin: 0; gap: 12px; }
.auth__side .ticks li { font-size: 15.5px; color: #2C3640; }
.auth__side .ticks li::before { border-color: var(--accent-deep); }
.auth__steps { margin: 0 0 28px; padding-left: 20px; display: grid; gap: 10px; color: #46525D; font-size: 15px; line-height: 1.55; }
.auth__steps b { color: var(--ink); }
.auth__side .btn .i, .cab-top .btn .i { width: 18px; height: 18px; }
.inn-status { display: flex; gap: 10px; align-items: flex-start; margin-top: -4px; padding: 12px 14px; border-radius: var(--radius); font-size: 13.5px; line-height: 1.5; }
.inn-status .i { width: 18px; height: 18px; flex: none; margin-top: 1px; stroke-width: 2.2; }
.inn-status.is-ok { background: rgba(0, 163, 194, .08); border: 1px solid rgba(0, 163, 194, .4); color: var(--text-dark); }
.inn-status.is-ok .i { color: var(--accent); }
.inn-status.is-bad { background: rgba(255, 107, 74, .08); border: 1px solid rgba(255, 107, 74, .45); color: #FFB4A3; }
.inn-status[hidden] { display: none; }
.pending { max-width: 720px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-light); color: var(--ink); display: grid; gap: 16px; justify-items: start; }
.pending__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--accent); }
.pending__ico .i { width: 28px; height: 28px; }
.pending h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.pending p { color: #46525D; font-size: 16px; line-height: 1.65; margin: 0; }
.cab-top { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-end; justify-content: space-between; color: var(--ink); }
.cab-top h2 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); }
.cab-top .btns { align-items: center; }
.cab-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; color: var(--muted-light); font-size: 14.5px; }
.btn-link { border: 0; background: transparent; padding: 8px 4px; font-weight: 700; font-size: 14.5px; color: var(--muted-light); text-decoration: underline; text-underline-offset: 3px; }
.btn-link:hover { color: var(--ink); }
.cab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cab-stat { padding: 20px 22px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-light); color: var(--ink); }
.cab-stat span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--muted-light); }
.cab-stat b { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cab .tbl-tabs { margin-bottom: 0; }
.cab .chip i { font-style: normal; opacity: .6; margin-left: 2px; }
.cab .chip i.badge { opacity: 1; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--black); font-size: 12px; }
.cab-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; }
.inp-light { height: 44px; width: 280px; max-width: 100%; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--white); color: var(--ink); font-size: 15px; }
.inp-light:focus { outline: none; border-color: var(--ink); }
.reqs { display: grid; gap: 10px; }
.req { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-light); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.req[open] { border-color: rgba(10, 12, 14, .3); box-shadow: 0 16px 40px -28px rgba(10, 12, 14, .4); }
.req summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 140px minmax(0, 1fr) 130px 118px 20px; gap: 18px; align-items: center; padding: 18px 22px; }
.req summary::-webkit-details-marker { display: none; }
.req__num b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.req__num span { font-size: 12.5px; color: var(--muted-light); }
.req__svc { min-width: 0; }
.req__svc b { display: block; font-size: 15.5px; line-height: 1.35; }
.req__svc small { display: block; font-size: 13px; color: var(--muted-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.req__sum { font-family: var(--font-display); font-weight: 600; font-size: 16px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.req__chev { width: 20px; height: 20px; color: var(--muted-light); transition: transform .25s var(--ease); }
.req[open] .req__chev { transform: rotate(180deg); }
.req__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; margin: 0 22px; padding: 18px 0 22px; border-top: 1px dashed var(--line-light); }
.req__h { font-family: var(--font-body); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 10px; }
.req__lines { list-style: none; margin: 0; padding: 0; }
.req__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line-light); font-size: 14.5px; line-height: 1.45; }
.req__lines li b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.req__lines li.tot { border-bottom: 0; font-size: 15.5px; font-weight: 800; }
.req__text { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; color: #46525D; white-space: pre-line; overflow-wrap: anywhere; }
.req__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.req__demo { margin: 12px 0 0; font-size: 12.5px; font-weight: 700; color: var(--accent-deep); }
.req__status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; color: var(--muted-light); }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; justify-self: start; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-new, .st-pending { background: #D6F0F6; color: #05596A; }
.st-work { background: var(--ink); color: var(--accent); }
.st-done, .st-approved { background: #DDF3E6; color: #1E6B3E; }
.st-cancel { background: #E7ECEF; color: #5B6873; }
.st-rejected { background: #FBE3DE; color: #9A3A26; }
.btn-sm-light { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 700; transition: border-color .2s, background .2s; }
.btn-sm-light .i { width: 16px; height: 16px; }
.btn-sm-light:hover { border-color: var(--ink); }
.btn-approve { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.btn-approve:hover { background: var(--graphite); }
.sel-light { height: 36px; padding: 0 34px 0 12px; border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0C0E' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; -webkit-appearance: none; appearance: none; color: var(--ink); font-size: 14px; font-weight: 700; color-scheme: light; }
.empty { padding: 48px 24px; text-align: center; border-radius: var(--radius-lg); background: var(--white); border: 1px dashed rgba(10, 12, 14, .25); color: var(--ink); }
.empty .i { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--accent-deep); }
.empty h3 { margin-bottom: 8px; }
.empty p { max-width: 480px; margin: 0 auto 20px; color: var(--muted-light); }
.empty--sm { padding: 28px 20px; }
.empty--sm p { margin-bottom: 0; }
.empty a { color: var(--ink); font-weight: 700; text-decoration: underline; }
.kv { display: grid; grid-template-columns: 220px minmax(0, 1fr); margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line-light); color: var(--ink); }
.kv dt, .kv dd { margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.kv dt { color: var(--muted-light); font-weight: 600; }
.kv dd { font-weight: 700; overflow-wrap: anywhere; }
.kv dt:last-of-type, .kv dd:last-of-type { border-bottom: 0; }
.ucards { display: grid; gap: 10px; }
.ucard { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto auto; gap: 18px 24px; align-items: center; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-light); color: var(--ink); }
.ucard__main b { display: block; font-size: 16px; }
.ucard__main span, .ucard__contact span, .ucard__meta span:not(.pill) { display: block; font-size: 13px; color: var(--muted-light); line-height: 1.5; overflow-wrap: anywhere; }
.ucard__contact span:first-child { color: var(--ink); font-weight: 700; font-size: 14px; }
.ucard__meta { display: grid; gap: 6px; justify-items: start; }
.ucard__acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 980px) {
  .auth { grid-template-columns: 1fr; }
  .cab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .req__body { grid-template-columns: 1fr; gap: 18px; }
  .ucard { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ucard__acts { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .hdr__acc { width: 42px; height: 42px; }
  .req summary { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "num pill" "svc svc" "sum chev"; gap: 10px 12px; padding: 16px; }
  .req__num { grid-area: num; } .req__svc { grid-area: svc; } .req__sum { grid-area: sum; text-align: left; } .req .pill { grid-area: pill; justify-self: end; } .req__chev { grid-area: chev; justify-self: end; }
  .req__svc small { white-space: normal; }
  .req__body { margin: 0 16px; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { padding-bottom: 0; border-bottom: 0; font-size: 13px; }
  .kv dd { padding-top: 4px; }
  .ucard { grid-template-columns: 1fr; padding: 16px; }
  .inp-light { width: 100%; }
  .cab-stat { padding: 16px; }
}

@media (max-width: 640px) {
  .f-row3--cargo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-row3--cargo > .f:last-child { grid-column: 1 / -1; }
  .f-row3--cargo .inp-unit > i { display: block; }
  .f-row3--cargo .inp { padding: 0 44px 0 12px; }
}

/* поле точного ввода под ползунком */
.range-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.range-row .inp-unit { width: 190px; max-width: 100%; }
.range-row .inp { height: 48px; padding-right: 82px; }
.range-row .inp-unit > i { font-size: 13.5px; }
.range-row small { font-size: 12.5px; color: var(--muted-dark); }

/* Сводка по всем выбранным услугам в карточке калькулятора */
.res__all { margin-top: 2px; padding-top: 16px; border-top: 1.5px solid rgba(0, 0, 0, .85); }
.res__all-h { margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.res__all-list { list-style: none; margin: 0; padding: 0; }
.res__all-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(0, 0, 0, .3); font-size: 14px; line-height: 1.35; }
.res__all-list li:not(.is-on) { opacity: .55; }
.res__all-list li.is-cur span { font-weight: 800; }
.res__all-list label { display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; }
.res__all-list input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--black); cursor: pointer; }
.res__all-list b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.res__all-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 4px; }
.res__all-t span { font-size: 15px; font-weight: 800; }
.res__all-t b { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.res__all-note { margin: 0 0 4px; font-size: 12.5px; opacity: .75; }
.res__all-link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.res__all-link:hover { text-decoration-thickness: 2px; }

/* Категория товара */
.f__label--cat { align-items: center; flex-wrap: wrap; row-gap: 10px; }
.cat { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted-dark); }
.cat__sel { height: 40px; width: 290px; max-width: 100%; padding: 0 36px 0 12px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--g1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A3C2' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; color: var(--white); font: inherit; font-size: 14px; font-weight: 600; text-overflow: ellipsis; -webkit-appearance: none; appearance: none; cursor: pointer; }
.cat__sel:focus { outline: none; border-color: var(--accent); }
.cat__sel option { background: var(--g2); color: var(--white); }
.cat.is-set .cat__sel { border-color: rgba(0, 163, 194, .6); }
.res__all-cat { margin: -2px 0 6px; font-size: 13px; font-weight: 700; }
.combo__cat { margin: 0 0 10px; font-size: 14px; color: var(--muted-dark); }
.combo__cat b { color: var(--accent); }
@media (max-width: 640px) {
  .f__label--cat { flex-direction: column; align-items: stretch; }
  .cat { flex-direction: column; align-items: stretch; gap: 6px; }
  .cat__sel { width: 100%; }
}

/* Превышение лимита на одну заявку */
:root { --danger: #FF5A3C; --danger-soft: rgba(255, 90, 60, .12); }
.inp.is-err { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.lim { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: var(--danger-soft); border: 1px solid rgba(255, 90, 60, .65); color: #FF8A70; font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.lim .i { width: 20px; height: 20px; flex: none; stroke-width: 2.2; }
.lim[hidden] { display: none; }
.res__alt--err b { color: #FF8A70; }
.res__alt[hidden] { display: none; }
.combo__row.is-err .combo__sum { color: #FF8A70; font-size: 14px; }
.res__all-list li.is-err b { color: #9E1F0A; }

/* ловушка для спам-ботов в формах */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Реквизиты */
.req-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 32px; align-items: start; }
.req-grid__h { font-size: 1.05rem; margin-bottom: 12px; color: var(--ink); }
.kv--req { grid-template-columns: 210px minmax(0, 1fr); }
.kv--req dd { font-variant-numeric: tabular-nums; }
.kv--req a { text-decoration: underline; text-underline-offset: 3px; }
.req-actions { justify-content: flex-end; }
.req-actions .i { width: 18px; height: 18px; }
.contact-req { margin: -4px 0 24px; font-size: 15px; color: var(--muted-dark); }
.contact-req a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ftr__bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) { .req-grid { grid-template-columns: 1fr; } .req-actions { justify-content: flex-start; } }
@media (max-width: 640px) { .kv--req { grid-template-columns: 1fr; } }

.copy-box { margin: -24px 0 32px; display: grid; gap: 8px; }
.copy-box p { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.copy-box textarea { width: 100%; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--white); color: var(--ink); font: 14px/1.6 var(--font-body); resize: vertical; color-scheme: light; }

/* Маршрут в калькуляторе перевозки */
.route { gap: 16px; }
.inp--text { font-size: 16px; font-weight: 600; }
.inp--text::placeholder, .inp::placeholder { color: #6B7883; font-weight: 500; }
.f-row--km { align-items: end; }
.route__link { display: inline-flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 8px 16px; border-radius: var(--radius); border: 1px dashed rgba(0, 163, 194, .55); color: var(--accent); font-size: 14px; font-weight: 700; line-height: 1.35; transition: background .2s, border-color .2s; }
.route__link:hover { background: rgba(0, 163, 194, .08); border-style: solid; }
.route__link .i { width: 20px; height: 20px; }
.route__link.is-disabled { pointer-events: none; border-color: var(--line-dark); color: var(--muted-dark); }
@media (max-width: 640px) { .f-row--km .f:last-child .f__label { display: none; } }

/* Карта на странице «Контакты»: загружается только по кнопке «Показать карту» */
.map__stub { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px 24px 24px 368px; text-align: center; background: radial-gradient(600px 300px at 60% 50%, rgba(0, 163, 194, .08), transparent 70%); }
.map__stub p { margin: 0; max-width: 340px; font-size: 14px; line-height: 1.55; color: var(--muted-dark); }
.map__stub a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.map.is-loaded .map__stub { display: none; }
@media (max-width: 980px) { .map__stub { padding: 24px; align-content: end; } }

/* Подвал: ссылки на документы о персональных данных */
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; width: 100%; }

/* Политика и согласия */
.legal .legal__meta { color: var(--muted-light); font-size: 14px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent-deep); }

/* ---------- Мобильная адаптация: узкие экраны (320–414 px) ---------- */
/* В полях мельче 16 px iPhone и iPad увеличивают страницу при вводе */
@media (max-width: 1024px) {
  .cat__sel, .opt .stepper input, .combo__trips .stepper input, .copy-box textarea { font-size: 16px; }
}
/* Длинные слова в заголовках («распределительные», «грузоперевозках») переносятся по слогам,
   а колонки не растягиваются шире экрана из-за слова или кнопки. */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 980px) {
  /* переносим только длинные слова (от 10 букв), чтобы не было «сто-имость» */
  h1, h2 { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
  .hero__grid, .split, .cta__grid, .sec-head, .dir, .calc { grid-template-columns: minmax(0, 1fr); }
}
/* поля калькулятора не шире его рамки: длинное название категории в списке не растягивает форму */
.calc__form, .calc__form .f { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) {
  /* длинные надписи на кнопках переносятся на вторую строку */
  .btn { white-space: normal; height: auto; min-height: var(--h); padding-top: 10px; padding-bottom: 10px; text-align: center; line-height: 1.3; }
  .dir__box { padding: 26px 20px; }
  .empty { padding: 36px 18px; }
}
/* крестик в окне заявки не наезжает на заголовок */
.modal__box > h3 { padding-right: 48px; }
@media (max-width: 400px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .flow { grid-template-columns: 1fr; }
  .flow__s:nth-child(even) { border-left: 0; }
  .flow__s:nth-child(2) { border-top: 1px solid var(--line-dark); }
}

/* Панель менеджера: поиск заявок по тексту и периоду (версия для 1С-Битрикс) */
.cab-bar--search { justify-content: flex-start; margin: 4px 0 20px; }
.cab-dates { display: inline-flex; align-items: center; gap: 8px; }
.cab-bar--search .cab-dates .inp-light { width: 170px; }
@media (max-width: 640px) {
  .cab-dates { width: 100%; }
  .cab-bar--search .cab-dates .inp-light { width: auto; flex: 1; min-width: 0; }
}
/* Панель менеджера: ИНН регистрации совпал с компанией в базе — сверка перед открытием доступа */
.ucard__warn { display: block; margin-top: 6px; padding: 8px 10px; border-radius: var(--radius); background: var(--danger-soft); color: var(--ink); font-size: 13px; line-height: 1.45; }

/* ---------- Версия 1.1: разделы сайта, меню раздела, документы, капча ---------- */
/* Меню раздела (bitrix:menu, тип left, шаблон dexel_left): в первом экране раздела — вкладки,
   на страницах документов — колонка слева. Активный пункт отмечает компонент меню (SELECTED). */
.subnav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.subnav a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--g1); font-size: 13.5px; font-weight: 700; color: var(--muted-dark); transition: all .2s; }
.subnav a:hover { color: var(--white); border-color: rgba(255, 255, 255, .3); }
.subnav a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--black); }
.phero .subnav { margin-top: 28px; }
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.doc-layout__nav { position: sticky; top: calc(var(--hdr-h) + 24px); }
.doc-layout__nav .subnav ul { flex-direction: column; gap: 4px; }
.doc-layout__nav .subnav a { width: 100%; height: auto; min-height: 40px; padding: 9px 14px; border-radius: var(--radius); border-color: transparent; background: transparent; color: var(--muted-light); line-height: 1.35; }
.doc-layout__nav .subnav a:hover { color: var(--ink); background: var(--paper); border-color: transparent; }
.doc-layout__nav .subnav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--accent); }
@media (max-width: 980px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .doc-layout__nav { position: static; }
  .doc-layout__nav .subnav ul { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .doc-layout__nav .subnav a { width: auto; white-space: nowrap; border: 1px solid var(--line-light); border-radius: 999px; }
}
/* Список документов (/documents/) */
.doc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.doc-list a { display: grid; gap: 8px; height: 100%; padding: 22px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line-light); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.doc-list a:hover { border-color: var(--ink); transform: translateY(-2px); }
.doc-list b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.doc-list span { color: var(--muted-light); font-size: 14px; line-height: 1.5; }
/* Капча главного модуля в формах кабинета (если включена в «Главный модуль → Авторизация») */
.captcha { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: end; }
.captcha img { display: block; width: 180px; height: 40px; border-radius: var(--radius); background: var(--white); }
@media (max-width: 400px) { .captcha { grid-template-columns: minmax(0, 1fr); } }
/* Штатная форма входа Битрикс (страница с ограниченным доступом) — в рамке страницы сайта */

.table-wrap { overflow-x: auto; margin: 1.2em 0; -webkit-overflow-scrolling: touch; }
.doc-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.doc-table th, .doc-table td { padding: 10px 12px; border: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.doc-table th { background: var(--paper); font-weight: 700; }

/* ==========================================================================
   Сайты группы, версия 1.3: общие элементы модуля naislogistik.site. Блок одинаковый в шаблонах naislogistik, dexel
   и fmsklad; различаются только цвета бренда в переменных --group-* ниже.
   ========================================================================== */
:root { --group-accent: var(--accent); --group-accent-strong: var(--accent-deep); --group-link-on-dark: var(--accent); --admin-panel-offset: 0px; --group-on-accent: var(--black); }
[hidden] { display: none !important; }

/* Панель администратора Битрикс (#panel → #bx-panel): шапка сайта сдвигается под видимую часть панели (main.js задаёт
   --admin-panel-offset), панель — над шапкой и окнами сайта. Глобальные правила шаблона (box-sizing, img, кнопки)
   внутри панели и её всплывающих окон отменяются: у панели свои стили. */
#panel { position: relative; z-index: 1000; }
.has-admin-panel .hdr { top: var(--admin-panel-offset); }
.has-admin-panel .mnav { top: var(--admin-panel-offset); }
.has-admin-panel body::before { z-index: 49; }
#bx-panel, #bx-panel *, #bx-panel *::before, #bx-panel *::after,
.bx-core-adm-dialog, .bx-core-adm-dialog *, .bx-core-popup-menu, .bx-core-popup-menu * { box-sizing: content-box; }
#bx-panel img, .bx-core-adm-dialog img, .bx-core-popup-menu img { display: inline; max-width: none; }
#bx-panel a, .bx-core-popup-menu a { color: revert; text-decoration: revert; }
#bx-panel button, #bx-panel input, #bx-panel select, .bx-core-adm-dialog button, .bx-core-adm-dialog input, .bx-core-adm-dialog select { font: revert; color: revert; }
.bx-core-adm-dialog, .bx-core-popup-menu, .bx-core-window { z-index: 1100 !important; color: #000; }
/* Редактируемые области в режиме правки: рамки и кнопки ядра поверх оформления блока */
.bx-context-toolbar-empty-area { min-height: 24px; }

/* Штатная форма входа Битрикс на закрытых страницах (панель менеджера без входа): светлая карточка в рамке страницы.
   Шапка на такой странице сразу сплошная: прозрачная шапка с белыми пунктами меню сливалась со светлым фоном. */
.is-auth-wall .hdr { background: var(--black); border-bottom-color: var(--line-dark); }
.auth-page { padding: calc(var(--hdr-h) + var(--admin-panel-offset) + 48px) 0 72px; background: var(--paper); color: var(--ink); }
.auth-page .bx-authform, .auth-page .bx-auth { max-width: 440px; padding: clamp(22px, 4vw, 32px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-light); color: var(--ink); }
.auth-page .bx-auth-title, .auth-page .bx-authform h3 { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.3rem; }
.auth-page .bx-auth-note, .auth-page .bx-authform-description-container { margin: 0 0 14px; color: var(--muted-light); font-size: 14px; }
.auth-page .bx-auth-table { width: 100%; border-collapse: collapse; }
.auth-page .bx-auth-table td { display: block; padding: 0 0 6px; text-align: left; }
.auth-page input[type="text"], .auth-page input[type="password"], .auth-page input[type="email"] {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--white); color: var(--ink); font-size: 16px;
}
.auth-page input[type="text"]:focus, .auth-page input[type="password"]:focus { outline: 2px solid var(--group-accent); outline-offset: 1px; }
.auth-page input[type="submit"], .auth-page .btn-primary, .auth-page button[type="submit"] {
  height: 48px; margin-top: 10px; padding: 0 22px; border: 0; border-radius: var(--radius); background: var(--group-accent); color: var(--group-on-accent); font-weight: 700; cursor: pointer;
}
.auth-page a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.auth-page .errortext, .auth-page .bx-authform-formgroup-container .alert-danger { color: #B42318; }

/* Длинные значения (адреса, e-mail, названия) переносятся, а не выходят за карточку */
.ucard__main span, .ucard__contact span, .ucard__meta span, .req__svc small, .req__text, .kv dd, .cab-meta span, .form__sender span { overflow-wrap: anywhere; }
.ucard__note { display: block; margin-top: 6px; color: var(--muted-light); font-size: 13.5px; font-style: italic; }
.ucard__meta .pill { margin-right: 4px; }

/* Форма заявки: клиент кабинета — «Заявка от компании …» вместо полей контакта; ссылка на Политику рядом с галочкой */
.form__sender { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.45; }
.section--black .form__sender, .modal .form__sender { border-color: var(--line-dark); background: rgba(255, 255, 255, .04); color: var(--text-dark); }
.form__sender b { font-weight: 700; }
.form__sender span { color: var(--muted-light); }
.section--black .form__sender span, .modal .form__sender span { color: var(--muted-dark); }
.consents__note { margin: 2px 0 0; font-size: 13px; line-height: 1.5; opacity: .85; }
.consents__note a { text-decoration: underline; text-underline-offset: 2px; }

/* Панель менеджера: формы «Новый клиент» и «Заявка по звонку» */
.mgr-form { max-width: 760px; }
.mgr-form .auth__hint { text-align: left; }
.mgr-form .form { gap: 14px; }
.mgr-form textarea { min-height: 72px; }
.mgr-form .btns { gap: 10px; }
.cab-top .btns .btn .i { width: 18px; height: 18px; }

/* Документ-черновик: пометка только для администратора */
.legal__draft { margin: 0 0 24px; padding: 14px 16px; border-radius: var(--radius); border: 1px dashed var(--group-accent-strong); background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.55; }
.legal h2[id] { scroll-margin-top: calc(var(--hdr-h) + var(--admin-panel-offset) + 16px); }

