/* Сеть сайтов «Домиана»: брендбук 2024 — красный D6001C только в заголовках и акцентах (90:10), фон F6F6F6, текст 3D3D3D,
   серый E8E8E8; заголовки Inter SemiBold ЗАГЛАВНЫМИ, текст Wix Madefor Display; списки стрелками →; блоки со скруглением 14. */
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/inter-600.woff") format("woff"); }
@font-face { font-family: "Wix Madefor Display"; font-weight: 400 800; font-style: normal; font-display: swap; src: url("/assets/wix-text.woff") format("woff"); }
:root { --red: #D6001C; --bg: #F6F6F6; --ink: #3D3D3D; --grey: #E8E8E8; --line: #CFCFCF; --r: 14px; --w: 1080px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Wix Madefor Display", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
img, svg { max-width: 100%; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: "Inter", "Wix Madefor Display", system-ui, sans-serif; font-weight: 600; text-transform: uppercase; color: var(--red); line-height: 1.15; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(26px, 6.4vw, 46px); }
h2 { font-size: clamp(21px, 4.6vw, 30px); margin-top: 0; }
h3 { font-size: 17px; color: var(--ink); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 3.6vw, 21px); }

.top { background: var(--bg); border-bottom: 1px solid var(--grey); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 2px; padding-bottom: 2px; }
.top .brand, .top .tel { display: inline-block; padding: 10px 0; }
.brand { font: 600 15px/1.1 "Inter", system-ui, sans-serif; text-transform: uppercase; color: var(--ink); text-decoration: none; letter-spacing: .04em; }
.brand b { color: var(--red); font-weight: 600; }
.tel { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.tel small { display: none; font-weight: 400; margin-right: .5em; }
.btn { display: inline-block; border: 0; cursor: pointer; background: var(--red); color: #fff; font: 700 17px/1 "Wix Madefor Display", system-ui, sans-serif; padding: 16px 26px; border-radius: var(--r); text-decoration: none; text-align: center; }
.btn:hover { background: #b80018; }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 14px 24px; }

.hero { padding: 36px 0 28px; }
.hero .grid { display: grid; gap: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.tags li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 14px; font-size: 14px; }
section { padding: 30px 0; }
section.alt { background: var(--grey); }
section.alt > .wrap > h2, section.alt > .wrap > h1 { color: #C20019; }   /* на сером красный бренда даёт 4,4:1, этот оттенок — 5,2:1 */
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
.card { background: #fff; border-radius: var(--r); padding: 20px; border: 1px solid var(--grey); }
section.alt .card { border-color: transparent; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--red); }
a.card .more { color: var(--red); font-weight: 700; }
.arrows { list-style: none; margin: 0 0 1em; padding: 0; }
.arrows li { padding-left: 1.6em; position: relative; margin-bottom: .45em; }
.arrows li::before { content: "→"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--r); padding: 18px 20px 18px 64px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font: 600 16px/32px "Inter", sans-serif; text-align: center; }
details { background: #fff; border-radius: var(--r); padding: 14px 18px; margin-bottom: 10px; border: 1px solid var(--grey); }
summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: 8px; }
.note { font-size: 14px; opacity: .85; }
.crumbs { font-size: 14px; padding: 14px 0 0; }

.form { background: #fff; border-radius: var(--r); padding: 22px; border: 1px solid var(--grey); }
.form h2 { font-size: 22px; }
.form label.f { display: block; font-weight: 700; margin-bottom: 14px; }
.form input[type=text], .form input[type=tel] { display: block; width: 100%; margin-top: 6px; font: 400 18px/1.2 "Wix Madefor Display", system-ui, sans-serif; padding: 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.form .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 16px; line-height: 1.45; }
.form .agree input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--red); }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .msg { margin: 14px 0 0; font-weight: 700; min-height: 1.4em; }
.form .msg.ok { color: #1c6b2f; }
.form .msg.bad { color: var(--red); }
.form .btn { width: 100%; }

footer { background: var(--ink); color: var(--bg); padding: 28px 0 90px; font-size: 14px; line-height: 1.55; }
footer a { color: var(--bg); }
footer .slogan { font: 600 14px/1.2 "Inter", sans-serif; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
footer .slogan b { color: #ff8795; font-weight: 600; }
.call-fixed { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px; background: rgba(246,246,246,.96); border-top: 1px solid var(--grey); display: flex; gap: 10px; z-index: 5; }
.call-fixed .btn { flex: 1; padding: 14px 10px; font-size: 16px; }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 74px; background: var(--ink); color: var(--bg); border-radius: var(--r); padding: 14px 16px; font-size: 13px; z-index: 6; display: none; }
.cookie a { color: var(--bg); }
body:has(#cookie[style*="block"]) footer { padding-bottom: 210px; }
.cookie button { margin-top: 8px; background: var(--bg); color: var(--ink); border: 0; border-radius: 8px; padding: 11px 20px; font: 700 14px "Wix Madefor Display", sans-serif; cursor: pointer; }
.doc h1 { font-size: clamp(24px, 5vw, 34px); }
.doc h2 { font-size: 19px; margin-top: 1.6em; }
.doc { padding: 24px 0 40px; max-width: 760px; }
.hide-print { }
.mk-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.mk { margin: 0; }
.mk img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.mk figcaption { font-size: 14px; margin-top: 8px; color: var(--ink); }
.mk-slot div { border: 2px dashed var(--grey); border-radius: var(--r); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 14px; }

@media (min-width: 760px) {
  body { font-size: 18px; }
  .tel small { display: inline; }
  .hero { padding: 64px 0 48px; }
  .hero .grid { grid-template-columns: 1.25fr 1fr; align-items: start; gap: 40px; }
  section { padding: 52px 0; }
  .cards.c2 { grid-template-columns: 1fr 1fr; }
  .cards.c3 { grid-template-columns: 1fr 1fr 1fr; }
  .mk-grid { grid-template-columns: 1fr 1fr 1fr; }
  .call-fixed { display: none; }
  footer { padding-bottom: 36px; }
  .cookie { bottom: 16px; left: auto; max-width: 420px; }
  body:has(#cookie[style*="block"]) footer { padding-bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .call-fixed, .cookie, .form { display: none !important; } body { background: #fff; } }
.mk a { display: block; cursor: zoom-in; }
