/* Liftzvar prototype v0.1 – light engineering palette from the logo (graphite / sky blue / signal yellow).
   Signature: a welding seam drawn by an arc (hero canvas) + "stitches" between sections. */

@font-face { font-family: "Exo 2"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/exo-2-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Exo 2"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/exo-2-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-display: swap; font-weight: 400 900; src: url(../fonts/golos-text-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-display: swap; font-weight: 400 900; src: url(../fonts/golos-text-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url(../fonts/jetbrains-mono-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url(../fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --ink: #1d2126;          /* graphite (logo crescent) */
  --ink-2: #3c434c;
  --muted: #5f6873;        /* 5.6:1 on white */
  --paper: #ffffff;
  --paper-2: #f3f5f7;
  --paper-3: #e8ecf0;
  --line: #dde2e8;
  --blue: #00a6ec;         /* the site's blue (Dima) – fills, icons, glows */
  --blue-head: #00a6ec;    /* Dima 11-16: one blue everywhere (logo / site colour) */
  --blue-ink: #00a6ec;     /* Dima 11-16: one blue everywhere (contrast 2.7:1 on white accepted) */
  --blue-deep: #0d2c44;    /* dark sections */
  --yellow: #ffe100;       /* logo yellow – CTA fill, graphite text on it */
  --yellow-2: #f5d000;
  --hot: #ff7a1a;          /* spark / hot metal */
  --steel: #8a949f;
  --f-head: "Exo 2", "Golos Text", system-ui, sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 40px);
  --hd: 96px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; }

/* ── eyebrow (ON by default, Dima decides per block) ── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 18px; }
.eyebrow__dot { width: 18px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--steel), var(--hot)); box-shadow: 0 0 10px rgba(255, 122, 26, .55); }
.eyebrow--light { color: var(--blue); }
.h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; }
em { font-style: normal; color: var(--blue-head); }
.h2 em, .hero__h1 em { position: relative; white-space: nowrap; }
.h2 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .14em; border-radius: 4px; background: var(--yellow); z-index: -1; transform-origin: 0 50%; }
.js.motion .h2 em::after { transform: scaleX(0); transition: transform .9s var(--ease-out) .25s; }
.js.motion .is-in .h2 em::after, .js.motion .h2.is-in em::after, .reveal-all .h2 em::after { transform: none; }

/* ── buttons (Kowalski UI layer: ease-out, press .97, hover only on fine pointers) ── */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r); background: var(--bg); color: var(--fg); font: 700 16px/1 var(--f-head); letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: background-color .18s var(--ease-out), box-shadow .18s var(--ease-out), scale .12s var(--ease-out); }
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; transition: translate .2s var(--ease-out); }
.btn:active { scale: .97; }
.btn--y { --bg: var(--yellow); --fg: var(--ink); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .btn--y:hover { --bg: var(--yellow-2); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 8px 24px -10px rgba(245, 208, 0, .9); }
  .btn--y:hover svg, .link-arrow:hover svg { translate: 4px 0; }
  .btn--dark:hover { --bg: #000; }
  .btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
}
.rnd { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .18s var(--ease-out), scale .12s var(--ease-out); }
.rnd svg { width: 20px; height: 20px; }
.rnd:active { scale: .95; }
@media (hover: hover) and (pointer: fine) { .rnd:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--f-head); color: var(--blue-ink); text-decoration: none; white-space: nowrap; }
.link-arrow svg { width: 18px; height: 18px; stroke-width: 2.2; transition: translate .2s var(--ease-out); }

