@import url(/fonts/fonts.css);

:root {
  --bg: #0F1113;
  --bg2: #16191C;
  --card: #1C2024;
  --line: rgba(255, 255, 255, .1);
  --fg: #F2EEE6;
  --muted: #A8A59D;
  --gold: #E2A63B;
  --gold2: #F2C46D;
  --wood: #B9814A;
  --ok: #5FBF7A;
  --bad: #E2675B;
  --paper: #F4F0E8;
  --ink: #17191B;
  --r: 18px;
  --wrap: 1200px;
  --head: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3vw, 38px); text-transform: uppercase; }
h3 { font-size: 19px; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 680px; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec.alt { background: var(--bg2); }
.sec.paper { background: var(--paper); color: var(--ink); }
.sec.paper .muted, .sec.paper .lead { color: #5E5A52; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .lead { max-width: 520px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
[hidden] { display: none !important; }
.btn.pri { background: var(--gold); color: #1A1407; }
.btn.pri:hover { background: var(--gold2); }
.btn.ghost { border-color: rgba(255, 255, 255, .35); color: var(--fg); background: rgba(0, 0, 0, .15); backdrop-filter: blur(6px); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold2); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Шапка */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(15, 17, 19, .92); backdrop-filter: blur(12px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo svg { width: 38px; height: 38px; }
.logo b { font-family: var(--head); font-size: 19px; letter-spacing: .04em; }
.logo b span { color: var(--gold); }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { text-decoration: none; font-size: 14px; font-weight: 600; color: #D9D5CC; }
.menu a:hover { color: var(--gold2); }
.top-phone { text-decoration: none; font-weight: 800; font-size: 16px; white-space: nowrap; }
.top-phone small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.top .btn { min-height: 44px; padding: 0 20px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; margin-left: auto; }
.burger span { display: block; width: 18px; height: 2px; background: var(--fg); margin: 4px auto; border-radius: 2px; }

/* Первый экран */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 48px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: url(/img/hero.webp) center/cover no-repeat; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 12, .65) 0%, rgba(10, 11, 12, .25) 40%, rgba(10, 11, 12, .9) 100%), linear-gradient(90deg, rgba(10, 11, 12, .7), transparent 70%); }
.hero h1 { font-size: clamp(28px, 4.4vw, 58px); text-transform: uppercase; max-width: 20ch; }
.hero .lead { color: #DCD7CD; margin-top: 22px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: clamp(48px, 8vh, 96px); background: rgba(255, 255, 255, .14); border-radius: var(--r); overflow: hidden; backdrop-filter: blur(10px); }
.facts div { background: rgba(14, 16, 18, .55); padding: 18px 20px; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #E7E2D8; }
.facts b { display: block; font-family: var(--head); font-size: 22px; color: var(--gold); margin-bottom: 4px; }

/* Преимущества ЦСП */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv article { position: relative; background: var(--card); border-radius: var(--r); padding: 28px 26px 0; overflow: hidden; display: flex; flex-direction: column; min-height: 420px; border: 1px solid var(--line); }
.adv .n { font-family: var(--head); color: var(--gold); font-size: 14px; }
.adv h3 { margin: 10px 0 10px; text-transform: uppercase; }
.adv p { color: var(--muted); font-size: 15px; }
.adv img { margin: auto -26px 0; width: calc(100% + 52px); height: 220px; object-fit: cover; object-position: center top; }

/* Проекты */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj { background: #fff; color: var(--ink); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); transition: transform .2s, box-shadow .2s; }
.proj:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); }
.proj img { aspect-ratio: 7/5; width: 100%; object-fit: cover; }
.proj .body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.proj h3 { font-size: 22px; }
.proj dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 4px 12px; margin: 0; }
.proj dt { font-size: 12px; color: #77736B; text-transform: uppercase; letter-spacing: .06em; }
.proj dd { margin: 0; font-weight: 800; }
.proj .price { font-family: var(--head); font-size: 20px; color: #9A6A12; }
.proj .btn { margin-top: auto; }
.badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--gold); color: #1A1407; padding: 4px 10px; border-radius: 999px; align-self: start; }

/* Форма-баннер */
.cta-band { position: relative; border-radius: calc(var(--r) + 8px); overflow: hidden; isolation: isolate; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.cta-band .bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.cta-band .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 13, 14, .92) 0%, rgba(12, 13, 14, .7) 60%, rgba(12, 13, 14, .45)); }
.cta-band h2 { font-size: clamp(24px, 3vw, 38px); }
.cta-band p.lead { margin-top: 14px; color: #D3CEC4; }

/* Формы */
.form { display: grid; gap: 12px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #CFCAC0; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); font-size: 16px; font-weight: 500; outline: none; transition: border-color .2s, background .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); background: rgba(255, 255, 255, .1); }
.field input::placeholder, .field textarea::placeholder { color: #8D897F; }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--gold); flex: none; }
.consent a { color: inherit; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 14px; min-height: 0; }
.form-msg.err { color: #FF9E92; }
.contact-way { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-way label { cursor: pointer; }
.contact-way input { position: absolute; opacity: 0; }
.contact-way span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: 14px; font-weight: 600; }
.contact-way input:checked + span { background: var(--gold); border-color: var(--gold); color: #1A1407; }
.contact-way input:focus-visible + span { outline: 2px solid var(--gold2); outline-offset: 2px; }
.paper .field { color: #4E4A43; }
.paper .field input, .paper .field textarea { border-color: #D8D1C3; background: #fff; }
.paper .consent { color: #6C675E; }

/* О компании */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split img.ph { border-radius: var(--r); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.stack { display: grid; gap: 18px; }
.mission { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.mission article { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mission img { width: 100%; aspect-ratio: 16/11; object-fit: cover; background: #0B0C0D; }
.mission .body { padding: 22px 24px 26px; }
.mission h3 { text-transform: uppercase; margin: 6px 0 10px; }
.mission p { color: var(--muted); font-size: 15px; }

/* Списки с галочками */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1407' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.tile h3 { font-size: 15px; text-transform: uppercase; color: var(--gold2); margin-bottom: 8px; letter-spacing: .02em; }
.tile p { color: var(--muted); font-size: 15px; }
.paper .tile { background: #fff; border-color: #E5DED0; }
.paper .tile h3 { color: #8C5E0E; }
.paper .tile p { color: #5E5A52; }

/* Сравнение */
.tbl-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid #E0D8C9; background: #fff; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
table.cmp th, table.cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #EEE7DA; vertical-align: top; }
table.cmp thead th { font-family: var(--head); font-size: 13px; text-transform: uppercase; background: #FBF8F2; }
table.cmp th[scope="row"] { font-weight: 700; color: #3E3A33; width: 30%; }
table.cmp .hl { background: #FFF4DD; font-weight: 800; color: #6E4A08; }
table.cmp thead .hl { background: var(--gold); color: #1A1407; }

/* Этапы */
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { display: grid; grid-template-columns: 120px 1fr 280px; gap: 26px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.step .num { font-family: var(--head); font-size: 44px; color: var(--gold); text-align: center; }
.step h3 { text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; filter: brightness(1.35) saturate(1.05); }

/* Объект */
.object { position: relative; border-radius: calc(var(--r) + 8px); overflow: hidden; isolation: isolate; padding: clamp(28px, 5vw, 64px); min-height: 420px; display: flex; align-items: flex-end; }
.object img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.object::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 11, 12, .92), rgba(10, 11, 12, .2)); }
.object .addr { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; margin: 14px 0 22px; }

/* Квиз */
.quiz { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px); overflow: hidden; display: grid; grid-template-columns: 1fr 1.25fr; }
.quiz-side { position: relative; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; isolation: isolate; }
.quiz-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quiz-side::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 11, 12, .95) 10%, rgba(10, 11, 12, .1)); }
.quiz-side h2 { font-size: clamp(24px, 2.6vw, 34px); }
.quiz-side .checks { margin-top: 18px; font-size: 15px; }
.quiz-main { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; min-height: 520px; }
.progress { height: 6px; background: rgba(255, 255, 255, .1); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
.q-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 12px 0 22px; font-weight: 700; }
.q-step { display: none; flex: 1; }
.q-step.on { display: flex; flex-direction: column; gap: 18px; animation: fade .25s ease; }
.q-step h3 { font-size: clamp(19px, 2vw, 24px); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); cursor: pointer; font-weight: 600; transition: border-color .15s, background .15s; }
.opt span::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); flex: none; }
.opt input:checked + span { border-color: var(--gold); background: rgba(226, 166, 59, .12); }
.opt input:checked + span::before { border-color: var(--gold); background: radial-gradient(var(--gold) 45%, transparent 50%); }
.opt input:focus-visible + span { outline: 2px solid var(--gold2); outline-offset: 2px; }
.q-nav { display: flex; gap: 12px; margin-top: auto; padding-top: 24px; }
.q-nav .btn { min-height: 48px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* Производитель */
.maker { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.maker .logo-v { width: 120px; border-radius: 10px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid #E5DED0; border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 800; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; color: #9A6A12; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq .a { padding: 0 0 20px; color: #4F4B44; }
.faq .a ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.services article { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.services img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.services h3 { font-size: 15px; text-transform: uppercase; padding: 18px; }

/* Подвал */
.foot { background: #0A0B0C; padding: 56px 0 110px; color: var(--muted); font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { color: var(--fg); margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.foot a { color: #D9D5CC; text-decoration: none; }
.foot a:hover { color: var(--gold2); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot .legal { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12.5px; }

/* Нижняя панель на телефоне */
.dock { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: rgba(22, 25, 28, .94); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: 8px; gap: 8px; grid-template-columns: 1fr 1fr 1.3fr; }
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 12px; text-decoration: none; font-size: 12px; font-weight: 700; }
.dock a svg { width: 20px; height: 20px; }
.dock a.pri { background: var(--gold); color: #1A1407; flex-direction: row; gap: 8px; font-size: 14px; }

/* Модальное окно */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 6, 7, .72); backdrop-filter: blur(4px); }
.modal.on { display: flex; animation: fade .2s ease; }
.modal .box { position: relative; width: min(480px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: #1A1D21; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px 28px; }
.modal h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 8px; padding-right: 32px; }
.modal .sub { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.modal .x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 22px; line-height: 1; color: var(--fg); }
.done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 10px 0; }
.done .ic { width: 64px; height: 64px; border-radius: 50%; background: rgba(95, 191, 122, .15); display: grid; place-items: center; color: var(--ok); }
.done .ic svg { width: 32px; height: 32px; }

.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 420px; background: #1F2327; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font-size: 13.5px; color: #CFCAC0; display: none; gap: 12px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); }
.cookie.on { display: grid; }
.cookie a { color: var(--gold2); }
.cookie .btn { min-height: 40px; justify-self: start; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } * { animation: none !important; } }

/* Адаптив */
@media (max-width: 1320px) { .top .btn { display: none; } .menu { gap: 18px; } }
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: block; }
  .top .btn { display: none; }
  .top-phone { margin-left: auto; }
  .menu.open { display: flex; position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; background: rgba(15, 17, 19, .98); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .menu.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div:nth-child(n+4) { display: none; }
}
@media (max-width: 900px) {
  .adv, .projects, .mission, .tiles { grid-template-columns: 1fr 1fr; }
  .cta-band, .split, .quiz, .maker { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .step img { grid-column: 1 / -1; }
  .step { align-items: start; }
  .step .num { font-size: 30px; text-align: left; }
  .quiz-side { min-height: 280px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .top .wrap { height: 64px; gap: 12px; }
  .menu.open { inset: 64px 0 auto; }
  .top-phone small { display: none; }
  .top-phone { font-size: 14px; }
  .logo b { font-size: 16px; }
  .logo svg { width: 32px; height: 32px; }
  .hero { padding-top: 96px; }
  .hero-cta .btn { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(n+3) { display: none; }
  .adv, .projects, .mission, .tiles, .services, .opts, .form .row2 { grid-template-columns: 1fr; }
  .adv article { min-height: 0; }
  .adv img { height: 200px; }
  .dock { display: grid; }
  .foot .cols { grid-template-columns: 1fr; }
  .cookie { left: 12px; right: 12px; bottom: 84px; max-width: none; }
  .quiz-main { min-height: 0; }
}
