/* Takin: дизайн «метр». Жёлтый цвет рулетки только на главной кнопке и на ленте прогресса. */
:root {
  --ink: #0E2438;
  --ink-2: #16344F;
  --paper: #F5F7F9;
  --white: #FFFFFF;
  --tape: #FFC61A;
  --tape-deep: #E5AD00;
  --steel: #546778;
  --line: #D3DCE4;
  --sea: #0F7388;
  --ok: #1B8556;
  --err: #BC3A2D;
  --radius: 10px;
  --font: "Rubik", "Segoe UI", "Arial Hebrew", Arial, system-ui, sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--ink); background: var(--paper);
  padding-block-end: 76px; /* место под нижнюю панель на телефоне */
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--tape); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.9rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--steel); }
.small { font-size: .9rem; }

/* ---------- шапка ---------- */
.site-header { background: var(--ink); color: #fff; }
.site-header .bar { display: flex; align-items: center; gap: 1.25rem; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; }
.logo svg { width: 26px; height: 26px; }
.logo small { font-weight: 400; font-size: .8rem; opacity: .75; letter-spacing: 0; display: none; }
.nav { display: none; gap: 1.2rem; margin-inline-start: 1.5rem; flex: 1; }
.nav a, .lang a { white-space: nowrap; color: #DCE6EE; text-decoration: none; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"], .lang a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--tape); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 1rem; }
.lang a { border: 1px solid #44617A; border-radius: 999px; padding: .2rem .8rem; font-size: .92rem; }
.header-actions .nav-cta { display: none; }
.menu-btn { background: none; border: 1px solid #44617A; color: #fff; border-radius: 999px; padding: .25rem .9rem; font: inherit; font-size: .92rem; }
.drawer { display: none; background: var(--ink-2); }
.drawer.open { display: block; }
.drawer a { display: block; color: #fff; padding: .85rem 0; border-top: 1px solid #2B4A66; text-decoration: none; }
@media (min-width: 900px) {
  .nav { display: flex; } .menu-btn, .drawer { display: none !important; }
  .logo small { display: inline; } body { padding-block-end: 0; } .header-actions .nav-cta { display: inline-flex; }
}

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .7rem 1.6rem; border-radius: 999px;
  font: 600 1.02rem var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-tape { background: var(--tape); color: var(--ink); }
.btn-tape:hover { background: var(--tape-deep); color: var(--ink); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(255,255,255,.1); color: inherit; }
.btn-ink { background: var(--ink); color: #fff; } .btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-small { min-height: 40px; padding: .4rem 1.1rem; font-size: .95rem; }

/* ---------- hero + лента-рулетка ---------- */
.dark { background: var(--ink); color: #fff; }
.hero { padding-block: 3rem 3.2rem; }
.hero-grid { display: grid; gap: 2rem; }
.hero h1 { max-width: 15ch; margin-bottom: .5em; }
.hero p.lead { font-size: 1.2rem; max-width: 36ch; color: #D6E2EC; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-block: 1.8rem 1.2rem; }
.hero .where { color: #9FB3C4; font-size: .95rem; margin: 0; }
.tape {
  height: 38px; background-color: var(--tape);
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 60px),
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 12px);
  background-size: 100% 22px, 100% 12px; background-position: 0 100%, 0 100%; background-repeat: no-repeat;
}
.tape-wrap { overflow: hidden; }
@media (min-width: 900px) {
  .hero { padding-block: 5rem 5.5rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: end; }
}

/* быстрая заявка в hero */
.quick { background: var(--ink-2); border: 1px solid #2B4A66; border-radius: var(--radius); padding: 1.4rem; }
.quick h2 { font-size: 1.25rem; margin-bottom: .3em; }
.quick p { color: #C3D2DE; font-size: .95rem; }

/* ---------- формы ---------- */
label, .label { display: block; font-weight: 500; margin-bottom: .35rem; }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=password], input[type=number], select, textarea {
  width: 100%; min-height: 50px; padding: .65rem .9rem; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #9FB0BF; border-radius: 8px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--sea); outline: 3px solid rgba(15,115,136,.25); }
.field { margin-bottom: 1.1rem; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--err); }
.err { color: var(--err); font-size: .93rem; margin-top: .3rem; font-weight: 500; }
.hint { color: var(--steel); font-size: .92rem; margin-top: .3rem; }
.dark label { color: #fff; } .dark .hint { color: #B7C7D4; }
.dark .err { color: #FFB4A8; }
.hp { position: absolute; inset-inline-start: -5000px; height: 0; overflow: hidden; }
.row { display: grid; gap: 1rem; } @media (min-width: 640px) { .row.two { grid-template-columns: 1fr 1fr; } .row.three { grid-template-columns: 1fr 1fr 1fr; } }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: .2rem; flex: none; accent-color: var(--ink); }

/* ---------- секции ---------- */
section.block { padding-block: 3.2rem; }
section.block + section.block { border-top: 1px solid var(--line); }
.section-head { max-width: 46ch; margin-bottom: 2rem; }
.trust { display: grid; gap: 0; }
.trust > div { padding: 1.2rem 0; border-top: 2px solid var(--ink); }
.trust h3 { margin-bottom: .3em; } .trust p { color: var(--steel); margin: 0; font-size: .98rem; }
@media (min-width: 800px) { .trust { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* прайс-лента: строки с пунктирным лидером */
.pricelist { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 3rem; }
@media (min-width: 800px) { .pricelist { grid-template-columns: 1fr 1fr; } }
.pricelist li { display: flex; align-items: baseline; gap: .6rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.pricelist .name { flex: 0 1 auto; max-width: 70%; }
.pricelist .lead-dots { flex: 1 1 24px; border-bottom: 2px dotted #B5C2CE; transform: translateY(-4px); min-width: 16px; }
.pricelist .cost { font-weight: 700; white-space: nowrap; }
.pricelist .cost.after { font-weight: 500; color: var(--steel); }
.pricelist .unit { color: var(--steel); font-size: .88rem; font-weight: 400; }
.cat-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; margin: 2.6rem 0 .4rem; flex-wrap: wrap; }
.cat-head h2 { margin: 0; font-size: 1.45rem; } .cat-head p { margin: 0; color: var(--steel); font-size: .95rem; }
.svc-desc { display: block; color: var(--steel); font-size: .9rem; }

.steps { counter-reset: s; display: grid; gap: 1.6rem; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; padding-inline-start: 4rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: -.15rem; width: 2.8rem; height: 2.8rem; border-radius: 50%;
  background: var(--tape); color: var(--ink); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; }
.steps h3 { margin-bottom: .2em; } .steps p { margin: 0; color: var(--steel); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.chips li { border: 1.5px solid var(--ink); border-radius: 999px; padding: .3rem 1rem; font-weight: 500; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style-position: outside; }
.faq details[open] summary { margin-bottom: .6rem; }
.faq p { margin: 0; color: var(--steel); max-width: 62ch; }
.review { border-inline-start: 4px solid var(--tape); padding: .3rem 1.2rem; margin-bottom: 1.5rem; }
.stars { color: var(--ink); letter-spacing: 2px; font-size: 1.1rem; }
.empty { border: 1.5px dashed #9FB0BF; border-radius: var(--radius); padding: 1.4rem; color: var(--steel); }
.prose { max-width: 66ch; } .prose h2 { font-size: 1.3rem; margin-top: 2rem; }

/* ---------- подвал, нижняя панель ---------- */
.site-footer { background: var(--ink); color: #C9D8E4; padding-block: 2.5rem; margin-top: 0; }
.site-footer a { color: #fff; } .site-footer .cols { display: grid; gap: 1.5rem; } .site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin-bottom: .4rem; }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.bottom-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: flex; gap: .5rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: var(--ink); border-top: 3px solid var(--tape); }
.bottom-bar .btn { flex: 1; min-height: 46px; padding-inline: .6rem; font-size: .95rem; }
@media (min-width: 900px) { .bottom-bar { display: none; } }

/* ---------- мастер заявки ---------- */
.wizard { max-width: 760px; }
.progress { margin-bottom: 1.6rem; }
.progress .meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; font-weight: 500; }
.progress .track { height: 14px; background: #fff; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; position: relative;
  background-image: repeating-linear-gradient(90deg, rgba(14,36,56,.35) 0 1.5px, transparent 1.5px 10%); }
.progress .fill { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--tape); border-inline-end: 3px solid var(--ink); transition: width .35s ease; }
.progress .fill { background-image: repeating-linear-gradient(90deg, rgba(14,36,56,.55) 0 1.5px, transparent 1.5px 10px); background-color: var(--tape); }
.wstep { display: none; } .wstep.active { display: block; }
.wstep h2 { margin-bottom: 1rem; }
.svc-pick { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.svc-pick li { border-bottom: 1px solid var(--line); }
.svc-pick .line { display: flex; align-items: center; gap: .9rem; padding: .75rem 0; }
.svc-pick .line > label { flex: 1; margin: 0; display: flex; gap: .8rem; align-items: center; cursor: pointer; font-weight: 400; }
.svc-pick input[type=checkbox] { width: 24px; height: 24px; accent-color: var(--ink); flex: none; }
.svc-pick .price { font-weight: 700; white-space: nowrap; font-size: .95rem; }
.qty { display: none; align-items: center; gap: .4rem; }
.svc-pick li.on .qty { display: inline-flex; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; font: 600 1.2rem var(--font); cursor: pointer; line-height: 1; }
.qty output { min-width: 1.6rem; text-align: center; font-weight: 700; }
.cat-title { font-weight: 700; margin: 1.6rem 0 .2rem; padding-bottom: .3rem; border-bottom: 2px solid var(--ink); }
.photos { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .8rem; }
.photos .ph { width: 84px; height: 84px; border-radius: 8px; object-fit: cover; border: 1.5px solid var(--line); }
.ph-wrap { position: relative; } .ph-wrap button { position: absolute; top: -8px; inset-inline-end: -8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.wnav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; position: sticky; bottom: 0; background: var(--paper);
  padding: .8rem 0 calc(.8rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
body.page-request { padding-block-end: 0; }
.windows { display: grid; gap: .6rem; } @media (min-width: 560px) { .windows { grid-template-columns: repeat(3, 1fr); } }
.windows label { margin: 0; border: 1.5px solid #9FB0BF; border-radius: 8px; padding: .8rem 1rem; cursor: pointer; background: #fff; font-weight: 500; display: flex; gap: .6rem; align-items: center; }
.windows input { accent-color: var(--ink); width: 20px; height: 20px; }
.windows label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.windows label.off { opacity: .45; cursor: not-allowed; }
.summary { border-top: 2px solid var(--ink); } .summary dl { margin: 0; } .summary .r { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.summary dt { flex: 0 0 8rem; color: var(--steel); } .summary dd { margin: 0; flex: 1; }
.estimate { font-size: 1.5rem; font-weight: 700; }
.notice { padding: .9rem 1.1rem; border-radius: 8px; background: #fff; border: 1.5px solid var(--ok); margin-bottom: 1.5rem; }
.notice.warn { border-color: var(--err); }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
.badge { display: inline-block; background: var(--ink); color: #fff; border-radius: 999px; padding: .15rem .9rem; font-size: .95rem; font-weight: 500; }
.code { font-weight: 700; font-size: 1.6rem; letter-spacing: .02em; direction: ltr; unicode-bidi: isolate; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.rate { display: flex; gap: .4rem; direction: ltr; } .rate input { position: absolute; opacity: 0; } .rate label { font-size: 2rem; cursor: pointer; line-height: 1; margin: 0; color: #B5C2CE; }
.rate input:checked + label, .rate label:hover { color: var(--ink); } .rate input:focus-visible + label { outline: 3px solid var(--sea); }
.rate-wrap input { position: absolute; opacity: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