/* ── header: taller, built around the round logo; shrinks to a compact blurred bar ── */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); transition: height .35s var(--ease-out), box-shadow .35s; }
.hd.is-compact { --hd: 68px; box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(13, 44, 68, .35); }
.hd__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.hd__logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; height: 100%; }
.hd__badge { position: relative; width: 165px; height: 165px; margin-top: 79px; flex: none; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -14px rgba(13, 44, 68, .45); display: grid; place-items: center; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out); }
.hd__badge::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed rgba(0, 166, 236, .35); }
.hd__badge img { width: 84%; }
.hd.is-compact .hd__badge { width: 54px; height: 54px; margin-top: 0; }
.hd.is-compact .hd__badge::after { display: none; }
.hd__name { display: flex; flex-direction: column; line-height: 1.1; }
.hd__name b { font: 800 19px/1.05 var(--f-head); letter-spacing: .02em; text-transform: uppercase; }
.hd__name small { font: 500 12px/1.3 var(--f-body); color: var(--muted); margin-top: 4px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { white-space: nowrap; display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px; font: 600 15px/1 var(--f-body); text-decoration: none; border-radius: var(--r); transition: background-color .15s var(--ease-out); }
.nav__chev { width: 16px; height: 16px; transition: rotate .2s var(--ease-out); }
.nav__link[aria-expanded="true"] .nav__chev { rotate: 180deg; }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { background: var(--paper-2); } }
.panel { position: absolute; top: calc(100% + 10px); left: -20px; z-index: 5; background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px rgba(13, 44, 68, .35); padding: 22px; opacity: 0; scale: .97; translate: 0 -4px; transform-origin: 30px 0; visibility: hidden; transition: opacity .16s var(--ease-out), scale .16s var(--ease-out), translate .16s var(--ease-out), visibility 0s .16s; }
.panel.is-open { opacity: 1; scale: 1; translate: 0 0; visibility: visible; transition: opacity .2s var(--ease-out), scale .2s var(--ease-out), translate .2s var(--ease-out), visibility 0s; }
.panel--mega, #panel-dir { width: min(960px, 92vw); left: -180px; }   /* class: the theme builds the id from the menu */
.panel__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.panel__col { display: flex; flex-direction: column; gap: 2px; }
.panel__col--short { gap: 12px; }
.panel a { display: block; padding: 6px 8px; border-radius: var(--r); font-size: 14.5px; line-height: 1.35; text-decoration: none; color: var(--ink-2); }
.panel a.panel__h { display: flex; gap: 8px; align-items: center; font: 700 15px/1.25 var(--f-head); color: var(--ink); margin-bottom: 4px; }
.panel a.panel__h svg { width: 22px; height: 22px; flex: none; color: var(--blue-ink); }
@media (hover: hover) and (pointer: fine) { .panel a:hover { background: var(--paper-2); color: var(--ink); } }
.panel--small { min-width: 230px; padding: 10px; }
.panel span.panel__h { display: flex; gap: 8px; align-items: center; font: 700 15px/1.25 var(--f-head); color: var(--ink); margin-bottom: 4px; padding: 6px 8px; }
.panel span.panel__h svg { width: 22px; height: 22px; flex: none; color: var(--blue-ink); }
.panel a.panel__sub { padding-left: 26px; font-size: 14px; position: relative; }
.panel a.panel__sub::before { content: ""; position: absolute; left: 12px; top: 6px; width: 7px; height: 9px; border-left: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.mnav__g { margin: 14px 0 2px; font: 700 13px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue-ink); }
.mnav__g a { padding: 0 !important; color: inherit !important; }
.mnav details a.mnav__sub { padding-left: 16px; font-size: 15px; }
.hd__tools { display: flex; align-items: center; gap: 14px; }
.hd__phone { display: flex; align-items: center; gap: 8px; font: 700 15px/1 var(--f-head); text-decoration: none; white-space: nowrap; }
.hd__phone svg { width: 18px; height: 18px; color: var(--blue-ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: translate .25s var(--ease-out), rotate .25s var(--ease-out), opacity .2s; }
.burger i:nth-child(1) { top: 16px; } .burger i:nth-child(2) { top: 22px; } .burger i:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] i:nth-child(1) { translate: 0 6px; rotate: 45deg; }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { translate: 0 -6px; rotate: -45deg; }

