/* =========================================================
   KAWA PRO 2 — оформление сайта
   Все цвета собраны здесь, в одном месте: поменяли тут —
   поменялось на всём сайте.
   ========================================================= */
:root {
  --coffee:    #2a1a12;  /* тёмный кофе — тексты, тёмные блоки */
  --coffee-2:  #3d2a1f;
  --crema:     #c8894a;  /* цвет пенки — кнопки и акценты */
  --crema-dk:  #a86d34;
  --milk:      #faf6f0;  /* фон страницы */
  --latte:     #f1e7da;  /* фон выделенных блоков */
  --text:      #2a1a12;
  --muted:     #6f5d50;
  --line:      #e4d7c7;
  --white:     #ffffff;
  --radius:    16px;
  --shadow:    0 10px 30px rgba(42, 26, 18, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 136px; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--milk);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 700; color: var(--crema-dk);
  margin-bottom: .6em;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; padding: .9em 1.5em; border-radius: 999px;
  background: var(--crema); color: var(--white);
  font-weight: 700; text-decoration: none; white-space: nowrap;
  border: 2px solid var(--crema);
  transition: background .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--crema-dk); border-color: var(--crema-dk); transform: translateY(-1px); }
.btn--small { padding: .55em 1.1em; font-size: .95rem; }
.btn--big { font-size: 1.3rem; padding: 1em 2em; }
.btn--ghost { background: transparent; color: var(--coffee); border-color: var(--coffee); }
.btn--ghost:hover { background: var(--coffee); color: var(--white); border-color: var(--coffee); }
.btn--ghost-light { background: transparent; color: var(--milk); border-color: rgba(250,246,240,.5); }
.btn--ghost-light:hover { background: var(--milk); color: var(--coffee); border-color: var(--milk); }

/* ---------- Шапка ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: transparent;              /* фон теперь у самой полосы */
  border-bottom: 0;
}
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
/* Телефон и под ним «Заявка» */
.topbar__actions { display: flex; flex-direction: column; gap: 5px; }
.topbar__actions .btn--small { padding: .4em 1em; font-size: .88rem; }
.topbar__lead { border-width: 1.5px; }
.topbar__phones { display: flex; flex-direction: column; gap: 1px; }
.topbar__phone { text-decoration: none; font-size: .82rem; line-height: 1.35; white-space: nowrap; text-align: right; }
.topbar__phone .ph__place { color: var(--muted); font-weight: 600; }
.topbar__phone .ph__num { font-weight: 800; color: var(--coffee); }
.topbar__phone:hover .ph__num { color: var(--crema-dk); }

