/* КерамПринт: тёплый кремовый фон, графит, золото — как в макете */
:root {
  --bg: #f7f3ed; --paper: #ffffff; --cream: #f1e9dc; --ink: #1e1b17; --muted: #6d655b; --line: #e6ddd0;
  --gold: #b38b4a; --gold-2: #8f6a31; --gold-soft: #f5ecdc; --dark: #232120; --err: #b3261e; --ok: #2e7d4f;
  --grad: linear-gradient(135deg, #cfa964 0%, #b38b4a 45%, #8f6a31 100%);
  --display: "Montserrat", "Arial Black", Arial, sans-serif;
  --body: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 84px }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased }
img, svg { max-width: 100% }
a { color: inherit }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)) }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.01em; text-wrap: balance; margin: 0 }
h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px }
.muted { color: var(--muted) }
.sec { padding-block: 44px }
button, input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 3px solid #e2b85c; outline-offset: 2px }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; padding: 15px 24px; font: 700 15px/1.2 var(--display); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s }
.btn.gold { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(143, 106, 49, .28) }
.btn.gold:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(143, 106, 49, .34) }
.btn.ghost { background: transparent; border: 1.5px solid var(--gold); color: var(--gold-2) }
.btn.small { padding: 10px 16px; font-size: 13px; border-radius: 10px }
.btn[disabled] { opacity: .5; cursor: default; transform: none; box-shadow: none }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; font-weight: 500; padding: 8px 0 }

/* шапка */
.top { position: sticky; top: 0; z-index: 30; background: rgba(247, 243, 237, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 72px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none }
.brand img { width: 52px; height: auto }
.brand b { display: block; font: 800 24px/1 var(--display); letter-spacing: -.02em }
.brand b i { font-style: normal; color: var(--gold) }
.brand small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; max-width: 190px; line-height: 1.3 }
.nav { display: flex; gap: 18px; margin-left: auto; font-size: 14px; font-weight: 500 }
.nav a { text-decoration: none; color: var(--ink); opacity: .85 } .nav a:hover { color: var(--gold-2); opacity: 1 }
.top-contacts { display: flex; flex-direction: column; font: 600 13px/1.35 var(--display); white-space: nowrap }
.top-contacts a { text-decoration: none }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px }
@media (max-width: 1080px) { .top-contacts { display: none } }
@media (max-width: 900px) {
  .burger { display: block }
  .top-in > .btn { display: none }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-left)) 16px }
  .nav.open { display: flex }
  .nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line) }
  .brand small { display: none }
}

/* первый экран */
.hero { background: linear-gradient(180deg, #fbf8f3 0%, var(--bg) 100%); padding-top: 36px }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center }
.eyebrow { font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 14px }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.04; font-weight: 800 }
.lead { font-size: 18px; color: #423c35; max-width: 34em; margin: 18px 0 26px }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px }
.hero-facts b { display: block; font: 800 22px/1.1 var(--display); color: var(--gold-2) } .hero-facts span { font-size: 13px; color: var(--muted) }
.plaques { width: 100%; height: auto; display: block }
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 34px; background: var(--paper); border-radius: 16px; box-shadow: 0 6px 24px rgba(60, 45, 25, .06) }
.benefits div { display: flex; align-items: center; gap: 12px; padding: 18px 16px; font-size: 13.5px; line-height: 1.35; border-right: 1px solid var(--line) }
.benefits div:last-child { border-right: 0 }
.benefits svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr } .hero-art { order: -1; max-width: 460px; margin: 0 auto }
  .benefits { grid-template-columns: 1fr 1fr } .benefits div { border-bottom: 1px solid var(--line) } .benefits div:nth-child(2n) { border-right: 0 }
}