/* phone drawer */
.mnav { position: fixed; inset: 0; z-index: 45; background: rgba(13, 20, 28, .35); }
.mnav__in { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff; padding: calc(var(--hd) + 16px) 24px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; translate: 100% 0; transition: translate .42s var(--ease-drawer); }
.mnav.is-open .mnav__in { translate: 0 0; }
.mnav details { border-bottom: 1px solid var(--line); padding: 6px 0 10px; }
.mnav summary { list-style: none; font: 700 20px/1 var(--f-head); padding: 12px 0; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink-2); }
.mnav__top { display: block; font: 700 20px/1 var(--f-head); padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mnav__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.mnav__tel { font: 700 18px/1.4 var(--f-head); text-decoration: none; }

/* ── HERO ── */
.hero { position: relative; padding-top: var(--hd); min-height: 100svh; display: flex; flex-direction: column; background: var(--paper-2); overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(13, 44, 68, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 44, 68, .045) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, #000 30%, transparent 62%); pointer-events: none; }
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.hero__grid { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(56px, 7vh, 90px); padding-bottom: 28px; }
.hero__copy { position: relative; z-index: 4; }
.hero__h1 { font-size: clamp(34px, 3.75vw, 56px); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; max-width: 15em; }
.hero__seam { height: 34px; margin: 6px 0 14px; max-width: 640px; }
.hero__lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
.hero__tel { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hero__tel-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--blue-ink); position: relative; }
.hero__tel-ic svg { width: 20px; height: 20px; transform-origin: 50% 60%; }
/* the handset rings every 4.5 s: shake + two ripples (Dima 11-16: «чтобы шевелилась, призывала позвонить») */
.hero__tel-ic::before, .hero__tel-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--blue-head); opacity: 0; pointer-events: none; }
.js.motion .hero__tel-ic svg { animation: tel-ring 4.5s var(--ease-out) 2.4s infinite; }
.js.motion .hero__tel-ic::before { animation: tel-ripple 4.5s ease-out 2.4s infinite; }
.js.motion .hero__tel-ic::after { animation: tel-ripple 4.5s ease-out 2.65s infinite; }
@keyframes tel-ring { 0%, 22%, 100% { transform: rotate(0); } 2% { transform: rotate(-16deg) scale(1.12); } 4% { transform: rotate(14deg) scale(1.12); } 6% { transform: rotate(-14deg) scale(1.12); } 8% { transform: rotate(12deg) scale(1.12); } 10% { transform: rotate(-10deg) scale(1.1); } 12% { transform: rotate(8deg) scale(1.08); } 14% { transform: rotate(-5deg) scale(1.04); } 16% { transform: rotate(0) scale(1); } }
@keyframes tel-ripple { 0% { opacity: .7; transform: scale(1); } 24% { opacity: 0; transform: scale(1.7); } 100% { opacity: 0; transform: scale(1.7); } }
@media (hover: hover) and (pointer: fine) { .hero__tel:hover .hero__tel-ic { background: var(--yellow); box-shadow: none; color: var(--ink); } .hero__tel:hover .hero__tel-ic svg { animation-duration: .9s; animation-delay: 0s; } }
.hero__tel b { display: block; font: 700 18px/1.2 var(--f-head); }
.hero__tel small { color: var(--muted); font-size: 13px; }
.hero__marks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 26px 0 0; padding: 0; }
.hero__marks li { font: 600 12.5px/1 var(--f-mono); letter-spacing: .04em; padding: 8px 11px; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.hero__photo { position: relative; z-index: 2; align-self: stretch; min-height: 480px; margin-top: calc(-1 * clamp(56px, 7vh, 90px)); margin-right: calc(-1 * max(var(--gut), (100vw - var(--wrap)) / 2)); clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); background: #20262d; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 40%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 20, 28, 0) 55%, rgba(13, 20, 28, .55)); pointer-events: none; }
.hero__card { position: absolute; z-index: 2; right: clamp(16px, 3vw, 40px); bottom: 28px; max-width: 320px; padding: 16px 18px; border-radius: 4px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6); display: grid; gap: 4px; }
.hero__card .mono { font-size: 11px; color: var(--blue-ink); }
.hero__card b { font: 800 20px/1.15 var(--f-head); }
.hero__card small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.quick { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-bottom: 28px; background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(13, 44, 68, .5); }
.quick__i { position: relative; display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 14px 16px; font: 700 14.5px/1.2 var(--f-head); text-decoration: none; transition: background-color .18s var(--ease-out); }
.quick__i + .quick__i::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.quick__i svg { width: 30px; height: 30px; flex: none; color: var(--blue-ink); stroke-width: 1.5; }
.quick__i::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 10px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--steel), var(--hot)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .quick__i:hover { background: var(--paper-2); } .quick__i:hover::after { transform: scaleX(1); } }