/* Два номера по точкам */
.phones { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
/* Первый экран: номера табличкой — точки в одной колонке, номера в другой */
.phones--hero {
  display: grid; grid-template-columns: max-content max-content; align-items: baseline;
  gap: 6px 18px; margin: -14px 0 32px; padding: 14px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; width: max-content; max-width: 100%;
}
.phones--hero .phones__label { grid-column: 1 / -1; font-size: .9rem; }
.phones--hero .phones__item { display: contents; }
.phones--hero .ph__num { font-size: 1.15rem; letter-spacing: .01em; }
.phones--col { flex-direction: column; align-items: flex-start; gap: 8px; }
.phones__label { font-weight: 700; color: var(--muted); }
.phones__item { text-decoration: none; white-space: nowrap; }
.phones__item .ph__place { color: var(--muted); font-weight: 600; }
.phones__item .ph__num { font-weight: 800; color: var(--crema-dk); }
.phones__item:hover .ph__num { text-decoration: underline; }
.scope__note .phones { margin-top: 6px; }
.place__phone a { color: var(--milk); font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.btn--phone { flex-direction: column; gap: 0; line-height: 1.2; }
.btn--phone small { font-size: .72rem; font-weight: 600; opacity: .8; letter-spacing: .04em; }
.footer__phones { display: flex; flex-direction: column; gap: 4px; }
.footer__phones .ph__place { color: #cdbba8; font-weight: 500; }
.topbar__logo { text-decoration: none; display: flex; align-items: center; gap: 10px; flex: none; }
.topbar__icon { height: 38px; width: auto; }
.topbar__logo img { height: 36px; width: auto; }
.footer img { height: 34px; width: auto; margin-bottom: 12px; }
.topbar__nav { display: flex; gap: 18px; margin-left: auto; flex: 0 1 auto; min-width: 0; }
.topbar__nav a { text-decoration: none; font-weight: 600; color: var(--muted); font-size: .95rem; white-space: nowrap; }
.topbar__nav a:hover { color: var(--coffee); }

/* ---------- Выбор языка ---------- */
.lang { display: flex; gap: 2px; background: var(--latte); border-radius: 999px; padding: 3px; }

/* Верхняя строка страницы: выбор языка прижат к правому краю.
   Телефоны с кнопкой в шапке — тоже вправо (раньше их толкало меню). */
.topline { padding: 6px 0 3px; }   /* верхняя строка с языками поднята выше */
/* Там, где сверху рисунок с листьями, он начинается у самого края страницы,
   а кнопка языка лежит прямо на нём. */
.sheet--decor .topline {
  position: absolute; top: 8px; left: 0; right: 0; z-index: 30; padding: 0;
}
.topline__in { display: flex; justify-content: flex-start; }  /* кнопка языка слева */
.topbar__actions { margin-left: auto; }
.lang__item {
  font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-decoration: none;
  color: var(--muted); padding: .35em .6em; border-radius: 999px; line-height: 1;
}
a.lang__item:hover { color: var(--coffee); background: var(--white); }
.lang__item.is-current { background: var(--coffee); color: var(--milk); }
.footer__lang { display: flex; gap: 6px; }
.footer__lang .lang__item { color: #cdbba8; border: 1px solid rgba(250,246,240,.25); }
.footer__lang .lang__item.is-current { background: var(--crema); color: var(--white); border-color: var(--crema); }
.reviews__original { margin-top: 28px; }

/* ---------- Первый экран ---------- */
.hero { padding: 64px 0 56px; }
.hero__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
/* Четыре цифры в первом экране — каждая на своей бумажной карточке */
.facts {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.facts li {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 15px 16px 16px;
  background: rgba(251, 245, 233, .78);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 4px 10px rgba(43, 33, 24, .1);
}
.facts strong {
  display: flex; align-items: baseline; gap: .18em;
  font-size: 1.7rem; font-weight: 800; color: var(--coffee); line-height: 1;
}
/* тонкая черта между цифрой и подписью */
.facts strong::after { content: none; }
.facts li::after {
  content: ""; width: 34px; height: 0; margin: 10px 0 9px;
  border-top: 1px solid var(--crema); order: 1;
}
/* только подпись под цифрой, а не любой span внутри карточки */
.facts li > span { order: 2; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.facts strong .facts__star { color: var(--mustard, #d59b2e); font-size: 1em; }

/* Рисунок на первом экране — без подложки, прямо на бумаге */
.hero__card { display: grid; place-items: center; }
.hero__art { width: 100%; height: auto; max-width: 420px; }
/* шестерёнка медленно вращается, пар поднимается */
.art__gear { transform-origin: 200px 190px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.st { animation: steam 3.2s ease-in-out infinite; }
.st1 { animation-delay: .5s; } .st2 { animation-delay: 1s; }
@keyframes steam {
  0%, 100% { opacity: 0; transform: translateY(6px); }
  45% { opacity: 1; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) { .art__gear, .st { animation: none; } .st { opacity: .8; } }

/* ---------- Марки ---------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--white); }
.brands .wrap { display: flex; align-items: center; gap: 20px; }
.brands__title { margin: 0; font-weight: 700; color: var(--muted); white-space: nowrap; font-size: .9rem; }
/* Марки одной строкой: лента едет по кругу, при наведении стоит */
.brands__run {
  flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.brands__track { display: flex; gap: 26px; width: max-content; animation: brandsRun 46s linear infinite; }
.brands__run:hover .brands__track { animation-play-state: paused; }
@keyframes brandsRun { to { transform: translateX(calc(-50% - 13px)); } }
.brands__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 26px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .brands__track { animation: none; }
  .brands__run { overflow-x: auto; }
}
.brands__list li { font-weight: 700; color: var(--coffee-2); opacity: .75; }

/* ---------- Секции ---------- */
.section { padding: 84px 0; }
.section--tint { background: var(--latte); }
.section--dark { background: var(--coffee); color: var(--milk); }
.section--dark .eyebrow { color: var(--crema); }
.section__lead { color: var(--muted); max-width: 40em; font-size: 1.05rem; margin-bottom: 36px; }

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column;
}
.service p { color: var(--muted); font-size: .95rem; }
.service .price { margin: auto 0 0; font-weight: 800; font-size: 1.25rem; color: var(--coffee); }
.service--main { background: var(--coffee); color: var(--milk); border-color: var(--coffee); }
.service--main p { color: #d9c9b8; }
.service--main .price { color: var(--crema); }
.note { margin-top: 20px; color: var(--muted); font-size: .92rem; }

/* ---------- Порядок работ (из акта) ---------- */
/* Список работ раскрывается по кнопке: плавно «выезжает» вниз */
.scope__toggle { cursor: pointer; font: inherit; font-weight: 700; }
.scope__arrow { display: inline-block; transition: transform .3s; }
.scope__toggle[aria-expanded="true"] .scope__arrow { transform: rotate(180deg); }
.scope__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s ease; }
.scope__panel.is-open { grid-template-rows: 1fr; }
.scope__inner { overflow: hidden; }
.scope__panel .scope:first-child { margin-top: 28px; }
.scope__panel li { opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s; }
.scope__panel.is-open li { opacity: 1; transform: none; }
.scope__panel.is-open li:nth-child(n) { transition-delay: calc(var(--i, 0) * 20ms); }
@media (prefers-reduced-motion: reduce) {
  .scope__panel, .scope__panel li, .scope__arrow { transition: none; }
}

/* ---------- Шаги ---------- */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--milk); border-radius: var(--radius); padding: 26px 22px; }
.steps__n {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--crema); color: var(--white); font-weight: 800; margin-bottom: 16px;
}
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Почему мы ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.why__item { border-top: 3px solid var(--crema); padding-top: 18px; }
.why__item p { color: var(--muted); font-size: .95rem; }

/* ---------- Отзывы ---------- */
.stars { color: #e3a33b; letter-spacing: .08em; }
.ratings { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rating { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.rating__place { font-weight: 700; color: var(--muted); margin-bottom: .2em; }
.rating__score { font-size: 2.6rem; font-weight: 800; line-height: 1.1; margin-bottom: .1em; }
.rating__score .stars { font-size: 1.4rem; vertical-align: middle; }
.rating__count { color: var(--muted); }
.rating__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.praise__title { margin-top: 44px; }
.praise { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.praise li {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .5em 1.1em; font-weight: 600;
}
.praise li::before { content: "✓ "; color: var(--crema-dk); font-weight: 800; }
/* Отзывы лентой: карточки в ряд, листаются стрелками или пальцем */
.reviews-wrap { position: relative; margin-top: 36px; }
.reviews-wrap[hidden] { display: none; }
.reviews {
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 4px; padding: 4px;
  scrollbar-width: none;                 /* полосу прокрутки прячем — есть стрелки */
}
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 clamp(270px, 31%, 380px); scroll-snap-align: start; }

/* Стрелки перелистывания */
.rev-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font: 400 1.9rem/1 "DM Serif Display", Georgia, serif;
  color: var(--coffee);
  background: var(--white); border: 1.5px solid rgba(43, 33, 24, .5); border-radius: 50%;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .6),
              0 3px 0 rgba(43, 33, 24, .3), 0 7px 16px rgba(43, 33, 24, .22);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, opacity .2s ease;
}
.rev-nav--prev { left: -10px; }
.rev-nav--next { right: -10px; }
.rev-nav:hover { background: var(--crema); color: var(--white); transform: translateY(calc(-50% - 2px)); }
.rev-nav:active { transform: translateY(calc(-50% + 2px)); box-shadow: inset 0 3px 7px rgba(43, 33, 24, .45); }
.rev-nav:disabled { opacity: .3; cursor: default; box-shadow: none; }
.rev-nav:disabled:hover { background: var(--white); color: var(--coffee); transform: translateY(-50%); }
/* Все отзывы помещаются — стрелки не нужны */
.reviews-wrap.bez-strelok .rev-nav { display: none; }

@media (max-width: 720px) {
  .rev-nav { display: none; }            /* на телефоне листают пальцем */
  .review { flex-basis: 84%; }
}
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; color: var(--text); white-space: pre-line; }
.review figcaption { margin-top: auto; color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ---------- Заявка на ремонт ---------- */
.section--form { background: var(--latte); }
.form-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.form-intro__call { font-weight: 600; }
.form-intro__call a { color: var(--crema-dk); font-weight: 800; white-space: nowrap; }
.lead-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .92rem; }
.field[hidden] { display: none; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 500; font-size: 1rem; color: var(--text);
  background: var(--milk); border: 1.5px solid var(--line); border-radius: 12px; padding: .75em .9em;
  width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--crema); box-shadow: 0 0 0 3px rgba(200,137,74,.2);
}
.field.is-bad input, .field.is-bad textarea { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__consent { font-size: .82rem; color: var(--muted); margin: 0; }
.lead-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.lead-form__actions .btn { cursor: pointer; font: inherit; font-weight: 800; font-size: 1.1rem; }
.lead-form__actions .btn[disabled] { opacity: .6; cursor: wait; }
.lead-form__status { margin: 0; font-weight: 700; }
.lead-form__status.is-ok { color: #2e7d32; }
.lead-form__status.is-err { color: #c0392b; }
.lead-form.is-sent .field, .lead-form.is-sent .lead-form__consent, .lead-form.is-sent .btn { display: none; }
.lead-form.is-sent .lead-form__status { font-size: 1.15rem; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.cta .btn.btn--light { background: var(--milk); color: var(--coffee); border-color: var(--milk); }
.cta .btn.btn--light:hover { background: var(--white); color: var(--coffee); border-color: var(--white); }

/* ---------- Адреса ---------- */
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 36px; }
.place { background: var(--coffee-2); border-radius: var(--radius); padding: 26px; }
.place h3 { font-size: 1.5rem; }
.place__addr { color: #d9c9b8; }
.place__hours { font-weight: 700; color: var(--crema); }
.place__map { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: #4a3326; margin-bottom: 18px; }
.place__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.place__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Вопросы ---------- */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--crema-dk); transition: transform .2s;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); padding-bottom: 8px; }

/* ---------- Призыв ---------- */
.cta { background: var(--crema); color: var(--white); padding: 72px 0; text-align: center; }
.cta p { font-size: 1.1rem; opacity: .92; }
.cta .btn { background: var(--coffee); border-color: var(--coffee); }
.cta .btn:hover { background: var(--coffee-2); }

/* ---------- Подвал ---------- */
.footer { background: var(--coffee); color: #cdbba8; padding: 48px 0 40px; font-size: .92rem; }
.footer__in { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 32px; align-items: start; }
.footer strong { color: var(--milk); }
.footer a { color: var(--milk); font-weight: 700; text-decoration: none; }
.footer__small { opacity: .7; }

/* ---------- Кнопка «позвонить» на телефоне ---------- */
.callbar { display: none; }

/* =========================================================
   Планшет и телефон
   ========================================================= */


@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps, .why, .reviews { grid-template-columns: repeat(2, 1fr); }
  .topbar__in .btn--small { margin-left: 0; }
}

@media (max-width: 720px) {
  .hero { padding: 36px 0 40px; }
  .hero__in { grid-template-columns: 1fr; gap: 32px; }
  .hero__card { max-width: 320px; width: 100%; margin: 0 auto; order: -1; aspect-ratio: 16 / 10; }
  .hero__art { max-width: 280px; }
  .hero__cta .btn { flex: 1 1 100%; }
  /* На телефоне: 1-я строка — логотип и языки, 2-я — кнопка «Заявка» во всю ширину.
     Номера телефонов — в нижней кнопке «Позвонить». */
  .topbar__in { flex-wrap: wrap; row-gap: 8px; }
  .topbar__actions { order: 3; flex: 1 1 100%; }
  .topbar__phones { display: none; }
  .topbar__lead { width: 100%; }
  html { scroll-padding-top: 120px; }
  .scope { columns: 1; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .brands .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* в столбик лента должна брать ширину экрана, иначе тянет страницу вбок */
  .brands__run { width: 100%; align-self: stretch; }
  .section { padding: 56px 0; }
  .services, .steps, .why, .places, .ratings, .reviews, .form-wrap, .lead-form { grid-template-columns: 1fr; }
  .form-wrap { gap: 24px; }
  .lead-form { padding: 20px; }
  .footer__in { grid-template-columns: 1fr; }
  .btn--big { font-size: 1.15rem; width: 100%; }

  /* Постоянная кнопка внизу экрана: клиент звонит одним нажатием */
  .callbar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    border-radius: 999px; box-shadow: 0 8px 24px rgba(42,26,18,.3);
  }
  .callbar__call { border-radius: 999px 0 0 999px; }
  .callbar__lead { border-radius: 0 999px 999px 0; }
  .callbar a {
    flex: 1; text-align: center; text-decoration: none; font-weight: 800; padding: 15px 8px;
  }
  .callbar a, .callbar button { flex: 1; font: inherit; font-weight: 800; border: 0; cursor: pointer; }
  .callbar__call { background: var(--crema); color: var(--white); font-weight: 800; padding: 15px 8px; }
  /* Меню с двумя номерами над кнопкой «Позвонить» */
  .callbar__menu {
    position: absolute; left: 0; right: 0; bottom: calc(100% + 8px);
    background: var(--white); border-radius: 18px; box-shadow: 0 8px 24px rgba(42,26,18,.3);
    display: flex; flex-direction: column; padding: 6px;
  }
  .callbar__menu[hidden] { display: none; }
  .callbar__phone { color: var(--coffee); padding: 12px; border-radius: 12px; text-align: left !important;
    display: flex; justify-content: space-between; gap: 10px; }
  .callbar__phone + .callbar__phone { border-top: 1px solid var(--line); }
  .callbar__phone .ph__place { color: var(--muted); font-weight: 600; }
  .callbar__lead { background: var(--coffee); color: var(--milk); }
  body { padding-bottom: 76px; }
}

/* ---------- Рубрика «Usterki» (поломки) ---------- */
.ust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0; }
.ust-card {
  display: block; text-decoration: none; padding: 22px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .15s, box-shadow .15s;
}
.ust-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ust-card h3 { margin-bottom: .3em; }
.ust-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.ust-back { color: inherit; text-decoration: none; }
.ust-back::before { content: "← "; }
.ust-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 36px 0; }
.ust-cols--2 { grid-template-columns: repeat(2, 1fr); gap: 36px; }
.ust-col h2 { font-size: 1.15rem; margin-bottom: .6em; }
.ust-list { list-style: none; padding: 0; margin: 0; }
.ust-list li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.ust-list li::before { content: "•"; position: absolute; left: 4px; color: var(--crema-dk); font-weight: 800; }
.ust-list--do li::before { content: "✓"; }
.ust-cta { margin: 40px 0; padding: 26px; background: var(--latte); border-radius: var(--radius); }
.ust-cta .phones { margin-top: 14px; }
.ust-other { margin-top: 40px; }
.ust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ust-chip {
  text-decoration: none; font-weight: 700; font-size: .92rem;
  padding: .5em 1.05em; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
}
.ust-chip:hover { border-color: var(--crema); color: var(--crema-dk); }
.ust-phones { margin: 28px 0; }
@media (max-width: 860px) { .ust-cols { grid-template-columns: 1fr; } .ust-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Рубрика «Kody błędów» — таблица кодов ошибок
   ========================================================= */
.kod-pick { margin-top: 36px; }

.kod-table {
  width: 100%; margin: 26px 0 8px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  font-size: .97rem;
}
.kod-table thead th:first-child { white-space: nowrap; }
.kod-table thead th {
  background: var(--coffee); color: var(--milk);
  text-align: left; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 16px; font-weight: 800;
}
/* Колонка кода сама подстраивается под самый длинный код на странице
   и никогда не переносится на вторую строку. */
.kod-table tbody th {
  width: 1%; white-space: nowrap;
  text-align: left; vertical-align: top;
  padding: 14px 20px 14px 16px; font-weight: 800; color: var(--crema-dk);
  font-variant-numeric: tabular-nums;
}
.kod-table tbody td { padding: 14px 16px; vertical-align: top; text-wrap: pretty; }
.kod-table tbody tr + tr th,
.kod-table tbody tr + tr td { border-top: 1px dashed var(--line); }
.kod-table tbody tr:nth-child(even) { background: #fdfaf6; }

/* Список надписей — для марок, где вместо кода целая фраза на дисплее.
   Каждая строка одинаковая: надпись сверху, объяснение под ней. */
.kod-defs {
  margin: 26px 0 8px; padding: 0;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.kod-def { padding: 15px 18px; }
.kod-def + .kod-def { border-top: 1px dashed var(--line); }
.kod-def:nth-child(even) { background: #fdfaf6; }
.kod-defs dt {
  margin: 0 0 .28em; font-weight: 800; color: var(--crema-dk);
  font-size: .95rem; letter-spacing: .01em;
  text-wrap: balance;
}
.kod-defs dd { margin: 0; font-size: .97rem; text-wrap: pretty; }

.kod-note {
  margin: 0 0 30px; padding: 14px 18px;
  background: var(--latte); border-left: 4px solid var(--crema);
  border-radius: 0 12px 12px 0; color: var(--muted); font-size: .95rem;
}
.kod-self { margin-bottom: 30px; }
.kod-self .ust-list li::before { content: "✓"; color: var(--crema-dk); }

.kod-warn {
  margin: 30px 0; padding: 22px 24px;
  background: var(--coffee); color: var(--milk); border-radius: var(--radius);
}
.kod-warn h2 { margin: 0 0 .4em; color: var(--milk); font-size: 1.15rem; }
.kod-warn p { margin: 0; color: rgba(250, 246, 240, .88); font-size: .97rem; }

@media (max-width: 560px) {
  .kod-table, .kod-table tbody, .kod-table tr, .kod-table th, .kod-table td { display: block; }
  .kod-table thead { display: none; }
  .kod-table tbody tr { padding: 12px 4px; }
  .kod-table tbody tr + tr { border-top: 1px dashed var(--line); }
  .kod-table tbody th { width: auto; white-space: normal; padding: 0 16px 4px; font-size: 1.02rem; }
  .kod-table tbody td { padding: 0 16px 8px; }
  .kod-table tbody tr + tr th, .kod-table tbody tr + tr td { border-top: 0; }
}

/* Ровные строки в рубриках «Kody błędów» и «Usterki»:
   заголовки делятся на строки поровну, в абзацах не остаётся
   одинокого слова на последней строке. Работает на всех языках. */
.kod-table, .kod-defs, .kod-note, .kod-warn, .ust-card, .ust-list, .ust-cta { hyphens: none; }
.kod-warn h2, .kod-pick, .ust-other, .ust-card h3 { text-wrap: balance; }
.kod-note, .kod-warn p, .ust-card p, .ust-list li { text-wrap: pretty; }

/* =========================================================
   Выпадающий список в шапке (марки кофемашин)
   ========================================================= */
.drop { position: relative; flex: none; }
.drop > summary {
  list-style: none; cursor: pointer; width: max-content; flex: none;
  font-weight: 600; color: var(--muted); font-size: .95rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .35em;
}
.drop > summary::-webkit-details-marker { display: none; }
/* Кнопки-выпадашки не должны выглядеть как раскрывашки в «Частых вопросах»:
   убираем их рамку, крупные отступы и красный плюсик справа. */
.drop { border-bottom: 0; padding: 0; }
.drop > summary::after,
.drop[open] > summary::after { content: none; display: none; }
.drop > summary:hover { color: var(--coffee); }
.drop[open] > summary { color: var(--coffee); }

.drop__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 232px; z-index: 60;
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; overflow: hidden;
}
.drop__panel::before {
  content: ""; position: absolute; top: -7px; left: 50%; margin-left: -7px;
  width: 12px; height: 12px; background: var(--white);
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg); border-radius: 2px;
}
.drop__panel a {
  position: relative; padding: 9px 14px; border-radius: 9px;
  font-size: .95rem; font-weight: 600; color: var(--text); white-space: nowrap;
}
.drop__panel a:hover { background: var(--latte); color: var(--crema-dk); }
.drop__all {
  font-weight: 800 !important; color: var(--crema-dk) !important;
  border-bottom: 1px dashed var(--line); border-radius: 9px 9px 0 0; margin-bottom: 4px;
}

/* Восемь пунктов меню в шапке: даём им сжиматься, а не вылезать.
   Телефоны в шапке прячем на средних экранах — они и так есть
   в первом экране и в нижней полосе дозвона. */
.topbar__nav { gap: clamp(9px, .85vw, 18px); align-items: center; flex: none; }
.topbar__nav a,
.topbar__nav .drop > summary { font-size: clamp(.8rem, .62vw, .95rem); line-height: 1.2; }
.drop > summary { padding: 4px 0; }

/* Телефоны везде столбиком: названия точек в одной колонке,
   номера в другой — чтобы цифры стояли строго друг под другом. */
.phones--col {
  display: grid; grid-template-columns: max-content max-content;
  align-items: baseline; justify-content: start; gap: 8px 14px;
}
.phones--col .phones__label { grid-column: 1 / -1; }
.phones--col .phones__item { display: contents; }

.footer__phones {
  display: grid; grid-template-columns: max-content max-content;
  align-items: baseline; justify-content: start; gap: 4px 14px;
}
.footer__phones a { display: contents; }

/* В шапке — так же: точка слева, номер справа, строго друг под другом */
.topbar__phones {
  display: grid; grid-template-columns: max-content max-content;
  align-items: baseline; justify-content: end; gap: 1px 8px;
}
.topbar__phone { display: contents; }
.topbar__phone .ph__place { text-align: right; }

/* Цифры одинаковой ширины — номера не разъезжаются */
.ph__num { font-variant-numeric: tabular-nums; }

/* =========================================================
   Закладки — второй ряд шапки, во всю ширину страницы
   ========================================================= */
/* Полоса шапки перекрывает язычки: они прячут под неё свой верх
   и выезжают наружу вниз. Фон и линии — на подложке во всю ширину листа,
   иначе полоса выглядела бы обрезанной по бокам. */
.topbar__bar { position: relative; z-index: 2; background: var(--milk); }
.tabs { position: relative; z-index: 1; }
.tabs__in {
  display: flex; align-items: flex-start; gap: 4px;
  padding-top: 0; padding-bottom: 0;
  margin-top: -13px;                 /* на столько язычки заходят под полосу */
}
/* Язычок: верхний край приклеен к шапке, объём даёт блик сверху,
   тёмная подошва и мягкая тень. Выезжает вниз, не отрываясь. */
.tabs a {
  /* Язычки заполняют всю ширину страницы, но каждый берёт столько
     места, сколько нужно его надписи — слова нигде не обрезаются. */
  flex: 1 1 auto; min-width: max-content;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 8px 12px;            /* верх уходит под полосу, надпись ниже неё */
  background-color: var(--latte);
  background-image: linear-gradient(180deg,
      rgba(255, 255, 255, .55) 0%,
      rgba(255, 255, 255, .12) 38%,
      rgba(43, 33, 24, .10) 100%);
  border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 13px 13px;
  box-shadow:
    inset 0 -2px 0 rgba(43, 33, 24, .16),
    0 3px 0 rgba(43, 33, 24, .10),
    0 7px 15px rgba(43, 33, 24, .16);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.1rem; letter-spacing: .02em; line-height: 1.15;
  color: var(--coffee); text-decoration: none;
  text-align: center; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1),
              box-shadow .3s cubic-bezier(.22, .61, .36, 1),
              background-color .25s ease, color .25s ease;
  animation: tabIn .5s cubic-bezier(.22, .61, .36, 1) backwards;
}
.tabs a > span { overflow: hidden; text-overflow: ellipsis; }

/* При открытии страницы язычки выезжают из-под шапки друг за другом */
@keyframes tabIn { from { transform: translateY(-100%); } }
.tabs a:nth-child(1) { animation-delay: .04s; }
.tabs a:nth-child(2) { animation-delay: .09s; }
.tabs a:nth-child(3) { animation-delay: .14s; }
.tabs a:nth-child(4) { animation-delay: .19s; }
.tabs a:nth-child(5) { animation-delay: .24s; }
.tabs a:nth-child(6) { animation-delay: .29s; }
.tabs a:nth-child(7) { animation-delay: .34s; }
.tabs a:nth-child(8) { animation-delay: .39s; }
.tabs a:nth-child(9) { animation-delay: .44s; }

/* потрёпанный нижний край бумаги */
.tabs a::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(43,33,24,.10) 0 3px, transparent 3px 7px);
  border-radius: 0 0 13px 13px;
}

/* Наведение: язычок плавно вытягивается вниз и становится глубже.
   Верх остаётся на месте — от шапки не отрывается. */
.tabs a:hover, .tabs a:focus-visible {
  transform: translateY(13px);
  background-color: var(--crema); color: var(--white);
  background-image: linear-gradient(180deg,
      rgba(255, 255, 255, .22) 0%,
      rgba(255, 255, 255, .04) 42%,
      rgba(0, 0, 0, .18) 100%);
  border-color: rgba(43, 33, 24, .45);
  text-shadow: 0 1px 0 rgba(43, 33, 24, .3);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .34),
    inset 0 -3px 0 rgba(43, 33, 24, .3),
    0 5px 0 rgba(43, 33, 24, .2),
    0 15px 26px rgba(43, 33, 24, .3);
  z-index: 2;
}
.tabs a:hover::before, .tabs a:focus-visible::before { opacity: .3; }
/* Нажатие: язычок чуть уходит назад под шапку */
.tabs a:active {
  transform: translateY(5px);
  box-shadow:
    inset 0 3px 8px rgba(43, 33, 24, .42),
    0 2px 6px rgba(43, 33, 24, .2);
}

/* Пока закладки видны, кнопка Menu в шапке не нужна */
@media (min-width: 1041px) { .topbar__nav { display: none; } }
/* На узких экранах прячем закладки — там работает кнопка Menu */
@media (max-width: 1040px) { .tabs { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .tabs a { animation: none; transition: background-color .2s ease, color .2s ease; }
  .tabs a:hover, .tabs a:focus-visible, .tabs a:active { transform: none; }
}
}

/* =========================================================
   Выбор языка — одна кнопка вверху справа, список выпадает
   ========================================================= */
.topline__lang { display: flex; }
.drop--lang > summary {
  gap: .42em; padding: 5px 12px;
  background: var(--latte);
  /* яркий белый контур — кнопка лежит на фото, так она видна сразу */
  border: 2.5px solid #ffffff; border-radius: 999px;
  font-weight: 800; font-size: .78rem; letter-spacing: .04em; color: var(--coffee);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 5px rgba(43, 33, 24, .12);
}
.drop--lang > summary:hover { background: var(--white); }
.drop--lang[open] > summary { background: var(--white); }
.drop__now { line-height: 1; }

.drop__panel--lang { left: 0; right: auto; transform: none; min-width: 180px; }
.drop__panel--lang::before { left: 18px; right: auto; margin-left: 0; }
.drop__panel--lang a,
.drop__panel--lang .drop__current {
  display: flex; align-items: baseline; gap: .6em;
  padding: 8px 14px; border-radius: 9px;
  font-size: .95rem; font-weight: 600; color: var(--text);
  text-decoration: none; white-space: nowrap;
}
.drop__panel--lang b { font-size: .76rem; letter-spacing: .05em; color: var(--muted); min-width: 2.1em; }
.drop__panel--lang a:hover { background: var(--latte); color: var(--crema-dk); }
.drop__panel--lang a:hover b { color: var(--crema-dk); }
.drop__panel--lang .drop__current { background: var(--crema); color: var(--white); }
.drop__panel--lang .drop__current b { color: rgba(255, 255, 255, .8); }

/* =========================================================
   Шестерёнку можно крутить мышкой: счётчик оборотов и кофеина
   ========================================================= */
.hero__art { pointer-events: none; }          /* по рисунку кликов не ловим */
.art__gear { pointer-events: auto; cursor: pointer; }
.art__gear.is-live { animation: none; }       /* дальше вращением управляет скрипт */
.art__gear:hover { filter: brightness(1.06); }

.gear-meter {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 6px; max-width: 100%;
  font-family: "DM Serif Display", Georgia, serif;
}
.gear-meter__cell {
  display: flex; align-items: baseline; gap: .4em;
  padding: 7px 14px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 3px 8px rgba(43, 33, 24, .12);
  font-size: .82rem; color: var(--muted); white-space: nowrap;
}
.gear-meter__cell b {
  font-size: 1.12rem; color: var(--crema-dk); font-weight: 400;
  font-variant-numeric: tabular-nums; min-width: 3.2ch; text-align: right;
}
.gear-hint {
  margin: 8px 0 0; max-width: 320px; text-align: center;
  font-size: .78rem; line-height: 1.35; color: var(--muted);
}
@media (max-width: 720px) {
  /* высота рисунка больше не задана жёстко — под ним встал счётчик */
  .hero__card { aspect-ratio: auto; }
  .gear-meter__cell { padding: 6px 11px; font-size: .74rem; }
  .gear-meter__cell b { font-size: 1rem; min-width: 2.8ch; }
  .gear-hint { display: none; }               /* на телефоне колеса мыши нет */
}

/* Выпадающее меню на планшете и телефоне: прижимаем к правому краю
   шапки, а не к самой кнопке — иначе список вылезал за край экрана. */
@media (max-width: 1040px) {
  .drop--menu { position: static; }
  .drop__panel--menu {
    top: calc(100% + 6px); left: auto; right: 16px; transform: none;
    max-width: calc(100vw - 32px);
  }
  .drop__panel--menu::before { left: auto; right: 26px; margin-left: 0; }
}

/* ---------- Рубрика «Porady»: советы и вопросы клиентов ---------- */
.por-jump { margin: 18px 0 8px; }
.por-group { margin-top: 44px; padding-bottom: 8px; border-bottom: 3px double var(--coffee); font-size: 1.5rem; }
.por-help { margin: -2px 0 10px; font-size: .92rem; }
.por-help a { color: var(--crema-dk); font-weight: 700; }
.por-muted { color: var(--muted); }
.por-list { display: grid; gap: 18px; margin-top: 24px; }
.por-q {
  background: var(--white); border: 2px solid var(--coffee); border-radius: 4px;
  box-shadow: 3px 3px 0 var(--latte); padding: 20px 22px; scroll-margin-top: 120px;
}
.por-q.is-hl { box-shadow: 0 0 0 3px var(--crema); }
.por-q__meta { margin: 0 0 6px; font-size: .86rem; color: var(--muted); }
.por-q__text { margin: 0; font-weight: 700; white-space: pre-line; overflow-wrap: anywhere; }
.por-q__answer { margin-top: 14px; padding: 12px 0 0 16px; border-top: 1px dashed var(--line); border-left: 4px solid var(--crema); }
.por-q__answer p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.por-q__answer .por-q__label { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--crema-dk); margin-bottom: 4px; }
.por-box {
  margin: 24px 0 40px; background: var(--white); border: 2px solid var(--coffee); border-radius: 4px;
  box-shadow: 4px 4px 0 var(--latte); padding: 26px;
}
.por-step { display: grid; gap: 16px; }
.por-step[hidden] { display: none; }
.por-note, .por-who { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.por-small { margin: 0; font-size: .85rem; color: var(--muted); }
.por-link {
  background: none; border: 0; padding: 0; font: inherit; color: var(--crema-dk);
  text-decoration: underline; cursor: pointer;
}
.por-step .btn { cursor: pointer; font: inherit; font-weight: 800; }
.por-step .btn[disabled] { opacity: .6; cursor: wait; }
.por-policy h2 { font-size: 1.25rem; margin-top: 30px; }
.por-policy p { overflow-wrap: anywhere; }
.footer__small a { color: inherit; margin-left: 8px; }
@media (max-width: 560px) { .por-box { padding: 18px; } .por-q { padding: 16px; } }
/* Длинные подписи на узком телефоне: кнопка переносится, заголовок политики — тоже */
.por-jump .btn { white-space: normal; max-width: 100%; text-align: center; }
.por-policy h1 { font-size: clamp(1.7rem, 8vw, 3rem); overflow-wrap: break-word; hyphens: auto; }
/* Страница «Porady»: вместо ряда закладок — одна кнопка «на главную» */
.home-back { margin: 0 0 22px; }
.home-back .btn--small { padding: .35em .85em; font-size: .75rem; letter-spacing: .06em; }
/* Свёрнутый раздел советов: заголовок — кнопка, внутри — вопросы */
.por-fold { border-bottom: 0; padding: 0; }
.por-fold > summary { padding: 0; }
.por-fold > summary::after { font-size: 2rem; top: auto; bottom: 14px; transform: none; }
.por-fold[open] > summary::after { transform: rotate(45deg); }
/* Вопросы внутри раскрытого раздела: плюсик поворачивается только у своего открытого вопроса */
.por-fold[open] details:not([open]) > summary::after { transform: translateY(-50%); }
.por-fold > summary .por-group { padding-right: 40px; }
.por-fold > summary:hover .por-group { color: var(--crema-dk); }
/* Комментарии под вопросом */
.por-c { margin-top: 12px; }
.por-c__btn { font-weight: 700; text-decoration: none; }
.por-c__btn:hover { text-decoration: underline; }
.por-c__body { margin-top: 10px; display: grid; gap: 10px; }
.por-c__body[hidden] { display: none; }
.por-c__item { padding: 8px 0 8px 14px; border-left: 3px solid var(--line); }
.por-c__item.is-master { border-left-color: var(--crema); }
.por-c__item .por-q__meta { margin-bottom: 2px; }
.por-c__item.is-master .por-q__meta { color: var(--crema-dk); font-weight: 700; }
.por-c__text { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.por-c__f { display: grid; gap: 12px; margin-top: 4px; }
.por-c__f textarea { min-height: 80px; }
/* Узкий телефон: длинная кнопка переносится, а не растягивает карточку */
.por-list > .por-q { min-width: 0; }
.por-c__f .btn, .por-step .btn { white-space: normal; max-width: 100%; text-align: center; }
/* «Вопросы клиентов» (чат) — шире обычной узкой колонки (просьба владельца) */
.wrap--porady { max-width: 1040px; }
/* Окошко «Быстрая проверка» — выскакивает, когда не вошедший хочет написать комментарий */
.por-dlg {
  width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  padding: 26px 24px 22px; background: var(--milk); color: var(--text);
  border: 2px solid var(--coffee); border-radius: 6px; box-shadow: 6px 6px 0 var(--crema);
}
.por-dlg::backdrop { background: rgba(43, 33, 24, .55); }
.por-dlg h3 { margin: 0 32px 8px 0; font-size: 1.5rem; }
.por-dlg__lead { color: var(--muted); margin: 0 0 16px; }
.por-dlg form { display: grid; gap: 14px; }
.por-dlg form[hidden] { display: none; }
.por-dlg .btn { cursor: pointer; font: inherit; font-weight: 800; white-space: normal; }
.por-dlg .btn[disabled] { opacity: .6; cursor: wait; }
.por-dlg__x {
  position: absolute; top: 8px; right: 10px; width: 36px; height: 36px;
  background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--coffee); cursor: pointer;
}
/* Карточка вопроса свёрнута до вопроса: заголовок-кнопка с плюсиком */
details.por-q { border-bottom: 2px solid var(--coffee); padding: 0; }
.por-q > summary.por-q__head { padding: 20px 56px 20px 22px; font-weight: inherit; font-size: inherit; }
.por-q > summary.por-q__head::after { right: 20px; }
.por-q > summary.por-q__head:hover .por-q__text { color: var(--crema-dk); }
details.por-q > .por-q__answer, details.por-q > .por-c { margin-left: 22px; margin-right: 22px; }
details.por-q > .por-c { padding-bottom: 18px; }
details.por-q > .por-q__answer { margin-top: 0; }
/* Плюсики у комментариев внутри не поворачивать вместе с карточкой */
details.por-q[open] details:not([open]) > summary::after { transform: translateY(-50%); }
@media (max-width: 560px) {
  .por-q > summary.por-q__head { padding: 16px 48px 16px 16px; }
  details.por-q > .por-q__answer, details.por-q > .por-c { margin-left: 16px; margin-right: 16px; }
}
/* Общее правило «details p» (серый текст, отступ) внутри карточки не нужно */
details.por-q p { padding-bottom: 0; color: var(--text); }
details.por-q .por-q__meta, details.por-q .por-muted, details.por-q .por-small { color: var(--muted); }
details.por-q .por-q__label, details.por-q .por-c__item.is-master .por-q__meta { color: var(--crema-dk); }
/* Страница «Не найдено» */
.nf-wrap { text-align: center; padding: 40px 0 20px; }
.nf[hidden] { display: none; }
.nf .btn { margin-top: 8px; }
.nf__links { margin-top: 22px; color: var(--muted); }
.nf__links a { color: var(--crema-dk); font-weight: 700; }
/* Страница никогда не сдвигается вбок: бегущая лента марок чуть шире экрана
   на русской главной (найдено замером 24.09.2026). clip, а не hidden —
   иначе перестала бы «прилипать» шапка. */
html, body { overflow-x: clip; }
/* Марки в бегущей строке — кнопки: навёл мышку или нажал — окошко с информацией */
.brand-chip {
  background: none; border: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit;
  text-transform: inherit; cursor: pointer; border-bottom: 1px dashed transparent;
}
.brand-chip:hover, .brand-chip:focus-visible { border-bottom-color: currentColor; outline: none; }
.brands__run.is-paused .brands__track { animation-play-state: paused; }
.brand-pop {
  position: fixed; z-index: 60; width: min(340px, calc(100vw - 16px));
  padding: 16px 18px 14px; background: var(--milk); color: var(--text);
  border: 2px solid var(--coffee); border-radius: 6px; box-shadow: 5px 5px 0 var(--crema);
  display: grid; gap: 8px; text-align: left;
}
.brand-pop[hidden] { display: none; }
.brand-pop__name { margin: 0; font-family: "DM Serif Display", Georgia, serif; font-size: 1.45rem; line-height: 1.1; color: var(--coffee); }
.brand-pop__line { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--text); }
.brand-pop__parts { margin: 0; font-size: .88rem; font-weight: 700; color: #2e7d32; }
.brand-pop__parts.is-order { color: var(--crema-dk); }
.brand-pop__link { color: var(--crema-dk); font-weight: 700; font-size: .92rem; }
.brand-pop__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.brand-pop__btns .btn { white-space: normal; }
.brand-pop__where { margin: 0; font-size: .88rem; line-height: 1.4; color: var(--coffee); }
/* ---------- Раздел «Instrukcje» ---------- */
.ins-search { display: block; margin: 22px 0 8px; max-width: 520px; }
.ins-search input {
  width: 100%; font: inherit; font-size: 1.05rem; padding: .8em 1em .8em 2.6em;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2118' stroke-width='2.2'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat .9em center / 1.1em;
  border: 2px solid var(--coffee); border-radius: 4px; box-shadow: 3px 3px 0 var(--latte); color: var(--text);
}
.ins-search input:focus { outline: none; border-color: var(--crema); box-shadow: 3px 3px 0 var(--crema); }
.ins-h2 { font-size: 1.4rem; margin: 30px 0 14px; }
.ins-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.ins-brand {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px 16px; text-align: center;
  background: var(--white); border: 2px solid var(--coffee); border-radius: 4px; box-shadow: 3px 3px 0 var(--latte);
  color: var(--coffee); text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.ins-brand:hover, .ins-brand:focus-visible { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--crema); outline: none; }
.ins-ico { width: 56px; height: 56px; color: var(--coffee); flex: none; }
.ins-brand__name { font-family: "DM Serif Display", Georgia, serif; font-size: 1.3rem; line-height: 1.1; }
.ins-brand__count { font-size: .85rem; color: var(--muted); }
.ins-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 16px 0; }
.ins-model {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 10px 12px; background: var(--white); border: 1.5px solid var(--coffee); border-radius: 4px;
  color: var(--coffee); text-decoration: none; transition: background .15s, box-shadow .15s;
}
.ins-model[hidden] { display: none; }
.ins-model:hover, .ins-model:focus-visible { background: var(--milk); box-shadow: 3px 3px 0 var(--crema); outline: none; }
.ins-pdf { grid-row: 1 / 3; width: 30px; height: 30px; color: var(--coffee); }
.ins-model__name { font-weight: 800; font-size: 1rem; overflow-wrap: anywhere; }
.ins-model__meta { font-size: .78rem; color: var(--muted); }
.ins-head { display: flex; align-items: center; gap: 16px; }
.ins-head .ins-ico { width: 72px; height: 72px; }
.ins-head h1 { margin: 0; }
.ins-links { margin: 18px 0 0; font-weight: 700; }
.ins-links a { color: var(--crema-dk); }
.ins-note { margin-top: 18px; }
@media (max-width: 560px) {
  .ins-brands { grid-template-columns: repeat(2, 1fr); }
  .ins-models { grid-template-columns: 1fr; }
  .ins-head .ins-ico { width: 54px; height: 54px; }
}
/* Плитки марок — логотипы (просьба владельца 29.09.2026) */
.ins-brand { background: var(--white); padding: 16px 12px 12px; gap: 10px; }
.ins-brand__logo { height: 64px; width: 100%; display: flex; align-items: center; justify-content: center; }
.ins-logo { max-width: 86%; max-height: 52px; width: auto; height: auto; }
.ins-logo--text {
  max-width: 100%; font-family: "Karla", Arial, sans-serif; font-weight: 800; font-size: 1.35rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--coffee); overflow-wrap: anywhere; line-height: 1.1;
}
.ins-head__logo { display: flex; align-items: center; justify-content: center; flex: none;
  width: 150px; height: 84px; padding: 10px; background: var(--white); border: 2px solid var(--coffee); border-radius: 4px; }
.ins-head__logo .ins-logo { max-width: 100%; max-height: 60px; }
@media (max-width: 560px) { .ins-head__logo { width: 110px; height: 64px; } .ins-logo--text { font-size: 1.1rem; } }
/* Плитки марок — только логотип, без рамки и без подписи «N инструкций» (владелец 29.09.2026) */
.ins-brand { border: 0; box-shadow: none; background: var(--white); border-radius: 4px; }
.ins-brand:hover, .ins-brand:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(43, 33, 24, .18); }
/* Плитки марок «на стекле»: полупрозрачные, с бликом — логотип как будто
   нанесён на стекло (просьба владельца 29.09.2026). Приём как у кнопок сайта:
   блик собран в фоне самой плитки, не отдельным слоем. */