/* направления */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.dir { background: var(--paper); border-radius: 16px; padding: 18px; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; box-shadow: 0 4px 18px rgba(60, 45, 25, .05); text-decoration: none }
.dir svg { width: 96px; height: 110px }
.dir h3 { font-size: 18px } .dir p { margin: 6px 0 10px; color: var(--muted); font-size: 14px }
.dir .price { font: 700 15px var(--display); color: var(--gold-2) } .dir .days { font-size: 13px; color: var(--muted); display: block }
@media (max-width: 860px) { .dirs { grid-template-columns: 1fr } }
.note { display: flex; gap: 14px; align-items: flex-start; background: var(--gold-soft); border-radius: 14px; padding: 16px 18px; margin-top: 18px; font-size: 14.5px }
.note svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--gold-2); stroke-width: 1.8; stroke-linecap: round } .note p { margin: 0 }

/* каталог */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px }
.tab { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 10px 18px; font: 600 14px var(--display); cursor: pointer }
.tab[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent }
.cat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start }
@media (max-width: 900px) { .cat { grid-template-columns: 1fr } }
.card { background: var(--paper); border-radius: 16px; padding: 18px; box-shadow: 0 4px 18px rgba(60, 45, 25, .05); min-width: 0 }
.card h3 { font-size: 18px; margin-bottom: 12px }
.tbl { overflow-x: auto }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums }
th { text-align: left; font: 600 12px var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border-bottom: 1.5px solid var(--line) }
td { padding: 9px 10px; border-bottom: 1px solid var(--line) } td.r, th.r { text-align: right; white-space: nowrap } tr:last-child td { border-bottom: 0 }
td b { font-weight: 600 }
.holes { display: grid; gap: 14px }
.holes h4 { margin: 0 0 8px; font: 700 14px var(--display) }
.hole-row { display: flex; flex-wrap: wrap; gap: 10px }
.hole { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px 6px; text-align: center; font-size: 12px; color: var(--muted) }
.hole b { display: block; color: var(--ink); font: 600 13px var(--display); margin-bottom: 4px }
.hole svg { width: 46px; height: 58px; display: inline-block; margin: 0 2px }
.terms { display: grid; gap: 10px; margin-top: 14px; font-size: 14px }
.terms div { background: var(--gold-soft); border-radius: 12px; padding: 12px 14px } .terms b { display: block }

/* услуги */
.svc { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: center; background: var(--paper); border-radius: 16px; padding: 20px; box-shadow: 0 4px 18px rgba(60, 45, 25, .05) }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr } }
.retouch figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden }
.retouch img { width: 100%; height: auto; display: block }
.retouch figcaption { position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: 1fr 1fr; text-align: center; font: 600 12px var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); padding: 18px 0 8px }
.retouch small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--grad) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%23fff' stroke-width='2.2' fill='none'/%3E%3C/svg%3E") center/14px no-repeat }
.checks b { font-weight: 600; white-space: nowrap }
.warn { font-size: 14px; color: var(--muted); margin: 14px 0 0 }

/* как заказать */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px }
.steps li { counter-increment: s; background: var(--paper); border-radius: 14px; padding: 18px; position: relative; box-shadow: 0 4px 18px rgba(60, 45, 25, .05) }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 15px var(--display); margin-bottom: 10px }
.steps b { display: block; font-family: var(--display) } .steps span { font-size: 14px; color: var(--muted) }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr } } @media (max-width: 480px) { .steps { grid-template-columns: 1fr } }