/* ── facts ── */
.facts { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 40px); }
.facts__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.fact { padding: 6px 26px; border-left: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__n { font: 800 clamp(30px, 3vw, 42px)/1 var(--f-head); letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.fact > span { color: var(--muted); font-size: 15.5px; line-height: 1.45; }

/* ── stitch: a short seam drawn between sections ── */
.stitch { position: relative; height: 10px; margin-block: clamp(10px, 2vw, 22px); }
.stitch i { position: absolute; left: 0; right: 0; top: 2px; height: 6px; border-radius: 3px; background: radial-gradient(ellipse 3px 4px at 50% 50%, rgba(255, 255, 255, .55), transparent 70%) 0 0 / 5px 6px, linear-gradient(180deg, #a9b2bc, #6f7a86); transform-origin: 0 50%; }
.stitch b { position: absolute; top: 5px; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fffbe6; box-shadow: 0 0 6px 2px #fff3b0, 0 0 18px 6px rgba(255, 122, 26, .75), 0 0 36px 12px rgba(0, 166, 236, .35); opacity: 0; }
.js.motion .stitch i { transform: scaleX(0); }
.js.motion .stitch.is-on i { transform: scaleX(1); transition: transform 1.6s linear; }
.js.motion .stitch.is-on b { animation: stitch-hot 1.6s linear forwards; }
@keyframes stitch-hot { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* ── sections ── */
.sec { padding: clamp(56px, 8vw, 110px) 0; }
.sec__head { margin-bottom: clamp(28px, 4vw, 52px); max-width: 860px; }
.sec__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* directions */
.dirs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dir { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); overflow: clip; transition: box-shadow .25s var(--ease-out), translate .25s var(--ease-out); }
.dir__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3); }
.dir__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out); }
.dir__body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; }
.dir__n { position: absolute; top: 22px; right: 22px; font-size: 13px; color: var(--muted); }
.dir__ic { position: absolute; top: -30px; left: 22px; width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: #fff; color: var(--blue-ink); stroke-width: 1.5; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -12px rgba(13, 44, 68, .5); }
.dir h3 { font-size: 22px; font-weight: 700; margin-top: 18px; padding-right: 34px; }
.dir h3 a { text-decoration: none; background: linear-gradient(90deg, var(--steel), var(--hot)) 0 100% / 0 3px no-repeat; transition: background-size .45s var(--ease-out); padding-bottom: 2px; }
.dir p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.dir__sub { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.dir__sub a { display: inline-flex; gap: 8px; font-size: 14.5px; color: var(--blue-ink); text-decoration: none; }
.dir__sub a::before { content: "→"; color: var(--steel); }
@media (hover: hover) and (pointer: fine) {
  .dir:hover { translate: 0 -4px; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(13, 44, 68, .45); }
  .dir:hover .dir__img img { scale: 1.04; }
  .dir:hover h3 a { background-size: 100% 3px; }
  .dir__sub a:hover { text-decoration: underline; }
}

/* steps: one seam runs through five nodes; the active step lights up in turn (fixed height – no layout shift) */
.steps { background: var(--blue-deep); color: #fff; position: relative; overflow: clip; }
.steps::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.steps .wrap { position: relative; }
.steps .h2 em { color: #fff; }
.steps .h2 em::after { background: var(--blue); opacity: .6; }
.steps .eyebrow { color: var(--blue); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; z-index: 2; }
.step { position: relative; padding-top: 44px; opacity: .55; transition: opacity .5s var(--ease-out); }
.step__node { position: absolute; top: 9px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-deep); box-shadow: 0 0 0 2px #51667a; transition: box-shadow .4s var(--ease-out), background-color .4s; }
.step h3 { font-size: 20px; margin: 0 0 8px; }
.step p { color: #c4d0db; font-size: 15px; line-height: 1.5; }
.step.is-on, .step.is-done { opacity: 1; }
.step.is-done .step__node { background: #9aa6b2; box-shadow: 0 0 0 2px #9aa6b2; }
.step.is-on .step__node { background: #fffbe6; box-shadow: 0 0 0 2px #fff3b0, 0 0 14px 4px rgba(255, 122, 26, .8), 0 0 30px 10px rgba(0, 166, 236, .4); }
.steps__box { position: relative; }
.steps__box::before { content: ""; position: absolute; left: 8px; right: 8px; top: 16px; height: 2px; background: #3a5064; }
.steps__box > .step__seam { position: absolute; left: 8px; top: 13px; height: 7px; border-radius: 4px; width: 0; z-index: -1; background: radial-gradient(ellipse 3px 4px at 50% 50%, rgba(255, 255, 255, .5), transparent 70%) 0 0 / 5px 7px, linear-gradient(180deg, #b6c0ca, #79858f); }
.step__seam::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fffbe6; box-shadow: 0 0 6px 2px #fff3b0, 0 0 16px 6px rgba(255, 122, 26, .8), 0 0 32px 12px rgba(0, 166, 236, .35); opacity: var(--hot, 0); }
.reveal-all .step { opacity: 1; }

/* documents */
.docs { background: var(--paper-2); }
.docs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.doc { position: relative; display: flex; flex-direction: column; text-align: left; background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); padding: 16px 16px 18px; transition: box-shadow .25s var(--ease-out), translate .25s var(--ease-out); }
.doc__cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: var(--paper-3); box-shadow: 0 1px 0 var(--line), 0 10px 24px -14px rgba(13, 44, 68, .45); }
.doc__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: scale .6s var(--ease-out); }
.doc__pages { position: absolute; right: 8px; bottom: 8px; font: 600 11px/1 var(--f-mono); background: rgba(29, 33, 38, .82); color: #fff; padding: 5px 7px; border-radius: 3px; }
.doc__g { margin-top: 14px; font: 600 11.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); }
.doc__t { margin-top: 6px; font: 700 16.5px/1.3 var(--f-head); }
@media (hover: hover) and (pointer: fine) { .doc:hover { translate: 0 -4px; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(13, 44, 68, .45); } .doc:hover .doc__cover img { scale: 1.03; } }

/* letters (testimonials) */
.letters { overflow: clip; }
.letters__nav { display: flex; gap: 10px; }
.letters__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px max(var(--gut), (100vw - var(--wrap)) / 2) 30px; scroll-padding-inline: max(var(--gut), (100vw - var(--wrap)) / 2); }
.letters__track::-webkit-scrollbar { display: none; }
.letter { position: relative; flex: 0 0 min(400px, 84vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 22px; background: #fff; border-radius: 4px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -26px rgba(13, 44, 68, .45); text-align: left; }
.letter::before { content: ""; position: absolute; top: 0; right: 0; width: 34px; height: 34px; background: linear-gradient(225deg, var(--paper-2) 50%, var(--paper-3) 50%); border-bottom-left-radius: 4px; box-shadow: -2px 2px 4px rgba(13, 44, 68, .12); }
.letter__hd { display: flex; align-items: center; gap: 14px; }
.letter__hd img { width: 60px; height: 60px; object-fit: contain; flex: none; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.letter__hd b { font: 700 16px/1.25 var(--f-head); }
.letter__q { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.letter__more { margin-top: auto; align-self: flex-start; font: 700 14px/1 var(--f-head); color: var(--blue-ink); display: inline-flex; gap: 8px; align-items: center; padding: 8px 0; }
.letter__more svg { width: 16px; height: 16px; stroke-width: 2.2; }

/* contacts */
.contacts { background: var(--paper-2); }
.contacts__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; }
.cinfo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ccard { display: flex; gap: 14px; padding: 22px; background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.ccard > svg { width: 26px; height: 26px; flex: none; color: var(--blue-ink); margin-top: 2px; }
.ccard h3 { font-size: 17px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ccard a { font-weight: 600; text-decoration: none; }
.ccard p { font-size: 15.5px; line-height: 1.5; }
.ccard p + p { margin-top: 6px; font-size: 14.5px; }
.viber { display: inline-flex; align-items: center; gap: 4px; font: 600 12px/1 var(--f-body) !important; color: #6d4bd1; background: #f0ebff; padding: 4px 7px; border-radius: 3px; margin-left: 4px; vertical-align: 2px; }
.viber svg { width: 16px; height: 16px; }
.has-viber { display: inline-flex; align-items: center; gap: 5px; }
.has-viber svg { width: 15px; height: 15px; flex: none; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; margin: 0; font-size: 15.5px; }
.hours dt { font-weight: 600; } .hours dd { margin: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.open { font: 600 12px/1 var(--f-body); padding: 5px 8px; border-radius: 12px; background: var(--paper-3); color: var(--ink-2); }
.open.is-open { background: #e2f6e9; color: #1d6b3c; }
.open.is-open::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2fa35b; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(47, 163, 91, .2); }
.map { display: flex; flex-direction: column; gap: 12px; }
.map__ph { position: relative; flex: 1; min-height: 360px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: #e9eef2; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; background-image: linear-gradient(rgba(13, 44, 68, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 44, 68, .07) 1px, transparent 1px), radial-gradient(circle at 50% 46%, #fff 0, transparent 60%); background-size: 40px 40px, 40px 40px, 100% 100%; }
.map__ph b { font: 700 18px/1.2 var(--f-head); }
.map__pin { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(29, 33, 38, .1); }
.map__pin svg { width: 26px; height: 26px; }
.map__ph iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__routes { display: flex; gap: 10px; flex-wrap: wrap; }

/* request */
.request { background: var(--ink); color: #fff; position: relative; overflow: clip; }
.request__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.request .h2 em { color: var(--yellow); }
.request .h2 em::after { display: none; }
.request__copy p:last-child { margin-top: 18px; color: #c9d1d9; }
.request__copy a { color: #fff; font-weight: 700; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fld { display: grid; gap: 7px; font-size: 14px; color: #c9d1d9; }
.fld--full { grid-column: 1 / -1; }
.fld small { color: #8b96a1; }
.fld input, .fld select, .fld textarea { width: 100%; font: 400 16px/1.4 var(--f-body); color: #fff; background: #272c33; border: 1px solid #3a414a; border-radius: var(--r); padding: 13px 14px; transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out); }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 166, 236, .25); }
.fld.is-bad input { border-color: #ff8a65; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form__note { grid-column: 1 / -1; font-size: 13px; color: #8b96a1; }

/* footer */
.ft { background: #15181c; color: #b7c0c9; padding: 64px 0 0; font-size: 15px; }
.ft__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.ft__brand { display: flex; gap: 16px; align-items: flex-start; }
.ft__badge { width: 76px; height: 76px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.ft__badge img { width: 82%; }
.ft__brand b { color: #fff; }
.ft h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.ft__col { display: flex; flex-direction: column; gap: 8px; }
.ft__col a { text-decoration: none; }
.ft__col p { line-height: 1.5; }
.ft__col p a { display: inline-block; padding: 3px 0; }
@media (hover: hover) and (pointer: fine) { .ft a:hover { color: #fff; } }
.ft__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px 0 26px; border-top: 1px solid #2a3037; font-size: 13.5px; }
.ft__ver { color: #8d98a4; font-size: 12px; }
.sits-credit { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
.sits-credit b { color: #ccc; font-weight: 700; }
.sits-credit img { height: 15px; width: auto; }

/* back to top: progress drawn as a weld bead with a hot head */
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 12px 30px -12px rgba(13, 44, 68, .5); opacity: 0; translate: 0 12px; pointer-events: none; transition: opacity .25s var(--ease-out), translate .25s var(--ease-out), scale .12s var(--ease-out); }
.totop.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.totop:active { scale: .95; }
.totop svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.totop__track { stroke: var(--paper-3); stroke-width: 4; }
.totop__bead { stroke: #7d8893; stroke-width: 4; stroke-dasharray: 0 100; }
.totop__ar { position: absolute; inset: 15px !important; width: 22px !important; height: 22px !important; rotate: 0deg !important; stroke-width: 2.2; }
.totop__hot { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fffbe6; box-shadow: 0 0 4px 2px #fff3b0, 0 0 10px 4px rgba(255, 122, 26, .8); transform: rotate(var(--a, 0deg)) translateY(-22px); opacity: var(--hot, 0); transition: opacity .3s; }

/* dialog (document viewer / full letter) */
.dlg { width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.dlg::backdrop { background: rgba(13, 20, 28, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlg-in .26s var(--ease-out); }
.dlg[open]::backdrop { animation: fade-in .26s var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; scale: .96; } }
@keyframes fade-in { from { opacity: 0; } }
.dlg__in { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; }
.dlg__x { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; }
.dlg__body { padding: 28px clamp(18px, 4vw, 40px) 32px; }
.dv { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: start; }
.dv__page { position: relative; overflow: auto; max-height: 76dvh; border-radius: 4px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); cursor: zoom-in; }
.dv__page.is-zoom { cursor: zoom-out; }
.dv__page img { width: 100%; transition: width .3s var(--ease-out); }
.dv__page.is-zoom img { width: 200%; max-width: none; }
.dv__meta h3 { font-size: 24px; margin: 6px 0 12px; }
.dv__meta p { color: var(--muted); font-size: 15px; }
.dv__btns { display: grid; gap: 10px; margin-top: 22px; }
.lv h3 { font-size: 24px; margin: 10px 0 16px; padding-right: 50px; }
.lv img { width: 72px; height: 72px; object-fit: contain; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }
.lv p { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 66ch; }

.toasts { position: fixed; left: 50%; top: 18px; z-index: 80; translate: -50% 0; display: grid; gap: 8px; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 6px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); font-size: 15px; animation: toast-in .25s var(--ease-out); }
@keyframes toast-in { from { opacity: 0; translate: 0 -8px; } }


/* ── preloader ── */
.pre { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--paper); --hole: 0px; -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + .5px)); mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + .5px)); }
.no-js .pre { display: none; }
.pre__in { position: relative; width: min(46vmin, 260px); aspect-ratio: 1; }
.pre__cv { max-width: none; position: absolute; left: -45%; top: -45%; width: 190%; height: 190%; }
.pre__badge { position: absolute; inset: 10%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(13, 44, 68, .45); display: grid; place-items: center; }
.pre__badge img { width: 80%; }

/* ── start states (only with JS + motion) ── */
.js.motion [data-h] { opacity: 0; transform: translateY(18px); }
.js.motion .hero__photo[data-h] { transform: none; clip-path: polygon(16% 0, 16% 0, 16% 100%, 0 100%); }
.js.motion [data-rise] { opacity: 0; transform: translateY(32px); }
.js.motion [data-q] { opacity: 0; transform: translateY(14px); }
.reveal-all [data-h], .reveal-all [data-rise], .reveal-all [data-q] { opacity: 1 !important; transform: none !important; filter: none !important; }
.reveal-all .hero__photo[data-h] { clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%) !important; }
.reveal-all .stitch i { transform: none !important; }
.reveal-all .pre { display: none; }

/* ── service page template ── */
.hero--page { min-height: min(86svh, 780px); }
.hero--page .hero__grid { padding-bottom: clamp(36px, 5vw, 64px); }
.hero--page .hero__h1 { font-size: clamp(34px, 4.2vw, 62px); }
.hero__lead a { color: var(--blue-ink); font-weight: 600; text-underline-offset: 3px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.sfacts { padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 36px); }
.sfacts__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.procs__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.proc { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 6px 16px; padding: 22px 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background-color .2s var(--ease-out); }
.proc__c { grid-row: 1 / span 2; font-size: clamp(30px, 3vw, 40px); font-weight: 800; line-height: 1; color: var(--ink); }
.proc__a { font-size: 12px; letter-spacing: .1em; color: var(--blue-ink); align-self: end; }
.proc p { font-size: 15.5px; line-height: 1.4; color: var(--ink-2); }
.proc::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--steel), var(--hot)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .proc:hover { background: var(--paper-2); } .proc:hover::after { transform: scaleX(1); } }
.docs__grid--two { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.more { padding-top: clamp(48px, 6vw, 80px); }
.quick--plain { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; box-shadow: 0 0 0 1px var(--line); }

/* ── hero slides (their slider of directions) ── */
.hero__kicker { font-size: 12.5px; line-height: 1.4; margin-bottom: 20px; }
.hs__title { min-height: var(--hs-h, auto); display: flex; align-items: flex-end; }
.hs__title a { text-decoration: none; color: inherit; }
.hs__title .w { display: inline-block; overflow: clip; overflow-clip-margin: .12em; vertical-align: top; padding-bottom: .04em; }
.hs__title .w > span { display: inline-block; }
.hs__lead { min-height: var(--hs-l, auto); }
.hero__photo img { opacity: 0; transition: opacity 1s var(--ease-out); }
.hero__photo img.is-on { opacity: 1; animation: kb 8s linear both; }
@keyframes kb { from { scale: 1.08; } to { scale: 1; } }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.hs__ctl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; width: min(380px, calc(100% - 32px)); max-width: none; }
.hs__ctl .rnd { width: 38px; height: 38px; }
.hs__ctl .rnd svg { width: 18px; height: 18px; }
.hs__info { display: grid; gap: 4px; min-width: 0; }
.hs__top { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.hs__num { font-size: 12.5px; font-weight: 700; color: var(--ink); flex: none; }
.hs__group { font: 600 11.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs__segs { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.hs__seg { position: relative; height: 14px; display: block; }
.hs__seg::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 4px; border-radius: 2px; background: var(--paper-3); }
.hs__seg i { position: absolute; left: 0; top: 5px; height: 4px; border-radius: 2px; width: 100%; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; background: linear-gradient(90deg, #8a949f, var(--hot)); }
.hs__seg.is-done i { background: #8a949f; }

/* ── header phone: one number, the rest drops down ── */
.tel { position: relative; display: flex; align-items: center; gap: 2px; }
.tel__more { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; transition: background-color .15s var(--ease-out); }
.tel__more svg { width: 16px; height: 16px; transition: rotate .2s var(--ease-out); }
.tel__more[aria-expanded="true"] svg { rotate: 180deg; }
@media (hover: hover) and (pointer: fine) { .tel__more:hover { background: var(--paper-2); } }
.tel__panel { left: auto; right: -10px; width: 300px; padding: 10px; transform-origin: calc(100% - 24px) 0; }
.tel__row { display: flex !important; align-items: center; gap: 12px; padding: 10px !important; }
.tel__row svg { width: 20px; height: 20px; flex: none; color: var(--blue-ink); }
.tel__row b { display: block; font: 700 15px/1.2 var(--f-head); color: var(--ink); }
.tel__row small { color: var(--muted); font-size: 12.5px; }
.tel__hours { display: flex; gap: 10px; align-items: center; margin: 6px 0 0; padding: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tel__hours svg { width: 18px; height: 18px; flex: none; }

/* ── steps: icon nodes, the icon draws itself when the seam arrives ── */
.step { padding-top: 82px; }
.step__node { top: 0; left: 0; width: 58px; height: 58px; display: grid; place-items: center; color: var(--blue); }
.step__node svg { width: 28px; height: 28px; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.step__node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(255, 196, 90, .9); opacity: 0; }
.step.is-done .step__node { color: var(--ink); }
.step.is-on .step__node { color: var(--ink); animation: node-pop .5s var(--ease-out); }
.step.is-on .step__node svg { animation: draw .9s var(--ease-out) .1s both; }
.step.is-on .step__node::after { animation: ring 1.1s var(--ease-out) .15s; }
@keyframes node-pop { 40% { scale: 1.16; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ring { from { opacity: 1; scale: 1; } to { opacity: 0; scale: 1.7; } }
.steps__box::before { top: 28px; }
.steps__box > .step__seam { top: 25px; }

/* ── letters: endless belt that slips into two seam pockets ── */
.belt { position: relative; overflow: hidden; --edge: max(var(--gut), (100vw - var(--wrap)) / 2); }
.js.motion .belt .letters__track { overflow: visible; scroll-snap-type: none; padding-inline: 0; will-change: transform; }
.js.motion .belt .letter { scroll-snap-align: none; transform-origin: 50% 50%; }
.belt__pocket { position: absolute; top: 0; bottom: 18px; z-index: 3; width: calc(var(--edge) - 6px); background: var(--paper); pointer-events: none; display: none; }
.js.motion .belt__pocket { display: block; }
.belt__pocket--l { left: 0; }
.belt__pocket--r { right: 0; }
.belt__pocket::before { content: ""; position: absolute; top: -4px; bottom: -4px; width: 9px; border-radius: 5px; background: radial-gradient(ellipse 4px 3px at 50% 50%, rgba(255, 255, 255, .55), transparent 70%) 0 0 / 9px 5px, linear-gradient(90deg, #6f7a86, #b4bdc6 45%, #7a858f); box-shadow: 0 0 0 1px rgba(29, 33, 38, .08); }
.belt__pocket--l::before { right: -9px; }
.belt__pocket--r::before { left: -9px; }
.belt__pocket::after { content: ""; position: absolute; top: 0; bottom: 0; width: 70px; pointer-events: none; }
.belt__pocket--l::after { left: 100%; margin-left: 9px; background: linear-gradient(90deg, rgba(13, 30, 44, .22), rgba(13, 30, 44, 0)); }
.belt__pocket--r::after { right: 100%; margin-right: 9px; background: linear-gradient(270deg, rgba(13, 30, 44, .22), rgba(13, 30, 44, 0)); }

/* ── responsive ── */
@media (max-width: 1360px) {
  .hd__name small { display: none; }
  .hd__phone span { display: none; }
  .hd__phone { width: 40px; height: 40px; justify-content: center; border-radius: 50%; }
}
@media (max-width: 1180px) {
  .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick__i:nth-child(4)::before { display: none; }
  .quick__i:nth-child(n+4) { border-top: 1px solid var(--line); }
  .docs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  :root { --hd: 76px; }
  .nav, .hd__cta { display: none; }
  .burger { display: block; }
  .hd__tools { margin-left: auto; }
  .hd__badge { width: 115px; height: 115px; margin-top: 53px; }
  .hd.is-compact .hd__badge { width: 50px; height: 50px; }
  .dirs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps__list { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 74px; }
  .steps__box::before { left: 28px !important; right: auto; top: 30px !important; bottom: 28px; width: 2px; height: auto; }
  .steps__box > .step__seam { left: 25px; top: 30px !important; width: 8px !important; height: 0; background: linear-gradient(90deg, #b6c0ca, #79858f); }
  .step__seam::after { right: auto; left: 50%; top: auto; bottom: -5px; margin: 0 0 0 -5px; }
  .step { padding: 14px 0 22px !important; min-height: 76px; }
  .step__node { left: -74px; top: 2px; }
  .contacts__grid, .request__in { grid-template-columns: minmax(0, 1fr); }
  .sfacts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
  .procs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); padding-top: 64px; }
  .hero__photo { margin-top: 8px; margin-right: calc(-1 * var(--gut)); margin-left: calc(-1 * var(--gut)); min-height: 0; aspect-ratio: 4 / 3; clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%); }
  .js.motion .hero__photo[data-h] { clip-path: polygon(0 9%, 0 9%, 0 100%, 0 100%); }
  .reveal-all .hero__photo[data-h] { clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%) !important; }
  .quick { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: 0; }
  .quick::-webkit-scrollbar { display: none; }
  .quick__i { flex: 0 0 auto; scroll-snap-align: start; border-top: 0 !important; }
  .quick__i::before { display: block !important; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hd__name b { font-size: 15px; }
  .hd__badge { width: 95px; height: 95px; margin-top: 45px; }
  .hero__h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero__seam { height: 26px; }
  .hero__card { left: 16px; right: 16px; max-width: none; bottom: 16px; }
  .hero__tel b { font-size: 17px; }
  .dirs__grid, .cinfo { grid-template-columns: minmax(0, 1fr); }
  .docs__grid { gap: 12px; }
  .doc { padding: 10px 10px 12px; }
  .doc__t { font-size: 14.5px; }
  .doc__g { font-size: 10px; letter-spacing: .04em; }
  .facts__row, .sfacts__row, .procs__grid { grid-template-columns: minmax(0, 1fr); }
  .sfacts .fact:nth-child(3) { border-left: 0; }
  .quick--plain { display: grid; grid-template-columns: minmax(0, 1fr); overflow: visible; }
  .quick--plain .quick__i + .quick__i { border-top: 1px solid var(--line) !important; }
  .quick--plain .quick__i::before { display: none !important; }
  .fact { border-left: 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form .btn { justify-self: stretch; }
  .ft__grid { grid-template-columns: minmax(0, 1fr); }
  .dv { grid-template-columns: minmax(0, 1fr); }
  .totop { right: 14px; bottom: 14px; }
}
/* phones: the bigger badge (+25 %) needs a tighter header row – the drop-down chevron goes (drawer lists every
   number), smaller gaps and burger, so the burger never leaves the screen (checked 360 / 390) */
@media (max-width: 480px) {
  .hd__in { gap: 10px; }
  .hd__logo { gap: 10px; }
  .hd__name b { font-size: 13px; }
  .hd__tools { gap: 8px; }
  .tel__more { display: none; }
  .burger { width: 44px; height: 44px; }
}
@media (max-width: 374px) {
  .hd__badge { width: 88px; height: 88px; margin-top: 40px; }
  .hd__name b { font-size: 12px; }
}