.ins-brand {
  background:
    radial-gradient(90% 70% at 25% 0%, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.18) 55%, rgba(255,255,255,.28) 100%);
  -webkit-backdrop-filter: blur(6px) saturate(1.15);
  backdrop-filter: blur(6px) saturate(1.15);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(43,33,24,.08),
    0 4px 14px rgba(43,33,24,.12);
}
.ins-brand:hover, .ins-brand:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 20px rgba(43,33,24,.2);
}
.ins-head__logo {
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.22));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 4px 14px rgba(43,33,24,.12);
}
/* Список инструкций: крупные строки-ссылки «Марка Модель», без кнопок */
.ins-list {
  list-style: none; margin: 18px 0; padding: 0;
  columns: 3 260px; column-gap: 40px;
}
.ins-list li { break-inside: avoid; border-bottom: 1px solid rgba(43,33,24,.12); }
.ins-list li[hidden] { display: none; }
.ins-link {
  display: block; padding: 11px 4px 11px 0;
  font-size: 1.22rem; line-height: 1.35; font-weight: 600; letter-spacing: .005em;
  color: var(--coffee); text-decoration: none;
}
.ins-link::before { content: "›"; display: inline-block; width: 1em; color: var(--crema); font-weight: 800; }
.ins-link:hover, .ins-link:focus-visible { color: var(--crema-dk); text-decoration: underline; text-underline-offset: 4px; outline: none; }
@media (max-width: 560px) { .ins-link { font-size: 1.15rem; padding: 12px 0; } }

