/* ООО «Сервис Безопасности» (sb-kuban.ru) — styles.
   Colors after uniqkey.eu (royal blue, navy, warm off-white), block layouts after intercom.com:
   full-bleed photo hero with a product UI, dark navy feature band, framed photo banners, big quotes. */

:root {
  --blue: #3463cb;
  --blue-d: #2850a9;
  --blue-l: #6d9cf7;
  --sky: #e9effc;
  --sky-2: #d5e1f7;
  --navy: #141d4b;
  --navy-2: #1b2659;
  --navy-3: #26336f;
  --navy-line: rgba(255, 255, 255, .11);
  --navy-muted: #a9b2d6;
  --sand: #c9a06a;
  --sand-l: #f3eadb;
  --ink: #10152c;
  --text: #2a3047;
  --muted: #636a80;
  --dim: #8d93a5;
  --line: #e2e4ea;
  --line-2: #cfd3dc;
  --bg: #f5f4f0;
  --paper: #ffffff;
  --ok: #1d9a66;
  --warn: #d7802a;
  --err: #d64545;
  --head: "Inter Tight", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 18px;
  --r-sm: 10px;
  --r-btn: 8px;
  --gutter: 24px;
  --max: 1240px;
  --header: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(16, 21, 44, .05), 0 18px 40px -18px rgba(16, 21, 44, .25);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
picture > source { display: none; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 600; color: var(--ink); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
b, strong { font-weight: 700; }
table { border-collapse: collapse; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.i { flex: none; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r-btn); transition: top .2s; }
.skip:focus { top: 12px; }
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; background: var(--sand); transform-origin: 0 50%; transform: scaleX(var(--k, 0)); pointer-events: none; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 128px) 0 0; }

