:root {
  --ink: #17175c;
  --ink-2: #10103f;
  --gold: #e8bd3e;
  --gold-2: #dcae2c;
  --bg: #f6f6f3;
  --white: #fff;
  --black: #101014;
  --text: #17171c;
  --mid: #55555f;
  --line: #e1e1dc;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--ink); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }

.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(800px, 100% - 40px); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.muted { color: var(--mid); font-size: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 2px solid transparent; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.btn--gold { background: var(--gold); color: var(--black); border-color: var(--black); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--line { border-color: #fff; color: #fff; background: transparent; }
.btn--line:hover { background: #fff; color: var(--black); }
.btn--line-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line-ink:hover { background: var(--ink); color: #fff; }
.btn--line-light { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--wide { width: 100%; min-height: 54px; font-size: 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--black); color: #fff; }
.top__in { display: flex; align-items: center; gap: 22px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; line-height: 1.2; margin-right: auto; }
.logo__mark { flex: none; }
.top__hours { display: flex; align-items: center; gap: 8px; color: #c9c9d0; font-size: 13px; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.top__tel { color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; white-space: nowrap; }
.top .btn { min-height: 40px; padding: 7px 16px; font-size: 14px; }

/* hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; padding-block: 56px; align-items: start; }
.hero h1 { font-size: clamp(32px, 4.3vw, 50px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--ink); }
.hero__lead { margin-top: 18px; font-size: 18px; color: var(--mid); }
.facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 30px; padding-block: 20px; border-block: 1px solid var(--line); }
.facts b { display: block; font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.facts span { font-size: 13px; color: var(--mid); }
.ticks { margin-top: 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 13px; height: 7px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }
.card { background: var(--white); border: 2px solid var(--gold); border-radius: var(--radius); padding: 28px; }
.card h2, .modal h2 { font-size: 24px; font-weight: 800; line-height: 1.2; }
.card__sub { margin: 6px 0 20px; color: var(--mid); font-size: 14px; }

/* form */
.lead { display: grid; gap: 16px; }
.field span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.field input, .field textarea { display: block; width: 100%; padding: 12px 14px; background: #fff; border: 1.5px solid #c9c9c3; border-radius: 8px; resize: vertical; }
.field input { min-height: 48px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid rgba(23, 23, 92, .18); outline-offset: 0; }
.field input.bad { border-color: #c92020; }
.field ::placeholder { color: #85858c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__err { color: #b91c1c; font-size: 14px; font-weight: 600; }
.lead__err a { color: inherit; }
.lead__legal { font-size: 12px; color: var(--mid); text-align: center; }
.lead__ok { padding: 18px; background: #edf8f0; border: 1px solid #a8dcb7; border-radius: 8px; color: #14401f; }
.lead__ok strong { display: block; font-size: 18px; margin-bottom: 4px; }
.lead__ok a { color: inherit; font-weight: 700; white-space: nowrap; }
.lead.is-sent > :not(.lead__ok) { display: none; }
.lead--dark .field span { color: #dcdcef; }
.lead--dark .lead__legal, .lead--dark .lead__legal a { color: #babad6; }
.lead--dark .lead__err { color: #ffb4ad; }

/* marquee */
.marquee { overflow: hidden; background: var(--black); padding-block: 14px; }
.marquee__track { display: flex; width: max-content; animation: slide 45s linear infinite; }
.marquee span { padding-inline: 26px; color: #b5b5bc; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
.sec { padding-block: 72px; }
.sec--white { background: var(--white); }
.sec__h { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; margin-bottom: 30px; }

/* service area */
.area__lead { max-width: 720px; margin: -14px 0 26px; font-size: 17px; color: var(--mid); }
.area { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.area li { padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.area li:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.area li:first-child p { color: #dcdcef; }
.area li:last-child { grid-column: span 2; }
.area h3 { margin-bottom: 8px; font-size: 18px; font-weight: 800; }
.area p { font-size: 15px; color: var(--mid); }

/* services */
.svcs { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc summary { display: flex; align-items: center; gap: 18px; min-height: 68px; padding: 12px 8px; cursor: pointer; list-style: none; transition: background-color .15s; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary:hover { background: #fff; }
.svc__num { width: 44px; flex: none; font-size: 26px; font-weight: 800; color: #cfcfca; }
.svc__ico { flex: none; display: flex; color: var(--ink); }
.svc__name { flex: 1; min-width: 0; font-size: 18px; font-weight: 700; }
.svc__arr { flex: none; width: 10px; height: 10px; margin-right: 8px; border-right: 2px solid var(--mid); border-bottom: 2px solid var(--mid); transform: rotate(45deg); transition: transform .2s; }
.svc[open] .svc__arr { transform: rotate(-135deg); }
.svc__body { padding: 0 8px 24px 106px; }
.svc__body p { max-width: 700px; color: var(--mid); margin-bottom: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; background: #fff; border: 1px solid #cfcfc9; border-radius: 8px; font-size: 14px; font-weight: 500; transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chips--brands { margin-bottom: 16px; }
.chips--brands .chip { font-weight: 700; background: var(--bg); }

/* prices */
.pricebox { display: grid; grid-template-columns: 270px minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.tabs { display: flex; flex-direction: column; background: #efefeb; border-right: 1px solid var(--line); }
.tabs button { padding: 14px 18px; text-align: left; background: transparent; border: 0; border-left: 3px solid transparent; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--mid); }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--white); border-left-color: var(--ink); color: var(--ink); font-weight: 800; }
.panels { display: flex; flex-direction: column; min-width: 0; padding: 20px; }
.panel { flex: 1; }
.rows { display: grid; gap: 6px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 46px; padding: 9px 14px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 8px; transition: border-color .15s, background-color .15s; }
.row:hover { border-color: var(--ink); background: #f7f7fc; }
.row span { font-size: 15px; font-weight: 500; }
.row b { flex: none; color: var(--ink); font-weight: 800; white-space: nowrap; }
.panel__empty { padding: 20px 4px; color: var(--mid); font-size: 17px; }
.pricebox__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 16px; padding: 16px; background: #eeeef8; border-radius: 8px; }
.pricebox__foot b { display: block; }
.pricebox__foot span { font-size: 14px; color: var(--mid); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { padding: 26px 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.step__n { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 16px; background: var(--ink); color: #fff; border-radius: 50%; font-size: 14px; font-weight: 800; }
.steps h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.steps p { font-size: 14px; color: var(--mid); }

/* business */
.biz { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.biz > div { max-width: 660px; }
.biz .sec__h { margin-bottom: 14px; }

/* cta */
.cta { background: var(--ink); color: #fff; padding-block: 72px; }
.cta__in { max-width: 620px; text-align: center; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 800; margin-bottom: 12px; }
.cta p { color: #dcdcef; }
.cta a { color: #fff; font-weight: 700; white-space: nowrap; }
.cta .lead { margin-top: 30px; text-align: left; }

/* faq */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 40px 18px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 26px; font-weight: 400; color: var(--ink); }
.faq[open] summary::after { content: "−"; }
.faq p { padding-bottom: 20px; color: var(--mid); max-width: 700px; }

/* contacts */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contacts .sec__h { margin-bottom: 18px; }
.contacts__tel a { font-size: 26px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.contacts h3 { margin-bottom: 12px; font-size: 16px; font-weight: 800; }
.addr { display: grid; gap: 6px; font-size: 15px; }
.addr b { display: block; font-weight: 600; }

/* footer */
.foot { background: var(--black); color: #b5b5bc; font-size: 14px; padding-block: 24px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: inherit; }

/* mobile call bar */
.mobbar { display: none; }

/* dialog */
.modal { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 28px; border: 0; border-radius: var(--radius); overflow-y: auto; }
.modal::backdrop { background: rgba(10, 10, 30, .65); }
.modal__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--mid); }

/* inner pages */
.doc { padding-block: 48px 72px; }
.doc__in { max-width: 760px; }
.doc h1 { font-size: clamp(24px, 4vw, 40px); line-height: 1.15; font-weight: 800; margin-bottom: 22px; overflow-wrap: anywhere; }
.doc h2 { font-size: 20px; font-weight: 800; margin: 28px 0 10px; }
.doc p { margin-bottom: 12px; }
.doc ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.doc li { margin-bottom: 4px; }

@media (max-width: 1000px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 38px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top__hours { display: none; }
}

@media (max-width: 1000px) {
  .area { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .area { grid-template-columns: minmax(0, 1fr); }
  .area li:last-child { grid-column: auto; }
  body { padding-bottom: 68px; }
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .top__in { gap: 12px; min-height: 54px; }
  .logo__txt { display: none; }
  .logo { margin-right: 0; }
  .top__tel { margin-left: auto; font-size: 16px; }
  .top .btn { display: none; }
  .sec, .cta { padding-block: 50px; }
  .card { padding: 20px; }
  .svc summary { gap: 12px; min-height: 60px; padding-inline: 2px; }
  .svc__num { display: none; }
  .svc__name { font-size: 16px; }
  .svc__body { padding: 0 2px 20px; }
  .pricebox { grid-template-columns: minmax(0, 1fr); }
  .tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
  .tabs button { flex: none; white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
  .tabs button[aria-selected="true"] { border-left: 0; border-bottom-color: var(--ink); }
  .panels { padding: 12px; }
  .row { padding-inline: 10px; }
  .row span { font-size: 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .biz { flex-direction: column; align-items: flex-start; gap: 22px; }
  .biz .btn { width: 100%; white-space: normal; text-align: center; }
  .contacts { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .mobbar { position: fixed; z-index: 15; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
}

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