/* Токены концепции D: палитра monitoraudio.com (site.css): чёрный, белый, тёплый серо-бежевый, тёмно-зелёный, уголь; углы 0 */
:root {
  --bg: #ffffff;
  --paper: #fafafa;
  --taupe: #d3d1c7;
  --beige: #e3e2dd;
  --ink: #111111;
  --soft: #312e2e;
  --muted: #6b6b6b;
  --line: #dcdbd5;
  --dark: #393d3a;
  --charcoal: #1f1f20;
  --olive: #576251;
  --bronze: #9d7f5e;
  --wine: #763c3e;
  --font-display: 'Prata', Georgia, serif;
  --font-ui: 'Geologica', system-ui, sans-serif;
  --wrap: 1400px;
  --top-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 16px/1.55 var(--font-ui); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
@media (max-width: 767px) { .wrap { padding-inline: 16px; } }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible, .why :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
section { scroll-margin-top: calc(var(--top-h) + 8px); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Кнопки бренда: чёрный прямоугольник, при наведении контур */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font: 500 14px var(--font-ui); letter-spacing: .02em; white-space: nowrap; transition: background .2s, color .2s, transform .15s var(--ease); }
.btn:hover { background: transparent; color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { height: 40px; padding: 0 16px; width: 100%; }
.btn.is-added { background: var(--dark); border-color: var(--dark); color: #fff; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.more:hover { color: var(--olive); }

/* Шапка по схеме KEF: телефон слева, логотип по центру, иконки справа, ниже строка меню */
.head { position: sticky; top: calc(-1 * var(--top-h)); z-index: 30; background: var(--bg); }
.head-top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--top-h); }
.contact { display: flex; gap: 20px; align-items: center; font-size: 14px; }
.contact a[href^="tel"] { font-weight: 500; white-space: nowrap; }
.contact button { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; }
.contact button:hover { color: var(--ink); border-color: currentColor; }
.logo img { height: 22px; width: auto; filter: invert(1); }
.icons { display: flex; justify-content: flex-end; gap: 4px; }
.icon { position: relative; width: 40px; height: 40px; display: grid; place-items: center; font-size: 22px; line-height: 0; transition: opacity .2s; }
.icon:hover { opacity: .6; }
.count { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; background: var(--ink); color: #fff; font: 500 10px/16px var(--font-ui); text-align: center; }
.burger, .only-m { display: none; }
.head-nav { position: relative; border-block: 1px solid var(--line); }
.head-nav > .wrap { display: flex; align-items: center; height: 48px; gap: 24px; }
.nav-logo, .nav-cart { display: none; }
.nav-logo img { height: 20px; width: auto; filter: invert(1); }
.head.is-scrolled .nav-logo { display: block; margin-right: auto; }
.head.is-scrolled .nav-cart { display: flex; margin-left: auto; }
.menu { display: flex; gap: 36px; margin-inline: auto; }
.menu > a, .menu > button { position: relative; padding: 16px 0; font: 500 12.5px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; }
.menu > a::after, .menu > button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease-out); }
.menu > button[aria-expanded="true"]::after { transform: none; }
@media (hover: hover) and (pointer: fine) { .menu > a:hover::after, .menu > button:hover::after { transform: none; } }

/* Мега-меню каталога на всю ширину: группы колонками, у каждой первая ссылка «Все», как у KEF */
/* --nav-bottom ставит скрипт при открытии: фактический низ строки меню, с учётом прокрутки и открытого поиска */
.panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 32px 48px -32px rgb(17 17 17 / .3); max-height: calc(100dvh - var(--nav-bottom, 113px)); overflow: auto; }
.panel[hidden] { display: none; }
.panel-cat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; padding-block: 24px 28px; }
.pgroup h3 { font: 500 15px var(--font-ui); margin: 0 0 10px; }
.pgroup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pgroup--two ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.pgroup a { font-size: 14px; color: var(--soft); }
.pgroup a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pgroup a.all { font-weight: 500; color: var(--ink); }
.panel-foot { display: flex; gap: 32px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); font-size: 14px; }
.panel-foot a { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.panel-foot a:hover { color: var(--olive); }
/* Короткие списки под своим пунктом: Услуги, О компании, Как купить? */
.drop { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--bg); border: 1px solid var(--line); border-top: 0; box-shadow: 0 24px 40px -24px rgb(17 17 17 / .3); padding: 8px 0; }
.drop[hidden] { display: none; }
.drop a { display: block; padding: 10px 24px; font-size: 14px; color: var(--soft); }
.drop a:hover { color: var(--ink); background: var(--paper); }