/* Страницы без фона: чистый однотонный лист, чтобы внимание было на тексте */
body.is-plain::before, body.is-plain::after { display: none; }
body.is-plain { background: var(--milk); }
body.is-plain .sheet { background: var(--milk); box-shadow: none; max-width: 100%; }
body.is-plain .sheet::before { display: none; }
/* Название страницы в «прилипающей» шапке — крупными заглавными буквами */
.topbar__title {
  flex: 1 1 auto; min-width: 0; margin: 0; text-align: center;
  font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem); line-height: 1.1; letter-spacing: .07em; text-transform: uppercase;
  color: var(--coffee); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Когда есть название, «Menu» не тянется к середине — место занимает заголовок */
.topbar__title + .topbar__nav { margin-left: 0; }
@media (max-width: 1040px) {
  /* на планшете и телефоне — отдельной строкой под логотипом и телефонами */
  .topbar__in:has(.topbar__title) { flex-wrap: wrap; }
  .topbar__title { order: 10; flex-basis: 100%; font-size: clamp(1.2rem, 3.4vw, 1.6rem); letter-spacing: .05em; white-space: normal; }
}
/* Спрятать с экрана, но оставить для Google и программ чтения с экрана */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Страница марки: логотип по центру, крупнее */
.ins-head { justify-content: center; margin: 6px 0 18px; }
.ins-head__logo { width: min(320px, 80vw); height: 130px; padding: 18px 26px; }
.ins-head__logo .ins-logo { max-height: 92px; }
.ins-head + .section__lead { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 560px) { .ins-head__logo { height: 100px; } .ins-head__logo .ins-logo { max-height: 66px; } }
/* Кнопка языка — в шапке справа, в одной строке с «Оставить заявку» */
.topbar__cta { display: flex; align-items: center; gap: 8px; }
.topbar__cta .topbar__lead { flex: 1 1 auto; }
.topbar__lang { display: flex; flex: none; }
.topbar__lang .drop--lang > summary { border-color: var(--coffee); border-width: 1.5px; padding: 6px 11px; }
/* Список языков выпадает вниз под кнопкой и прижат к правому краю — не уходит за экран */
.topbar__lang .drop__panel--lang { left: auto; right: 0; }
.topbar__lang .drop__panel--lang::before { left: auto; right: 18px; }
@media (max-width: 1040px) { .topbar__cta { width: 100%; } }
/* На телефоне кнопка языка стоит слева от «Оставить заявку» — список открываем вправо */
@media (max-width: 720px) {
  .topbar__lang .drop__panel--lang { left: 0; right: auto; }
  .topbar__lang .drop__panel--lang::before { left: 18px; right: auto; }
}

/* Логотипы марок — на прозрачном фоне, без плиток (просьба владельца 29.09.2026) */
.ins-brand, .ins-head__logo {
  background: transparent; border: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.ins-brand:hover, .ins-brand:focus-visible { background: transparent; box-shadow: none; transform: translateY(-3px) scale(1.04); }
/* Кнопка «назад» и поиск модели — одной строкой, по одной высоте */
.ins-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 22px; }
.ins-bar .btn { flex: none; }
.ins-bar .ins-search { flex: 1 1 280px; max-width: 520px; margin: 0; }
.ins-bar .ins-search input { padding-top: .55em; padding-bottom: .55em; font-size: 1rem; }
.ins-bar .btn, .ins-bar .ins-search input { height: 46px; box-sizing: border-box; }
.ins-bar .btn { display: inline-flex; align-items: center; }
/* Поиск — справа и с такой же рамкой, как у кнопки «назад»: 1,5 px, скругление 11 px, мягкая тень */
.ins-bar { justify-content: space-between; }
.ins-bar .ins-search { margin-left: auto; }
.ins-bar .ins-search input {
  border: 1.5px solid rgba(43, 33, 24, .55); border-radius: 11px; background-color: #fbf5e9;
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -4px 7px rgba(43,33,24,.08), 0 2px 5px rgba(43,33,24,.14);
}
.ins-bar .ins-search input:focus { border-color: var(--crema); box-shadow: 0 0 0 3px rgba(200,137,74,.25); }
/* Подвал — низкий, одной полосой, по высоте как шапка (просьба владельца 29.09.2026) */
.footer { padding: 12px 0; font-size: .8rem; line-height: 1.35; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 22px; }
.footer__in > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.footer p { margin: 0; }
.footer img { height: 26px; margin: 0; }
.footer__in br { display: none; }
.footer__in strong::after { content: " ·"; }
.footer__phones { flex-direction: row !important; flex-wrap: wrap; gap: 2px 12px !important; }
@media (max-width: 720px) { .footer { padding: 12px 0 88px; } .footer__in { justify-content: flex-start; } }
/* ===== Меню на телефоне и планшете (просьба владельца 29.09.2026) =====
   Кнопка «Menu» — как кнопка языка, со светящимся контуром.
   Нажал — меню «вылетает» из кнопки на весь экран; пункты — крупными
   строками, как ссылки на PDF в «Инструкциях». */