/* заявка */
.order-sec { background: linear-gradient(180deg, var(--bg), #efe7da); padding-block: 48px }
.order-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px }
.order-head h2 { margin-bottom: 4px }
.stepper { list-style: none; counter-reset: st; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap }
.stepper li { counter-increment: st; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted) }
.stepper li::before { content: counter(st); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line); font: 700 13px var(--display); color: var(--ink) }
.stepper li + li::after { content: none } .stepper li:not(:last-child) { padding-right: 8px; border-right: 1px solid var(--line) }
.stepper li.on { color: var(--ink); font-weight: 600 } .stepper li.on::before { background: var(--grad); color: #fff; border-color: transparent }
.stepper li.done::before { content: "✓"; background: var(--gold-soft); border-color: var(--gold); color: var(--gold-2) }
.order-grid { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start }
@media (max-width: 960px) { .order-grid { grid-template-columns: 1fr } }
.panel { background: var(--paper); border-radius: 18px; padding: 22px; box-shadow: 0 6px 24px rgba(60, 45, 25, .07); min-width: 0 }
.q { margin-bottom: 22px } .q:last-child { margin-bottom: 0 }
.q > h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 12px }
.q > h3 i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; flex: none }
.q .hint { font-size: 13px; color: var(--muted); margin: -6px 0 10px }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px }
.opt { position: relative; display: flex; gap: 12px; align-items: center; text-align: left; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; min-height: 64px }
.opt:hover { border-color: #d6c4a3 }
.opt[aria-checked="true"] { border-color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold) }
.opt[aria-checked="true"]::after { content: "✓"; position: absolute; top: 8px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; display: grid; place-items: center }
.opt b { display: block; font: 700 14.5px/1.25 var(--display) } .opt small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px }
.opt svg { width: 40px; height: 48px; flex: none }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip { border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px; padding: 9px 14px; cursor: pointer; font-weight: 500; font-variant-numeric: tabular-nums }
.chip small { display: block; font-size: 11.5px; color: var(--muted) }
.chip[aria-checked="true"] { border-color: var(--gold); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold) }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px } @media (max-width: 640px) { .row2 { grid-template-columns: 1fr } }
.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-size: 20px; cursor: pointer } .qty input { width: 56px; height: 44px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none }
.drop { border: 1.5px dashed #d2c3a8; border-radius: 14px; padding: 16px; display: flex; gap: 14px; align-items: center; cursor: pointer; background: #fcfaf6 }
.drop.over { background: var(--gold-soft); border-color: var(--gold) }
.drop svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round }
.drop small { display: block; color: var(--muted); font-size: 12.5px }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px }
.thumb { position: relative; width: 84px; height: 100px; border-radius: 10px; overflow: hidden; background: var(--cream); display: grid; place-items: center; font-size: 11px; color: var(--muted); text-align: center }
.thumb img { width: 100%; height: 100%; object-fit: cover } .thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(30, 27, 23, .75); color: #fff; cursor: pointer; line-height: 1 }
.lines { border: 1px solid var(--line); border-radius: 14px; overflow: hidden }
.line { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); cursor: pointer }
.line:last-child { border-bottom: 0 } .line input[type=checkbox], .line input[type=radio] { width: 18px; height: 18px; accent-color: var(--gold-2); margin: 0 }
.line small { display: block; color: var(--muted); font-size: 12.5px } .line .pr { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums }
.line.static { cursor: default }
.inline-qty { display: inline-flex; align-items: center; gap: 6px } .inline-qty input { width: 56px; padding: 6px; border: 1.5px solid var(--line); border-radius: 8px; text-align: center }
label.f { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px }
label.f input, label.f textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 16px; color: var(--ink); background: var(--paper); width: 100% }
label.f textarea { min-height: 90px; resize: vertical }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-top: 6px } .consent input { width: 18px; height: 18px; accent-color: var(--gold-2); flex: none; margin-top: 2px }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0 }
.nav-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap }
.err { color: var(--err); font-size: 14px; margin-top: 10px }
.review { display: grid; gap: 8px; font-size: 15px } .review div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px } .review span:first-child { color: var(--muted) }
.done-box { text-align: center; padding: 24px 8px } .done-box svg { width: 64px; height: 76px } .done-box h3 { font-size: 24px; margin: 12px 0 8px } .done-box .big { font: 800 48px var(--display); color: var(--gold) }