/* Поиск с подсказками, как у KEF: строка под шапкой */
.search { border-bottom: 1px solid var(--line); background: var(--bg); }
.search[hidden] { display: none; }
.search .wrap { padding-block: 16px 20px; }
.search-row { display: flex; gap: 8px; }
.search input { flex: 1; height: 48px; border: 1px solid var(--ink); background: #fff; padding: 0 16px; font: inherit; color: var(--ink); min-width: 0; }
.search input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.sug { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.sug a { display: flex; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); }
.sug a:hover { border-color: var(--ink); }
.sug img { width: 48px; height: 48px; object-fit: cover; background: var(--paper); mix-blend-mode: multiply; }
.sug b { display: block; font-weight: 500; font-size: 14px; }
.sug span { font-size: 13px; color: var(--muted); }
.search-all { margin-top: 12px; font-size: 14px; }
.search-empty { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* Мобильное меню: многоуровневое, как у KEF (каталог, разделы, кабинет, корзина, телефон) */
.mobile { position: fixed; inset: var(--top-h) 0 0; z-index: 29; background: var(--bg); overflow: auto; padding: 8px 16px 40px; }
.mobile[hidden] { display: none; }
.mobile details { border-bottom: 1px solid var(--line); }
.mobile summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 500; font-size: 17px; cursor: pointer; }
.mobile summary::-webkit-details-marker { display: none; }
.mobile summary i { transition: transform .25s var(--ease); }
.mobile details[open] > summary i { transform: rotate(180deg); }
.mobile ul { list-style: none; margin: 0; padding: 0 0 12px; display: grid; gap: 10px; }
.mobile li a { display: block; padding: 4px 0 4px 12px; color: var(--soft); font-size: 15px; }
.mobile li a.all { color: var(--ink); font-weight: 500; }
.mobile .m-sub { padding-left: 12px; margin-bottom: 8px; }
.mobile .m-sub summary { font-size: 15px; padding: 8px 0; font-weight: 400; }
.mobile > a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 17px; }
.mobile .m-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.mobile .m-actions a, .mobile .m-actions button { display: flex; gap: 8px; align-items: center; padding: 12px; border: 1px solid var(--line); font-size: 14px; }
.mobile .m-actions i { font-size: 20px; }
.mobile .m-phone { margin-top: 20px; font-size: 14px; color: var(--muted); }
.mobile .m-phone a { display: block; font: 500 22px/1.3 var(--font-ui); color: var(--ink); }
@media (max-width: 1023px) {
  .head { top: 0; }
  .head-nav { display: none; }
  .burger, .only-m { display: grid; }
  .contact { display: none; }
  .head-top .wrap { grid-template-columns: auto 1fr; }
}
@media (min-width: 1024px) { .mobile { display: none !important; } }
@media (max-width: 520px) { .icons .hide-s { display: none; } }