@keyframes menuGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(43,33,24,.35), 0 0 6px rgba(200,137,74,.45); }
  50%      { box-shadow: 0 0 0 1px rgba(43,33,24,.35), 0 0 14px rgba(200,137,74,.9); }
}
@keyframes menuFly { from { opacity: 0; transform: scale(.08); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 1040px) {
  .drop--menu > summary {
    padding: 6px 14px; border-radius: 999px; border: 1.5px solid #fff;
    background: var(--latte); color: var(--coffee); font-weight: 800; font-size: .82rem; letter-spacing: .04em;
    animation: menuGlow 2.4s ease-in-out infinite;
    position: relative; z-index: 102;
  }
  .drop--menu[open] > summary { background: var(--coffee); color: var(--milk); animation: none; }
  .drop--menu[open] > summary::before { content: "✕"; margin-right: .1em; }
  .drop__panel--menu {
    position: fixed; inset: 0; top: 0; left: 0; right: 0; max-width: none; min-width: 0;
    z-index: 101; border: 0; border-radius: 0; box-shadow: none;
    background: var(--milk); padding: 96px 22px 110px; overflow-y: auto;
    transform-origin: var(--mx, 80%) var(--my, 40px);
    animation: menuFly .32s cubic-bezier(.2,.8,.2,1);
  }
  .drop__panel--menu::before { display: none; }
  .drop__panel--menu > a {
    display: block; padding: 14px 4px; border-radius: 0; white-space: normal;
    font-size: 1.3rem; font-weight: 600; color: var(--coffee);
    border-bottom: 1px solid rgba(43,33,24,.12);
  }
  .drop__panel--menu > a::before { content: "›"; display: inline-block; width: 1em; color: var(--crema); font-weight: 800; }
  .drop__panel--menu > a:hover { background: none; color: var(--crema-dk); }
  .drop__panel--menu .drop__sub { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 6px 0 10px 1.3em; }
  .drop__panel--menu .drop__sub a { padding: 4px 0; font-size: 1rem; color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) {
  .drop--menu > summary { animation: none; }
  .drop__panel--menu { animation: none; }
}
@media (max-width: 1040px) {
  .topbar__nav .drop__panel--menu a { text-transform: none; letter-spacing: .005em; }
}
/* Кнопка «Menu» не прыгает: на телефоне/планшете всегда справа в строке с логотипом,
   на любой странице, и одной ширины — открыта она или закрыта */
@media (max-width: 1040px) {
  .topbar__nav, .topbar__title + .topbar__nav { margin-left: auto !important; order: 2; }
  .topbar__logo { order: 1; }
  .drop--menu > summary { width: 96px; justify-content: center; box-sizing: border-box; }
  .drop--menu > summary { height: 32px; padding: 0 14px 0 26px; position: relative; }
  .drop--menu > summary::before { content: "☰"; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: .8rem; }
  .drop--menu[open] > summary::before { content: "✕"; }
}
/* Кнопка «Menu» — точно как кнопка языка: тот же фон со «стеклом», рамка, тень,
   шрифт и высота (просьба владельца 29.09.2026) */
@media (max-width: 1040px) {
  .drop--menu > summary, .drop--menu[open] > summary {
    height: 28px; padding: 0 12px 0 25px; border-radius: 999px;
    border: 1.5px solid var(--coffee); color: var(--coffee);
    font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    background-color: var(--latte);
    background-image:
      radial-gradient(76% 130% at 28% -14%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 60%),
      linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 50%, rgba(43,33,24,.1) 100%);
    box-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -3px 6px rgba(43,33,24,.16),
      0 0 0 1px rgba(43,33,24,.4), 0 0 12px rgba(255,255,255,.55), 0 2px 0 rgba(43,33,24,.22), 0 5px 10px rgba(43,33,24,.28);
    animation: none; width: auto;
  }
  .drop--menu[open] > summary { background-color: var(--white); }
}
/* Страницы без фона (Инструкции): полоса «Напишите… / Заявка / телефоны» — узкая,
   от края до края, как шапка; всё в одну строку (просьба владельца 29.09.2026) */
body.is-plain .ust-cta {
  width: 100vw; margin: 40px 0 0 calc(50% - 50vw); border-radius: 0;
  padding: 12px max(16px, calc(50vw - 570px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  border-top: 3px double var(--coffee); border-bottom: 3px double var(--coffee);
}
body.is-plain .ust-cta p { margin: 0; }
body.is-plain .ust-cta .section__lead { flex: 1 1 320px; font-size: .92rem; line-height: 1.35; }
body.is-plain .ust-cta .btn { padding: .5em 1.1em; font-size: .85rem; }
body.is-plain .ust-cta .phones { margin: 0; flex-direction: row; flex-wrap: wrap; gap: 2px 14px; font-size: .88rem; }
body.is-plain .ust-cta .phones__label { display: none; }
body.is-plain .section:has(.ust-cta) { padding-bottom: 0; }
/* Меню на телефоне — текст крупнее (просьба владельца 29.09.2026) */
@media (max-width: 1040px) {
  .topbar__nav .drop__panel--menu > a { font-size: 1.6rem; padding: 16px 4px; }
  .topbar__nav .drop__panel--menu .drop__sub a { font-size: 1.2rem; padding: 6px 0; }
}
/* Надпись «MENU» на кнопке — крупнее; кнопка языка — такая же (просьба владельца 29.09.2026) */
@media (max-width: 1040px) {
  .drop--menu > summary, .drop--menu[open] > summary { height: 38px; font-size: 1.05rem; padding: 0 16px 0 32px; }
  .drop--menu > summary::before { left: 13px; font-size: 1rem; }
  .topbar__lang .drop--lang > summary { height: 38px; font-size: 1.05rem; padding: 0 14px; box-sizing: border-box; }
}
/* Кнопка «на главную» над первым разделом страницы: разделу — меньше отступ сверху */
.home-back--top { margin: 26px 0 0; }
.home-back--top + * , .wrap:has(> .home-back--top) + .section { padding-top: 22px; }
/* Маленькие красные надписи над заголовками, повторяющие название раздела, — убраны
   (просьба владельца 29.09.2026). Оставлены: подпись первого экрана главной и
   надписи-ссылки «← Поломки» / «← Коды ошибок» на страницах поломок и марок. */
.eyebrow { display: none; }
.hero .eyebrow, .eyebrow:has(a) { display: block; }

/* ===== Плавный переход между страницами, как окна на Mac (просьба владельца 30.09.2026) =====
   Новая страница «вырастает» из той закладки/кнопки, на которую нажали.
   Точку нажатия запоминает app.js (--vx, --vy). Старые браузеры — обычный переход. */
@view-transition { navigation: auto; }
@keyframes pageGrow {
  from { clip-path: inset(var(--vy, 0px) calc(100% - var(--vx, 50%)) calc(100% - var(--vy, 0px)) var(--vx, 50%) round 18px);
         transform: scale(.92); opacity: .4; }
  60%  { opacity: 1; }
  to   { clip-path: inset(0 0 0 0 round 0); transform: scale(1); opacity: 1; }
}
@keyframes pageAway { to { transform: scale(.96); opacity: 0; filter: blur(2px); } }
::view-transition-old(root) { animation: pageAway .4s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: pageGrow .45s cubic-bezier(.2,.8,.2,1) both; transform-origin: var(--vx, 50%) var(--vy, 0px); }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
/* Мягкие, размытые края раскрывающегося окна (просьба владельца 30.09.2026):
   вместо резкой рамки — круг с растушёвкой, растущий из точки нажатия */
@property --vr { syntax: "<length>"; inherits: false; initial-value: 0px; }
@keyframes pageGrowSoft {
  from { --vr: 0px; opacity: .5; transform: scale(.95); }
  to   { --vr: 160vmax; opacity: 1; transform: scale(1); }
}
::view-transition-new(root) {
  animation: pageGrowSoft .55s cubic-bezier(.2,.8,.2,1) both;
  -webkit-mask-image: radial-gradient(circle at var(--vx, 50%) var(--vy, 0px), #000 calc(var(--vr) - 120px), transparent var(--vr));
          mask-image: radial-gradient(circle at var(--vx, 50%) var(--vy, 0px), #000 calc(var(--vr) - 120px), transparent var(--vr));
}
@media (prefers-reduced-motion: reduce) { ::view-transition-new(root) { animation: none; -webkit-mask-image: none; mask-image: none; } }
/* Плавнее (просьба владельца 30.09.2026): дольше, мягкий разгон и торможение, шире растушёвка */
::view-transition-new(root) {
  animation: pageGrowSoft .8s cubic-bezier(.45,.05,.25,1) both;
  -webkit-mask-image: radial-gradient(circle at var(--vx, 50%) var(--vy, 0px), #000 calc(var(--vr) - 240px), transparent var(--vr));
          mask-image: radial-gradient(circle at var(--vx, 50%) var(--vy, 0px), #000 calc(var(--vr) - 240px), transparent var(--vr));
}
::view-transition-old(root) { animation: pageAway .7s cubic-bezier(.45,.05,.25,1) both; }
@media (prefers-reduced-motion: reduce) { ::view-transition-new(root), ::view-transition-old(root) { animation: none; } }
/* Порядок в шапке на планшете/телефоне: логотип, «Menu», потом телефоны и заявка
   (без этого на 721–1040 px телефоны вставали перед логотипом) */
@media (max-width: 1040px) { .topbar__actions { order: 3; } }
/* Самые узкие телефоны: логотип чуть меньше, чтобы «Menu» стояла в той же строке */
@media (max-width: 360px) {
  .topbar__logo .topbar__icon { width: 30px; height: 30px; }
  .topbar__logo img:not(.topbar__icon) { width: 100px; height: auto; }
  .topbar__in { gap: 10px; }
}
/* «Советы» и «Вопросы»: заголовок и вводный текст по центру (владелец 30.09.2026) */
#pytania-page h1, .page-center h1, .page-center .section__lead { text-align: center; margin-left: auto; margin-right: auto; }
#faq h2 { text-align: center; }
/* Поиск в «Инструкциях» без кнопки слева — прижат вправо, как было */
.ins-bar { margin-top: 0; }
/* «Советы: вопросы и ответы» — в одну строку на любом экране (владелец 30.09.2026) */
.page-center h1 { white-space: nowrap; font-size: clamp(1.25rem, 5.6vw, 3.2rem); }
.page-center h1 { font-size: clamp(1.1rem, 5.1vw, 3.2rem); }
/* Длинные названия в шапке (поломки, коды ошибок) — мельче и в две строки */
.topbar__title--long { white-space: normal; font-size: clamp(1rem, 1.5vw, 1.35rem); letter-spacing: .04em; line-height: 1.2; text-wrap: balance; }

/* Подпись под логотипом марки: «Serwis ekspresów DeLonghi» (владелец 01.10.2026) */
.srv-cap { display: block; text-align: center; font-weight: 700; font-size: .95rem; line-height: 1.25; color: var(--ink, inherit); }
/* Кнопки марок «Serwis» — стеклянные кнопки с логотипом и подписью (владелец 01.10.2026).
   Только для марок ремонта: в «Instrukcje» логотипы остаются без плиток. */
.ins-brand.srv-tile {
  background:
    radial-gradient(90% 70% at 25% 0%, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.2) 55%, rgba(255,255,255,.3) 100%);
  -webkit-backdrop-filter: blur(6px) saturate(1.15);
  backdrop-filter: blur(6px) saturate(1.15);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 14px;
  padding: 18px 12px 14px; gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(43,33,24,.08), 0 4px 14px rgba(43,33,24,.14);
}
.ins-brand.srv-tile:hover, .ins-brand.srv-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 20px rgba(43,33,24,.22);
}
/* Кнопка «← Strona główna» — чуть крупнее (владелец 01.10.2026) */
.home-back .btn--small { padding: .55em 1.15em; font-size: .92rem; }
/* Обещание на страницах марок — отдельный блок по центру (владелец 01.10.2026) */
.srv-promise {
  max-width: 760px; margin: 26px auto 30px; padding: 18px 22px;
  text-align: center; font-weight: 700; font-size: 1.05rem; line-height: 1.5;
  border: 2px solid var(--crema, #c8a97e); border-radius: 14px;
  background: rgba(255, 255, 255, .45);
}
.srv-promise__icon { display: block; font-size: 1.6rem; margin-bottom: 6px; }
/* …полосой во всю ширину, текст по центру по всей полосе (владелец 01.10.2026) */
.srv-promise {
  max-width: none; width: 100vw; margin: 26px 0 30px; margin-left: calc(50% - 50vw);
  padding: 22px max(16px, calc(50vw - 560px)); border: 0; border-radius: 0;
  border-top: 2px solid var(--ink, #2b2118); border-bottom: 2px solid var(--ink, #2b2118);
  background: rgba(200, 169, 126, .28); font-size: 1.12rem;
}
/* Страница марки «Serwis …» — спокойная колонка по центру (владелец 01.10.2026) */
.srv-page { max-width: 900px; margin: 0 auto; }
.srv-lead { text-align: center; font-size: 1.08rem; line-height: 1.65; color: var(--muted, #6b5d50); margin: 8px auto 0; max-width: 720px; }
.srv-label { text-align: center; margin: 0 0 10px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #6b5d50); }
.srv-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0 0 40px; }
.srv-chips li { padding: .35em .9em; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid rgba(43,33,24,.15); font-size: .92rem; }
.srv-h2 { text-align: center; font-size: clamp(1.45rem, 3.2vw, 2rem); line-height: 1.2; margin: 44px 0 20px; }
.srv-h2::after { content: ""; display: block; width: 56px; height: 3px; margin: 12px auto 0; border-radius: 2px; background: var(--accent, #b4442f); }
.srv-faults { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.srv-fault { background: rgba(255,255,255,.55); border: 1px solid rgba(43,33,24,.1); border-radius: 14px; padding: 18px 20px; box-shadow: 0 2px 10px rgba(43,33,24,.06); }
.srv-fault h3 { font-size: 1.08rem; margin: 0 0 8px; line-height: 1.3; }
.srv-fault p { margin: 0; line-height: 1.55; color: var(--muted, #6b5d50); }
.srv-what { list-style: none; padding: 20px 24px; margin: 0; background: rgba(255,255,255,.55); border: 1px solid rgba(43,33,24,.1); border-radius: 14px; display: grid; gap: 10px; }
.srv-what li { position: relative; padding-left: 30px; line-height: 1.5; }
.srv-what li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #3d7a4a; color: #fff; font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.srv-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
@media (max-width: 640px) { .srv-faults { grid-template-columns: 1fr; } .srv-what { padding: 16px 18px; } }
.srv-links .btn { white-space: normal; text-align: center; max-width: 100%; }
/* «Другие марки / Другие поломки» — как на страницах марок: по центру, спокойно (владелец 01.10.2026) */
.ust-other { text-align: center; font-size: clamp(1.45rem, 3.2vw, 2rem); line-height: 1.2; margin: 44px 0 20px; }
.ust-other::after { content: ""; display: block; width: 56px; height: 3px; margin: 12px auto 0; border-radius: 2px; background: var(--accent, #b4442f); }
.ust-chips { justify-content: center; }
.ust-chips { margin-bottom: 48px; }
/* Подвал: аккуратные три колонки, по-прежнему невысокий (владелец 01.10.2026) */
.footer { padding: 22px 0; font-size: .82rem; line-height: 1.5; }
.footer__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 40px; }
.footer__in > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__in > div:nth-child(2) { align-items: center; text-align: center; }
.footer__in > div:last-child { align-items: flex-end; }
.footer__in br { display: inline; }
.footer__in strong::after { content: ""; }
.footer img { height: 28px; margin: 0; }
.footer__phones { display: grid !important; grid-template-columns: auto auto; gap: 2px 14px !important; flex-direction: unset !important; }
.footer__phones a { display: contents; }
.footer__lang { gap: 6px; }
.footer__small { opacity: .75; }
@media (max-width: 860px) {
  .footer { padding: 20px 0 92px; }
  .footer__in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
  .footer__in > div, .footer__in > div:last-child { align-items: center; }
}
/* Полоса «Напишите… / Заявка» — как верхняя шапка: справа телефоны, под ними кнопка (владелец 01.10.2026) */
body.is-plain .ust-cta {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "lead phones" "lead btn";
  align-items: center; gap: 6px 32px; padding-top: 14px; padding-bottom: 14px;
}
body.is-plain .ust-cta > .section__lead { grid-area: lead; }
body.is-plain .ust-cta > p:has(.btn) { grid-area: btn; justify-self: end; }
body.is-plain .ust-cta > .phones {
  grid-area: phones; justify-self: end;
  display: grid; grid-template-columns: max-content max-content; justify-content: end; gap: 1px 8px; font-size: .82rem;
}
body.is-plain .ust-cta .phones__item { display: contents; }
body.is-plain .ust-cta .phones__item .ph__place { text-align: right; color: var(--muted); font-weight: 600; }
body.is-plain .ust-cta .phones__item .ph__num { color: var(--coffee); font-weight: 800; }
body.is-plain .ust-cta .btn { padding: .55em 1.3em; font-size: .9rem; }
@media (max-width: 640px) {
  body.is-plain .ust-cta { grid-template-columns: 1fr; grid-template-areas: "lead" "phones" "btn"; justify-items: center; text-align: center; }
  body.is-plain .ust-cta > .phones, body.is-plain .ust-cta > p:has(.btn) { justify-self: center; }
}
/* Телефон: номера только в шапке и в плавающих кнопках внизу — в полосе заявки и в подвале не повторяем (владелец 01.10.2026) */
@media (max-width: 720px) {
  body.is-plain .ust-cta > .phones, .footer__phones { display: none !important; }
  body.is-plain .ust-cta { grid-template-areas: "lead" "btn"; }
}
/* Телефон: полосу «Напишите… / Заявка» не показываем — есть плавающие кнопки внизу (владелец 01.10.2026) */
@media (max-width: 720px) { body.is-plain .ust-cta { display: none !important; } }
/* Телефон: шапка не прилипает — уезжает вверх вместе со страницей (владелец 01.10.2026).
   Позвонить и оставить заявку можно плавающими кнопками внизу. */
@media (max-width: 720px) { .topbar { position: relative; } }
@media (max-width: 720px) { html { scroll-padding-top: 12px; } }
/* Плавающие кнопки «Позвонить / Заявка» — чуть меньше (владелец 01.10.2026) */
@media (max-width: 720px) {
  .callbar { left: 20px; right: 20px; bottom: 10px; }
  .callbar > a, .callbar > button, .callbar__call { padding: 10px 8px; font-size: .9rem; }
  body { padding-bottom: 62px; }
}

/* Кнопка меню посередине плавающей полосы */
.callbar__nav { display: none; }
@media (max-width: 720px) {
  .callbar { z-index: 110; }
  .callbar .callbar__nav {
    display: block; flex: 0 0 56px; padding: 0; font-size: 1.3rem; line-height: 1;
    background-color: var(--latte); color: var(--coffee); text-shadow: none;
    border-left: 1.5px solid rgba(43,33,24,.35); border-right: 1.5px solid rgba(43,33,24,.35);
  }
  body.menu-open .callbar .callbar__nav { background-color: var(--coffee); color: var(--milk); }
}

/* Нижняя полоса на телефоне — как док айфона: прозрачная подложка, иконки без подписей (владелец 01.10.2026) */
@media (max-width: 720px) {
  .callbar {
    left: 50%; right: auto; transform: translateX(-50%); bottom: 12px;
    display: flex; gap: 18px; padding: 9px 16px; border-radius: 30px;
    background: rgba(255, 255, 255, .28) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 8px 28px rgba(43, 33, 24, .28), inset 0 1px 0 rgba(255, 255, 255, .6);
  }
  .callbar > .callbar__call, .callbar > .callbar__nav, .callbar > .callbar__lead {
    flex: 0 0 52px; width: 52px; height: 52px; padding: 0 !important; border: 0 !important;
    border-radius: 14px !important; display: flex; align-items: center; justify-content: center;
    color: #fff; text-shadow: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
  }
  .callbar svg { width: 28px; height: 28px; }
  .callbar .cb-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .callbar > .callbar__call { background: linear-gradient(180deg, #5df27a 0%, #29c449 100%) !important; }
  .callbar > .callbar__nav { background: linear-gradient(180deg, #a9a29a 0%, #7d756c 100%) !important; }
  .callbar > .callbar__lead { background: linear-gradient(180deg, #d3644d 0%, #a83b27 100%) !important; }
  .callbar__nav .ic-close { display: none; }
  body.menu-open .callbar__nav .ic-open { display: none; }
  body.menu-open .callbar__nav .ic-close { display: block; }
  .callbar__menu { left: 50% !important; right: auto !important; transform: translateX(-50%); width: min(320px, calc(100vw - 32px)); }
  body { padding-bottom: 84px; }
}
/* Док: ещё прозрачнее, иконки объёмнее — блик сверху и тень снизу (владелец 01.10.2026) */
@media (max-width: 720px) {
  .callbar {
    background: rgba(255, 255, 255, .12) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: 0 6px 22px rgba(43, 33, 24, .2), inset 0 1px 0 rgba(255, 255, 255, .5);
  }
  .callbar > .callbar__call, .callbar > .callbar__nav, .callbar > .callbar__lead {
    position: relative; overflow: hidden;
    box-shadow:
      0 4px 10px rgba(0, 0, 0, .28),
      0 1px 2px rgba(0, 0, 0, .25),
      inset 0 1.5px 0 rgba(255, 255, 255, .55),
      inset 0 -3px 6px rgba(0, 0, 0, .22);
  }
  .callbar > .callbar__call::after, .callbar > .callbar__nav::after, .callbar > .callbar__lead::after {
    content: ""; position: absolute; left: 4px; right: 4px; top: 2px; height: 46%;
    border-radius: 12px 12px 40% 40%; pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
  }
  .callbar svg { position: relative; z-index: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
  .callbar > .callbar__call { background: radial-gradient(120% 90% at 50% 0%, #7dff97 0%, #34d058 45%, #16a637 100%) !important; }
  .callbar > .callbar__nav  { background: radial-gradient(120% 90% at 50% 0%, #cfc8c0 0%, #948b81 50%, #645c53 100%) !important; }
  .callbar > .callbar__lead { background: radial-gradient(120% 90% at 50% 0%, #f08a70 0%, #c94a31 50%, #8f2c1a 100%) !important; }
}
@media (max-width: 720px) {
  .callbar {
    border: 1px solid rgba(255, 255, 255, .6) !important;
    box-shadow: 0 6px 20px rgba(43, 33, 24, .16), inset 0 1px 0 rgba(255, 255, 255, .55) !important;
    background: rgba(255, 255, 255, .08) !important;
  }
}
/* Док: сквозь подложку видно страницу — почти без размытия (владелец 01.10.2026) */
@media (max-width: 720px) {
  .callbar {
    background: rgba(255, 255, 255, .04) !important;
    -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px);
  }
}
@media (max-width: 720px) { .callbar { gap: 30px; padding-left: 20px; padding-right: 20px; } }
/* Док во всю ширину экрана, кнопки равномерно (владелец 01.10.2026) */
@media (max-width: 720px) {
  .callbar { left: 10px; right: 10px; transform: none; justify-content: space-evenly; gap: 0; }
  .callbar__menu { left: 50% !important; }
}

/* «Что мы делаем»: список на светлой карточке, а не на рисунке (владелец 01.10.2026) */
.scope__card {
  margin-top: 24px; padding: 28px 32px 0; overflow: hidden;
  background: rgba(253, 249, 242, .94); border: 1px solid rgba(43,33,24,.12); border-radius: 16px;
  box-shadow: 0 6px 24px rgba(43,33,24,.12);
}
.scope__card ol.scope { list-style: none; counter-reset: sc; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; columns: auto; }
.scope__card ol.scope li { counter-increment: sc; position: relative; padding: 6px 0 6px 40px; border: 0; line-height: 1.4; }
.scope__card ol.scope li::before {
  content: counter(sc); position: absolute; left: 0; top: 3px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--crema, #b4442f); color: #fff; font-size: .82rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.scope__card .scope__more { text-align: center; margin: 28px 0 14px; font-size: 1.15rem; }
.scope__card ul.scope--more { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; columns: auto; }
.scope__card ul.scope--more li { padding: .4em 1em; border-radius: 999px; background: #fff; border: 1px solid rgba(43,33,24,.15); font-size: .92rem; }
.scope__card .scope__note {
  margin: 28px -32px 0; padding: 18px 32px; border: 0; border-top: 1px solid rgba(43,33,24,.12); border-radius: 0;
  background: rgba(200,169,126,.18); text-align: center; line-height: 1.5;
}
.scope__card .scope__note .phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 8px; }
.scope__card .scope__note .phones__item .ph__place { color: var(--muted); font-weight: 600; }
.scope__card .scope__note .phones__item .ph__num { color: var(--coffee); font-weight: 800; }
@media (max-width: 640px) {
  .scope__card { padding: 20px 18px 0; }
  .scope__card ol.scope { grid-template-columns: 1fr; }
  .scope__card .scope__note { margin: 22px -18px 0; padding: 16px 18px; }
  .scope__card .scope__note .phones { flex-direction: column; align-items: center; }
}
@media (max-width: 720px) { .scope__card .scope__note .phones { display: none; } }

/* «Честно и без сюрпризов» — 5 карточек (добавили гарантию 01.10.2026) */
.why { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1040px) { .why { grid-template-columns: repeat(2, 1fr); } .why__item:last-child:nth-child(odd) { grid-column: span 2; } }
@media (max-width: 720px) { .why { grid-template-columns: 1fr; } .why__item:last-child:nth-child(odd) { grid-column: auto; } }
/* Меню на телефоне — стеклянное: прозрачный фон, пункты-кнопки со «стеклом» (владелец 01.10.2026) */
@media (max-width: 1040px) {
  .topbar__nav .drop__panel--menu {
    background: rgba(244, 234, 216, .55);
    -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
    padding: 84px 18px 120px; display: flex; flex-direction: column; gap: 10px;
  }
  .topbar__nav .drop__panel--menu > a {
    position: relative; overflow: hidden;
    padding: 14px 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 16px;
    font-size: 1.15rem; font-weight: 700; color: var(--coffee);
    background:
      radial-gradient(90% 120% at 20% -20%, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 60%),
      linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.18) 100%);
    box-shadow: 0 4px 14px rgba(43,33,24,.12), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(43,33,24,.06);
  }
  .topbar__nav .drop__panel--menu > a::before { content: none; }
  .topbar__nav .drop__panel--menu > a::after {
    content: "›"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    color: var(--crema); font-size: 1.4rem; font-weight: 800;
  }
  .topbar__nav .drop__panel--menu > a:active { transform: scale(.98); box-shadow: 0 2px 8px rgba(43,33,24,.12), inset 0 1px 0 rgba(255,255,255,.9); }
  .topbar__nav .drop__panel--menu .drop__sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 4px 6px; }
  .topbar__nav .drop__panel--menu .drop__sub a {
    padding: .35em .85em; font-size: .92rem; font-weight: 700; color: var(--coffee);
    border-radius: 999px; border: 1px solid rgba(255,255,255,.7);
    background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.25));
    box-shadow: 0 2px 6px rgba(43,33,24,.1), inset 0 1px 0 rgba(255,255,255,.9);
  }
  /* кнопка «✕ MENU» сверху — тоже стекло */
  .drop--menu[open] > summary {
    background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.25)) !important;
    color: var(--coffee) !important; border: 1px solid rgba(255,255,255,.8) !important;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(43,33,24,.18), inset 0 1px 0 rgba(255,255,255,.95) !important;
  }
}
/* Пункты стеклянного меню: текст не обрезается при любой ширине */
@media (max-width: 1040px) {
  .topbar__nav .drop__panel--menu > a {
    overflow: visible; display: block; height: auto; min-height: 0; line-height: 1.3;
    padding-top: 13px; padding-bottom: 13px; white-space: normal;
  }
}
@media (max-width: 1040px) { .topbar__nav .drop__panel--menu > * { flex-shrink: 0; } }

/* Сворачиваемые марки в меню (телефон/планшет) */
.drop__toggle { display: none; }
@media (max-width: 1040px) {
  .topbar__nav .drop__panel--menu > .drop__row { position: relative; flex-shrink: 0; display: block; }
  .topbar__nav .drop__panel--menu > .drop__row > a {
    display: block; position: relative; padding: 13px 64px 13px 18px; line-height: 1.3;
    border: 1px solid rgba(255,255,255,.7); border-radius: 16px;
    font-size: 1.15rem; font-weight: 700; color: var(--coffee); text-transform: none;
    background:
      radial-gradient(90% 120% at 20% -20%, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 60%),
      linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.18) 100%);
    box-shadow: 0 4px 14px rgba(43,33,24,.12), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(43,33,24,.06);
  }
  .topbar__nav .drop__panel--menu > .drop__row > a::before { content: none; }
  .drop__toggle {
    display: flex; align-items: center; justify-content: center;
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 42px; height: 36px; border-radius: 12px; border: 1px solid rgba(255,255,255,.8);
    background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.3));
    color: var(--crema); font-size: 1.1rem; font-weight: 800; cursor: pointer; transition: transform .25s;
  }
  .drop__toggle[aria-expanded="true"] { transform: translateY(-50%) rotate(180deg); }
  .topbar__nav .drop__panel--menu .drop__sub { display: none !important; }
  .topbar__nav .drop__panel--menu .drop__sub.is-open { display: flex !important; }
}
/* Меню: кнопки выпуклее, оттенок глубже (владелец 02.10.2026) */
@media (max-width: 1040px) {
  .topbar__nav .drop__panel--menu > a,
  .topbar__nav .drop__panel--menu > .drop__row > a {
    border: 1px solid rgba(255, 248, 236, .85);
    background:
      radial-gradient(120% 70% at 50% -10%, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 55%),
      linear-gradient(180deg, #f3e3c8 0%, #e2c9a3 55%, #cfae80 100%);
    box-shadow:
      0 6px 0 -1px #a8865a,
      0 10px 18px rgba(43, 33, 24, .28),
      inset 0 2px 0 rgba(255, 255, 255, .9),
      inset 0 -6px 10px rgba(120, 82, 40, .25);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
    margin-bottom: 6px;
  }
  .topbar__nav .drop__panel--menu > a:active,
  .topbar__nav .drop__panel--menu > .drop__row > a:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 -1px #a8865a, 0 4px 8px rgba(43,33,24,.22), inset 0 2px 0 rgba(255,255,255,.8), inset 0 -3px 6px rgba(120,82,40,.25);
  }
  .drop__toggle {
    background: linear-gradient(180deg, #fff6e6 0%, #ead3ad 100%);
    box-shadow: 0 3px 0 -1px #a8865a, inset 0 1px 0 rgba(255,255,255,.95);
  }
  .topbar__nav .drop__panel--menu .drop__sub a {
    background: linear-gradient(180deg, #f7ead4 0%, #e6cfab 100%);
    border: 1px solid rgba(255, 248, 236, .85);
    box-shadow: 0 3px 0 -1px #b29166, 0 5px 10px rgba(43,33,24,.18), inset 0 1px 0 rgba(255,255,255,.9);
  }
}
/* Кнопка MENU — такая же выпуклая карамельная, как пункты меню (владелец 02.10.2026) */
@media (max-width: 1040px) {
  .drop--menu > summary, .drop--menu[open] > summary {
    color: var(--coffee) !important;
    border: 1px solid rgba(255, 248, 236, .85) !important;
    background:
      radial-gradient(120% 70% at 50% -10%, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 55%),
      linear-gradient(180deg, #f3e3c8 0%, #e2c9a3 55%, #cfae80 100%) !important;
    box-shadow:
      0 4px 0 -1px #a8865a,
      0 7px 12px rgba(43, 33, 24, .28),
      inset 0 2px 0 rgba(255, 255, 255, .9),
      inset 0 -4px 8px rgba(120, 82, 40, .25) !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
    animation: none !important;
  }
  .drop--menu > summary:active { transform: translateY(3px); }
}
/* Кнопка MENU — поменьше */
@media (max-width: 1040px) {
  .drop--menu > summary { width: 82px !important; height: 28px !important; font-size: .74rem !important; padding: 0 10px 0 22px !important; }
  .drop--menu > summary::before { left: 9px !important; font-size: .7rem !important; }
}

/* Галерея: плитка фото и крупный просмотр (02.10.2026) */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gal__item { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: rgba(43,33,24,.08);
  box-shadow: 0 4px 14px rgba(43,33,24,.14); transition: transform .2s, box-shadow .2s; }
.gal__item:hover, .gal__item:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(43,33,24,.24); outline: none; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-box { position: fixed; inset: 0; z-index: 200; background: rgba(20,14,10,.92); display: flex; align-items: center; justify-content: center; }
.gal-box[hidden] { display: none; }
.gal-box__img { max-width: 94vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.gal-box__close, .gal-box__nav { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.14);
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.5rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.gal-box__close { top: 14px; right: 14px; }
.gal-box__nav--prev { left: 10px; top: 50%; transform: translateY(-50%); }
.gal-box__nav--next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .gal { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Галерея: плитка под вертикальные фото с телефона */
.gal { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gal__item { aspect-ratio: 3 / 4; }
@media (max-width: 640px) { .gal { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
/* Вкладок стало 11 (добавилась «Galeria») — на средних экранах шрифт плавно меньше, чтобы все помещались */
@media (min-width: 1041px) {
  .tabs__in { gap: 3px; }
  .tabs a { font-size: clamp(.74rem, 1.12vw, 1.1rem); padding-left: clamp(3px, .5vw, 8px); padding-right: clamp(3px, .5vw, 8px); letter-spacing: .01em; }
}

/* Подпись под фото при крупном просмотре */
.gal-box { flex-direction: column; gap: 10px; }
.gal-box__img { max-height: 80vh; }
.gal-box__cap { margin: 0; padding: 0 16px; max-width: 760px; text-align: center; color: #f4ead8; font-size: .95rem; line-height: 1.35; }
/* Лист ограничен по ширине (1140 px), поэтому на больших экранах шрифт вкладок не растёт дальше .96rem */
@media (min-width: 1041px) { .tabs a { font-size: clamp(.74rem, 1.12vw, .96rem); } }

/* Instagram: ссылка в подвале и кнопка в галерее (05.10.2026) */
.footer__social a { display: inline-flex; align-items: center; gap: 7px; }
.footer__social svg { width: 20px; height: 20px; }
.gal-insta { text-align: center; margin: 40px 0 0; }

/* Вкладок стало 8 (убрали 4 якорные, добавили «Jaka kawa?») — шрифт снова крупный (06.10.2026) */
@media (min-width: 1041px) {
  .tabs__in { gap: 4px; }
  .tabs a { font-size: clamp(.92rem, 1.35vw, 1.1rem); padding-left: 8px; padding-right: 8px; letter-spacing: .02em; }
}

/* Страница про кофе: чашки с пенкой над карточками напитков (07.10.2026) */
.kaw-drinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kaw-drink { text-align: center; background: rgba(255,255,255,.55); border: 1px solid rgba(43,33,24,.1); border-radius: 14px;
  padding: 18px 18px 20px; box-shadow: 0 2px 10px rgba(43,33,24,.06); }
.kaw-drink img { width: min(190px, 70%); height: auto; display: block; margin: 0 auto 10px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.kaw-drink:hover img { transform: rotate(-14deg) scale(1.04); }
.kaw-drink h3 { font-size: 1.08rem; margin: 0 0 8px; line-height: 1.3; }
.kaw-drink p { margin: 0; line-height: 1.55; color: var(--muted, #6b5d50); }
@media (max-width: 760px) {
  .kaw-drinks { grid-template-columns: 1fr; }
  .kaw-drink { display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; text-align: left; align-items: center; padding: 14px 16px; }
  .kaw-drink img { width: 96px; margin: 0; grid-row: 1 / span 2; }
  .kaw-drink h3 { align-self: end; margin-bottom: 4px; }
  .kaw-drink p { align-self: start; }
}
@media (prefers-reduced-motion: reduce) { .kaw-drink img { transition: none; } .kaw-drink:hover img { transform: none; } }

/* Страница про кофе: шапка с видео на фоне (07.10.2026) */
.kaw-hero { position: relative; overflow: hidden; border-radius: 18px; margin: 4px 0 8px; min-height: 260px;
  display: flex; align-items: center; justify-content: center; background: #2b2118 url(/wideo/kawa-palenie.jpg) center / cover no-repeat;
  box-shadow: 0 8px 26px rgba(43,33,24,.22); }
.kaw-hero__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.45) contrast(1.05) brightness(.9); }
.kaw-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,33,24,.35) 0%, rgba(43,33,24,.62) 100%); }
.kaw-hero__t { position: relative; z-index: 1; margin: 0; padding: 28px 30px; max-width: 720px; text-align: center;
  color: #fbf3e2; font-size: 1.15rem; line-height: 1.6; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
@media (max-width: 640px) { .kaw-hero { min-height: 220px; border-radius: 14px; } .kaw-hero__t { font-size: 1.02rem; padding: 22px 18px; } }
@media (prefers-reduced-motion: reduce) { .kaw-hero__v { display: none; } }

/* Страница цен (07.10.2026) */
.cen { background: rgba(255,255,255,.6); border: 1px solid rgba(43,33,24,.1); border-radius: 14px; box-shadow: 0 2px 10px rgba(43,33,24,.06); overflow: hidden; }
.cen__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; }
.cen__row + .cen__row { border-top: 1px dashed rgba(43,33,24,.16); }
.cen__what h3 { margin: 0 0 3px; font-size: 1.08rem; line-height: 1.3; }
.cen__what p { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--muted, #6b5d50); }
.cen__price { flex: 0 0 auto; text-align: right; white-space: nowrap; font-size: 1.2rem; color: var(--coffee); }
.cen__price b { font-family: "DM Serif Display", Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.cen__from { font-size: .85rem; color: var(--muted, #6b5d50); }
.cen__free { color: #2e7d32; }
.cen__note { margin: 16px auto 0; max-width: 720px; text-align: center; font-size: .88rem; line-height: 1.5; color: var(--muted, #6b5d50); }
@media (max-width: 560px) { .cen__row { padding: 12px 14px; gap: 12px; } .cen__price b { font-size: 1.25rem; } }

.cen__plus { display: block; font-size: .8rem; font-weight: 700; color: var(--crema, #b4442f); letter-spacing: .02em; }

/* Cennik: цены спокойнее, предупреждение крупнее и заметнее (владелец 07.10.2026) */
.cen__price { font-size: 1rem; }
.cen__price b { font-size: 1.12rem; font-family: inherit; font-weight: 700; }
.cen__from { font-size: .8rem; }
.cen__warn { margin: 22px auto 6px; max-width: 760px; padding: 18px 22px; border-radius: 14px;
  background: #fff4d6; border: 2px solid #d9a441; box-shadow: 0 3px 12px rgba(43,33,24,.1); }
.cen__warn strong { display: block; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; color: #8a5a00; margin-bottom: 6px; }
.cen__warn p { margin: 0; font-size: 1.1rem; line-height: 1.55; color: var(--coffee); font-weight: 600; }
@media (max-width: 560px) { .cen__warn { padding: 14px 16px; } .cen__warn p { font-size: 1.02rem; } .cen__price b { font-size: 1.05rem; } }
/* Cennik: слово «od / от» выделено — чтобы не читали цену как окончательную (владелец 07.10.2026) */
.cen__from { font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--crema, #b4442f);
  background: rgba(180, 68, 47, .12); padding: .12em .5em; border-radius: 6px; margin-right: 4px; }
/* Cennik: «Uwaga / Внимание» — красным (владелец 07.10.2026) */
.cen__warn { background: #fdecea; border-color: #c62828; }
.cen__warn strong { color: #c62828; }

/* Cennik: слово «od / от» подчёркнуто тонкой красной линией (владелец 07.10.2026) */
.cen__od { text-decoration: underline; text-decoration-color: #c62828; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Вкус кофе, настройки по маркам, рецепты (материал Octava, 08.10.2026) */
.par-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.par-card ul, .par-recipe ol { margin: 8px 0 0; padding-left: 1.2em; line-height: 1.55; color: var(--muted, #6b5d50); }
.par-card li + li, .par-recipe li + li { margin-top: 6px; }
.par-card h3 { color: #b4442f; }
.par-dl, .par-spec, .par-why { margin: 0; }
.par-dl > div { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px dashed rgba(43,33,24,.14); }
.par-dl > div:first-child { border-top: 0; }
.par-dl dt, .par-spec dt, .par-why dt { font-weight: 700; }
.par-dl dd, .par-spec dd, .par-why dd { margin: 0; color: var(--muted, #6b5d50); line-height: 1.45; overflow-wrap: anywhere; }
.par-more { margin: 12px 0 0; font-size: .95rem; }
.par-why > div { padding: 8px 0; border-top: 1px dashed rgba(43,33,24,.14); }
.par-why > div:first-child { border-top: 0; }
.par-note, .par-credit { text-align: center; color: var(--muted, #6b5d50); font-size: .95rem; line-height: 1.5; margin: 18px auto 0; max-width: 720px; }
.par-recipes { display: grid; gap: 18px; }
.par-recipe h2 { font-size: 1.25rem; margin: 0 0 10px; line-height: 1.3; }
.par-spec { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 4px; }
.par-spec > div { background: rgba(180,68,47,.07); border-radius: 10px; padding: 8px 10px; }
.par-spec dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: #b4442f; }
.par-spec dd { color: inherit; font-weight: 600; font-size: .95rem; }
.par-hint { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid #b4442f; background: rgba(180,68,47,.06); border-radius: 0 10px 10px 0; line-height: 1.5; }
.par-see { margin-top: 18px; }
@media (max-width: 760px) { .par-cards { grid-template-columns: 1fr; } .par-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .par-dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* Объёмные схемы кофемашин на странице настроек (движок Octava, 08.10.2026) */
.mwrap { max-width: 260px; margin: 4px auto 6px; aspect-ratio: 1; border-radius: 16px; background: #fffdf8; border: 1px solid rgba(43,33,24,.08); overflow: hidden; cursor: pointer; }
.mach3 { display: block; width: 100%; height: 100%; }
.f3 { fill: #fffdf8; stroke: #2b2118; stroke-opacity: .5; stroke-width: 1.1; stroke-linejoin: round; }
.l3 { fill: none; stroke: #2b2118; stroke-opacity: .5; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.f3.act, .l3.act { stroke: #b4442f; stroke-opacity: 1; }
.f3.act { fill: #f9ebe6; }
.l3.fl { fill: #b4442f; fill-opacity: .8; stroke: none; }
.l3.lit { fill: #b4442f; }
.l3.dash { stroke-dasharray: 2 2; }
.f3.soft { stroke-opacity: .12; }
.f3.ghost { fill: none; stroke-opacity: .25; }
.l3.lever { stroke: #d33; stroke-opacity: 1; stroke-width: 2.2; }
.l3.redf { fill: #d33; stroke: #d33; stroke-opacity: 1; }
.l3.str { stroke: #b4442f; stroke-opacity: .9; stroke-width: 1.8; }
.par-tap { text-align: center; font-size: .88rem; color: var(--muted, #6b5d50); margin: 0 0 8px; line-height: 1.4; }
.par-dl--tap > div { cursor: pointer; border-radius: 8px; padding-left: 8px; padding-right: 8px; margin: 0 -8px; transition: background .2s; }
.par-dl--tap > div:hover { background: rgba(180,68,47,.06); }
.par-dl--tap > div.on { background: #b4442f; border-top-color: transparent; }
.par-dl--tap > div.on dt, .par-dl--tap > div.on dd { color: #fff; }
.par-dl--tap > div:focus-visible { outline: 2px solid #b4442f; outline-offset: 1px; }

/* Калькулятор рецептов с ползунком (08.10.2026) */
.pcalc { background: rgba(180,68,47,.07); border-radius: 16px; padding: 14px 16px; margin: 12px 0; }
.pc-h { margin: 0 0 8px; text-align: center; font-size: .85rem; color: var(--muted, #6b5d50); }
.pc-v { display: flex; align-items: center; justify-content: space-around; text-align: center; gap: 8px; }
.pc-v b { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #6b5d50); }
.pc-v output { display: block; font-size: 1.9rem; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; color: #b4442f; }
.pc-v > span { color: var(--muted, #6b5d50); font-size: 1.3rem; }
.pcalc input[type=range] { width: 100%; margin: 14px 0 2px; accent-color: #b4442f; height: 32px; }
.pc-ticks { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted, #6b5d50); }
.pc-cups { text-align: center; color: var(--muted, #6b5d50); font-size: .88rem; margin: 8px 0 10px; min-height: 1.2em; }
.pc-seg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pc-seg button { border: 1px solid rgba(43,33,24,.18); background: #fffdf8; color: inherit; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; min-height: 40px; }
.pc-seg button.on { background: #b4442f; border-color: #b4442f; color: #fff; }
.pc-note { font-size: .86rem; line-height: 1.45; color: var(--muted, #6b5d50); margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(43,33,24,.1); }
.par-recipe ol b[class^="v-"] { color: #b4442f; }

/* Настройки по маркам — одно окно: логотипы-кнопки и карточка выбранной марки (08.10.2026) */
.par-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.par-chip { font: inherit; color: inherit; cursor: pointer; width: 100%; padding: 12px 10px !important; }
.par-chip .ins-brand__logo { height: 46px; gap: 8px; }
.par-chip .ins-logo { max-height: 100%; max-width: 100%; min-width: 0; }
.par-chip .ins-brand__logo > * + * { max-width: 46%; }
.par-chip .ins-brand__logo > *:first-child:not(:last-child) { max-width: 46%; }
.par-chip.on { outline: 2px solid #b4442f; outline-offset: 2px; box-shadow: 0 6px 18px rgba(180,68,47,.28) !important; }
.par-stage { display: grid; gap: 16px; max-width: 560px; margin: 0 auto; }
.par-pick.js .par-brand { display: none; }
.par-pick.js .par-brand.on { display: block; animation: parIn .4s cubic-bezier(.2,.8,.2,1) both; }
.par-pick.js .par-brand.on .par-dl--tap > div { animation: parRow .45s cubic-bezier(.2,.9,.3,1.3) both; }
.par-pick.js .par-brand.on .par-dl--tap > div:nth-child(1) { animation-delay: .25s; }
.par-pick.js .par-brand.on .par-dl--tap > div:nth-child(2) { animation-delay: .33s; }
.par-pick.js .par-brand.on .par-dl--tap > div:nth-child(3) { animation-delay: .41s; }
.par-pick.js .par-brand.on .par-dl--tap > div:nth-child(4) { animation-delay: .49s; }
.par-pick.js .par-brand.on .par-dl--tap > div:nth-child(5) { animation-delay: .57s; }
.par-pick.js .par-brand.on .par-dl--tap > div:nth-child(6) { animation-delay: .65s; }
.par-pick.js .par-brand.on .par-dl--tap > div:nth-child(7) { animation-delay: .73s; }
@keyframes parIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes parRow { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .par-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .par-pick.js .par-brand.on, .par-pick.js .par-brand.on .par-dl--tap > div { animation: none; } }
.par-pick__q { margin-bottom: 16px; }
.par-chip .ins-logo--text { font-size: clamp(.8rem, 3.4vw, 1.05rem); white-space: nowrap; letter-spacing: .02em; }
.par-chip .ins-brand__logo > *:first-child:not(:last-child), .par-chip .ins-brand__logo > * + * { max-width: 48%; flex: 0 1 auto; }
.par-stage { scroll-margin-top: 12px; }

/* Рецепты как в приложении Octava: сворачиваемые карточки, таймер-кольцо, шаги с номерами в кружках (08.10.2026) */
details.par-recipe { padding: 0; overflow: hidden; }
details.par-recipe > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; }
details.par-recipe > summary::-webkit-details-marker { display: none; }
.pr-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(180,68,47,.1); display: grid; place-items: center; font-size: 1.4rem; }
.pr-t { flex: 1; min-width: 0; }
.pr-t h2 { font-size: 1.18rem; margin: 0; line-height: 1.25; }
.pr-t small { display: block; color: var(--muted, #6b5d50); font-size: .92rem; margin-top: 2px; }
.pr-arr { flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; transition: transform .25s; margin-right: 4px; }
details[open] > summary .pr-arr { transform: rotate(-135deg); }
.pr-body { padding: 0 18px 18px; }
.pr-body .pcalc { margin-top: 0; }
.pr-body .par-spec { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0; }
.pc-ticks span:nth-child(2) { opacity: .8; }
.ptimer { display: flex; align-items: center; gap: 16px; margin: 12px 0; padding: 12px 14px; border-radius: 16px; background: rgba(180,68,47,.07); }
.pt-ring { position: relative; width: 92px; height: 92px; flex: none; }
.pt-ring svg { width: 92px; height: 92px; transform: rotate(-90deg); display: block; }
.pt-ring circle { fill: none; stroke-width: 8; }
.pt-ring .bg { stroke: rgba(43,33,24,.12); }
.pt-ring .fg { stroke: #b4442f; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.pt-ring.over .fg { stroke: #2e7d5b; }
.pt-tm { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pt-btns { flex: 1; min-width: 0; }
.pt-btns small { display: block; color: var(--muted, #6b5d50); margin-bottom: 8px; }
.pt-btns > div { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-btns button { border: 0; border-radius: 12px; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; background: #fffdf8; color: inherit; }
.pt-btns .pt-go { background: #b4442f; color: #fff; }
.pt-btns .pt-go.on { background: #2b2118; }
.par-recipe .pr-body ol { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: st; color: inherit; }
.par-recipe .pr-body ol li { counter-increment: st; position: relative; padding-left: 44px; min-height: 30px; }
.par-recipe .pr-body ol li + li { margin-top: 12px; }
.par-recipe .pr-body ol li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: rgba(180,68,47,.12); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
@media (max-width: 420px) { .pr-body { padding: 0 14px 16px; } details.par-recipe > summary { padding: 14px; gap: 12px; } }
details.par-recipe > summary::after, details.par-recipe[open] > summary::after { content: none; display: none; }
.pc-seg { flex-wrap: nowrap; background: #fffdf8; border-radius: 999px; padding: 4px; width: max-content; max-width: 100%; margin: 0 auto; gap: 2px; }
.pc-seg button { border: 0; background: transparent; padding: 8px clamp(8px, 3vw, 16px); font-size: clamp(.8rem, 3.6vw, .95rem); white-space: nowrap; }
.pr-body .par-spec dt { font-size: clamp(.6rem, 2.7vw, .78rem); letter-spacing: .02em; overflow-wrap: anywhere; }
.pr-body .par-spec > div { padding: 8px; min-width: 0; }

/* Векторные значки приборов в рецептах */
.pr-ico { width: 56px; height: 56px; color: #b4442f; }
.pr-ico svg { width: 40px; height: 40px; display: block; }
/* Кнопки таймера — объёмные, «стекло» (владелец 08.10.2026): блик сверху, тень снизу, нажимаются */
.pt-btns button {
  position: relative; overflow: hidden; border-radius: 14px; padding: 11px 22px; min-height: 46px;
  border: 1px solid rgba(255,255,255,.75); color: #2b2118; text-shadow: 0 1px 0 rgba(255,255,255,.6);
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 48%, rgba(236,226,210,.75) 52%, rgba(255,255,255,.8) 100%);
  -webkit-backdrop-filter: blur(6px) saturate(1.2); backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -3px 6px rgba(43,33,24,.12), 0 3px 0 rgba(43,33,24,.18), 0 8px 16px rgba(43,33,24,.2);
  transition: transform .08s, box-shadow .08s;
}
.pt-btns button::before { content: ""; position: absolute; left: 6%; right: 6%; top: 3px; height: 44%; border-radius: 10px 10px 40% 40%; background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0)); pointer-events: none; }
.pt-btns button:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 2px 6px rgba(43,33,24,.25), 0 0 0 rgba(43,33,24,.18), 0 2px 5px rgba(43,33,24,.2); }
.pt-btns .pt-go {
  color: #fff; text-shadow: 0 1px 1px rgba(90,20,10,.6); border-color: rgba(255,190,175,.7);
  background: linear-gradient(180deg, #e2705a 0%, #c9503a 46%, #a83a27 54%, #bd4a35 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -3px 6px rgba(90,20,10,.35), 0 3px 0 #7d2a1b, 0 8px 16px rgba(180,68,47,.4);
}
.pt-btns .pt-go::before { background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0)); }
.pt-btns .pt-go:active { box-shadow: inset 0 2px 6px rgba(90,20,10,.5), 0 0 0 #7d2a1b, 0 2px 5px rgba(180,68,47,.35); }
.pt-btns .pt-go.on {
  border-color: rgba(190,180,170,.6); text-shadow: 0 1px 1px rgba(0,0,0,.6);
  background: linear-gradient(180deg, #6b5d52 0%, #4a3d33 46%, #2b2118 54%, #3d3128 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 6px rgba(0,0,0,.4), 0 3px 0 #17110c, 0 8px 16px rgba(43,33,24,.4);
}
.pt-btns > div { gap: 12px; padding-bottom: 4px; }
/* «Стекло» на всех кнопках страницы рецептов (владелец 08.10.2026): крепость, ползунок, «смотрите также» */
.pt-btns > div { flex-wrap: nowrap; }
.pt-btns button { flex: 1 1 0; min-width: 0; padding: 11px 8px; font-size: clamp(.85rem, 3.8vw, 1rem); white-space: nowrap; }
.pc-seg { background: rgba(255,255,255,.45); padding: 5px; gap: 5px; border: 1px solid rgba(255,255,255,.8); box-shadow: inset 0 2px 5px rgba(43,33,24,.12); }
.pc-seg button {
  position: relative; overflow: hidden; border-radius: 999px; color: #2b2118; border: 1px solid rgba(255,255,255,.8);
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 48%, rgba(236,226,210,.75) 52%, rgba(255,255,255,.8) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -2px 4px rgba(43,33,24,.1), 0 2px 0 rgba(43,33,24,.16), 0 4px 8px rgba(43,33,24,.14);
  transition: transform .08s, box-shadow .08s;
}
.pc-seg button:active { transform: translateY(2px); box-shadow: inset 0 2px 5px rgba(43,33,24,.22); }
.pc-seg button.on {
  color: #fff; text-shadow: 0 1px 1px rgba(90,20,10,.6); border-color: rgba(255,190,175,.7);
  background: linear-gradient(180deg, #e2705a 0%, #c9503a 46%, #a83a27 54%, #bd4a35 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 5px rgba(90,20,10,.35), 0 2px 0 #7d2a1b, 0 5px 10px rgba(180,68,47,.35);
}
.pcalc input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; }
.pcalc input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(180deg, rgba(43,33,24,.22), rgba(255,255,255,.7)); box-shadow: inset 0 2px 3px rgba(43,33,24,.25), 0 1px 0 rgba(255,255,255,.9); }
.pcalc input[type=range]::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(180deg, rgba(43,33,24,.22), rgba(255,255,255,.7)); box-shadow: inset 0 2px 3px rgba(43,33,24,.25); }
.pcalc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; border: 1px solid rgba(255,190,175,.8); cursor: pointer;
  background: radial-gradient(circle at 35% 28%, #ffd9cf 0%, #e2705a 30%, #b4442f 62%, #8c2f1f 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 2px 0 #7d2a1b, 0 5px 10px rgba(180,68,47,.45); }
.pcalc input[type=range]::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,190,175,.8); cursor: pointer;
  background: radial-gradient(circle at 35% 28%, #ffd9cf 0%, #e2705a 30%, #b4442f 62%, #8c2f1f 100%); box-shadow: 0 2px 0 #7d2a1b, 0 5px 10px rgba(180,68,47,.45); }
.par-links .btn--ghost {
  border: 1px solid rgba(255,255,255,.8); color: #2b2118; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 48%, rgba(236,226,210,.75) 52%, rgba(255,255,255,.8) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -3px 6px rgba(43,33,24,.1), 0 3px 0 rgba(43,33,24,.18), 0 8px 16px rgba(43,33,24,.18);
  transition: transform .08s, box-shadow .08s;
}
.par-links .btn--ghost:hover { color: #b4442f; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.7) 48%, rgba(240,228,214,.85) 52%, #fff 100%); }
.par-links .btn--ghost:active { transform: translateY(3px); box-shadow: inset 0 2px 6px rgba(43,33,24,.25); }
details.par-recipe { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 3px 0 rgba(43,33,24,.08), 0 8px 18px rgba(43,33,24,.12); border: 1px solid rgba(255,255,255,.8); }
.pr-ico { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(180,68,47,.14)); border: 1px solid rgba(255,255,255,.85); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(180,68,47,.14), 0 2px 0 rgba(43,33,24,.12), 0 4px 8px rgba(43,33,24,.12); }
@media (max-width: 360px) { .ptimer { gap: 10px; padding: 12px 10px; } .pt-btns > div { flex-wrap: wrap; gap: 10px; } .pt-btns button { flex: 1 1 auto; padding: 11px 12px; } }

/* «От чего зависит вкус» — семь карточек с выпуклыми номерами (08.10.2026) */
.par-seven { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.par-seven > li { display: flex; gap: 16px; align-items: flex-start; border: 1px solid rgba(255,255,255,.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 3px 0 rgba(43,33,24,.08), 0 8px 18px rgba(43,33,24,.12); }
.par-seven h2 { font-size: 1.2rem; margin: 2px 0 6px; line-height: 1.3; }
.par-seven p { margin: 0; line-height: 1.55; color: var(--muted, #6b5d50); }
.par-seven > li > div { min-width: 0; }
.par-num { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #2b2118;
  border: 1px solid rgba(255,255,255,.85); background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 48%, rgba(236,226,210,.75) 52%, rgba(255,255,255,.8) 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 5px rgba(43,33,24,.12), 0 3px 0 rgba(43,33,24,.16), 0 6px 12px rgba(43,33,24,.16); }
.par-top .par-num { color: #fff; text-shadow: 0 1px 1px rgba(90,20,10,.6); border-color: rgba(255,190,175,.7);
  background: linear-gradient(180deg, #e2705a 0%, #c9503a 46%, #a83a27 54%, #bd4a35 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -3px 5px rgba(90,20,10,.35), 0 3px 0 #7d2a1b, 0 6px 12px rgba(180,68,47,.35); }
@media (max-width: 420px) { .par-seven > li { gap: 12px; } .par-num { width: 40px; height: 40px; font-size: 1.05rem; } }

/* Картинки вкусов рядом с заголовком: лимон, огонь над зерном, капля (08.10.2026) */
.par-card h3 { display: flex; align-items: center; gap: 12px; }
.par-taste { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.85);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(236,226,210,.6)); box-shadow: inset 0 1px 0 #fff, 0 2px 0 rgba(43,33,24,.12), 0 4px 8px rgba(43,33,24,.12); }
.par-taste svg { width: 38px; height: 38px; display: block; }

/* Картинки вкусов стали объёмными и крупнее: плашка не нужна, тень своя */
.par-taste { width: 64px; height: 64px; border: 0; background: none; box-shadow: none; border-radius: 0; }
.par-taste svg { width: 64px; height: 64px; }

/* Раздел о кофе: свои закладки в шапке вместо основных (владелец 08.10.2026).
   Вид — те же «язычки», что на главном экране. На телефоне основной ряд скрыт, а этот оставляем
   (иначе между страницами раздела не перейти): язычки встают в два ряда и так же свисают из-под шапки. */
.tabs a.tabs__on { background-color: #b4442f; color: #fff; border-color: #8c2f1f;
  background-image: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.06) 38%, rgba(43,33,24,.18) 100%); }
@media (max-width: 1040px) {
  .tabs.tabs--kawa { display: block; }
  /* планшет: все пять язычков в один ряд, шрифт чуть мельче */
  .tabs--kawa .tabs__in { flex-wrap: nowrap; padding-left: 10px; padding-right: 10px; }
  .tabs--kawa a { min-width: 0; font-size: clamp(.78rem, 1.75vw, 1rem); padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 699px) {
  /* телефон: ровная сетка в две колонки, пятый язычок — на всю ширину; каждый ряд подныривает под предыдущий */
  .tabs--kawa .tabs__in { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
  .tabs--kawa a { font-size: clamp(.8rem, 3.7vw, 1rem); padding: 20px 6px 10px; }
  /* порядок слоёв — только положительный: с отрицательным нижние ряды уходили под страницу и не нажимались */
  .tabs--kawa a { z-index: 3; }
  .tabs--kawa a:nth-child(n+3) { margin-top: -9px; z-index: 2; }
  .tabs--kawa a:nth-child(5) { grid-column: 1 / -1; z-index: 1; }
}
@media (max-width: 699px) {
  /* длинные названия («Настройки кофемашины») переносим на вторую строку, а не обрезаем */
  .tabs--kawa a, .tabs--kawa a > span { white-space: normal; overflow: visible; text-overflow: clip; }
  .tabs--kawa a { align-items: center; line-height: 1.12; font-size: clamp(.78rem, 3.6vw, .98rem); }
}
/* Телефон: закладки раздела о кофе — объёмные стеклянные кнопки (владелец 08.10.2026: «в мобильном всё же красивые кнопки»).
   На компьютере и планшете остаются «флажки», как на главном экране. */
@media (max-width: 699px) {
  .tabs.tabs--kawa { padding: 12px 0 6px; }
  .tabs--kawa .tabs__in { margin-top: 0; gap: 10px; }
  .tabs--kawa a, .tabs--kawa a:nth-child(n+3), .tabs--kawa a:nth-child(5) {
    margin-top: 0; z-index: 1; animation: none; min-height: 48px; padding: 10px 8px; border-radius: 16px; overflow: hidden;
    font-family: inherit; font-weight: 700; font-size: clamp(.84rem, 3.7vw, .98rem); letter-spacing: 0; color: #2b2118; text-shadow: 0 1px 0 rgba(255,255,255,.6);
    border: 1px solid rgba(255,255,255,.8);
    background-color: transparent;
    background-image: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 48%, rgba(236,226,210,.75) 52%, rgba(255,255,255,.8) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -3px 6px rgba(43,33,24,.1), 0 3px 0 rgba(43,33,24,.18), 0 8px 16px rgba(43,33,24,.18);
    transition: transform .08s, box-shadow .08s;
  }
  /* блик сверху вместо «потрёпанного края» флажка */
  .tabs--kawa a::before { inset: 3px 6% auto 6%; height: 42%; border-radius: 12px 12px 40% 40%; background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0)); pointer-events: none; }
  .tabs--kawa a > span { position: relative; }
  .tabs--kawa a:active { transform: translateY(3px); box-shadow: inset 0 2px 6px rgba(43,33,24,.25), 0 0 0 rgba(43,33,24,.18), 0 2px 5px rgba(43,33,24,.2); }
  .tabs--kawa a.tabs__on {
    color: #fff; text-shadow: 0 1px 1px rgba(90,20,10,.6); border-color: rgba(255,190,175,.7);
    background-image: linear-gradient(180deg, #e2705a 0%, #c9503a 46%, #a83a27 54%, #bd4a35 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -3px 6px rgba(90,20,10,.35), 0 3px 0 #7d2a1b, 0 8px 16px rgba(180,68,47,.4);
  }
  .tabs--kawa a.tabs__on::before { background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0)); }
}
/* Телефон: стеклянные кнопки раздела о кофе нажимаются как обычная кнопка — чуть проваливаются и всё.
   Отключаем повадки «флажка»: выезд вниз, перекраску в тёмный цвет и медленное возвращение (владелец 08.10.2026). */
@media (max-width: 699px) {
  .tabs--kawa a { transition: transform .08s ease, box-shadow .08s ease; -webkit-tap-highlight-color: transparent; }
  .tabs--kawa a:hover, .tabs--kawa a:focus-visible {
    transform: none; color: #2b2118; text-shadow: 0 1px 0 rgba(255,255,255,.6); border-color: rgba(255,255,255,.8); background-color: transparent;
    background-image: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 48%, rgba(236,226,210,.75) 52%, rgba(255,255,255,.8) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -3px 6px rgba(43,33,24,.1), 0 3px 0 rgba(43,33,24,.18), 0 8px 16px rgba(43,33,24,.18);
  }
  .tabs--kawa a.tabs__on:hover, .tabs--kawa a.tabs__on:focus-visible {
    color: #fff; text-shadow: 0 1px 1px rgba(90,20,10,.6); border-color: rgba(255,190,175,.7);
    background-image: linear-gradient(180deg, #e2705a 0%, #c9503a 46%, #a83a27 54%, #bd4a35 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -3px 6px rgba(90,20,10,.35), 0 3px 0 #7d2a1b, 0 8px 16px rgba(180,68,47,.4);
  }
  .tabs--kawa a:hover::before, .tabs--kawa a:focus-visible::before { opacity: 1; }
  .tabs--kawa a:focus-visible { outline: 2px solid #b4442f; outline-offset: 2px; }
  .tabs--kawa a:active, .tabs--kawa a:hover:active { transform: translateY(3px); box-shadow: inset 0 2px 6px rgba(43,33,24,.25), 0 0 0 rgba(43,33,24,.18), 0 2px 5px rgba(43,33,24,.2); }
  .tabs--kawa a.tabs__on:active { box-shadow: inset 0 2px 6px rgba(90,20,10,.5), 0 0 0 #7d2a1b, 0 2px 5px rgba(180,68,47,.35); }
}
/* Нажатие — один в один как у кнопки «На главную»: та же скорость, та же глубина и та же вдавленная тень */
@media (max-width: 699px) {
  .tabs.tabs--kawa .tabs__in a { transition: transform .14s ease, box-shadow .14s ease; }
  .tabs.tabs--kawa .tabs__in a:active, .tabs.tabs--kawa .tabs__in a:hover:active {
    transform: translateY(3px);
    box-shadow: inset 0 3px 7px rgba(43,33,24,.45), inset 0 -1px 0 rgba(255,255,255,.1), 0 0 0 rgba(43,33,24,.34), 0 3px 8px rgba(43,33,24,.22);
  }
}

/* Галерея: видимая подпись на фото — тёмная полоска снизу (владелец 09.10.2026) */
.gal__item--cap { position: relative; }
.gal__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 9px; color: #fff; font-size: .82rem; line-height: 1.3; font-weight: 600; text-align: left;
  background: linear-gradient(180deg, rgba(20,12,8,0) 0%, rgba(20,12,8,.78) 45%, rgba(20,12,8,.9) 100%); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
@media (max-width: 640px) { .gal__cap { font-size: .72rem; padding: 18px 7px 7px; } }

/* Галерея: видео — обложка со значком «играть», в крупном просмотре проигрыватель (13.10.2026) */
.gal__item--video { position: relative; }
.gal__play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: linear-gradient(180deg, #e2705a 0%, #c9503a 46%, #a83a27 54%, #bd4a35 100%); border: 1px solid rgba(255,190,175,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -3px 6px rgba(90,20,10,.35), 0 3px 0 #7d2a1b, 0 8px 16px rgba(0,0,0,.4); }
.gal__play::after { content: ""; position: absolute; left: 23px; top: 17px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.gal-box__video { max-width: 94vw; max-height: 80vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #000; }
.gal-box__video[hidden], .gal-box__img[hidden] { display: none; }
/* Блок обжарщика Octava на «Какой кофе?» (21.10.2026) */
.kaw-roast { margin: 28px 0; padding: 24px 26px; background: var(--latte); border-radius: var(--radius); border-left: 5px solid #c8102e; }
.kaw-roast h2 { margin: 0 0 8px; font-size: 1.35rem; }
.kaw-roast p:last-child { margin-bottom: 0; }
/* «Как нас найти» — видео входа у адреса Bruna 34 (27.10.2026) */
.place__way { margin-top: 14px; }
.place__way-h { font-weight: 600; margin: 0 0 10px; }
.place__way-v { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.place__way-v figure { margin: 0; }
.place__way-v video { width: 100%; height: auto; border-radius: 10px; background: #000; display: block; }
.place__way-v figcaption { font-size: .85rem; margin-top: 6px; opacity: .85; }
/* одно видео у адреса (przy Agorze 18) — не растягивать на всю ширину */
.place__way--one .place__way-v { grid-template-columns: minmax(0, 260px); }
