/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/JetBrainsMono-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/JetBrainsMono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/JetBrainsMono-500-latin.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;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/JetBrainsMono-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/JetBrainsMono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/JetBrainsMono-500-latin.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;
}
/* cyrillic */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/Oswald-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/Oswald-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/Oswald-500-latin.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;
}
/* cyrillic */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Oswald-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Oswald-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Oswald-500-latin.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;
}
/* cyrillic */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Oswald-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Oswald-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Oswald-500-latin.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;
}
/* cyrillic */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/SourceSans3-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/SourceSans3-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/SourceSans3-400-latin.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;
}
/* cyrillic */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/SourceSans3-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/SourceSans3-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/SourceSans3-400-latin.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;
}
/* cyrillic */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/SourceSans3-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/SourceSans3-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/SourceSans3-400-latin.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;
}

/* ME Service — токены из макета Claude Design «Landing Hele» */
:root {
  --bg: #F3F3F1;
  --surface: #FFFFFF;
  --ink: #141518;
  --ink-2: #2E3035;
  --muted: #4A4D53;
  --line: #D9DAD6;
  --line-soft: #E6E6E3;
  --dark: #121316;
  --dark-2: #1C1E22;
  --dark-line: #30343A;
  --dark-ink: #F2F2F0;
  --dark-muted: #B8BBC0;
  --opt-line: #6A717B;
  --accent: #D62B26;
  --accent-hover: #B8221E;
  --accent-active: #961B18;
  --link: #C0221D;
  --link-d: #FF5A4F;
  --tint: #F8E5E4;
  --err: #FF8A80;
  --err-bg: #2A1513;
  --ok: #7EE08A;
  --ok-bg: #16261A;

  --f-head: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Source Sans 3', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-s: 2px;
  --r-m: 4px;
  --gut: clamp(16px, 4.4vw, 64px);
  --sec: clamp(40px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
a:hover { color: var(--accent-active); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button { font: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 12px 16px; background: var(--surface); color: var(--ink); font-weight: 700; }
.skip:focus { top: 8px; }
.wrap { width: min(1200px, 100% - 2 * var(--gut)); margin-inline: auto; }
.mono { font-family: var(--f-mono); }
.b { font-weight: 600; }
.small { font-size: 14px; }
.muted-d { color: var(--dark-muted); font-size: 15px; }
.muted-l { color: #B9B6AE; }
.hl { color: var(--link); }
.hl-d { color: var(--link-d); }
.num { text-align: right; }
.w1 { width: 1%; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-s);
  background: var(--accent); color: #FFFFFF; cursor: pointer;
  font: 600 16px/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  transition: background-color .15s;
}
.btn:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn:active { background: var(--accent-active); }
.btn:focus-visible { outline: 3px solid var(--dark-ink); outline-offset: 2px; }
.btn[disabled] { background: #2A2E33; color: #A7ABB1; cursor: not-allowed; }
.btn--sm { white-space: nowrap; }
.btn--md { min-height: 56px; padding: 0 24px; font-size: 19px; letter-spacing: .03em; text-align: left; }
.btn--lg { height: 56px; padding: 0 24px; font-size: 20px; letter-spacing: .03em; white-space: nowrap; }
.btn--line { background: transparent; border: 2px solid var(--dark-ink); color: var(--dark-ink); }
.btn--line:hover { background: var(--dark-ink); color: var(--dark); }
.btn--line:active { background: #D7D7D3; color: var(--dark); }
.btn--full { width: 100%; }
.btn--ghost { background: transparent; border: 2px solid var(--dark-ink); color: var(--dark-ink); font: 700 17px/1.2 var(--f-body); text-transform: none; letter-spacing: 0; min-height: 52px; }
.btn--ghost:hover { background: #0E0F11; color: var(--dark-ink); }
.btn--dark { background: var(--dark); }
.btn--dark:hover { background: #2A2D32; }
.btn--dark:focus-visible { outline-color: var(--ink); }
.linkbtn { min-height: 44px; padding: 0 8px; border: 0; border-radius: var(--r-s); background: none; cursor: pointer; color: var(--link-d); font: 600 16px var(--f-body); text-decoration: underline; }
.linkbtn--red { color: var(--link); font: 600 16px var(--f-head); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; white-space: nowrap; }
.linkbtn--red:hover { background: var(--tint); color: var(--accent-active); }
.linkbtn .arr { display: none; }

/* ---------- шапка ---------- */
.top { position: relative; z-index: 2; background: var(--dark); color: var(--dark-ink); border-bottom: 1px solid #2A2D32; }
.top__in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; min-height: 72px; padding-block: 8px; }
.top :focus-visible { outline-color: var(--dark-ink); }
.logo { display: flex; flex-direction: column; color: var(--dark-ink); text-decoration: none; line-height: 1; }
.logo:hover { color: var(--dark-ink); }
.logo__name { font: 700 26px/1 var(--f-head); text-transform: uppercase; letter-spacing: .02em; }
.logo__tag { font-size: 13px; font-weight: 600; letter-spacing: .16em; margin-top: 4px; text-transform: uppercase; }
.top__nav { display: none; gap: 4px; }
.top__nav a, .lang a, .lang span { display: flex; align-items: center; min-height: 44px; padding: 0 16px; color: var(--dark-ink); text-decoration: none; font: 500 16px var(--f-head); text-transform: uppercase; letter-spacing: .04em; }
.top__nav a:hover, .lang a:hover { color: var(--link-d); }
.top__act { display: flex; align-items: center; gap: 8px 16px; }
@media (max-width: 759px) { .top__act .btn { display: none; } .top__in { flex-wrap: nowrap; } }
.lang { display: flex; }
.lang a, .lang span { padding: 0 10px; min-width: 44px; justify-content: center; }
.lang span { color: var(--link-d); }
.top__tel { display: none; align-items: center; min-height: 44px; white-space: nowrap; color: var(--dark-ink); font: 600 18px var(--f-mono); text-decoration: none; }
.top__tel:hover { color: var(--link-d); }
@media (min-width: 760px) { .top__tel { display: flex; } }
@media (min-width: 1200px) { .top__nav { display: flex; } }

/* ---------- первый экран ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--dark-ink); }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,19,22,.96) 0%, rgba(18,19,22,.85) 45%, rgba(18,19,22,.35) 100%); }
@media (max-width: 759px) { .hero::before { background: linear-gradient(180deg, rgba(18,19,22,.92) 0%, rgba(18,19,22,.8) 60%, rgba(18,19,22,.6) 100%); } }
.hero :focus-visible { outline-color: var(--dark-ink); }
.hero__in { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; padding: clamp(32px, 4.4vw, 64px) 0 clamp(64px, 7vw, 80px); }
.hero__txt { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font: 700 clamp(40px, 6vw, 92px)/1 var(--f-head); text-transform: uppercase; letter-spacing: -.005em; overflow-wrap: anywhere; hyphens: auto; }
.hero__city { display: block; }
.hero__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 8px 16px; }
@media (max-width: 420px) { .hero__cta .btn { width: 100%; white-space: normal; } }
.hero__form { flex: 1 1 360px; max-width: 560px; min-width: 0; scroll-margin-top: 16px; }

/* ---------- полоса фактов ---------- */
.facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin: -40px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 8px 24px rgba(18,19,22,.08); overflow: hidden; }
.facts > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts dt { font: 500 14px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 17px; line-height: 1.35; }
.facts .facts__big { font: 600 28px/1.1 var(--f-head); }
.facts a { font-weight: 600; }

/* ---------- секции ---------- */
.sec { display: flex; flex-direction: column; gap: 24px; padding-block: var(--sec); scroll-margin-top: 16px; }
.sec--tight { padding-top: 0; }
.h2 { font: 700 clamp(30px, 3.6vw, 52px)/1.02 var(--f-head); text-transform: uppercase; }
.sec__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.sec__note { font-weight: 600; }
.sec__line { display: flex; align-items: center; gap: 24px; }
.sec__line .h2 { flex: 0 1 auto; min-width: 0; }
.rule { min-width: 24px; }
.rule { flex: 1; height: 1px; background: var(--line); }
#rehvid-hind, #teenused, #sumptom, #tuled, #kontakt, #kkk, .grp { scroll-margin-top: 16px; }

/* ---------- таблицы цен ---------- */
.price { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.price__tables { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tbl, .grp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.tbl table, .grp__tbl { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.35; }
.tbl caption { text-align: left; padding: 16px 24px; font: 600 20px var(--f-head); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.tbl thead tr { background: var(--dark); color: var(--dark-ink); font: 500 15px var(--f-head); letter-spacing: .06em; text-transform: uppercase; }
.tbl th, .tbl td { padding: 16px 8px; }
.tbl thead th { padding-block: 8px; font-weight: 500; text-align: left; }
.tbl thead th.num { text-align: right; }
.tbl tr > :first-child { padding-left: 24px; }
.tbl tr > :last-child { padding-right: 24px; }
.tbl tbody tr { border-top: 1px solid var(--line); }
.tbl tbody th { text-align: left; font-weight: 600; }
.tbl td { white-space: nowrap; }
.tbl td:last-child:has(.linkbtn) { padding: 8px 16px 8px 8px; }
.sub { display: block; font-size: 15px; font-weight: 400; color: var(--muted); }
.tbl__note { padding: 8px 24px 16px; font-size: 15px; color: var(--muted); }
@media (max-width: 520px) {
  .tbl th, .tbl td { padding-inline: 6px; font-size: 15px; }
  .tbl tr > :first-child { padding-left: 16px; }
  .tbl tr > :last-child { padding-right: 16px; }
  .tbl thead tr { font-size: 13px; letter-spacing: .03em; }
}

/* узкий экран: таблица часов — строка на вид работ, тип авто подписью */
@media (max-width: 600px) {
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl--stack table, .tbl--stack tbody { display: block; }
  .tbl--stack tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 12px 16px; }
  .tbl--stack tbody th { grid-column: 1 / -1; padding: 0 0 4px !important; }
  .tbl--stack tbody td { display: contents; }
  .tbl--stack tbody td::before { content: attr(data-l); font-family: var(--f-body); font-weight: 400; color: var(--muted); text-align: left; }
  .tbl--stack tbody tr { column-gap: 16px; row-gap: 2px; }
  .tbl--stack caption, .tbl--fixed caption { display: block; padding: 16px; }
  .tbl--fixed thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl--fixed table, .tbl--fixed tbody { display: block; }
  .tbl--fixed tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 12px 16px; }
  .tbl--fixed tbody th { grid-column: 1 / -1; padding: 0 0 4px !important; }
  .tbl--fixed tbody td { padding: 0 !important; text-align: left; }
  .tbl--fixed tbody td:last-child { text-align: right; }
}

/* ---------- тёмные панели и переключатели ---------- */
.dark-panel { background: var(--dark); color: var(--dark-ink); border-radius: var(--r-m); }
.dark-panel :focus-visible { outline-color: var(--dark-ink); }
.panel-h { font: 600 20px var(--f-head); text-transform: uppercase; }
.calc { flex: 2 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 2.4vw, 32px); }
.opts { display: grid; gap: 4px; }
.opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.opts--rim { grid-template-columns: repeat(auto-fit, minmax(min(100%, 76px), 1fr)); }
.opt { min-height: 48px; padding: 0 8px; border: 1px solid var(--opt-line); border-radius: var(--r-s); background: var(--dark-2); color: var(--dark-ink); font: 600 16px/1.2 var(--f-body); cursor: pointer; }
.opt:hover { border-color: var(--dark-ink); }
.opt[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.opts--num .opt { padding: 0; font: 600 18px var(--f-head); }
@media (max-width: 520px) { .opts--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .js-car { grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); } }
.opts--rim .opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 72px; padding: 8px 4px; }
.opts--rim .opt[aria-checked="true"] { background: var(--dark-ink); border-color: var(--dark-ink); color: var(--dark); }
.opt__big { font: 600 22px/1 var(--f-head); }
.opts--rim .mono { font-size: 15px; font-weight: 600; }
.calc__res { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; padding: 16px 0; border-block: 1px solid var(--dark-line); }
.calc__res .mono { font-size: 16px; }
.calc__total { font: 700 48px/1 var(--f-head); }
.calc__vat { display: flex; justify-content: space-between; gap: 16px; margin-top: -8px; font-size: 17px; }
.calc__vat .mono { font-weight: 600; }

/* ---------- шиномонтаж ---------- */
.tyre { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; padding: clamp(24px, 3.6vw, 56px); }
.tyre__l { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tyre__l .hl { color: var(--link-d); }
.tyre__lead { color: #D7D8DA; }
.tyre__res { display: flex; flex-direction: column; gap: 4px; }
.tyre__price { font: 700 clamp(72px, 8vw, 120px)/1 var(--f-head); letter-spacing: -.02em; padding-top: 8px; }
.tyre .btn { align-self: flex-start; }
.tyre__r { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tyre__row { display: flex; flex-direction: column; gap: 8px; }
/* узкий экран: цена и кнопка сразу под переключателями, а не над ними */
@media (max-width: 759px) {
  .tyre { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 16px; }
  .tyre__l, .tyre__r { display: contents; }
  .tyre__row { order: 2; }
  .tyre__res { order: 3; }
  .tyre .btn { order: 4; }
  .tyre__row--extra { order: 5; margin-top: 8px; }
  .tyre__all { order: 6; }
  .tyre__r > .muted-d { order: 7; }
  .tyre__price { font-size: 64px; }
}
.tyre__lbl { font: 500 15px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--dark-muted); }
.opts--sub .opt { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 64px; padding: 8px 12px; text-align: left; }
.opt__sub { font: 400 14px/1.25 var(--f-body); color: var(--dark-muted); }
.opt__sub.mono { font: 500 14px var(--f-mono); }
.opt[aria-checked="true"] .opt__sub { color: #FFFFFF; }
.tyre__all summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; border-top: 1px solid var(--dark-line); font: 500 17px var(--f-head); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; list-style: none; }
.tyre__all summary::-webkit-details-marker { display: none; }
.tyre__all summary::after { content: '+'; font: 600 24px/1 var(--f-mono); }
.tyre__all[open] summary::after { content: '\2212'; }
.tyre__all summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.tyre__tbls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 32px; padding: 8px 0 16px; }
.ttbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.ttbl caption { text-align: left; padding-bottom: 8px; font: 600 17px var(--f-head); text-transform: uppercase; }
.ttbl caption .mono { font: 500 14px var(--f-mono); color: var(--dark-muted); text-transform: none; }
.ttbl th, .ttbl td { padding: 8px 0; border-top: 1px solid var(--dark-line); text-align: left; }
.ttbl thead th { font: 500 13px var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--dark-muted); }
.ttbl .num { text-align: right; padding-left: 12px; }
.ttbl td { font-weight: 600; white-space: nowrap; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; font-size: 17px; }
.kv dt, .kv dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--dark-line); }
.kv dd { text-align: right; font-weight: 600; }
.kv--lbl { grid-template-columns: auto minmax(0, 1fr); gap: 8px 24px; padding: 16px 0; border-block: 1px solid var(--dark-line); }
.kv--lbl dt, .kv--lbl dd { padding: 0; border: 0; text-align: left; }
.kv--lbl dt { font: 500 15px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--dark-muted); }
.kv--lbl .mono { font-size: 16px; font-weight: 400; }

/* ---------- услуги ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #7A7E85; border-radius: var(--r-s); background: var(--surface); color: var(--ink); text-decoration: none; font: 500 16px var(--f-head); text-transform: uppercase; letter-spacing: .04em; }
.chip:hover { background: var(--dark); color: var(--dark-ink); border-color: var(--dark); }
.groups { display: flex; flex-direction: column; gap: 24px; }
.grp__h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 24px; background: var(--dark); color: var(--dark-ink); font: 600 22px/1.1 var(--f-head); text-transform: uppercase; }
.grp__n { font-size: 14px; font-weight: 500; color: var(--dark-muted); text-transform: none; white-space: nowrap; }
.vat-note { font-weight: 600; }
.foot__vat { color: var(--dark-muted); font-size: 15px; }
.grp__img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
@media (min-width: 760px) { .grp__img { aspect-ratio: 5 / 1; } }
.grp__tbl thead tr { font: 500 14px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.grp__tbl th, .grp__tbl td { padding: 16px; vertical-align: top; text-align: left; }
.grp__tbl thead th { padding-block: 8px; font-weight: 500; }
.grp__tbl .num { text-align: right; }
.grp__tbl tr > :first-child { padding-left: 24px; }
.grp__tbl tr > :last-child { padding: 8px 24px 8px 8px; }
.grp__tbl tbody tr { border-top: 1px solid var(--line-soft); }
.grp__tbl tbody tr:hover { background: #F7F7F5; }
.grp__tbl tbody th { font-weight: 700; width: 30%; }
.grp__fact { color: var(--muted); }
.grp__price { white-space: nowrap; font-size: 16px; width: 200px; }
/* узкий экран: таблица превращается в список карточек-строк */
@media (max-width: 759px) {
  .grp__tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .grp__tbl, .grp__tbl tbody { display: block; }
  .grp__tbl tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px; }
  .grp__tbl tbody tr:hover { background: none; }
  .grp__tbl tbody th, .grp__tbl td { display: block; padding: 0 !important; width: auto; }
  .grp__tbl tbody th { font-size: 17px; line-height: 1.3; }
  .grp__price { text-align: right; font-size: 15px; width: auto; }
  .grp__fact { grid-column: 1 / -1; grid-row: 2; font-size: 16px; line-height: 1.45; }
  .grp__tbl td:last-child { grid-column: 1 / -1; text-align: left; }
  .grp__tbl .linkbtn { padding: 0; }
  .grp__tbl .linkbtn .arr { display: inline; }
  .grp__h { padding: 16px; }
}

/* ---------- симптомы ---------- */
.sym { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.sym__list { flex: 1 1 420px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; align-content: start; }
.symb { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; padding: 8px 16px; border: 2px solid var(--line); border-radius: var(--r-s); background: var(--surface); color: var(--ink); font: 500 18px/1.15 var(--f-head); text-transform: uppercase; text-align: left; cursor: pointer; }
.symb:hover { border-color: var(--dark); }
.symb:focus-visible { outline-color: var(--link); }
.symb[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: var(--dark-ink); }
.sym__panel { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.sym__h { font: 700 30px/1.05 var(--f-head); text-transform: uppercase; }
.sym__panel > p:not(.small) { font-size: 18px; }
.sym__panel .btn, .lamps__info .btn { align-self: flex-start; }

/* ---------- лампы ---------- */
.lamps { display: flex; flex-wrap: wrap; gap: 24px; padding: 24px; background: #0B0D0E; border: 1px solid #2A2F33; border-radius: var(--r-m); color: #EDEBE5; }
.lamps :focus-visible { outline-color: #EDEBE5; }
.lamps__grid { flex: 1 1 320px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-content: start; min-width: 0; }
.lamp { aspect-ratio: 1; min-height: 64px; display: grid; place-items: center; padding: 8px; background: #121517; border: 2px solid #2A2F33; border-radius: var(--r-m); cursor: pointer; transition: background-color .15s; }
.lamp:hover { background: #1B1F22; }
.lamp svg { max-width: 100%; height: auto; }
.lamp--red { color: #FF3B30; }
.lamp--amber { color: #FFB000; }
.lamp[aria-pressed="true"] { background: #1B1F22; border-color: currentColor; }
.lamps__info { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lamps__h { font: 700 32px/1.05 var(--f-head); text-transform: uppercase; }
.lamps__info > p:not(.small) { color: #D6D3CB; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; padding: 4px 16px; border-radius: var(--r-m); font-size: 16px; font-weight: 700; }
.badge--stop { background: #C62828; color: #FFFFFF; }
.badge--go { background: #FFB000; color: #111111; }

/* ---------- как это работает ---------- */
.how { padding-block: var(--sec); background: var(--surface); border-block: 1px solid var(--line); }
.how .wrap { display: flex; flex-direction: column; gap: 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps__n { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: var(--dark); color: #FFFFFF; font: 700 20px var(--f-head); }
.steps h3 { font: 600 20px/1.2 var(--f-head); text-transform: uppercase; margin-bottom: 4px; }
.steps p { font-size: 16px; color: var(--muted); }

/* ---------- контакты ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 24px; }
.contact__card { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.contact__card > div { display: flex; flex-direction: column; gap: 4px; }
.contact__card dt { font: 500 15px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__card dd { margin: 0; }
.contact__card .lg { font-size: 20px; }
.hours { display: grid; grid-template-columns: 64px auto; gap: 4px 16px; }
.contact__map { flex: 2 1 420px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.map { height: clamp(280px, 30vw, 440px); border: 1px solid var(--line); border-radius: var(--r-m); background: #E6E6E3; overflow: hidden; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.route { margin-top: 32px; }
.route__h { margin: 0 0 16px; font: 500 15px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.route__grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .route__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.route__fig { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.route__fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: #E6E6E3; }
.route__fig figcaption { color: var(--muted); font-size: 15px; }
.maplink { align-self: flex-start; display: flex; align-items: center; min-height: 44px; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; display: flex; flex-direction: column; gap: 8px; }
.faq__i { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 24px; }
.faq__i button { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 16px 0; border: 0; background: none; text-align: left; font: 700 18px/1.35 var(--f-body); color: var(--ink); cursor: pointer; }
.faq__i button:hover { color: var(--link); }
.faq__s { font-size: 24px; color: var(--link); }
.faq__i [role="region"] p { margin: 0 0 24px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* ---------- подвал ---------- */
.foot { background: var(--dark); color: var(--dark-ink); border-top: 4px solid var(--accent); font-size: 16px; line-height: 1.6; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; padding-block: 40px; }
.foot__col { display: flex; flex-direction: column; }
.foot__brand { gap: 4px; max-width: 320px; }
.foot__brand .logo__name { font-size: 24px; }
.foot__h { font: 600 16px var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.foot a { display: flex; align-items: center; min-height: 32px; color: var(--dark-ink); text-decoration: none; }
.foot a:hover { color: var(--link-d); text-decoration: underline; }
.foot .foot__priv { min-height: 44px; color: var(--link-d); font-weight: 600; text-decoration: underline; }
.foot :focus-visible { outline-color: var(--dark-ink); }

/* ---------- нижняя панель на мобильном ---------- */
.cc { position: fixed; inset: auto 0 0; z-index: 20; background: var(--dark); color: var(--dark-ink); border-top: 1px solid var(--dark-line); padding-bottom: env(safe-area-inset-bottom); }
.cc[hidden] { display: none; }
.cc__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; }
.cc__t { margin: 0; max-width: 72ch; font-size: 16px; line-height: 1.5; }
.cc__t a { color: var(--dark-ink); }
.cc__act { display: flex; gap: 12px; }
.cc :focus-visible { outline-color: var(--dark-ink); }
@media (max-width: 559px) { .cc__act { width: 100%; } .cc__act .btn { flex: 1; } }
.foot__cc { display: block; padding: 0; min-height: 44px; border: 0; background: none; color: var(--dark-ink); font: inherit; text-decoration: underline; text-align: left; cursor: pointer; }
.foot__cc:hover { color: var(--link-d); }
.foot__cc:focus-visible { outline: 3px solid var(--dark-ink); outline-offset: 2px; }
.bar { display: none; }
@media (max-width: 759px) {
  .bar { position: sticky; bottom: 0; z-index: 10; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--dark); border-top: 1px solid var(--dark-line); padding-bottom: env(safe-area-inset-bottom); transition: transform .2s ease, visibility .2s; }
  .bar.is-hidden { transform: translateY(100%); visibility: hidden; }
  .bar a, .bar__write { display: flex; align-items: center; justify-content: center; height: 60px; font: 600 17px var(--f-head); text-transform: uppercase; text-decoration: none; }
  .bar__call { color: var(--dark-ink); }
  .bar__call:active { background: #1F2226; }
  .bar__book { background: var(--accent); color: #FFFFFF; }
  .bar__book:active { background: var(--accent-active); }
  .bar__write { border: 0; border-inline: 1px solid var(--dark-line); background: var(--dark); color: var(--dark-ink); cursor: pointer; }
  .bar__write:active { background: #1F2226; }
  .bar__write:focus-visible, .bar a:focus-visible { outline: 3px solid var(--dark-ink); outline-offset: -3px; }
}

/* ---------- форма записи (тёмная, вариант f) ---------- */
.card-f { display: flex; flex-direction: column; gap: 24px; padding: 24px; background: #17191C; border: 1px solid var(--dark-line); border-radius: var(--r-m); color: var(--dark-ink); color-scheme: dark; }
@media (max-width: 759px) { .card-f { padding: 24px 16px; } }
#bk { display: flex; flex-direction: column; gap: 16px; }
#bk[hidden] { display: none; }
.f-head { display: flex; flex-direction: column; gap: 4px; }
.f-head h2, .f-ok h2 { font: 700 28px/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .01em; }
.f-ok h2 { font-size: 32px; text-transform: none; }
.f-head p, .f-ok p { font-size: 16px; color: var(--dark-muted); }
.f-row { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.f-row > label, .f-row legend { font-size: 16px; line-height: 1.3; font-weight: 600; padding: 0; }
.f-row legend { margin-bottom: 8px; }
.f-opt { font-weight: 400; }
.f-pair { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 760px) { .f-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; } .f-pair .plate { max-width: none; height: 48px; } .f-pair .plate input { font-size: 22px; } }
@media (min-width: 960px) { .hero__in { align-items: center; } }
.f-req { color: var(--err); font-weight: 700; }
.f-head .f-note { font-size: 14px; }
.f-lab { font-size: 16px; line-height: 1.3; font-weight: 600; }
.f-row > .f-file { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; font-size: 16px; font-weight: 400; color: var(--dark-muted); background: #0E0F11; border: 1px dashed var(--opt-line); border-radius: var(--r-s); cursor: pointer; transition: border-color .15s, color .15s; }
.f-row > .f-file:hover { border-color: var(--accent); color: var(--dark-ink); }
#f-photos:focus-visible + .f-file { outline: 3px solid var(--dark-ink); outline-offset: 3px; }
.f-hint { font-size: 14px; line-height: 1.4; color: var(--dark-muted); }
.f-thumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.f-thumbs[hidden] { display: none; }
.f-thumbs li { position: relative; width: 72px; height: 72px; }
.f-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-s); border: 1px solid var(--opt-line); }
.f-thumbs button { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--dark-ink); color: #17191C; font: 700 18px/1 var(--f-body); cursor: pointer; }
.card-f input[type=text], .card-f input[type=tel], .card-f input[type=email], .card-f input[type=date], .card-f select, .card-f textarea {
  width: 100%; height: 48px; padding: 0 16px; font: 16px var(--f-body); color: var(--dark-ink); background: #0E0F11;
  border: 1px solid var(--opt-line); border-radius: var(--r-s); outline: none; transition: border-color .15s, box-shadow .15s;
}
.card-f textarea { height: auto; padding: 16px; line-height: 1.4; resize: vertical; }
.card-f ::placeholder { color: #9C998F; opacity: 1; }
.card-f input:focus, .card-f select:focus, .card-f textarea:focus { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px rgba(214, 43, 38, .25); }
.card-f [aria-invalid="true"] { border-color: var(--err) !important; box-shadow: inset 0 0 0 1px var(--err) !important; }
.f-sel { position: relative; }
.f-sel select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.f-sel span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 14px; }
.f-err { font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--err); }
.f-net { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--err-bg); border: 1px solid var(--err); border-radius: var(--r-s); font-size: 16px; }
.f-net[hidden] { display: none; }
.f-net strong { color: var(--err); }
.f-net a { color: var(--dark-ink); font-weight: 600; }
.plate { display: flex; align-items: stretch; height: 56px; max-width: 264px; background: #FFFFFF; border: 2px solid #111111; border-radius: var(--r-m); overflow: hidden; color-scheme: light; transition: box-shadow .15s; }
.plate:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.plate__eu { flex: none; width: 40px; background: #003399; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; padding-bottom: 8px; color: #FFFFFF; font: 700 13px/1 Arial, sans-serif; }
.plate__stars { width: 16px; height: 16px; border: 2px dotted #FFCC00; border-radius: 50%; }
.card-f .plate input { flex: 1; min-width: 0; height: 100%; border: 0; box-shadow: none !important; padding: 0 16px; background: transparent; color: #111111; font: 600 26px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.card-f .plate input::placeholder { color: #5E636C; }
.f-slots .opt { background: #0E0F11; }
.f-slots .opt[aria-checked="true"] { background: var(--dark-ink); border-color: var(--dark-ink); color: #17191C; }
.f-check { display: flex; gap: 16px; align-items: flex-start; }
.f-check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--accent); cursor: pointer; }
.f-check label { font-size: 16px; line-height: 1.5; cursor: pointer; }
.card-f a { color: var(--link-d); font-weight: 600; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-submit { height: 56px; font-size: 20px; font-weight: 700; letter-spacing: .02em; border-radius: var(--r-s); }
.f-alt { font-size: 16px; }
.f-alt a { font-weight: 700; }
.spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; }
.spin[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.f-ok { display: flex; flex-direction: column; gap: 24px; outline: none; }
.f-ok[hidden] { display: none; }
.f-ok__mark { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); border-radius: var(--r-s); font-size: 24px; font-weight: 700; }
.f-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0; padding: 16px; background: #0E0F11; border-radius: var(--r-s); font-size: 16px; }
.f-sum dt { font-weight: 600; }
.f-sum dd { margin: 0; overflow-wrap: anywhere; }
.f-again { align-self: center; }

/* ---------- страница политики ---------- */
.docmain { padding-block: var(--sec); max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.docmain h2 { font: 600 22px/1.2 var(--f-head); text-transform: uppercase; margin-top: 16px; }
.card-f a.btn--ghost { color: var(--dark-ink); text-align: center; padding: 8px 16px; }
.f-ok > div:not(.f-ok__mark) { display: flex; flex-direction: column; gap: 8px; }

/* Виджет связи */
.cw__fab { display: none; }
@media (min-width: 760px) {
  .cw__fab { position: fixed; right: 24px; bottom: 24px; z-index: 15; display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border: 0; border-radius: 26px; background: var(--accent); color: #FFFFFF; font: 600 17px var(--f-head); letter-spacing: .03em; text-transform: uppercase; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
  .cw__fab:hover { background: var(--accent-hover); }
  .cw__fab:active { background: var(--accent-active); }
  .cw__fab:focus-visible { outline: 3px solid var(--dark-ink); outline-offset: 2px; }
  .cc:not([hidden]) ~ .cw .cw__fab { display: none; }
}
.cw__panel { position: fixed; z-index: 30; right: 24px; bottom: calc(88px + var(--cw-lift, 0px)); width: min(340px, calc(100vw - 32px)); padding: 16px; background: var(--dark); color: var(--dark-ink); border: 1px solid var(--dark-line); border-radius: var(--r-m); box-shadow: 0 10px 32px rgba(0,0,0,.4); }
.cw__panel[hidden] { display: none; }
@media (max-width: 759px) { .cw__panel { right: 12px; left: 12px; width: auto; bottom: calc(72px + env(safe-area-inset-bottom) + var(--cw-lift, 0px)); } }
.cw__head { display: flex; align-items: center; justify-content: space-between; font: 600 19px var(--f-head); text-transform: uppercase; letter-spacing: .03em; }
.cw__x { width: 44px; height: 44px; margin: -8px -8px -8px 0; border: 0; background: none; color: var(--dark-ink); font-size: 28px; line-height: 1; cursor: pointer; }
.cw__status { margin: 4px 0 12px; font-size: 16px; color: var(--dark-muted); }
.cw__status.is-open { color: var(--ok); }
.cw__panel ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cw__panel a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 14px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r-m); color: var(--dark-ink); text-decoration: none; }
.cw__panel a:hover, .cw__panel a:active { background: #262A30; }
.cw__panel a span { display: grid; line-height: 1.25; }
.cw__panel a b { font: 600 18px var(--f-head); text-transform: uppercase; letter-spacing: .03em; }
.cw__panel a small { font-size: 15px; color: var(--dark-muted); }
.cw__panel :focus-visible { outline: 3px solid var(--dark-ink); outline-offset: 2px; }
.steps li .badge { margin: 6px 0 10px; }

/* Мега-меню услуг */
.mega-btn, .top__burger { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; background: none; color: var(--dark-ink); font: 500 16px var(--f-head); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.mega-btn:hover, .mega-btn[aria-expanded="true"] { color: var(--link-d); }
.mega-btn svg { transition: transform .15s ease; }
.mega-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.top__burger { border: 1px solid var(--dark-line); border-radius: var(--r-s); padding: 0 12px; }
.top__burger:hover, .top__burger[aria-expanded="true"] { border-color: var(--link-d); color: var(--link-d); }
@media (min-width: 1200px) { .top__burger { display: none; } }
@media (prefers-reduced-motion: reduce) { .mega-btn svg { transition: none; } }
.mega { position: absolute; z-index: 40; left: 0; right: 0; top: 100%; max-height: calc(100vh - 72px); overflow-y: auto; background: var(--dark-2); border-top: 1px solid var(--dark-line); border-bottom: 3px solid var(--accent); box-shadow: 0 24px 40px rgba(0, 0, 0, .35); }
.mega[hidden] { display: none; }
.mega__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px 32px; padding-block: 24px 16px; }
.mega__h { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--dark-line); color: var(--dark-muted); font: 500 14px var(--f-head); letter-spacing: .12em; text-transform: uppercase; }
.mega ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mega li a { display: flex; flex-direction: column; justify-content: center; min-height: 52px; margin-inline: -12px; padding: 6px 12px; border-radius: var(--r-s); color: var(--dark-ink); text-decoration: none; }
.mega li a:hover, .mega li a:focus-visible { background: #2A2E34; }
.mega li a:hover b, .mega li a:focus-visible b { color: var(--link-d); }
.mega li b { font: 600 18px var(--f-head); letter-spacing: .03em; text-transform: uppercase; }
.mega li small { color: var(--dark-muted); font: 400 14px var(--f-mono); }
.mega__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 12px 16px; border-top: 1px solid var(--dark-line); }
.mega__all, .mega__tel { display: flex; align-items: center; min-height: 44px; color: var(--dark-ink); text-decoration: none; font: 600 17px var(--f-head); letter-spacing: .04em; text-transform: uppercase; }
.mega__tel { font: 600 17px var(--f-mono); letter-spacing: 0; text-transform: none; }
.mega__all:hover, .mega__tel:hover { color: var(--link-d); }
.mega__foot .btn { margin-left: auto; }
.mega :focus-visible { outline: 3px solid var(--dark-ink); outline-offset: 2px; }
@media (max-width: 759px) { .mega__foot .btn { display: inline-flex; margin-left: 0; } .mega__tel { display: none; } }

/* Футер: список услуг в две колонки */
.foot__links { display: grid; }
@media (min-width: 760px) { .foot__links { grid-template-columns: repeat(2, max-content); column-gap: 32px; } }
.mega__all span { margin-left: 8px; }
@media (max-width: 479px) { .top__burger-l { display: none; } .top__burger { padding: 0 13px; } }