/* ---------- Typography ---------- */
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.04; letter-spacing: -.035em; }
.h2 span { color: var(--blue); }
.h2--light { color: #fff; }
.h2--light span { color: var(--blue-l); }
.tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--blue); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.tag__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag--light { color: #fff; opacity: .85; }
.shead { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.shead__lead { margin: 18px 0 0; color: var(--muted); font-size: 17px; max-width: 620px; }
.shead--center { margin-left: auto; margin-right: auto; text-align: center; }
.shead--center .shead__lead { margin-left: auto; margin-right: auto; }
.shead--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.shead--split .shead__lead { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 15px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--blue); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { margin-top: 3px; color: var(--blue); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: var(--r-btn); font: 700 15px/1 var(--sans); white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-d); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--sky); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy-3); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--glass { border: 1px solid rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); }
.btn--glass:hover { background: rgba(255, 255, 255, .18); }
.btn--line { border: 1px solid rgba(255, 255, 255, .5); color: #fff; }
.btn--line:hover { background: #fff; color: var(--ink); }
.btn--line:hover .i { transform: translate(2px, -2px); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; pointer-events: none; }
.round { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); color: #fff; transition: background-color .2s, color .2s; }
.round:hover { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .3s, box-shadow .3s; }
.header.is-scrolled, .header.is-open { background: var(--blue); box-shadow: 0 1px 0 rgba(255, 255, 255, .12), 0 10px 30px -18px rgba(16, 21, 44, .6); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header); }
.header__logo { flex: none; }
.header__nav { display: flex; gap: 2px; margin: 0 auto; }
.header__nav a { position: relative; padding: 8px 13px; border-radius: var(--r-btn); color: rgba(255, 255, 255, .86); font-size: 15px; font-weight: 600; transition: color .2s, background-color .2s; }
.header__nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.header__nav a[aria-current="page"] { color: #fff; }
.header__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--sand); }
.header__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.burger { display: none; position: relative; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--r-btn); }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.header.is-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.header.is-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { height: calc(100dvh - var(--header)); overflow-y: auto; padding: 8px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { overflow-wrap: anywhere; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font: 600 24px/1.2 var(--head); letter-spacing: -.02em; }
.mobile-menu nav a[aria-current="page"] { color: var(--sand-l); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu__foot .muted { color: rgba(255, 255, 255, .7); }
.mobile-menu__phone { font: 700 22px/1.2 var(--head); }
.mobile-menu .btn--blue { background: #fff; color: var(--ink); }

.logo { display: inline-flex; align-items: center; gap: 11px; line-height: 1; color: #fff; }
.logo__mark { width: 40px; height: 40px; flex: none; color: rgba(255, 255, 255, .16); }
.logo__mark rect { stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.logo__text { display: flex; flex-direction: column; gap: 3px; font: 700 17px/1 var(--head); letter-spacing: -.01em; white-space: nowrap; }
.logo__text span { font-weight: 600; font-size: 13px; letter-spacing: .02em; opacity: .82; }
.logo--light { color: #fff; }
.logo--blue { color: var(--ink); }
.logo--blue .logo__mark { color: var(--blue); }
.logo--blue .logo__mark rect { stroke: none; }

/* ---------- UI mockups (shared) ---------- */
.ui-card { background: var(--paper); border-radius: 14px; box-shadow: 0 2px 4px rgba(16, 21, 44, .06), 0 30px 60px -24px rgba(16, 21, 44, .45); color: var(--text); font-size: 13px; line-height: 1.45; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; font: 600 11.5px/1 var(--sans); font-style: normal; white-space: nowrap; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--ok { background: #e3f4ec; color: var(--ok); }
.pill--warn { background: #fbefe1; color: var(--warn); }
.pill--plan { background: var(--sky); color: var(--blue); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding-top: calc(var(--header) + clamp(36px, 6vw, 72px)); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; mix-blend-mode: luminosity; filter: grayscale(1) contrast(1.1); }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(70% 60% at 85% 10%, rgba(109, 156, 247, .45), transparent 60%),
  linear-gradient(180deg, rgba(52, 99, 203, .35) 0%, rgba(52, 99, 203, .15) 45%, rgba(26, 46, 120, .9) 100%); }
.hero__inner { position: relative; }
.hero__title { color: #fff; font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.hero__title span { display: block; }
.hero__title span:last-child { color: rgba(255, 255, 255, .72); }
.hero__row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; margin-top: clamp(28px, 4vw, 48px); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .28); }
.hero__label { margin: 0; font: 500 12.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.hero__lead { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ui { margin-top: clamp(40px, 6vw, 72px); }

.svc-mini { overflow: hidden; }
.svc-mini__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #f8f9fc; }
.svc-mini__head p { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.svc-mini__head p .i { color: var(--blue); }
.svc-mini__head a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 14px; }
.svc-mini__head a:hover .i { transform: translateX(3px); }
.svc-mini__head a .i { transition: transform .25s var(--ease); }
.svc-mini__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.svc-mini__item { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 20px 20px 18px; color: var(--text); transition: background-color .3s, transform .3s var(--ease); }
.svc-mini__item + .svc-mini__item { border-left: 1px solid var(--line); }
.svc-mini__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-l)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.svc-mini__item:hover { background: var(--sky); }
.svc-mini__item:hover::after { transform: scaleX(1); }
.svc-mini__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.svc-mini__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(140deg, var(--blue), var(--blue-d)); color: #fff; box-shadow: 0 10px 20px -10px rgba(52, 99, 203, .8); transition: transform .35s var(--ease); }
.svc-mini__item:nth-child(even) .svc-mini__icon { background: linear-gradient(140deg, var(--sand), #a9824d); box-shadow: 0 10px 20px -10px rgba(169, 130, 77, .8); }
.svc-mini__item:hover .svc-mini__icon { transform: rotate(-6deg) scale(1.06); }
.svc-mini__num { color: var(--dim); font: 500 12px/1 var(--mono); }
.svc-mini__title { color: var(--ink); font: 600 17px/1.2 var(--head); letter-spacing: -.015em; }
.svc-mini__chips { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.svc-mini__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); color: var(--ink); font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.svc-mini__go { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.svc-mini__item:hover .svc-mini__go { background: var(--blue); border-color: var(--blue); color: #fff; }

.hero__trust { position: relative; padding: clamp(36px, 5vw, 56px) 0 clamp(36px, 5vw, 52px); }
.hero__trust p { margin: 0 auto 18px; font-size: 14px; font-weight: 600; opacity: .8; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: clamp(32px, 5vw, 64px); animation: marquee 48s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 10px; font: 600 clamp(18px, 2vw, 24px)/1 var(--head); letter-spacing: -.02em; white-space: nowrap; opacity: .92; }
.marquee__track .i { opacity: .7; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(16px, 2.5vw, 32px))); } }

/* ---------- Loop (one contractor, full cycle) ---------- */
.loop__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.loop__diagram { position: relative; color: var(--ink); }
.loop__svg { width: 100%; height: auto; }
.loop__ghost { fill: none; stroke: var(--line-2); stroke-dasharray: 2 6; }
.loop__wire { stroke: #8a90a3; stroke-width: 4; stroke-linecap: round; }
.loop__track { fill: none; stroke: #c7cbd6; stroke-width: 8; }
.loop__run { fill: none; stroke: var(--blue); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 120 1000; animation: run 7s linear infinite; }
@keyframes run { to { stroke-dashoffset: -1120; } }
.loop__node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; white-space: nowrap; }
.loop__node .i { width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: var(--sky); color: var(--blue); }
.loop__node b { font-weight: 700; color: var(--ink); }
.loop__node--n1 { left: 12.5%; top: 50%; }
.loop__node--n2 { left: 31%; top: 23.5%; }
.loop__node--n3 { left: 69%; top: 23.5%; }
.loop__node--n4 { left: 87.5%; top: 50%; }
.loop__node--n5 { left: 50%; top: 76.5%; }
.loop__node--n4 .i, .loop__node--n2 .i { background: var(--sand-l); color: #9a7234; }
.loop__cards { display: grid; gap: 14px; }
.mini { padding: 20px 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.mini__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; margin-bottom: 12px; }
.mini__icon--blue { background: var(--blue); color: #fff; }
.mini__icon--sand { background: var(--sand); color: #fff; }
.mini__icon--sky { background: var(--sky-2); color: var(--blue); }
.mini h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 6px; }
.mini p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Dark navy band (directions) ---------- */
.dark { margin-top: clamp(72px, 9vw, 128px); padding: clamp(72px, 8vw, 112px) 0; background: var(--navy); color: #e8ebf7; background-image: radial-gradient(60% 40% at 80% 0%, rgba(52, 99, 203, .35), transparent 70%); }
.dark__grid { display: grid; grid-template-columns: 210px 1fr; gap: clamp(24px, 4vw, 56px); }
.dark__nav { position: sticky; top: calc(var(--header) + 24px); align-self: start; display: flex; flex-direction: column; }
.dark__nav a { position: relative; padding: 11px 0 11px 18px; border-bottom: 1px solid var(--navy-line); color: var(--navy-muted); font: 500 12px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.dark__nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; border: 1px solid var(--navy-muted); transition: background-color .2s, border-color .2s; }
.dark__nav a:hover, .dark__nav a.is-active { color: #fff; }
.dark__nav a.is-active::before { background: #fff; border-color: #fff; }
.dark__body { display: grid; gap: 22px; }
.dark__intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 40px; align-items: end; margin-bottom: 18px; }
.dark__intro p { margin: 0; color: var(--navy-muted); }
.dark__intro .btn { grid-column: 2; justify-self: start; }
.dcard { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; padding: 28px; border-radius: var(--r); border: 1px solid var(--navy-line); background: rgba(255, 255, 255, .025); scroll-margin-top: calc(var(--header) + 24px); }
.dcard--wide { grid-template-columns: 1.25fr 1fr; }
.dcard--wide .dcard__text { order: 2; }
.dcard__text { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; }
.dcard__label { margin: 0; color: var(--navy-muted); font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; }
.dcard__title { color: #fff; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.15; letter-spacing: -.02em; }
.dcard__lead { margin: 0 0 6px; color: var(--navy-muted); font-size: 15px; }
.dcard__visual { position: relative; overflow: hidden; min-height: 300px; border-radius: 12px; border: 1px solid var(--navy-line); background: var(--navy-2); }
.dcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .8s var(--ease), opacity .4s; }
.dcard:hover .dcard__img { transform: scale(1.04); opacity: .9; }
.dcard__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 29, 75, .1) 40%, rgba(20, 29, 75, .85)); }
.dcard__chips { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.dcard__chips span { padding: 6px 11px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(20, 29, 75, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dcard__chips span.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.dcard__price { position: absolute; top: 14px; left: 14px; z-index: 1; margin: 0; padding: 8px 12px; border-radius: 9px; background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 700; font-size: 13px; box-shadow: var(--shadow); }
.dcard--chart { grid-template-columns: 1fr 1.6fr; align-items: center; }
.dcard__link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.cal { display: grid; gap: 6px; font-size: 12.5px; }
.cal__row { display: grid; grid-template-columns: minmax(130px, 1.6fr) repeat(12, 1fr); gap: 4px; align-items: center; }
.cal__row span { color: #dfe4f6; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal__row i { height: 26px; border-radius: 5px; background: rgba(255, 255, 255, .05); background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); background-size: 6px 6px; }
.cal__row i.is-on { background: var(--blue-l); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.cal__row:nth-child(3n) i.is-on { background: var(--sand); }
.cal__row--head i { height: auto; background: none; color: var(--navy-muted); font: 500 11px/1 var(--mono); font-style: normal; text-align: center; }
.cal__row--head span { color: var(--navy-muted); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Framed banner + feature rows ---------- */
.banner { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(340px, 38vw, 460px); padding: clamp(28px, 5vw, 56px); border-radius: var(--r); background: var(--blue); color: #fff; }
.banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(200deg, rgba(52, 99, 203, .1) 20%, rgba(29, 50, 125, .88) 85%); }
.banner > :not(img):not(picture) { position: relative; z-index: 2; }
.banner__title { color: #fff; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.banner__title span { display: block; }
.banner__title span + span { padding-left: clamp(0px, 14vw, 230px); }
.banner__lead { max-width: 500px; margin: 18px 0 0 clamp(0px, 14vw, 230px); color: rgba(255, 255, 255, .88); }


/* ---------- Proof: license rings + quote ---------- */
.rings { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.rings::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(109, 156, 247, .16), transparent); pointer-events: none; }
.rings > * { position: relative; }
.rings__text h3 { font-size: 20px; letter-spacing: -.015em; margin-bottom: 10px; }
.rings__text p { color: var(--muted); font-size: 15px; }
.rings__set { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ring { --c: var(--blue); --soft: var(--sky); display: grid; justify-items: center; gap: 12px; text-align: center; }
.ring--n2 { --c: var(--sand); --soft: var(--sand-l); }
.ring--n3 { --c: var(--blue-l); --soft: #eef3fe; }
.ring__dial { position: relative; width: 100%; max-width: 156px; aspect-ratio: 1; transition: transform .4s var(--ease); }
.ring:hover .ring__dial { transform: translateY(-4px); }
.ring__svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring__disc { fill: var(--soft); }
.ring__track { fill: none; stroke: var(--line); stroke-width: 1.5; }
.ring__ticks { fill: none; stroke: var(--c); stroke-width: 3; stroke-dasharray: .35 2.65; opacity: .35; transform-origin: 60px 60px; animation: ring-spin 60s linear infinite; }
.ring__arc { fill: none; stroke: var(--c); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; filter: drop-shadow(0 4px 8px color-mix(in srgb, var(--c) 35%, transparent)); transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.is-in .ring__arc { stroke-dashoffset: calc(100 - var(--p, 100)); }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(26px, 3.6vw, 44px)/1 var(--head); letter-spacing: -.03em; color: var(--ink); }
.ring b.is-long { font-size: clamp(20px, 2.5vw, 30px); letter-spacing: -.02em; }
.ring--n1 b { background: linear-gradient(160deg, var(--blue) 10%, var(--navy) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ring figcaption { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ring figcaption::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--c); vertical-align: middle; }

.quote { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 22px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r); border: 1px solid var(--line); background:
  radial-gradient(60% 80% at 100% 0%, rgba(109, 156, 247, .14), transparent 70%),
  radial-gradient(40% 60% at 100% 100%, rgba(201, 160, 106, .14), transparent 70%),
  var(--paper); }
.quote::after { content: ""; position: absolute; right: 24px; top: 24px; width: 180px; height: 120px; background-image: radial-gradient(rgba(52, 99, 203, .22) 1px, transparent 1.3px); background-size: 12px 12px; -webkit-mask: linear-gradient(225deg, #000, transparent 70%); mask: linear-gradient(225deg, #000, transparent 70%); pointer-events: none; }
.quote__media { position: relative; overflow: hidden; border-radius: 12px; min-height: 280px; }
.quote__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.quote:hover .quote__img { transform: scale(1.04); }
.quote__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 29, 75, .55)); }
.quote__chip { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 99px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow); }
.quote__chip .i { color: var(--blue); }
.quote blockquote { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 8px 8px 8px 0; }
.quote__brand { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--blue); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.quote__mark { display: block; width: 48px; color: var(--blue); }
.quote__mark svg { display: block; width: 48px; height: auto; }
.quote__text { margin: 0; font: 600 clamp(1.35rem, 2.5vw, 2rem)/1.22 var(--head); color: var(--ink); letter-spacing: -.03em; text-wrap: pretty; }
.quote__text em { font-style: normal; color: var(--blue); background: linear-gradient(transparent 62%, rgba(201, 160, 106, .35) 62%, rgba(201, 160, 106, .35) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.quote__avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 0 0 4px var(--sky); }
.quote figcaption b { display: block; color: var(--ink); }
.quote figcaption span span { color: var(--muted); }

/* ---------- Objects (tabs on a gradient panel) ---------- */
.objects__panel { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px) clamp(16px, 5vw, 64px) clamp(28px, 4vw, 40px); border-radius: var(--r); color: #fff; background:
  radial-gradient(45% 60% at 50% 18%, rgba(201, 160, 106, .55), transparent 70%),
  radial-gradient(60% 80% at 0% 100%, rgba(109, 156, 247, .5), transparent 70%),
  linear-gradient(160deg, #2b4fb0 0%, #1b2659 60%, #141d4b 100%); }
.objects__title { color: #fff; text-align: center; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: clamp(24px, 4vw, 40px); }
.objects__tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
.objects__tabs button { padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .65); font-weight: 700; font-size: 14.5px; transition: color .2s, border-color .2s; }
.objects__tabs button:hover { color: #fff; }
.objects__tabs button[aria-selected="true"] { color: #fff; border-bottom: 2px solid #fff; }
.objects__card { display: grid; grid-template-columns: minmax(240px, .9fr) 1.3fr; gap: clamp(20px, 3vw, 32px); padding: 16px; border-radius: 14px; background: var(--paper); color: var(--text); animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.objects__img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; border-radius: 10px; }
.objects__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 12px 12px 12px 0; }
.objects__kind { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--blue); font-weight: 700; font-size: 14px; }
.objects__body h3 { font: 600 clamp(1.35rem, 2.2vw, 1.75rem)/1.15 var(--head); letter-spacing: -.025em; }
.objects__text { margin: 0; color: var(--muted); }
.objects__body .ticks { grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 6px; font-size: 14.5px; color: var(--ink); font-weight: 600; }
.objects__arrows { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 24px 22px 26px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.step:hover { border-color: var(--blue); transform: translateY(-3px); }
.step__n { display: block; margin-bottom: 28px; color: var(--blue); font: 500 13px/1 var(--mono); }
.step h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); }
.faq-grid__head { align-self: start; position: sticky; top: calc(var(--header) + 24px); }
.faq-grid__head .shead { margin-bottom: 20px; }
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font: 600 18px/1.35 var(--head); color: var(--ink); letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__sign { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .3s var(--ease), background-color .2s, color .2s; }
.faq__item[open] .faq__sign { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq__item p { margin: -4px 0 22px; padding-right: 54px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(56px, 7vw, 96px); }
.cta__panel { position: relative; overflow: hidden; border-radius: var(--r); background: var(--blue); color: #fff; padding: clamp(28px, 5vw, 64px); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; mix-blend-mode: luminosity; filter: grayscale(1); }
.cta__panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(52, 99, 203, .55), rgba(20, 29, 75, .82)); }
.cta__grid { position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 470px); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cta__title { color: #fff; font-size: clamp(2.2rem, 5.2vw, 4.2rem); line-height: 1; letter-spacing: -.045em; }
.cta__title span { display: block; }
.cta__title span + span { padding-left: clamp(0px, 6vw, 96px); color: rgba(255, 255, 255, .75); }
.cta__lead { margin: 22px 0; max-width: 460px; color: rgba(255, 255, 255, .9); }
.cta__points { display: grid; gap: 8px; margin-bottom: 26px; }
.cta__points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cta__points .i { color: var(--sand-l); }
.cta__phone { display: inline-flex; align-items: center; gap: 10px; font: 700 clamp(22px, 2.6vw, 30px)/1 var(--head); letter-spacing: -.02em; }
.cta__form { padding: clamp(22px, 3vw, 30px); border-radius: 14px; background: var(--paper); color: var(--text); box-shadow: 0 30px 60px -20px rgba(10, 14, 40, .5); }
.form__title { margin: 0 0 4px; font: 600 20px/1.2 var(--head); color: var(--ink); letter-spacing: -.015em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--navy-muted); padding: clamp(56px, 6vw, 80px) 0 28px; font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr .9fr 1.1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--navy-line); }
.footer__lead { margin: 18px 0 16px; max-width: 320px; }
.footer__license { display: flex; gap: 10px; align-items: flex-start; max-width: 320px; margin: 0; color: #dfe4f6; font-size: 13px; }
.footer__license .i { margin-top: 1px; color: var(--blue-l); }
.footer__title { margin: 0 0 14px; color: #fff; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__phone { color: #fff; font: 700 18px/1.2 var(--head); }
.footer__credits-client { color: #fff; font-weight: 600; }
.footer__credits-label { margin-top: 8px; font-size: 13px; }
.footer__partner { display: inline-flex; opacity: .85; transition: opacity .2s; }
.footer__partner:hover { opacity: 1; }
.footer__partner img { width: auto; height: 24px; }
.footer__partner[title="Мой бизнес"] img { height: 38px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: 13px; }
.footer__bottom a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink); transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.socials--light a { border-color: var(--navy-line); color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.phero__panel { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: calc(var(--header) + clamp(28px, 4vw, 48px)) 0 clamp(40px, 6vw, 72px); }
.phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; mix-blend-mode: luminosity; filter: grayscale(1); }
.phero__panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 90% 0%, rgba(109, 156, 247, .45), transparent 60%), linear-gradient(180deg, rgba(52, 99, 203, .2), rgba(26, 46, 120, .7)); }
.phero__inner { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); font-size: 13.5px; color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: .6; }
.phero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 48px; align-items: end; }
.phero__title { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.045em; }
.phero__title span { color: rgba(255, 255, 255, .7); }
.phero__lead { margin: 0; color: rgba(255, 255, 255, .9); font-size: 17px; }
.phero__side { display: grid; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .3); }
.phero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.phero__chips a { padding: 8px 13px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .45); font-size: 13.5px; font-weight: 600; transition: background-color .2s, color .2s; }
.phero__chips a:hover { background: #fff; color: var(--ink); }

/* ---------- Forms & modal ---------- */
.modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: clamp(24px, 4vw, 36px); border: 0; border-radius: var(--r); background: var(--paper); color: var(--text); overflow-y: auto; box-shadow: 0 40px 80px -20px rgba(10, 14, 40, .45); }
.modal::backdrop { background: rgba(16, 21, 44, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s var(--ease) both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); transition: background-color .2s; }
.modal__close:hover { background: var(--bg); }
.modal__title { font-size: clamp(1.5rem, 2.8vw, 1.9rem); line-height: 1.12; letter-spacing: -.03em; }
.modal__lead { margin: 12px 0 20px; color: var(--muted); font-size: 15px; }
.modal__topic { margin: -6px 0 16px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--sky); color: var(--blue-d); font-size: 14px; font-weight: 600; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form .tag { align-self: flex-start; margin-bottom: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > span { color: var(--muted); font-size: 13px; font-weight: 600; }
.field > span b { color: var(--err); }
.field i { font-style: normal; font-weight: 400; color: var(--dim); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--paper); color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 72px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238d93a5' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #a7acba; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(52, 99, 203, .15); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--err); }
.field__err { color: var(--err); font-size: 13px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.check a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.check.is-invalid span { color: var(--err); }
.form__status { min-height: 1.2em; margin: 0; font-size: 14px; text-align: center; color: var(--muted); }
.form__status.is-error { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { text-align: center; padding: 20px 0; }
.form-done p { margin: 12px 0 24px; color: var(--muted); }
.form-done a { color: var(--blue); font-weight: 700; }
.form-done__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: #e3f4ec; color: var(--ok); }

.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 16px; max-width: 500px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; color: var(--muted); box-shadow: var(--shadow); }
.cookie p { margin: 0; }
.cookie a { color: var(--ink); border-bottom: 1px solid var(--line-2); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation-duration: 120s; }
  .loop__run, .ring__ticks { animation: none; }
}

/* ---------- Page hero extras ---------- */
.phero__facts { display: grid; gap: 10px; }
.phero__facts span { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.phero__facts .i { color: var(--sand-l); }
.phero .hero__btns { margin-top: 4px; }

/* ---------- Services page ---------- */
.svc { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 8px); }
.svc:first-child { padding-top: 0; }
.svc:last-child { border-bottom: 0; }
.svc--rev .svc__media { order: 2; }
.svc__media { align-self: start; position: sticky; top: calc(var(--header) + 24px); overflow: hidden; min-height: 460px; border-radius: var(--r); background: var(--navy); }
.svc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 29, 75, 0) 45%, rgba(20, 29, 75, .8)); }
.svc__num { position: absolute; top: 16px; left: 18px; z-index: 1; color: #fff; font: 800 64px/1 var(--head); letter-spacing: -.05em; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.svc__chips { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.svc__chips span { padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 500 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.svc__title { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 16px; }
.svc__lead { color: var(--muted); font-size: 17px; }
.svc__items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.svc__item { padding: 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.svc__icon { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 10px; background: var(--sky); color: var(--blue); }
.svc__item h3 { font-size: 16.5px; letter-spacing: -.01em; margin-bottom: 6px; }
.svc__item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.svc__foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; padding: 22px; border-radius: 14px; background: var(--sand-l); }
.svc__result-title { margin: 0 0 12px; font-weight: 700; color: var(--ink); }
.svc__result .ticks { font-size: 14.5px; }
.svc__result .ticks .i { color: #9a7234; }
.svc__cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding-left: 20px; border-left: 1px solid rgba(154, 114, 52, .25); }
.svc__from { margin: 0; font: 600 18px/1.25 var(--head); color: var(--ink); letter-spacing: -.01em; }

.dark--calendar .dark__intro, .dark--values .dark__intro { margin-bottom: 36px; }
.calx { display: grid; gap: 8px; }
.calx__row { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 20px; align-items: center; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--navy-line); background: rgba(255, 255, 255, .025); }
.calx__name b { display: block; color: #fff; font-size: 16px; }
.calx__name span { color: var(--navy-muted); font-size: 13.5px; }
.calx__months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.calx__months i { display: grid; place-items: center; height: 34px; border-radius: 6px; background: rgba(255, 255, 255, .05); background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); background-size: 6px 6px; color: var(--ink); font: 500 10.5px/1 var(--mono); font-style: normal; text-transform: uppercase; }
.calx__months i.is-on { background: var(--blue-l); }
.calx__row:nth-child(3n) .calx__months i.is-on { background: var(--sand); }
.calx__note { margin: 20px 0 0; max-width: 760px; color: var(--navy-muted); font-size: 14px; }

.guarantees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guarantee { padding: 26px 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); text-align: center; }
.guarantee__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--blue); color: #fff; }
.guarantee h3 { font-size: 17px; margin-bottom: 8px; }
.guarantee p { margin: 0; color: var(--muted); font-size: 14.5px; }
.page-services .steps-sec { padding-bottom: 0; }

/* ---------- Prices page ---------- */
.howprice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.howprice__item { position: relative; padding: 26px 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.howprice__n { position: absolute; top: 22px; right: 24px; color: var(--dim); font: 500 13px/1 var(--mono); }
.howprice__item h3 { font-size: 18px; margin-bottom: 8px; }
.howprice__item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.howprice__item:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -11px; z-index: 1; width: 8px; height: 8px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: translateY(-50%) rotate(45deg); }

.calc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.calc__form { display: grid; gap: 14px; }
.calc__block { padding: 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.calc__label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 700; color: var(--ink); }
.calc__label > span { display: inline-flex; align-items: center; gap: 10px; }
.calc__label .i { color: var(--blue); }
.calc__label output { font: 700 26px/1 var(--head); color: var(--blue); letter-spacing: -.02em; }
.calc input[type="range"] { width: 100%; height: 6px; appearance: none; -webkit-appearance: none; border-radius: 6px; background: var(--sky-2); outline-offset: 6px; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(16, 21, 44, .3); cursor: grab; }
.calc input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(16, 21, 44, .3); cursor: grab; }
.calc__scale { display: flex; justify-content: space-between; margin-top: 10px; color: var(--dim); font: 500 12px/1 var(--mono); }
.calc__hint { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.calc__subtitle { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.counter { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eef0f4; }
.counter:last-child { border-bottom: 0; padding-bottom: 0; }
.counter__name { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.counter__name > .i { color: var(--blue); }
.counter__name small { display: block; color: var(--dim); font-weight: 500; font-size: 12.5px; }
.counter__ctrl { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 10px; background: var(--bg); }
.counter__ctrl button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--ink); transition: background-color .2s; }
.counter__ctrl button:hover { background: #fff; }
.counter__ctrl output { min-width: 30px; text-align: center; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__sum { position: sticky; top: calc(var(--header) + 20px); padding: 26px; border-radius: var(--r); background: var(--navy); color: #fff; background-image: radial-gradient(70% 50% at 100% 0%, rgba(52, 99, 203, .55), transparent 70%); }
.calc__sum-title { margin: 0 0 18px; color: var(--navy-muted); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.calc__totals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.calc__totals div { padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--navy-line); }
.calc__totals span { display: block; color: var(--navy-muted); font-size: 13px; }
.calc__totals b { display: block; margin: 6px 0 2px; font: 700 clamp(22px, 2.4vw, 28px)/1.1 var(--head); letter-spacing: -.02em; }
.calc__totals small { color: var(--navy-muted); font-size: 12px; }
.calc__rows { display: grid; gap: 0; margin-bottom: 20px; font-size: 14px; }
.calc__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--navy-line); }
.calc__rows span { color: #dfe4f6; }
.calc__rows b { white-space: nowrap; }
.calc__note { margin: 14px 0 0; color: var(--navy-muted); font-size: 12.5px; }

.plist__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.plist__head .shead { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--paper); font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, background-color .2s, border-color .2s; }
.filters button:hover { color: var(--ink); border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.plist { columns: 2; column-gap: 16px; }
.ptable { break-inside: avoid; margin-bottom: 16px; padding: 22px 24px 10px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.ptable__title { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 19px; letter-spacing: -.015em; }
.ptable__icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--sky); color: var(--blue); }
.ptable table { width: 100%; }
.ptable tr { border-top: 1px solid #eef0f4; }
.ptable th { padding: 11px 16px 11px 0; text-align: left; font-weight: 500; color: var(--text); font-size: 14.5px; }
.ptable td { padding: 11px 0; text-align: right; white-space: nowrap; vertical-align: top; }
.ptable td b { display: block; color: var(--ink); font-size: 15px; }
.ptable td small { color: var(--dim); font-size: 12px; }
.plist__note { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--sky); color: var(--blue-d); font-size: 14px; }
.plist__note .i { margin-top: 2px; }
.paybox { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.paybox__list { display: grid; gap: 18px; }
.paybox__list li { display: flex; gap: 14px; align-items: flex-start; }
.paybox__list .i { flex: none; margin-top: 2px; color: var(--blue); }
.paybox__list b { display: block; color: var(--ink); }
.paybox__list span { color: var(--muted); font-size: 15px; }

/* ---------- About page ---------- */
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); }
.intro__big p { margin: 0; font: 600 clamp(1.5rem, 3vw, 2.4rem)/1.2 var(--head); color: var(--ink); letter-spacing: -.03em; }
.intro__big span { color: var(--blue); }
.intro__text { color: var(--muted); font-size: 16.5px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.fact { padding: 28px 20px 26px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line-2); }
.fact b { display: block; margin-bottom: 8px; font: 800 clamp(44px, 5vw, 64px)/1 var(--head); color: var(--ink); letter-spacing: -.05em; }
.fact span { color: var(--muted); font-size: 14.5px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { position: relative; padding: 26px 22px; border-radius: 14px; border: 1px solid var(--navy-line); background: rgba(255, 255, 255, .03); }
.value__n { position: absolute; top: 24px; right: 22px; color: var(--navy-muted); font: 500 12px/1 var(--mono); }
.value__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 40px; border-radius: 12px; background: var(--blue); color: #fff; }
.value:nth-child(even) .value__icon { background: var(--sand); }
.value h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.value p { margin: 0; color: var(--navy-muted); font-size: 14.5px; }
.lic { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.lic__doc { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r); background: var(--sky); background-image: radial-gradient(rgba(16, 21, 44, .14) 1px, transparent 1.3px); background-size: 16px 16px; }
.lic__paper { position: relative; width: min(380px, 100%); padding: 30px 28px 26px; border-radius: 6px; background: #fff; box-shadow: 0 2px 4px rgba(16, 21, 44, .06), 0 30px 60px -24px rgba(16, 21, 44, .4); transform: rotate(-2deg); }
.lic__seal { position: absolute; top: -20px; right: 22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(52, 99, 203, .15); }
.lic__kicker { margin: 0 0 4px; color: var(--blue); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.lic__h { margin: 0 0 18px; font: 600 19px/1.2 var(--head); color: var(--ink); }
.lic__paper dl { display: grid; gap: 10px; margin: 0; }
.lic__paper dl div { padding-bottom: 10px; border-bottom: 1px solid #eef0f4; }
.lic__paper dt { color: var(--dim); font-size: 12px; }
.lic__paper dd { margin: 0; color: var(--ink); font-weight: 700; }
.lic__lines { display: grid; gap: 6px; margin-top: 16px; }
.lic__lines i { height: 6px; border-radius: 4px; background: #eef0f4; }
.lic__lines i:nth-child(2) { width: 80%; }
.lic__lines i:nth-child(3) { width: 55%; }
.lic__text > p { color: var(--muted); margin: 18px 0 20px; }
.lic__text .ticks { margin-bottom: 24px; color: var(--ink); font-weight: 600; }
.copy { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-btn); border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: 14px; color: var(--ink); transition: border-color .2s; }
.copy:hover { border-color: var(--ink); }
.copy em { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 5px 9px; border-radius: 6px; background: var(--ink); color: #fff; font-style: normal; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.copy.is-copied em { opacity: 1; }
.geo { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.geo__text p { color: var(--muted); margin-top: 18px; }
.geo__map { position: relative; overflow: hidden; min-height: 420px; border-radius: var(--r); background: var(--navy); }
.geo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.geo__map::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(52, 99, 203, .75), rgba(20, 29, 75, .5)); }
.geo__list { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-content: flex-end; gap: 8px; height: 100%; min-height: 420px; padding: 24px; }
.geo__list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 600; font-size: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.geo__list li.is-home { background: #fff; color: var(--ink); }
.geo__list li.is-home .i { color: var(--blue); }
.reqs { margin: 0; border-top: 1px solid var(--line-2); }
.reqs__row { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.reqs dt { color: var(--muted); }
.reqs dd { margin: 0; }
.reqs__copy { display: inline-flex; align-items: center; gap: 10px; text-align: left; color: var(--ink); font-weight: 700; }
.reqs__copy:hover { color: var(--blue); }
.reqs__ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e3f4ec; color: var(--ok); opacity: 0; transition: opacity .2s; }
.reqs__copy.is-copied .reqs__ok { opacity: 1; }

/* ---------- Contacts page ---------- */
.ccards { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 14px; }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.ccard:hover { border-color: var(--blue); transform: translateY(-3px); }
.ccard__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--sky); color: var(--blue); }
.ccard__label { color: var(--dim); font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ccard b { color: var(--ink); font: 600 18px/1.3 var(--head); letter-spacing: -.01em; overflow-wrap: anywhere; }
.ccard small { color: var(--muted); font-size: 13.5px; }
.ccard--main { background: var(--blue); border-color: var(--blue); color: #fff; }
.ccard--main .ccard__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.ccard--main .ccard__label, .ccard--main small { color: rgba(255, 255, 255, .8); }
.ccard--main b { color: #fff; font-size: 24px; }
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: start; }
.contact-form { padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.contact-form__title { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; margin-bottom: 6px; }
.contact-form .btn { align-self: flex-start; }
.contact-side { display: grid; gap: 14px; }
.map { position: relative; overflow: hidden; min-height: 340px; border-radius: var(--r); background: var(--navy); }
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.map::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(52, 99, 203, .35), rgba(20, 29, 75, .85)); }
.map__over { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: #fff; }
.map__over p { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; font-size: 17px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.prep { padding: 24px; border-radius: var(--r); background: var(--sand-l); }
.prep__title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 700; color: var(--ink); }
.prep .ticks { font-size: 15px; color: var(--ink); }
.prep .ticks .i { color: #9a7234; }
.contact-req { padding-bottom: clamp(56px, 7vw, 96px); }
.rq { padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.rq__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.rq__head p { margin: 0; color: var(--muted); font-size: 14px; }
.rq__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; margin: 0; }
.rq__grid div { padding: 14px 0; border-bottom: 1px solid #eef0f4; }
.rq__grid dt { color: var(--dim); font-size: 13px; }
.rq__grid dd { margin: 2px 0 0; color: var(--ink); font-weight: 700; }

/* ---------- Legal ---------- */
.legal-sec { padding-bottom: clamp(56px, 7vw, 96px); }
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header) + 24px); padding: 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.legal__label { margin: 0 0 12px; color: var(--blue); font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.legal__toc ol { display: grid; gap: 4px; counter-reset: t; }
.legal__toc li { counter-increment: t; }
.legal__toc a { display: flex; gap: 10px; padding: 6px 0; color: var(--muted); font-size: 14px; }
.legal__toc a::before { content: counter(t, decimal-leading-zero); color: var(--dim); font: 500 12px/1.6 var(--mono); }
.legal__toc a:hover { color: var(--blue); }
.legal__body { max-width: 760px; }
.legal__body h2 { margin: 40px 0 14px; font-size: 22px; letter-spacing: -.015em; scroll-margin-top: calc(var(--header) + 20px); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--text); }
.legal__body ul { margin: 0 0 1em; padding-left: 20px; list-style: disc; }
.legal__body li { margin-bottom: 6px; }
.legal__body a { color: var(--blue); border-bottom: 1px solid rgba(52, 99, 203, .3); }
.legal__card { margin-top: 36px; padding: 22px 24px; border-radius: 14px; background: var(--sky); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header__nav, .header__phone span { display: none; }
  .header__phone { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--r-btn); }
  .burger { display: block; }
  .header__actions { margin-left: auto; gap: 10px; }
  .svc-mini__grid { grid-template-columns: repeat(3, 1fr); }
  .svc-mini__item:nth-child(4) { border-left: 0; }
  .svc-mini__item:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .ccards { grid-template-columns: 1fr 1fr; }
  .guarantees, .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__row, .phero__grid, .shead--split, .dark__intro, .loop__grid, .rings, .quote, .objects__card, .faq-grid, .cta__grid, .svc, .svc__foot, .calc, .paybox, .intro, .lic, .geo, .contact-grid, .legal, .dcard, .dcard--wide, .dcard--chart { grid-template-columns: 1fr; }
  .dark__intro .btn { grid-column: auto; }
  .dark__grid { grid-template-columns: 1fr; }
  .dark__nav { display: none; }
  .dcard--wide .dcard__text, .svc--rev .svc__media { order: 0; }
  .dcard__visual { min-height: 240px; }
  .faq-grid__head, .calc__sum, .legal__toc { position: static; }
  .svc__media { position: relative; top: auto; }
  .svc__media { min-height: 320px; }
  .svc__cta { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid rgba(154, 114, 52, .25); }
  .objects__tabs { grid-template-columns: repeat(2, 1fr); }
  .objects__body { padding: 4px; }
  .objects__img { min-height: 220px; }
  .steps, .howprice { grid-template-columns: 1fr 1fr; }
  .howprice__item::after { display: none; }
  .plist { columns: 1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .calx__row { grid-template-columns: 1fr; gap: 12px; }
  .rq__grid { grid-template-columns: 1fr 1fr; }
  .banner__title span + span, .banner__lead { padding-left: 0; margin-left: 0; }
  .quote__media { min-height: 240px; }
  .quote blockquote { padding: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --header: 64px; }
  .header__cta { display: none; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__text { font-size: 15.5px; }
  .logo__text span { font-size: 12px; }
  .hero__title { font-size: clamp(2.1rem, 10.5vw, 2.9rem); }
  .hero__lead { font-size: 16px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .svc-mini__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .svc-mini__grid::-webkit-scrollbar { display: none; }
  .svc-mini__item { flex: 0 0 72%; min-height: 200px; scroll-snap-align: start; border-top: 0 !important; }
  .svc-mini__item:nth-child(4) { border-left: 1px solid var(--line); }
  .svc-mini__head { padding: 12px 16px; }
  .loop__node { padding: 5px 8px 5px 5px; font-size: 11px; gap: 5px; }
  .loop__node .i { width: 22px; height: 22px; padding: 3px; }
  .loop__node--n1 { left: 14%; }
  .loop__node--n4 { left: 86%; }
  .dcard { padding: 14px; gap: 18px; }
  .cal { font-size: 11px; overflow-x: auto; }
  .cal__row { grid-template-columns: 96px repeat(12, minmax(14px, 1fr)); gap: 3px; }
  .cal__row i { height: 20px; }
  .rings__set { gap: 8px; }
  .ring figcaption { font-size: 12px; }
  .objects__tabs { grid-template-columns: 1fr 1fr; }
  .objects__tabs button { font-size: 13px; padding: 10px 4px; }
  .objects__body .ticks { grid-template-columns: 1fr; }
  .steps, .howprice, .guarantees, .values, .ccards, .rq__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .faq__item summary { font-size: 16.5px; }
  .faq__item p { padding-right: 0; }
  .svc__items { grid-template-columns: 1fr; }
  .calc__totals { grid-template-columns: 1fr; }
  .calx__months i { height: 26px; font-size: 0; }
  .reqs__row { grid-template-columns: 1fr; gap: 4px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__credits, .footer__contacts { grid-column: 1 / -1; }
  .cookie { left: 8px; right: 8px; bottom: 8px; flex-direction: column; align-items: stretch; }
  .geo__list, .geo__map { min-height: 340px; }
  .counter__name { font-size: 14px; }
}

/* =====================================================================
   Joomla template additions (tpl_sbkuban)
   ===================================================================== */
/* Headings from the admin: the part between «|» is <em> */
.hero__title em, .phero__title em, .cta__title em { font-style: normal; color: rgba(255, 255, 255, .72); }
.h2 em, .objects__title em { font-style: normal; color: var(--blue); }
.h2--light em { color: var(--blue-l); }
.objects__title em { color: rgba(255, 255, 255, .72); }
.intro__big span { color: var(--blue); }
.logo__img { display: block; height: 40px; width: auto; }

/* Pages that are not com_sbkuban pages (articles, search, login): solid header */
.no-hero .header { background: var(--blue); }
.sb-messages { position: relative; z-index: 40; }
.sb-messages joomla-alert, .sb-messages .alert { display: block; max-width: calc(var(--max) + var(--gutter) * 2); margin: calc(var(--header) + 16px) auto 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); box-shadow: var(--shadow); }
.page-home .sb-messages joomla-alert, .page-home .sb-messages .alert { position: absolute; left: 16px; right: 16px; }
.sb-content { padding: calc(var(--header) + 48px) 0 72px; }
.sb-content h1, .sb-content h2 { letter-spacing: -.03em; margin-bottom: .5em; }
.sb-content a { color: var(--blue); }
.legal--single { grid-template-columns: 1fr; }
.contentpane { padding: 24px; background: var(--paper); }

/* Error page */
.page-404 .phero__panel { min-height: 100vh; display: flex; align-items: center; padding-top: 48px; }
.nf__logo { display: inline-block; margin-bottom: 48px; color: #fff; font: 700 18px/1 var(--head); }
