/* «ДискСервис» — цех: графит и сталь, янтарный акцент (стрелка индикатора, нагретый металл). */
:root {
  --ink: #101418;        /* графит — тёмные блоки, текст */
  --steel: #1E2831;      /* сталь — второй тёмный тон */
  --paper: #F1F3F4;      /* светлый фон страницы */
  --surface: #FFFFFF;    /* карточки, таблицы */
  --line: #D8DDE1;
  --muted: #5B6670;
  --amber: #E9A23B;      /* акцент: кнопки, цены, стрелка */
  --amber-ink: #1A1206;
  --amber-soft: #FBEBD2;
  --display: "Unbounded", "Arial Black", "Segoe UI", sans-serif;
  --text: "Onest", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --r: 14px;
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--text); overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-weight: 700; }
h2 { font-weight: 600; font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
h3 { font-weight: 600; font-size: 18px; }
p { margin: 0 0 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--dark { background: var(--ink); color: #E8ECEF; }
.section--white { background: var(--surface); }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; margin-bottom: 32px; }
.section--dark .lead { color: #A7B2BB; }
.eyebrow { display: inline-block; font: 600 12px/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn--amber { background: var(--amber); color: var(--amber-ink); }
.btn--amber:hover { background: #F0B254; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--steel); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: rgba(127,127,127,.12); }
.btn[disabled] { opacity: .6; cursor: default; }
.link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--amber); }
.section--dark .link { color: #fff; }

/* Демо */
.demo-strip { background: var(--amber); color: var(--amber-ink); text-align: center; font: 600 13px/1.35 var(--text); padding: 8px 16px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 30; background: rgba(16,20,24,.96); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo-name { display: block; font: 700 18px/1 var(--display); letter-spacing: -0.02em; }
.logo-sub { display: block; font: 500 12px/1.3 var(--text); color: #9AA6B0; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; color: #C9D1D7; text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: var(--amber-ink); background: var(--amber); }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--steel); color: #fff; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .top .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px 20px 18px; background: var(--ink); border-top: 1px solid #26313A; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid #26313A; font-size: 17px; }
  .nav a[aria-current="page"] { background: none; color: var(--amber); }
  .top.open .nav { display: flex; }
}

/* Первый экран */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 56px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(700px 420px at 85% 30%, rgba(233,162,59,.16), transparent 70%),
  linear-gradient(180deg, transparent 60%, rgba(0,0,0,.25)); pointer-events: none; }
.hero-rim { position: absolute; right: -180px; top: -120px; width: 720px; height: 720px; opacity: .14; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } .hero { padding: 88px 0 104px; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: #D5DCE1; font-size: 14px; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.hero h1 { font-size: clamp(34px, 5.2vw, 64px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-lead { font-size: 18px; color: #B4BEC6; max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Калькулятор */
.calc { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 26px 24px 24px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.calc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.calc-head h3 { font-size: 17px; }
.gauge { width: 54px; height: 54px; flex: none; }
.gauge .needle { transform-origin: 27px 30px; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.calc label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.calc select { width: 100%; font: 500 16px var(--text); color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); }
.rchips { display: flex; flex-wrap: wrap; gap: 6px; }
.rchips button { min-width: 50px; min-height: 42px; padding: 0 8px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font: 600 15px var(--text); color: var(--ink); cursor: pointer; }
.rchips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rchips button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: var(--paper); font: 600 20px var(--text); cursor: pointer; color: var(--ink); }
.qty output { min-width: 44px; text-align: center; font-weight: 700; }
.calc-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.calc-sum { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.calc-price { font: 700 clamp(30px, 4vw, 40px)/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.calc-per { font-size: 14px; color: var(--muted); margin-top: 6px; }
.calc-note { font-size: 13px; color: var(--muted); margin: 14px 0 16px; }
.calc .btn { width: 100%; }

/* Полоса скидки */
.band { background: var(--amber); color: var(--amber-ink); }
.band-in { display: grid; gap: 14px 32px; padding: 26px 20px; align-items: center; }
@media (min-width: 860px) { .band-in { grid-template-columns: auto 1fr auto; } }
.band-big { font: 700 44px/1 var(--display); letter-spacing: -0.03em; }
.band b { display: block; font-size: 18px; }
.band p { margin: 4px 0 0; }
.band .btn--ink { justify-self: start; }

/* Сетки карточек */
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 700px) and (max-width: 999px) { .grid--5 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border-radius: var(--r); padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.section--dark .card { background: var(--steel); }
.section--dark .card p { color: #A7B2BB; }
.adv { border-top: 3px solid var(--amber); }
.adv h3 { font-size: 16px; }

/* Шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: st; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: st; position: relative; padding: 22px 22px 22px 76px; background: var(--steel); border-radius: var(--r); }
.steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 22px; top: 20px; font: 700 26px/1 var(--display); color: var(--amber); }
.steps h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.steps p { margin: 0; color: #A7B2BB; font-size: 15px; }

/* Таблицы */
.tbox { overflow-x: auto; background: var(--surface); border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 600 12px/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #F7F8F9; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td + td, .table th + th { text-align: right; white-space: nowrap; }
.table td:first-child { font-weight: 600; }
.table .dash { color: #A9B2BA; }
.table tbody tr:hover td { background: #FBF6EE; }
.t-left td + td, .t-left th + th { text-align: left; white-space: normal; }
.verdict { color: var(--ink); font-weight: 600; }

/* Работы */
.work { background: var(--surface); border-radius: var(--r); overflow: hidden; }
.work-ph { aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; font-size: 13px; color: #7C8792;
  background: repeating-linear-gradient(135deg, #E6E9EC 0 12px, #EEF0F2 12px 24px); }
.work-body { padding: 18px 20px 20px; }
.tag { display: inline-block; font: 600 12px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: #8A5A10; background: var(--amber-soft); padding: 6px 9px; border-radius: 6px; margin-bottom: 10px; }
.work h3 { font-size: 16px; margin-bottom: 6px; }
.work p { margin: 0; font-size: 15px; color: var(--muted); }

/* Центры */
.center { display: grid; gap: 14px; background: var(--surface); border-radius: var(--r); padding: 22px; }
.center-side { font: 600 12px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: #8A5A10; }
.center h3 { font-size: 19px; }
.center-addr { font-weight: 600; }
.center ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.center .btn { justify-self: start; min-height: 44px; }

/* Страница адресов */
.branch { display: grid; gap: 28px; padding: 40px 0; border-top: 1px solid var(--line); }
.branch:first-of-type { border-top: 0; }
@media (min-width: 960px) { .branch { grid-template-columns: 1fr 1fr; gap: 48px; } }
.branch > * { min-width: 0; }
.branch h2 { margin-bottom: 6px; }
.branch .center-addr { font-size: 18px; margin-bottom: 16px; }
.branch h3 { font-size: 15px; margin: 18px 0 6px; }
.branch ul { margin: 0; padding-left: 18px; }
.branch p { color: var(--muted); }
.map { width: 100%; min-height: 360px; height: 100%; border: 0; border-radius: var(--r); background: #DCE1E5; }
.facts { display: grid; gap: 12px; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { background: var(--surface); border-radius: var(--r); padding: 18px 20px; }
.fact b { display: block; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 15px; }
.yes { color: #1C7A45; font-weight: 700; }
.recv { color: #8A5A10; font-weight: 600; }

/* Услуги */
.sgroup { padding: 36px 0; border-top: 1px solid var(--line); }
.sgroup:first-child { border-top: 0; padding-top: 0; }
.sgroup > h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 20px; }
.svc { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border-radius: var(--r); padding: 22px; }
.svc p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.svc .link { align-self: flex-start; margin-top: 8px; font-size: 15px; }

/* Цены */
.subnav { position: sticky; top: 68px; z-index: 20; background: rgba(241,243,244,.96); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; gap: 6px; overflow-x: auto; padding: 10px 20px; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; border: 1px solid var(--line); }
.subnav a:hover { border-color: var(--ink); }
.pblock { padding: 36px 0 8px; scroll-margin-top: 140px; }
.pblock-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 14px; }
.pblock h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0; }
.unit { color: var(--muted); font-size: 14px; }
.pnote { font-size: 14px; color: var(--muted); margin: 12px 0 0; max-width: 80ch; }
.ggroup { font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #8A5A10; margin: 48px 0 0; }
.notice { display: grid; gap: 10px; background: var(--surface); border-left: 4px solid var(--amber); border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; }
.notice p { margin: 0; }

/* Форма */
.book { display: grid; gap: 32px; }
@media (min-width: 960px) { .book { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.book > * { min-width: 0; }
.contacts-list { display: grid; gap: 10px; margin-top: 20px; }
.cline { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.cline span { color: #9AA6B0; font-size: 14px; min-width: 7em; }
.cline a, .cline b { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.placeholder { border: 1.5px dashed #4A5762; border-radius: 12px; padding: 14px 16px; color: #9AA6B0; font-size: 14px; }
.placeholder b { color: #fff; display: block; margin-bottom: 2px; }
.form { display: grid; gap: 14px; background: var(--surface); color: var(--ink); border-radius: 22px; padding: 26px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: 400 16px/1.3 var(--text); color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--amber); }
.form textarea { min-height: 96px; resize: vertical; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex !important; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-msg { font-weight: 600; font-size: 15px; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #1C7A45; } .form-msg.err { color: #B3261E; }

/* Подвал */
.foot { background: #0B0E11; color: #9AA6B0; font-size: 14px; padding: 48px 0 32px; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot b { color: #fff; display: block; margin-bottom: 8px; font-size: 15px; }
.foot a { color: #C9D1D7; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid #1E262D; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Переключатель вариантов (демо) — на будущее */
.dswitch { display: none; }
