/* Шин Плюс — тёмная тема, синий акцент в цвет логотипа. Две гарнитуры: Unbounded (заголовки) и Onest (текст). */

@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(/static/fonts/unbounded-cyrillic-700.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(/static/fonts/unbounded-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2190-21FF; }
@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url(/static/fonts/unbounded-cyrillic-800.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url(/static/fonts/unbounded-latin-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2190-21FF; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url(/static/fonts/onest-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url(/static/fonts/onest-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2190-21FF; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url(/static/fonts/onest-cyrillic-500.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url(/static/fonts/onest-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2190-21FF; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url(/static/fonts/onest-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url(/static/fonts/onest-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2190-21FF; }

:root {
  --bg: #090c11;
  --bg2: #0e121a;
  --card: #131821;
  --card2: #19202b;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef3f8;
  --mut: #8d98a7;
  --acc: #0a74c4;
  --acc-hi: #2fbdf2;
  --acc-lo: #0a4c96;
  --acc-glow: rgba(11, 132, 220, 0.4);
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --cut: 16px;
  --wrap: 1480px;
  --gut: clamp(16px, 4vw, 56px);
  --sec: clamp(80px, 11vw, 160px);
  --hdr: 76px;
  --f-h: "Unbounded", "Arial Black", sans-serif;
  --f-t: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--f-t); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
/* clip, в отличие от hidden, не ломает sticky и не даёт телефону сдвигать страницу вбок */
html, body { overflow-x: clip; }
a, button, label, summary { -webkit-tap-highlight-color: transparent; }
.tbl-hint { display: none; margin: 0 0 8px; font-size: 13px; color: var(--mut); }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--acc-hi); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 800; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc-hi); outline-offset: 3px; }

.wrap { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 860px; }
.mut { color: var(--mut); }
.small { font-size: 14px; }
.center { text-align: center; justify-content: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--acc); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ─── Типографика ─── */
.h1, .h2, .h3 { font-family: var(--f-h); text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.98; }
.h1 { font-size: clamp(38px, 7.2vw, 124px); font-weight: 800; }
.h1-l { display: block; }
.h1-o { color: var(--acc-hi); }
.h1-sub { font-size: clamp(32px, 5.6vw, 88px); max-width: 15ch; }
.h2 { font-size: clamp(30px, 4.6vw, 72px); }
.h3 { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; margin-bottom: 0.8em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 600 12px/1 var(--f-t); letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc-hi); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero-eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 var(--acc-glow); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: #c5cfdb; max-width: 52ch; }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.word > span { display: inline-block; will-change: transform; }

/* ─── Кнопки, плашки ─── */
.btn { --c: var(--acc); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; background: var(--c); color: #fff; font: 600 15px/1 var(--f-t); letter-spacing: 0.02em; cursor: pointer; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: background 0.3s var(--ease), transform 0.3s var(--ease); overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.6s var(--ease); }
.btn:hover { background: var(--acc-hi); color: #fff; }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 16px; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 99px; background: rgba(11, 132, 220, 0.14); color: var(--acc-hi); font-weight: 600; font-size: 14px; white-space: nowrap; }
.pill-lg { min-height: 60px; padding: 0 24px; font: 800 16px/1 var(--f-h); border-radius: 0; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }
.pills li { padding: 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); font-size: 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cut { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.glass { background: rgba(19, 24, 33, 0.62); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

/* ─── Слои поверх страницы ─── */
#tire { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.8s var(--ease); }
#tire.on { opacity: 1; }
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.track { position: fixed; left: 22px; top: 50%; z-index: 40; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none; }
.track-line { position: relative; width: 10px; height: 34vh; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='12'%3E%3Cpath d='M0 0l5 4 5-4v4L5 8 0 4z' fill='%23ffffff' fill-opacity='.12'/%3E%3C/svg%3E") repeat-y; }
.track-line i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='12'%3E%3Cpath d='M0 0l5 4 5-4v4L5 8 0 4z' fill='%230b84dc'/%3E%3C/svg%3E") repeat-y; clip-path: inset(0 0 calc(100% - var(--p, 0%)) 0); }
.track-n { font: 700 11px/1 var(--f-h); color: var(--acc-hi); writing-mode: vertical-rl; letter-spacing: 0.12em; }
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; background: var(--acc); transform: translateY(calc(-100% - 44px)); }
.curtain-tread { position: absolute; left: 0; right: 0; bottom: -40px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='40'%3E%3Cpath d='M0 0h48v8L24 40 0 8z' fill='%230b84dc'/%3E%3C/svg%3E") repeat-x; }
html.leaving .curtain { transition: transform 0.5s var(--ease); transform: translateY(0); pointer-events: auto; }
html.arriving .curtain { transform: translateY(0); }
html.arrived .curtain { transition: transform 0.6s var(--ease); transform: translateY(calc(-100% - 40px)); }

/* ─── Шапка ─── */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: transform 0.5s var(--ease), background 0.3s, box-shadow 0.3s; }
.hdr.solid { background: rgba(9, 12, 17, 0.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: var(--hdr); max-width: 1640px; margin: 0 auto; padding: 0 var(--gut); }
.logo img { width: 128px; height: auto; }
.logo, .hdr-phone, .hdr .btn-sm { flex: none; }
.hdr-info { display: flex; flex-direction: column; white-space: nowrap; font-size: 13px; line-height: 1.35; color: var(--mut); padding-left: 24px; border-left: 1px solid var(--line); }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; font-weight: 500; font-size: 15px; }
.has-dd { position: relative; }
.dd { position: absolute; top: 100%; left: -10px; min-width: 330px; padding: 10px; background: rgba(14, 18, 26, 0.96); border: 1px solid var(--line); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.3s var(--ease); }
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: flex; justify-content: space-between; gap: 18px; padding: 12px 14px; }
.dd a:hover { background: rgba(11, 132, 220, 0.12); }
.dd small { color: var(--mut); white-space: nowrap; }
.hdr-phone { font: 700 16px/1 var(--f-h); white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: 0.3s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
.mnav { position: fixed; top: var(--hdr); left: 0; right: 0; bottom: 0; overflow: auto; padding: 18px var(--gut) 120px; background: rgba(9, 12, 17, 0.97); backdrop-filter: blur(20px); }
.mnav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 700 20px/1.2 var(--f-h); text-transform: uppercase; }
.mnav-c { display: flex; flex-direction: column; gap: 6px; margin-top: 26px; color: var(--mut); }
.mnav-c a { color: var(--acc-hi); font: 700 22px/1.2 var(--f-h); }

/* ─── Первый экран ─── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr) + 40px) 0 40px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media video, .hero-media img { width: 100%; height: 115%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(9, 12, 17, 0.92) 0%, rgba(9, 12, 17, 0.6) 42%, rgba(9, 12, 17, 0.15) 70%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero-in { width: 100%; }
.hero-in > * { max-width: 760px; }
.hero .h1 { margin-bottom: 26px; max-width: none; }
.hero-lead { font-size: clamp(17px, 1.5vw, 21px); color: #cdd6e1; max-width: 40ch; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-stats { display: flex; gap: clamp(24px, 5vw, 80px); margin-top: clamp(40px, 8vh, 90px); }
.stat b { display: block; white-space: nowrap; font: 800 clamp(28px, 3vw, 40px)/1 var(--f-h); color: var(--text); }
.stat > span { display: block; margin-top: 8px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mut); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--acc); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.hero-sub { min-height: 86vh; min-height: 86svh; }
.hero-short { min-height: 70vh; min-height: 70svh; }
.hero-404 { text-align: center; }
.hero-404 .hero-in > * { margin-left: auto; margin-right: auto; }
.crumbs { display: flex; gap: 10px; margin-bottom: 26px; font-size: 14px; color: var(--mut); }
.crumbs a { color: var(--text); }

/* ─── Бегущая строка ─── */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 22px 0; background: var(--acc); color: #fff; transform: rotate(-1.5deg) scale(1.03); margin: 10px 0 -10px; }
.marquee-in { display: flex; width: max-content; gap: 28px; font: 800 clamp(18px, 2.2vw, 30px)/1 var(--f-h); text-transform: uppercase; animation: marq 38s linear infinite; }
.marquee-in i { font-style: normal; opacity: 0.55; }
@keyframes marq { to { transform: translateX(-33.333%); } }

/* ─── Секции ─── */
.sec { position: relative; padding: var(--sec) 0; }
.sec-head { margin-bottom: clamp(40px, 5vw, 70px); }
.sec-head .h2 { margin-bottom: 18px; }
.sec-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Услуги */
.services .sec-head { margin-left: auto; max-width: 880px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); transition: transform 0.5s var(--ease), background 0.3s; transform-style: preserve-3d; will-change: transform; }
.card:hover { background: var(--card2); color: var(--text); z-index: 3; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 0.8s var(--ease), filter 0.5s; filter: saturate(0.85); }
.card:hover .card-img img { transform: scale(1.12); filter: saturate(1.1); }
.card-body { position: relative; padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-n { font: 700 12px/1 var(--f-h); color: var(--acc-hi); letter-spacing: 0.15em; }
.card h3 { font: 800 21px/1.15 var(--f-h); text-transform: uppercase; }
.card p { color: #b3bdca; margin: 0; flex: 1; font-size: 16px; }
.card .pill { align-self: flex-start; }
.card-arrow { position: absolute; right: 22px; bottom: 24px; font-size: 26px; color: var(--acc); transition: transform 0.4s var(--ease); }
.card:hover .card-arrow { transform: translateX(6px); }

/* Что проверяем */
.anatomy { min-height: 120vh; display: flex; align-items: center; }
.anatomy > .wrap { width: 100%; }
.anatomy-side { max-width: 520px; }
.anatomy-side .h2 { margin-bottom: 20px; }
.anatomy-list { margin-top: 34px; display: grid; gap: 4px; }
.anatomy-list li { display: flex; gap: 18px; padding: 16px 18px; border-left: 2px solid var(--line); transition: 0.4s var(--ease); cursor: default; }
.anatomy-list li.on, .anatomy-list li:hover { border-color: var(--acc); background: linear-gradient(90deg, rgba(11, 132, 220, 0.12), transparent); }
.anatomy-list b { font: 700 13px/1.6 var(--f-h); color: var(--acc-hi); }
.anatomy-list h3 { font: 700 16px/1.3 var(--f-h); text-transform: uppercase; margin-bottom: 4px; }
.anatomy-list p { margin: 0; color: var(--mut); font-size: 15px; }
.hs-layer { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.5s var(--ease); }
.hs-layer.on { opacity: 1; }
.hs { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; transform: translate(var(--x, -999px), var(--y, -999px)); }
.hs i { width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(11, 132, 220, 0.3), 0 0 22px var(--acc); }
.hs em { font: 700 11px/1 var(--f-h); font-style: normal; text-transform: uppercase; letter-spacing: 0.08em; padding: 8px 10px; background: rgba(9, 12, 17, 0.8); border: 1px solid var(--line); white-space: nowrap; transition: 0.3s var(--ease); }
.hs.on em { background: var(--acc); border-color: var(--acc); }

/* Калькулятор */
.calc-grid { display: grid; grid-template-columns: 1fr minmax(0, 640px); gap: clamp(30px, 5vw, 80px); align-items: start; }
.calc-side { position: sticky; top: calc(var(--hdr) + 30px); }
.calc-side .h2 { margin-bottom: 20px; }
.calc-r { margin-top: 30px; display: flex; align-items: flex-start; font-family: var(--f-h); font-weight: 800; color: rgba(255, 255, 255, 0.06); line-height: 0.8; -webkit-text-stroke: 1px rgba(11, 132, 220, 0.5); }
.calc-r-l { font-size: clamp(60px, 8vw, 120px); }
.calc-r-v { font-size: clamp(120px, 17vw, 260px); }
.calc { display: grid; gap: 26px; padding: clamp(22px, 3vw, 40px); background: rgba(19, 24, 33, 0.78); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend, .fld > span { display: block; margin-bottom: 10px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); font-weight: 600; }
.fld b { color: var(--acc-hi); font-family: var(--f-h); }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.seg legend { grid-column: 1 / -1; }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.seg-n { grid-template-columns: repeat(4, 1fr); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 100%; min-height: 52px; padding: 12px 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: 0.25s var(--ease); }
.seg small { font-weight: 400; font-size: 12.5px; line-height: 1.3; color: var(--mut); }
.seg-n span { align-items: center; font-family: var(--f-h); }
.seg input:checked + span { background: rgba(11, 132, 220, 0.16); border-color: var(--acc); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--acc-hi); }
input[type="range"] { width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(90deg, var(--acc) var(--fill, 12%), rgba(255, 255, 255, 0.1) var(--fill, 12%)); }
input[type="range"]::-moz-range-track { height: 6px; background: linear-gradient(90deg, var(--acc) var(--fill, 12%), rgba(255, 255, 255, 0.1) var(--fill, 12%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; background: #fff; border: 6px solid var(--acc); border-radius: 50%; box-shadow: 0 0 20px var(--acc-glow); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; background: #fff; border: 6px solid var(--acc); border-radius: 50%; }
.range-ticks { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--mut); font-family: var(--f-h); }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.extras legend { grid-column: 1 / -1; }
.chk { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.35; }
.chk input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--acc); }
.chk small { display: block; color: var(--mut); font-size: 13px; }
.calc-out { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.calc-out .mut { display: block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.calc-sum { display: block; font: 800 clamp(34px, 4vw, 52px)/1.05 var(--f-h); color: var(--acc-hi); }
.calc-note { margin: 0; font-size: 14px; }

/* Процесс с видео */
.process { padding: 0; }
.process-pin { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.process-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.process-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(9, 12, 17, 0.95) 0%, rgba(9, 12, 17, 0.75) 45%, rgba(9, 12, 17, 0.35) 100%), linear-gradient(0deg, var(--bg), transparent 25%, transparent 75%, var(--bg)); }
.process-in { width: 100%; padding-top: 80px; padding-bottom: 80px; }
.process-head .h2 { margin-bottom: 40px; }
.steps { display: grid; gap: 6px; max-width: 620px; }
.step { display: flex; gap: 22px; padding: 18px 20px; border-left: 2px solid var(--line); opacity: 0.45; transition: 0.5s var(--ease); }
.step.on { opacity: 1; border-color: var(--acc); background: linear-gradient(90deg, rgba(11, 132, 220, 0.14), transparent); }
.step-n { font: 800 22px/1 var(--f-h); color: var(--acc-hi); }
.step h3 { font: 700 18px/1.2 var(--f-h); text-transform: uppercase; margin-bottom: 6px; }
.step p { margin: 0; color: #bec8d5; font-size: 16px; }
.steps-bar { max-width: 620px; height: 2px; margin-top: 26px; background: var(--line); }
.steps-bar i { display: block; height: 100%; width: var(--p, 20%); background: var(--acc); transition: width 0.3s; }

/* Сезон */
.season { overflow: hidden; }
.season-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.38; }
.season-bg img { width: 100%; height: 120%; object-fit: cover; }
.season::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--bg) 10%, rgba(9, 12, 17, 0.6) 60%, rgba(9, 12, 17, 0.85)), linear-gradient(0deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.season-grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 40px; align-items: center; }
.season-grid .h2 { margin-bottom: 20px; }
.wx { padding: 30px; display: grid; gap: 20px; }
.wx-now { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.wx-t { font: 800 64px/1 var(--f-h); color: var(--text); }
.wx-bars { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 150px; align-items: end; padding-top: 18px; }
.wx-bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; font-size: 12px; color: var(--mut); }
.wx-bar i { display: block; width: 100%; height: var(--h); min-height: 6px; background: linear-gradient(0deg, var(--acc-lo), var(--acc)); transform-origin: bottom; }
.wx-bar.cold i { background: linear-gradient(0deg, #4b5a6b, #d4e2ef); }
.wx-bar b { font-family: var(--f-h); color: var(--text); font-size: 13px; margin-bottom: 6px; }
.wx-bar span { margin-top: 8px; }
.wx-line { position: absolute; left: 0; right: 0; bottom: var(--b); border-top: 1px dashed rgba(255, 255, 255, 0.5); }
.wx-line::after { content: "+7 °C"; position: absolute; right: 0; top: -20px; font-size: 11px; color: var(--mut); }
.wx-verdict { margin: 0; font: 700 18px/1.35 var(--f-h); text-transform: uppercase; color: var(--acc-hi); }

/* Цены */
.tabs { display: inline-flex; padding: 4px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.tabs button { min-height: 44px; padding: 0 20px; border: 0; background: transparent; cursor: pointer; font-weight: 600; transition: 0.3s var(--ease); }
.tabs button[aria-selected="true"] { background: var(--acc); color: #fff; }
.tbl-wrap { position: relative; z-index: 2; overflow-x: auto; margin-bottom: 30px; background: rgba(14, 18, 26, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; }
.tbl-list { min-width: 0; }
.tbl caption { padding: 18px 22px; text-align: left; font: 700 15px/1.3 var(--f-h); text-transform: uppercase; color: var(--acc-hi); }
.tbl th, .tbl td { padding: 14px 16px; border-top: 1px solid var(--line); text-align: center; white-space: nowrap; }
.tbl thead th { background: rgba(11, 132, 220, 0.12); font-weight: 600; font-family: var(--f-h); font-size: 13px; }
.tbl tbody th { text-align: left; font-weight: 500; white-space: normal; min-width: 260px; }
.tbl-list td { text-align: right; font-family: var(--f-h); font-weight: 700; }
.tbl tbody th small { color: var(--mut); }
.tbl thead th:first-child { text-align: left; position: sticky; left: 0; background: #0d1826; }
.tbl tbody th { position: sticky; left: 0; background: #10141c; z-index: 1; }
.tbl tbody tr:hover td, .tbl tbody tr:hover th { background: #0f1b2a; }
.tbl td { font-variant-numeric: tabular-nums; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.jump a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.jump a:hover { border-color: var(--acc); color: var(--text); }
.tbl tr:target th, .tbl tr:target td { background: rgba(10, 116, 196, 0.28); }
.surcharge { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; margin: 0 0 30px; padding: 16px 22px; border: 1px solid rgba(47, 189, 242, 0.45); background: linear-gradient(90deg, rgba(10, 116, 196, 0.22), rgba(10, 116, 196, 0.04)); }
.surcharge b { font: 800 clamp(24px, 3vw, 34px)/1 var(--f-h); color: var(--acc-hi); white-space: nowrap; }
.surcharge span { font-weight: 600; }
.prices-more { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* Почему мы */
.why .sec-head { max-width: 900px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; }
.why-i { padding: 30px 26px; background: rgba(19, 24, 33, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); min-height: 230px; }
.why-i b { display: block; margin-bottom: 16px; font: 800 26px/1.05 var(--f-h); text-transform: uppercase; color: var(--acc-hi); }
.why-i p { margin: 0; color: #b8c2cf; font-size: 16px; }

/* Отзывы */
.reviews-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(30px, 6vw, 100px); align-items: start; }
.reviews-grid .lead { margin-bottom: 26px; }
.reviews-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* виджет Яндекса белый: рамка в цвет сайта, чтобы он не выглядел чужим окном */
.reviews-frame { height: 640px; background: #fff; overflow: hidden; }
.reviews-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } .reviews-frame { height: 560px; } }

/* Вопросы */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); }
.faq-side { position: sticky; top: calc(var(--hdr) + 30px); align-self: start; }
.faq-side .h2 { margin-bottom: 20px; }
.faq-list details { border-top: 1px solid var(--line); background: rgba(9, 12, 17, 0.6); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none; font: 700 clamp(16px, 1.4vw, 19px)/1.3 var(--f-t); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; transition: 0.4s var(--ease); }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--acc-hi); transition: 0.4s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { background: var(--acc); border-color: var(--acc); transform: rotate(180deg); }
.faq-list details[open] summary i::before, .faq-list details[open] summary i::after { background: #fff; }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 60px 24px 4px; margin: 0; color: #b8c2cf; }

/* Запись */
.zapis-grid { display: grid; grid-template-columns: 1fr minmax(0, 640px); gap: clamp(30px, 6vw, 100px); align-items: start; }
.zapis-side .h2 { margin-bottom: 20px; }
.contact-list { display: grid; gap: 2px; margin-top: 30px; }
.contact-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list a { color: var(--acc-hi); font-weight: 600; }
.contact-list-lg li { grid-template-columns: 160px 1fr; font-size: 19px; padding: 20px 0; }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); background: rgba(19, 24, 33, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: block; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 54px; padding: 14px 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 0; outline: none; transition: border-color 0.3s, background 0.3s; font-size: 16px; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--acc) 50%), linear-gradient(135deg, var(--acc) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.fld select option { background: var(--bg2); }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--acc); background: rgba(11, 132, 220, 0.06); }
.fld .bad, .chk.bad { border-color: #ff4d4d !important; color: #ff8a8a; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.form-msg { margin: 0; min-height: 1.4em; font-weight: 600; }
.form-msg.ok { color: #7ed99a; }
.form-msg.err { color: #ff8a8a; }
.form.sent { position: relative; }

/* Карта */
.contacts-mini { padding-top: 0; }
.map { position: relative; z-index: 2; aspect-ratio: 21 / 8; min-height: 340px; background: var(--card); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.4) invert(0.92) hue-rotate(180deg) contrast(0.9); }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: radial-gradient(circle at 50% 50%, rgba(11, 132, 220, 0.18), transparent 60%), var(--card); text-align: center; padding: 20px; }
.map.loaded .map-ph { display: none; }
.contacts-page { padding-top: calc(var(--hdr) + 60px); }
.contacts-page .h1 { margin-bottom: 40px; }
.contacts-grid { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 40px; align-items: start; }
.contacts-grid .map { aspect-ratio: 4 / 3; }

/* Подстраницы */
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.inc { display: grid; gap: 10px; counter-reset: inc; }
.inc li { position: relative; padding: 20px 22px 20px 62px; background: rgba(19, 24, 33, 0.85); backdrop-filter: blur(14px); font-weight: 500; }
.inc li::before { counter-increment: inc; content: counter(inc, decimal-leading-zero); position: absolute; left: 20px; top: 21px; font: 700 13px/1.6 var(--f-h); color: var(--acc-hi); }
.tl { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; counter-reset: tl; }
.tl li { position: relative; padding: 28px 24px; background: rgba(19, 24, 33, 0.85); backdrop-filter: blur(14px); border-top: 2px solid var(--acc); }
.tl-n { display: block; margin-bottom: 14px; font: 800 30px/1 var(--f-h); color: var(--acc-hi); }
.tl h3 { font: 700 17px/1.2 var(--f-h); text-transform: uppercase; margin-bottom: 8px; }
.tl p { margin: 0; color: #b8c2cf; font-size: 15.5px; }
.other-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; margin-top: 8px; }
.other-list a { display: flex; align-items: center; gap: 14px; padding: 24px 22px; background: rgba(19, 24, 33, 0.85); transition: 0.3s var(--ease); }
.other-list a:hover { background: rgba(11, 132, 220, 0.16); color: var(--text); }
.other-list span { font: 700 17px/1.2 var(--f-h); text-transform: uppercase; flex: 1; }
.other-list small { color: var(--mut); }
.other-list i { font-style: normal; color: var(--acc); }
.text-page { padding-top: calc(var(--hdr) + 60px); }
.text-page .h2 { margin-bottom: 30px; }
.text-page .h3 { margin-top: 1.6em; }
.text-page p { color: #c5cfdb; }
.policy p, .policy li { font-size: 15px; line-height: 1.6; margin-bottom: 0.7em; overflow-wrap: anywhere; }
.policy ul { margin: 0 0 0.7em 1.2em; color: #c5cfdb; }
.policy a { color: var(--acc-hi); }
.consent { margin: auto; width: min(440px, calc(100vw - 32px)); padding: 28px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.consent::backdrop { background: rgba(5, 7, 10, 0.72); backdrop-filter: blur(4px); }
.consent-t { font: 700 20px/1.2 var(--f-t); margin-bottom: 18px; }
.consent-chk { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.consent-chk input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--acc); }
.consent-chk a { color: var(--acc-hi); }
.consent-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Статьи */
.post-card { position: relative; display: flex; flex-direction: column; background: var(--card); transition: translate 0.5s var(--ease), background 0.3s, opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.post-card:hover { background: var(--card2); color: var(--text); translate: 0 -8px; }
.post-card:hover .card-img img { transform: scale(1.1); }
.post-card h3 { font: 700 18px/1.25 var(--f-h); text-transform: uppercase; }
.post-card p { margin: 0; color: #b3bdca; font-size: 15.5px; }
.post-meta { font-size: 13px; color: var(--mut); letter-spacing: 0.04em; }
.hero .post-meta { margin: 18px 0 0; font-size: 14px; }
.h1-post { max-width: 20ch; }
.blog-page { padding-top: calc(var(--hdr) + 60px); }
.blog-page .h1 { margin-bottom: 20px; }
.blog-lead { margin-bottom: 50px; }
.post { padding-top: clamp(50px, 6vw, 90px); }
.post-grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 340px); gap: clamp(30px, 5vw, 80px); align-items: start; }
.prose { font-size: 18px; line-height: 1.7; color: #cdd6e1; }
.prose > .lead { font-size: 20px; color: var(--text); margin-bottom: 1.4em; }
.prose h2 { margin: 1.8em 0 0.6em; font: 700 clamp(20px, 2vw, 26px)/1.2 var(--f-h); text-transform: uppercase; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 0; display: grid; gap: 8px; }
.prose ol { counter-reset: pr; }
.prose li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 10px; height: 2px; background: var(--acc-hi); }
.prose ol li::before { counter-increment: pr; content: counter(pr); position: absolute; left: 0; top: 0; font: 700 14px/1.9 var(--f-h); color: var(--acc-hi); }
.prose b { color: var(--text); }
.prose a { color: var(--acc-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-aside { position: sticky; top: calc(var(--hdr) + 30px); }
.post-cta { display: grid; gap: 14px; padding: 28px; }
.post-cta .h3 { margin: 0; }
.post-cta p { margin: 0; color: #b8c2cf; }
.post-cta .pill { justify-self: start; }
.post-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1080px) { .post-grid { grid-template-columns: 1fr; } .post-aside { position: static; } }
@media (max-width: 760px) { .prose { font-size: 17px; } .prose > .lead { font-size: 18px; } .post-cta-btns .btn { flex: 1 1 100%; } }

/* Подвал */
.ftr { position: relative; z-index: 2; padding: 80px 0 30px; background: var(--bg2); border-top: 1px solid var(--line); }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.ftr-logo { width: 150px; height: auto; margin-bottom: 18px; }
.ftr-h { font: 700 13px/1 var(--f-h); text-transform: uppercase; letter-spacing: 0.12em; color: var(--acc-hi); margin-bottom: 18px; }
.ftr ul { display: grid; gap: 10px; font-size: 15px; }
.ftr p { font-size: 15px; margin-bottom: 8px; }
.ftr-phone { font: 700 20px/1.2 var(--f-h); }
.ftr-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.mbar { display: none; }

/* ─── Появление ─── */
.js [data-reveal] { opacity: 0; transform: translateY(40px); filter: blur(10px); }
.js .ready [data-reveal], .js [data-reveal].in { opacity: 1; transform: none; filter: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.no-motion [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }

/* ─── Адаптив ─── */
@media (max-width: 1380px) { .hdr-info { display: none; } }
@media (max-width: 1280px) {
  .hdr-info { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  :root { --hdr: 64px; }
  .nav, .hdr-phone, .hdr .btn-sm { display: none; }
  .burger { display: block; }
  .logo img { width: 112px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .calc-grid, .zapis-grid, .faq-grid, .season-grid, .inc-grid, .contacts-grid { grid-template-columns: 1fr; }
  .calc-side, .faq-side { position: static; }
  .calc-r { display: none; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .track { display: none; }
}
@media (max-width: 760px) {
  .grain { display: none; }
  body { font-size: 16px; padding-bottom: 68px; }
  .hero { justify-content: flex-start; padding-top: calc(var(--hdr) + 32px); }
  /* «ШИНОМОНТАЖ» шириной ≈10.45em — подгоняем кегль под ширину экрана минус поля */
  .h1 { font-size: calc((100vw - 34px) / 10.7); }
  .h1-sub { font-size: 8.4vw; }
  .hero-shade { background: linear-gradient(180deg, rgba(9, 12, 17, 0.88) 0%, rgba(9, 12, 17, 0.55) 55%, var(--bg) 100%); }
  .hero-stats { margin-top: auto; padding-top: 40px; gap: 20px; justify-content: space-between; }
  .stat b { font-size: 22px; }
  .stat > span { font-size: 11px; letter-spacing: 0.06em; line-height: 1.35; }
  .hero-stats { gap: 14px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .h2 { font-size: clamp(24px, 7.4vw, 34px); }
  .h1-sub { font-size: 6.9vw; }
  .h1-sub, .h2, .h3, .prose h2 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
  .ftr ul { gap: 0; }
  .ftr ul a, .ftr-soc a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 40px; }
  .crumbs { align-items: center; margin-bottom: 14px; }
  .extras .chk { min-height: 44px; align-items: center; }
  .chk input { width: 22px; height: 22px; }
  .contact-list a { display: inline-flex; align-items: center; min-height: 40px; }
  .tbl-hint { display: block; }
  .form .btn { justify-self: stretch; }
  .calc-out .btn { flex: 1 1 100%; }
  .process-pin { min-height: 0; }
  .process-in { padding-top: 60px; padding-bottom: 60px; }
  .step { opacity: 1; padding: 14px 16px; }
  .steps-bar { display: none; }
  .scroll-hint { display: none; }
  .cards { grid-template-columns: 1fr; }
  .seg-3 { grid-template-columns: 1fr; }
  .extras, .form-row, .two, .why-grid { grid-template-columns: 1fr; }
  .why-i { min-height: 0; }
  .ftr-grid { grid-template-columns: 1fr; }
  .contact-list li, .contact-list-lg li { grid-template-columns: 1fr; gap: 4px; }
  .faq-a p { padding-right: 4px; }
  .anatomy { min-height: 0; padding-top: 70vw; }
  .hs em { display: none; }
  .map, .contacts-grid .map { aspect-ratio: 4 / 5; min-height: 0; width: 100%; }
  .tbl tbody th { min-width: 190px; font-size: 14px; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 1px; padding-bottom: env(safe-area-inset-bottom); background: var(--line); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; background: rgba(14, 18, 26, 0.96); backdrop-filter: blur(16px); font-weight: 600; font-size: 14px; }
  .mbar svg { width: 18px; height: 18px; fill: var(--acc-hi); }
  .mbar .mbar-cta { background: var(--acc); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* Мастерская: фото точки */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shop-item { margin: 0; position: relative; overflow: hidden; }
.shop-item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.shop-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 14px; line-height: 1.35; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); }
@media (max-width: 760px) { .shop-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .shop-item figcaption { font-size: 12px; padding: 22px 10px 8px; } }
@media (max-width: 760px) { .policy h1 { font-size: calc((100vw - 32px) / 17.5); } }