/* Слайдер-баннер на первом экране, как у KEF, но с фотографией бренда на всю ширину */
.hero { position: relative; background: var(--charcoal); color: #fff; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; height: clamp(440px, 62vh, 680px); overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(17 17 17 / .72) 0%, rgb(17 17 17 / .45) 50%, transparent 76%); }
.slide-copy { position: absolute; left: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); bottom: 96px; max-width: 540px; z-index: 1; text-shadow: 0 1px 2px rgb(0 0 0 / .4); }
.kicker { display: inline-block; font: 500 12px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; opacity: .9; }
.slide h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; }
.slide p { font-size: 17px; max-width: 42ch; margin: 16px 0 24px; }
.slide .btn { text-shadow: none; }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; align-items: center; gap: 16px; z-index: 2; }
.dots { display: flex; gap: 8px; }
/* Точка 8 px, но область нажатия 24 px */
.dot { width: 24px; height: 24px; padding: 8px; background: rgb(255 255 255 / .45); background-clip: content-box; transition: background-color .2s; }
.dot[aria-current="true"] { background-color: #fff; }
.arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .55); color: #fff; font-size: 18px; line-height: 0; transition: background .2s, color .2s; }
.arrow:hover { background: #fff; color: var(--ink); }
@media (max-width: 767px) {
  .slide { height: auto; aspect-ratio: 4/5; }
  .slide::after { background: linear-gradient(180deg, transparent 30%, rgb(17 17 17 / .78)); }
  .slide-copy { left: 16px; right: 16px; bottom: 80px; }
  .slide h2 { font-size: 38px; }
  .slide p { font-size: 15px; margin: 12px 0 20px; }
  .arrow { display: none; }
}

/* Три промо-плитки под слайдером: услуга, рассрочка, витринные образцы */
.promo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-block: 16px 0; }
.tile { position: relative; aspect-ratio: 16/10; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; background: var(--dark); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.03); } }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 10%, rgb(17 17 17 / .9)); }
.tile > * { position: relative; z-index: 1; text-shadow: 0 1px 2px rgb(0 0 0 / .45); }
.tile--text > * { text-shadow: none; }
.tile small { font: 500 11px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; opacity: .9; margin-bottom: 8px; }
.tile h3 { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.15; max-width: 22ch; }
.tile--text { background: var(--taupe); color: var(--ink); justify-content: space-between; }
.tile--text::after { display: none; }
.tile--text .big { font: 400 clamp(48px, 5.5vw, 88px)/1 var(--font-display); letter-spacing: -.02em; }
.tile--text small { opacity: 1; color: var(--soft); }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; } .tile { aspect-ratio: 16/9; } .tile--text .big { font-size: 64px; } }

section { padding-block: 72px; }
@media (max-width: 767px) { section { padding-block: 48px; } }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-title { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }

/* «Лучшие предложения»: вкладки-фильтры по меткам, сетка товаров, «Показать ещё» */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab { padding: 10px 16px; border: 1px solid var(--line); font-size: 14px; color: var(--soft); background: #fff; transition: border-color .2s, background .2s, color .2s; }
.tab:hover { border-color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab span { opacity: .8; margin-left: 6px; font-size: 12px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; background: var(--paper); aspect-ratio: 1; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .25s ease; }
@media (hover: hover) and (pointer: fine) { .card:hover .card-media img { transform: scale(1.03); } }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 8px; background: var(--ink); color: #fff; font: 500 11px/1.2 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.badge--sale { background: var(--wine); }
.badge--award { background: var(--bronze); color: var(--ink); }
.badge--hit { background: var(--taupe); color: var(--ink); }
.card-tools { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 4px; opacity: 0; transition: opacity .2s; }
.card:hover .card-tools, .card:focus-within .card-tools, .card-tools:has([aria-pressed="true"]) { opacity: 1; }
@media (hover: none) { .card-tools { opacity: 1; } }
.tool { width: 36px; height: 36px; display: grid; place-items: center; background: #fff; font-size: 18px; line-height: 0; transition: background .2s, color .2s; }
.tool:hover { background: var(--taupe); }
.tool[aria-pressed="true"] { background: var(--ink); color: #fff; }
.card-body { padding-top: 14px; display: grid; gap: 6px; flex: 1; align-content: start; }
.card-type { font-size: 12.5px; color: var(--muted); }
.card-name { font-size: 17px; font-weight: 500; line-height: 1.3; }
.card-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.stock { font-size: 13px; color: var(--olive); }
.stock.is-order { color: var(--muted); }
.swatches { display: flex; gap: 6px; }
.swatch { width: 14px; height: 14px; border: 1px solid rgb(0 0 0 / .15); }
.price { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; margin-top: 4px; }
.price s { color: var(--muted); font-weight: 300; font-size: 14px; margin-left: 8px; }
.card .btn--sm { margin-top: 10px; }
.grid-foot { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.grid-foot .btn { min-width: 220px; }

/* Плитки серий на тёплом серо-бежевом фоне бренда */
.series { background: var(--taupe); }
.srs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sr img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .25s ease; }
.sr { overflow: hidden; }
@media (hover: hover) and (pointer: fine) { .sr:hover img { transform: scale(1.03); } }
.sr h3 { font-size: 26px; line-height: 1.15; margin-top: 16px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.sr h3 small { font: 500 11px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--wine); }
.sr span { display: block; color: var(--soft); font-size: 14px; margin-top: 4px; }
.sr b { display: block; font-weight: 500; font-size: 14px; margin-top: 8px; }
@media (max-width: 900px) { .srs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sr h3 { font-size: 20px; } }

/* Акции: сетка карточек с датой, на телефоне лента с прокруткой по горизонтали */
.sales { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
@media (max-width: 767px) {
  .sales { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .sales::-webkit-scrollbar { display: none; }
}
.sale { scroll-snap-align: start; }
.sale img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--paper); }
.sale time { display: block; font-size: 13px; color: var(--muted); margin-top: 14px; }
.sale h3 { font: 500 17px/1.3 var(--font-ui); margin-top: 6px; }
.sale:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

/* Четыре преимущества, как у KEF, в тёмно-зелёной секции бренда */
.why { background: var(--dark); color: #fff; }
.why .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.why i { font-size: 32px; display: block; margin-bottom: 14px; color: var(--taupe); }
.why b { display: block; font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.why span { color: #d4d5d0; font-size: 14px; }
@media (max-width: 900px) { .why .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .why .wrap { grid-template-columns: 1fr; } }

/* Отслеживание СДЭК без входа — то, чего нет у KEF */
.track-sec .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.track-sec ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.track-sec li { display: flex; gap: 14px; align-items: start; }
.track-sec li i { font-size: 24px; color: var(--olive); }
.track-sec li b { display: block; font-weight: 500; }
.track-sec li span { color: var(--muted); font-size: 14px; }
.track { border: 1px solid var(--line); padding: 32px; background: var(--paper); }
.track h3 { font-size: 26px; margin-bottom: 20px; }
.track label { display: block; font-size: 14px; margin-bottom: 8px; }
.track-row { display: flex; gap: 8px; }
.track input { flex: 1; height: 48px; border: 1px solid var(--muted); background: #fff; padding: 0 16px; font: inherit; color: var(--ink); min-width: 0; }
.track input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.track-out { margin-top: 20px; min-height: 40px; }
.track-error { color: var(--wine); margin: 0; font-size: 14px; }
.track-skeleton { height: 18px; background: linear-gradient(90deg, var(--beige), #fff, var(--beige)); background-size: 200% 100%; animation: shimmer 1s linear infinite; margin-bottom: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.track-steps { list-style: none; margin: 0; padding: 0; }
.track-steps li { position: relative; padding: 0 0 16px 32px; display: grid; }
.track-steps li::before { content: ''; position: absolute; left: 5px; top: 6px; width: 10px; height: 10px; border: 1px solid var(--muted); background: #fff; }
.track-steps li::after { content: ''; position: absolute; left: 10px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.track-steps li:last-child::after { display: none; }
.track-steps li.is-done::before { background: var(--ink); border-color: var(--ink); }
.track-steps li.is-current::before { background: var(--olive); border-color: var(--olive); box-shadow: 0 0 0 4px rgb(87 98 81 / .2); }
.track-steps li.is-current .track-name { font-weight: 500; }
.track-steps li:not(.is-done):not(.is-current) { color: var(--muted); }
.track-meta { font-size: 13px; color: var(--muted); }
.track-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
@media (max-width: 900px) { .track-sec .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } .track { padding: 24px; } }

/* Блог: две колонки строк с миниатюрой */
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.post { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; padding-block: 18px; border-top: 1px solid var(--line); }
.post img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.post small { color: var(--muted); font-size: 13px; }
.post h3 { font: 500 18px/1.3 var(--font-ui); margin-top: 6px; }
.post:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .post { grid-template-columns: 104px 1fr; gap: 14px; } .post h3 { font-size: 16px; } }

/* Обзоры (e-reviews.css): шрифт заголовков D, углы 0 */
.reviews { --f-disp: var(--font-display); --r: 0; background: var(--paper); }
.reviews .rw-play i { width: 64px; height: 64px; }

/* О компании, как у KEF внизу главной */
.about { background: var(--beige); }
.about .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.about h2 { font-size: 32px; line-height: 1.15; }
.about p { margin: 0 0 12px; max-width: 68ch; color: var(--soft); }
@media (max-width: 900px) { .about .wrap { grid-template-columns: 1fr; gap: 20px; } }

/* Подвал: светлый, как у бренда; приёмы студии SLK (карточки с тенью, полоса-дизеринг, пометка, подпись) */
footer { background: var(--beige); color: var(--soft); padding-top: 64px; font-size: 14px; border-top: 1px solid var(--taupe); }
.foot { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 32px; }
.foot h4 { font: 500 14px var(--font-ui); color: var(--ink); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot .logo img { margin-bottom: 16px; }
.foot-line { margin: 0; font: 400 20px/1.3 var(--font-display); color: var(--ink); }
.foot-card { display: block; max-width: 300px; margin-top: 16px; padding: 10px 16px 12px; border: 2px solid var(--ink); background: #fff; box-shadow: 4px 4px 0 var(--bronze); transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out); }
.foot-card:hover { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot-card:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--bronze); } }
.foot-card:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--bronze); }
.foot-card small { display: block; font: italic 400 13px/1.3 var(--font-display); color: var(--olive); }
.foot-card b { font-weight: 500; font-size: 17px; color: var(--ink); }
.pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pay span { border: 1px solid var(--taupe); padding: 4px 10px; font-size: 12px; }
.foot-more { display: flex; gap: 8px 20px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.foot-more .btn { width: auto; }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--taupe); display: flex; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; font-size: 13px; color: var(--soft); }
.legal a:hover { color: var(--ink); }
.studio { margin-left: auto; color: var(--soft); }
.studio b { font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.studio em { font: italic 400 14px/1 var(--font-display); color: var(--olive); }
.studio:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: span 2; } }
.foot-art { position: relative; margin-top: 40px; }
.foot-art img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.foot-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; pointer-events: none; image-rendering: pixelated; }
.foot-art img, .foot-art canvas { mask-image: linear-gradient(transparent, #000 28%); }
.foot-art.is-moving img { visibility: hidden; }
.foot-art.is-moving canvas { visibility: visible; }
.foot-note { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.foot-note text { font: italic 400 28px var(--font-display); fill: var(--ink); stroke: var(--beige); stroke-width: 6px; paint-order: stroke fill; stroke-linejoin: round; }
.foot-note path { fill: none; stroke: var(--ink); stroke-width: 2.4px; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
@media (min-width: 768px) { .foot-note text { font-size: 14px; stroke-width: 4px; } .foot-note path { stroke-width: .7px; } }
@media (prefers-reduced-motion: no-preference) {
  .foot-note path { transition: stroke-dashoffset .8s var(--ease) .2s; }
  .foot-note.is-armed:not(.is-in) path { stroke-dashoffset: 1; }
}
@media print { .foot-art { display: none; } }

/* Окно «Заказать звонок» */
dialog { border: 0; padding: 0; max-width: 440px; width: calc(100% - 32px); background: #fff; color: var(--ink); }
dialog::backdrop { background: rgb(17 17 17 / .55); }
dialog[open] { animation: dlg-in .22s var(--ease-out); }
dialog[open]::backdrop { animation: dlg-fade .22s var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; transform: scale(.96); } }
@keyframes dlg-fade { from { opacity: 0; } }
.dlg { position: relative; padding: 32px; }
.dlg h3 { font-size: 28px; margin-bottom: 8px; }
.dlg p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.dlg-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; display: grid; place-items: center; font-size: 20px; line-height: 0; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; }
.field input { height: 48px; border: 1px solid var(--muted); padding: 0 14px; font: inherit; color: var(--ink); }
.field input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.consent { display: flex; gap: 10px; align-items: start; font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
.consent input { margin: 4px 0 0; accent-color: var(--ink); }

/* Переключатель концепций (только для прототипа) */
.switcher { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; display: flex; gap: 2px; background: var(--ink); padding: 4px; font-size: 13px; box-shadow: 0 10px 30px rgb(17 17 17 / .25); }
.switcher a { color: #c9cbcf; padding: 6px 12px; white-space: nowrap; }
@media (max-width: 480px) { .switcher a { padding: 6px 7px; font-size: 12px; } }
.switcher a[aria-current] { background: #fff; color: var(--ink); }

.toast { position: fixed; right: 24px; bottom: 72px; z-index: 60; background: var(--ink); color: #fff; padding: 12px 24px; opacity: 0; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition-property: opacity, color, background-color, border-color, visibility !important; transition-duration: .15s !important; } }