/* итог справа */
.summary { position: sticky; top: 90px; display: grid; gap: 14px; min-width: 0 }
.sum-card { background: var(--paper); border-radius: 18px; padding: 18px; box-shadow: 0 6px 24px rgba(60, 45, 25, .07) }
.sum-card h3 { font-size: 18px; margin-bottom: 12px; display: flex; gap: 10px; align-items: center }
.sum-list { display: grid; gap: 8px; font-size: 14px }
.sum-list div { display: flex; justify-content: space-between; gap: 12px } .sum-list span:first-child { color: var(--muted) } .sum-list span:last-child { text-align: right; font-weight: 500 }
.total { margin-top: 14px; background: var(--gold-soft); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px }
.total span { font: 700 15px var(--display) } .total b { font: 800 28px var(--display); white-space: nowrap; font-variant-numeric: tabular-nums }
.sum-note { font-size: 13px; color: var(--muted); margin: 10px 0 0 }
.sum-small { background: var(--paper); border-radius: 16px; padding: 14px 16px; font-size: 13.5px; box-shadow: 0 4px 18px rgba(60, 45, 25, .05) }
.sum-small b { font-family: var(--display) } .sum-small ul { margin: 8px 0 0; padding-left: 18px } .sum-small .no { color: var(--err); margin-top: 8px }
@media (max-width: 960px) { .summary { position: static } .sum-small { display: none } }

/* частые вопросы */
.faq { display: grid; gap: 10px; max-width: 860px }
.faq details { background: var(--paper); border-radius: 14px; padding: 4px 18px; box-shadow: 0 4px 18px rgba(60, 45, 25, .04) }
.faq summary { cursor: pointer; padding: 14px 0; font: 600 15.5px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 12px }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1 } .faq details[open] summary::after { content: "–" }
.faq p { margin: 0 0 14px; color: #48413a }

/* подвал */
.foot { background: var(--dark); color: #e9e2d6; padding-block: 34px calc(34px + env(safe-area-inset-bottom)) }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 20px; align-items: center }
.brand.light small { color: #a89f92 } .foot-c span { display: block; font-size: 12.5px; color: #a89f92 } .foot-c a { font: 700 16px var(--display); text-decoration: none; color: #fff }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr } .foot-in .brand { grid-column: 1 / -1 } }
.fab { display: none }
@media (max-width: 760px) {
  .fab { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; justify-content: center; padding: 15px; border-radius: 14px; background: var(--grad); color: #fff; font: 700 15px var(--display); text-decoration: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .22) }
  .fab.hide { display: none }
  body { padding-bottom: 76px }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } .btn { transition: none } }

/* примеры (иллюстрации) */
.ill-note { font-size: 13.5px; margin: -8px 0 18px }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--cream) }
.gallery figure.tall { grid-row: span 2 }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s }
.gallery figure:hover img { transform: scale(1.03) }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 22px 12px 10px; color: #fff; font: 600 13px/1.25 var(--display); background: linear-gradient(transparent, rgba(20,17,14,.72)) }
.gallery figcaption span, .prod figcaption + span { display: block; font: 500 10px var(--body); letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin-top: 3px }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px } }
.prod { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.prod figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden }
.prod img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block }
.prod figcaption { padding: 14px 16px 16px; font-size: 14px; color: var(--muted) }
.prod figcaption b { display: block; color: var(--ink); font: 700 16px var(--display); margin-bottom: 4px }
#production .ill-note { margin: 12px 0 0 }
@media (max-width: 860px) { .prod { grid-template-columns: 1fr } }
.consent a, .review + p a { color: var(--gold-2) }
/* подвал: реквизиты */
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding-top: 16px; font-size: 12.5px; color: #a89f92 }
.foot-legal p { margin: 4px 0 } .foot-legal a { color: #d9cdb9 }
/* юридические страницы */
.legal { max-width: 860px; padding-block: 32px 60px }
.legal h1 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 8px }
.legal h1 + p { color: var(--muted); margin-top: 0 }
.legal h2 { font-size: 20px; margin: 28px 0 10px }
.legal p, .legal li { line-height: 1.6 }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line) }
.legal th { background: var(--gold-soft); font-weight: 600 }
.legal a { color: var(--gold-2) }
.legal-links { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px }

/* баннер вошедшего партнёра */
.partner-bar { background: var(--dark); color: #f3ead9; font-size: 14px }
.partner-bar .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding-block: 8px; flex-wrap: wrap }
.partner-bar a { color: #e8cf9b; font-weight: 600 }
