/* ==========================================================================
   СМК+БК — исходная структура страницы, оформление: кремовый + лайм + тёмная олива
   ========================================================================== */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --lime: #e3e963;
  --lime-d: #d4db4a;
  --dark: #1b1f11;
  --dark-2: #272b19;
  --cream: #f6f3ec;
  --cream-2: #efebe0;
  --ink: #0c0d08;
  --muted: #7b7b70;
  --text: #4a4b42;
  --line: #e8e4d9;
  --white: #fff;
  --err: #c0392b;
  --r-xl: 30px;
  --r-lg: 24px;
  --r-md: 16px;
  --gap: 12px;
  --container: 1240px;
  --font: "Onest", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--dark); outline-offset: 3px; border-radius: 6px; }
.topbar :focus-visible, .calc :focus-visible, .footer :focus-visible, .tile :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: var(--dark); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 28px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 12px; }
.skip:focus { top: 0; }

/* Иконки (SVG-спрайт) */
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic--xl { width: 64px; height: 64px; stroke-width: 1.5; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border: 1px solid transparent; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.15; text-decoration: none; text-align: center; transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--lime); color: var(--dark); }
.btn--accent:hover { background: var(--lime-d); color: var(--dark); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--lime); border-color: var(--lime); color: var(--dark); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: var(--lime); border-color: var(--lime); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--lime); color: var(--dark); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--xs { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.site-head { display: flex; flex-direction: column; }
.topbar { background: var(--dark); color: #fff; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.topnav { display: flex; flex-wrap: wrap; gap: 2px 28px; }
.topnav a { display: block; padding: 12px 0; color: rgba(255,255,255,.72); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: color .2s; }
.topnav a:hover { color: var(--lime); }
.topbar__call { margin: 6px 0; }

.header { background: #fff; position: relative; z-index: 5; }
.header__in { display: flex; align-items: center; gap: 28px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 46px; height: 46px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-size: 25px; font-weight: 700; letter-spacing: -.03em; }
.logo__tag { margin-top: 4px; max-width: 190px; font-size: 11px; line-height: 1.25; color: var(--muted); }
.logo--light { color: #fff; }
.logo--light .logo__tag { color: rgba(255,255,255,.55); }
.logo--light .logo__mark rect:nth-of-type(1) { fill: var(--lime); }
.logo--light .logo__mark path { stroke: var(--dark); }
.logo--light .logo__mark rect:nth-of-type(2) { fill: var(--dark); }

.hinfo { display: flex; flex-direction: column; gap: 4px; margin-left: auto; font-size: 13.5px; color: var(--muted); }
.hinfo li { display: flex; align-items: center; gap: 10px; }
.hinfo .ic { box-sizing: content-box; width: 14px; height: 14px; padding: 5px; border-radius: 50%; background: var(--lime); color: var(--dark); }
.hinfo a { color: var(--ink); font-weight: 500; text-decoration: none; }
.hinfo a:hover { text-decoration: underline; }

.phones { display: flex; flex-direction: column; gap: 0; }
.phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 19px; line-height: 1.35; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.phone:hover { color: var(--muted); }
.phones .phone .ic { display: none; }
.phone--lg { font-size: 22px; }

.burger { display: none; flex: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--dark); color: var(--lime); align-items: center; justify-content: center; }
.burger .ic { width: 22px; height: 22px; }
.burger .ic--close { display: none; }
.burger[aria-expanded="true"] .ic--menu { display: none; }
.burger[aria-expanded="true"] .ic--close { display: block; }

.catbar { background: #fff; border-bottom: 1px solid var(--line); }
.catnav { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0 18px; overflow-x: auto; scrollbar-width: none; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { display: flex; align-items: center; gap: 10px; padding: 11px 20px 11px 14px; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s, border-color .2s; }
.catnav .ic { box-sizing: content-box; width: 16px; height: 16px; padding: 5px; border-radius: 50%; background: var(--cream); color: var(--dark); transition: background-color .2s; }
.catnav a:hover { background: var(--lime); border-color: var(--lime); }
.catnav a:hover .ic { background: #fff; }
/*.catnav a[aria-current] { background: var(--lime); border-color: var(--lime); }
.catnav a[aria-current] .ic { background: #fff; }*/
.catnav a[aria-current], .catnav a.active { background: var(--lime); border-color: var(--lime); }
.catnav a[aria-current] .ic, .catnav a.active .ic { background: #fff; }

/* ---------- Заголовки и секции ---------- */
.section { padding: 110px 0; }
.section--steel { background: var(--cream); border-radius: var(--r-xl); margin: 0 auto; max-width: 1736px; }
@media (min-width: 1760px) { .section--steel, .hero, .calc { margin-left: auto; margin-right: auto; } }
.h2 { margin-bottom: 48px; font-size: clamp(32px, 4.3vw, 56px); line-height: 1.04; font-weight: 550; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }

/* ---------- Баннер ---------- */
.hero { margin: var(--gap); max-width: 1736px; padding: 80px 0 72px; border-radius: var(--r-xl); background: var(--cream); }
@media (min-width: 1760px) { .hero { margin-inline: auto; } }
.hero__title { max-width: 900px; font-size: clamp(34px, 3.9vw, 58px); line-height: 1.01; font-weight: 600; letter-spacing: -.045em; color: var(--ink); text-wrap: balance; }
.hero__sub { margin: 22px 0 48px; font-size: 18px; line-height: 1.4; font-weight: 500; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  --img: url("../img/bk-plain.svg");
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 28px; min-height: 480px; border-radius: var(--r-lg); color: #fff; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(27,31,17,.96) 0%, rgba(27,31,17,.55) 34%, rgba(27,31,17,.9) 62%, rgba(27,31,17,.98) 100%),
    var(--img) center 32% / cover no-repeat,
    var(--dark);
  transition: transform .25s, box-shadow .25s;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27,31,17,.22); }
.tile--mod { --img: url("../img/block-bk-01.jpg"); }
.tile--kpp { --img: url("../img/bk-post.svg"); }
.tile--tech { --img: url("../img/bk-storage.svg"); }
.tile--sanit { --img: url("../img/bk-sanitary.svg"); }
.tile--house { --img: url("../img/block-bk-00.jpg"); }
.tile--tmod { --img: url("../img/bk-sandwich.svg"); }
.tile__title { min-height: 2.2em; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; font-weight: 550; letter-spacing: -.03em; }
.ribbon { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--lime); color: var(--dark); font-size: 12px; font-weight: 700; line-height: 1.25; }
.ribbon .ic { width: 15px; height: 15px; }
.tile__list { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.tile__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.4; color: rgba(255,255,255,.85); }
.tile__list .ic { width: 17px; height: 17px; margin-top: 2px; color: var(--lime); stroke-width: 2.6; }
.tile__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }
.tile__price { font-size: 13px; line-height: 1.2; color: rgba(255,255,255,.6); }
.tile__foot .btn { white-space: nowrap; padding-left: 18px; padding-right: 18px; }
.tile__price { white-space: nowrap; }
.tile__price strong { display: block; margin-top: 3px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: #fff; }

/* ---------- Категории ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { display: flex; flex-direction: column; gap: 14px; padding: 10px 10px 10px; border-radius: var(--r-lg); background: var(--cream); transition: transform .25s, box-shadow .25s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27,31,17,.1); }
.cat__img { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-md); background: #dfe4e8; overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform .5s; }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat__title { padding: 4px 10px 0; font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; }
.cat__title a { text-decoration: none; }
.cat__title a:hover { text-decoration: underline; }
.cat .btn { margin: 0 0 0; }

/* ---------- Товары ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab { padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; color: var(--ink); transition: .2s; }
.tab:hover { border-color: var(--dark); }
.tab.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-lg); background: var(--cream); transition: transform .25s, box-shadow .25s; }
.section--steel .card { background: #fff; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27,31,17,.1); }
.card__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-md); background: #dfe4e8; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 16px 10px 8px; }
.card__title { font-size: 19px; line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__specs { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.card__specs li { display: flex; align-items: center; gap: 8px; color: var(--dark); }
.card__specs li:first-child { font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--muted); }
.card__specs .ic { box-sizing: content-box; width: 15px; height: 15px; padding: 3px; border-radius: 50%; background: #fff; color: var(--dark); }
.section--steel .card__specs .ic { background: var(--cream); }
.card__specs .ok .ic { background: var(--lime); }
.card__specs .ok { color: var(--dark); font-weight: 500; }
.card__price { margin-top: auto; padding-top: 8px; font-size: 24px; line-height: 1; font-weight: 600; letter-spacing: -.035em; }
.card__price small { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.card__actions { display: flex; gap: 8px; }
.card__actions .btn { flex: 1; padding-left: 12px; padding-right: 12px; }
.card__actions .btn--ghost { border-color: var(--line); }
.section--steel .card__actions .btn--ghost { background: var(--cream); border-color: var(--cream); }
.section--steel .card__actions .btn--ghost:hover { background: var(--dark); border-color: var(--dark); }
.card[hidden] { display: none; }

/* ---------- Доставка ---------- */
.delivery { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.delivery__text .h2 { margin-bottom: 28px; font-size: clamp(30px, 3.6vw, 48px); }
.delivery__text p { font-size: 16px; line-height: 1.55; color: var(--text); max-width: 580px; }
.delivery__text p + p { margin-top: 18px; }
.delivery__pic { border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 0; overflow: hidden; }
.delivery__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 60%; }

/* ---------- Как мы работаем ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { display: flex; flex-direction: column; align-items: flex-start; min-height: 260px; padding: 28px; border-radius: var(--r-lg); background: #fff; text-align: left; }
.step__num { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: auto; border-radius: 50%; background: var(--lime); font-size: 16px; font-weight: 700; line-height: 1; }
.step h3 { margin: 36px 0 10px; font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; }
.step p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Расчёт стоимости ---------- */
.calc { position: relative; margin: var(--gap); max-width: 1736px; padding: 110px 0; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fff; background: var(--dark); }
.calc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27,31,17,.88), rgba(27,31,17,.74) 45%, rgba(27,31,17,.95)), url("../img/block-bk-01.jpg") center / cover; filter: grayscale(.5); }
@media (min-width: 1760px) { .calc { margin-inline: auto; } }
.calc__in { display: grid; grid-template-columns: 1fr 460px; gap: clamp(32px, 6vw, 90px); align-items: center; }
.calc__badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--lime); color: var(--dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.calc__title { margin: 22px 0 22px; font-size: clamp(36px, 5vw, 68px); line-height: 1; font-weight: 550; letter-spacing: -.045em; text-wrap: balance; }
.calc__text > p { max-width: 480px; margin-bottom: 24px; font-size: 17px; color: rgba(255,255,255,.7); }
.calc__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 32px; font-size: 15px; }
.calc__list li { display: flex; align-items: center; gap: 10px; }
.calc__list .ic { box-sizing: border-box; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--lime); color: var(--dark); stroke-width: 3.4; }
.calc__card { padding: 34px; border-radius: var(--r-xl); background: var(--cream); color: var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.calc__card-title { margin-bottom: 22px; font-size: 26px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }

/* ---------- Вопросы ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.faq__item { border-radius: 22px; background: var(--cream); transition: background-color .2s; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 22px 22px 28px; font-size: 20px; line-height: 1.25; font-weight: 550; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { box-sizing: border-box; width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: #fff; transition: transform .3s, background-color .2s; }
.faq__item[open] summary .ic { background: var(--lime); transform: rotate(180deg); }
.faq__item summary:hover .ic { background: var(--lime); }
.faq__item p { padding: 0 90px 26px 28px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }

/* ---------- О производителе ---------- */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.about p { margin-top: 14px; font-size: 16px; color: var(--text); }
.about .h2 { margin-bottom: 20px; font-size: clamp(30px, 3.6vw, 48px); }
.h4 { margin-top: 32px; font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.about__card { padding: 30px 32px; border-radius: var(--r-lg); background: #fff; }
.about__card + .about__card { margin-top: 16px; background: var(--lime); }
.about__card + .about__card p { color: rgba(27,31,17,.78); }
.about__card .h4 { margin-top: 0; }
.bullets { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; font-size: 15.5px; color: var(--text); }
.bullets li { position: relative; padding-left: 26px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
.bullets strong { font-weight: 600; color: var(--ink); }

/* ---------- Контакты ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.clist { display: flex; flex-direction: column; gap: 26px; }
.clist li { display: flex; align-items: flex-start; gap: 18px; }
.clist li > .ic { box-sizing: content-box; width: 22px; height: 22px; padding: 13px; border-radius: 50%; background: var(--lime); color: var(--dark); }
.clist h3 { margin-bottom: 3px; font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }
.clist p { font-size: 15.5px; color: var(--text); }
.clist a { font-weight: 600; color: var(--ink); text-decoration: none; }
.clist a:hover { text-decoration: underline; }
.clist .small { font-size: 13px; color: var(--muted); }
.map { display: grid; place-items: center; min-height: 320px; padding: 24px; border-radius: var(--r-xl); background: var(--cream); text-align: center; color: var(--muted); font-size: 14px; }
.map div { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 330px; }
.map strong { font-size: 20px; font-weight: 600; letter-spacing: -.025em; color: var(--ink); }
.ic--map { box-sizing: content-box; width: 30px; height: 30px; padding: 16px; border-radius: 50%; background: var(--lime); color: var(--dark); stroke-width: 1.7; }

/* ---------- Страница «Контакты» ---------- */
.hero--page { padding: 56px 0 64px; }
.hero--page .hero__title { font-size: clamp(44px, 6vw, 88px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.crumbs { margin-bottom: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.crumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--lime-d); vertical-align: middle; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.topnav a[aria-current="page"] { color: var(--lime); }
.fcol a[aria-current="page"] { color: var(--lime); }

.cpage { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.h2--md { margin-bottom: 36px; font-size: clamp(30px, 3.6vw, 48px); }
.clist--page { gap: 30px; }
.clist--page li > .ic { padding: 15px; width: 24px; height: 24px; }
.clist--page h3 { margin-bottom: 6px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.clist--page p { font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.cphones { display: flex; flex-direction: column; gap: 2px; }
.cphones a { font-size: 26px; line-height: 1.35; font-weight: 600; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.cphones a:hover { text-decoration: underline; text-decoration-color: var(--lime-d); text-decoration-thickness: 3px; }

.reqs { padding: 40px clamp(24px, 3.4vw, 44px) 28px; border-radius: var(--r-xl); background: var(--cream); }
.req__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.req__head .h2 { margin-bottom: 0; }
.req__list { display: flex; flex-wrap: wrap; margin: 0; }
.req__row { display: grid; grid-template-columns: 1fr; gap: 4px; flex: 0 0 100%; padding: 16px 0; border-top: 1px solid var(--line); }
.req__row--half { flex-basis: 50%; }
.req__row--l { padding-right: 16px; }
.req__row--half .req__v { justify-content: flex-start; }
.req__k { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.req__v { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0; font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -.015em; overflow-wrap: anywhere; }
.copy { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; margin: -4px 0; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--dark); transition: background-color .2s; }
.copy:hover, .copy.is-done { background: var(--lime); }
.copy .ic { width: 16px; height: 16px; }

/* ---------- Страница «О компании» ---------- */
.hero--about .hero__grid, .hero--cat .hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__lead { max-width: 580px; margin-top: 28px; font-size: 18px; line-height: 1.5; color: var(--text); }
.hero--about .hero__actions, .hero--cat .hero__actions { margin-top: 36px; }
.hero__pic { border-radius: var(--r-lg); overflow: hidden; background: var(--cream-2); }
.hero__pic img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; object-position: 50% 60%; }

.facts { position: relative; margin: var(--gap); max-width: 1736px; padding: 88px 0; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fff; background: var(--dark); }
.facts::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27,31,17,.9), rgba(27,31,17,.78) 50%, rgba(27,31,17,.95)), url("../img/block-bk-01.jpg") center 55% / cover; filter: grayscale(.8); }
@media (min-width: 1760px) { .facts { margin-inline: auto; } }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.3); }
.fact__v { display: flex; align-items: flex-start; gap: 4px; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; font-weight: 500; letter-spacing: -.045em; }
.fact__v sup { margin-top: .12em; font-size: .36em; font-weight: 500; letter-spacing: 0; color: var(--lime); }
.fact__l { margin-top: 14px; font-size: 16px; line-height: 1.35; color: rgba(255,255,255,.62); }

.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mgrid--2 { grid-template-columns: repeat(2, 1fr); }
.mcard { display: flex; flex-direction: column; align-items: flex-start; min-height: 250px; padding: 32px; border-radius: var(--r-lg); background: var(--cream); transition: transform .25s, box-shadow .25s; }
.mcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27,31,17,.1); }
.mcard__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 36px; border-radius: 50%; background: var(--lime); color: var(--dark); }
.mcard__ic .ic { width: 22px; height: 22px; }
.mcard h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; }
.mcard p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.mcard--lime { justify-content: flex-end; background: var(--lime); }
.mcard--lime h3 { margin-top: 0; font-size: 26px; }
.mcard--lime p { margin-bottom: 24px; color: rgba(27,31,17,.75); }
.mcard--lime:hover { box-shadow: none; }

.advs { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.advs__head { position: sticky; top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.advs__head .h2 { margin-bottom: 24px; font-size: clamp(30px, 3.6vw, 48px); }
.advs__head p { margin-bottom: 32px; font-size: 16px; color: var(--text); }
.advs .mcard { min-height: 230px; }

/* ---------- Формы ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.req { color: var(--err); }
.field input, .field textarea, .field select { width: 100%; padding: 15px 18px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1f11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--dark); box-shadow: 0 0 0 4px rgba(227,233,99,.6); }
.field input[readonly] { background: var(--cream); font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); }
.field__err { font-size: 12px; color: var(--err); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--dark); }
.check a { color: var(--ink); }
.check.is-invalid, .check.is-invalid a { color: var(--err); }
.form__ok { padding: 16px 18px; border-radius: 16px; background: var(--lime); color: var(--dark); font-weight: 600; }
.form__err { padding: 12px 16px; border: 1px solid var(--err); border-radius: 14px; font-size: 14px; line-height: 1.4; color: var(--err); }
.form__err[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled, .btn:disabled:hover { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Подвал ---------- */
.footer { margin-top: var(--gap); padding: 90px 0 28px; border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--dark); color: rgba(255,255,255,.62); font-size: 14px; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer__cols { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1.2fr; gap: 36px; padding-bottom: 56px; }
.fabout p { max-width: 320px; margin: 20px 0 20px; line-height: 1.55; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background-color .2s, color .2s; }
.social a:hover { background: var(--lime); color: var(--dark); }
.fcol__head { margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.fcol ul { display: flex; flex-direction: column; gap: 10px; }
.fcol a { font-weight: 500; }
.fcol--c li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.fcol--c .ic { margin-top: 3px; color: var(--lime); }
.fcol--c a { color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.fcol--c a:hover { color: var(--lime); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.5); }
.footer__bottom a { color: rgba(255,255,255,.65); }

/* ---------- Кнопка «Наверх» ---------- */
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--lime); color: var(--dark); box-shadow: 0 8px 24px rgba(12,13,8,.28); animation: fade .25s ease; transition: transform .2s; }
.totop:hover { transform: translateY(-3px); }
.totop .ic { width: 22px; height: 22px; stroke-width: 2.4; }

/* ---------- Всплывающие окна ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(12,13,8,.66); backdrop-filter: blur(4px); animation: fade .2s ease; overflow-y: auto; }
.modal__box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 36px 32px 30px; background: var(--cream); border-radius: var(--r-xl); box-shadow: 0 30px 70px rgba(0,0,0,.4); animation: pop .3s ease; }
.modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); }
.modal__close:hover { background: var(--lime); }
.modal__close .ic { width: 18px; height: 18px; }
.modal__title { margin-bottom: 8px; padding-right: 44px; font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -.035em; }
.modal__lead { margin-bottom: 20px; font-size: 15px; color: var(--muted); }
.modal .form { margin-top: 20px; }
.modal__lead + .form { margin-top: 0; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1100px) {
  .hinfo { display: none; }
  .header__in { gap: 20px; }
  .phones { margin-left: auto; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .calc__in { grid-template-columns: 1fr; }
  .calc__card { max-width: 520px; }
  .catnav { justify-content: flex-start; }
}

@media (max-width: 900px) {
  /* мобильное меню: шапка наверху, меню раскрывается под ней */
  .topbar { order: 2; display: none; }
  .header { order: 1; }
  .catbar { order: 3; display: none; }
  .site-head.is-open .topbar, .site-head.is-open .catbar { display: block; }
  .topbar__in { flex-direction: column; align-items: stretch; padding-top: 6px; padding-bottom: 16px; }
  .topnav { flex-direction: column; gap: 0; }
  .topnav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .topbar__call { display: none; }
  .catnav { flex-direction: column; gap: 8px; padding: 16px 0 20px; overflow: visible; }
  .burger { display: inline-flex; }
  .header__call { padding: 11px 18px; }

  .section { padding: 80px 0; }
  .hero { padding: 56px 0 48px; }
  .calc { padding: 80px 0; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 440px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .delivery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about, .contact, .cpage { grid-template-columns: 1fr; }
  .hero--about .hero__grid, .hero--cat .hero__grid, .advs { grid-template-columns: 1fr; }
  .advs__head { position: static; }
  .facts { padding: 64px 0; }
  .facts__in { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding-top: 70px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  :root { --r-xl: 24px; --r-lg: 20px; }
  .container { padding: 0 16px; }
  .header__in { flex-wrap: wrap; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__name { font-size: 21px; }
  .logo__tag { max-width: 150px; font-size: 10px; }
  .phones { order: 5; flex-direction: row; justify-content: space-between; width: 100%; margin: 0; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  .phone { font-size: 16px; }
  .header__call { margin-left: auto; width: 46px; height: 46px; padding: 0; }
  .header__call span { display: none; }
  .header__call .ic { width: 20px; height: 20px; }

  .section { padding: 64px 0; }
  .h2 { margin-bottom: 32px; }
  .hero { padding: 40px 0 32px; }
  .hero__sub { margin: 16px 0 32px; font-size: 16px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 22px; gap: 16px; }
  .tile__list { margin-top: 160px; }
  .tile__foot .btn { flex: 1 1 auto; }
  .cats { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .card__img { aspect-ratio: 16 / 10; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; flex: none; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .calc { padding: 64px 0; }
  .calc__list { grid-template-columns: 1fr; }
  .calc__card { padding: 24px 20px; }
  .faq__item summary { padding: 18px 16px 18px 20px; font-size: 17px; }
  .faq__item p { padding: 0 20px 22px; }
  .about__card { padding: 24px 22px; }
  .hero--page { padding: 36px 0 40px; }
  .hero__lead { font-size: 16px; margin-top: 20px; }
  .hero--about .hero__grid, .hero--cat .hero__grid { gap: 28px; }
  .fact { padding-left: 16px; }
  .fact__v { font-size: 40px; }
  .fact__l { font-size: 14px; }
  .mgrid, .mgrid--2 { grid-template-columns: 1fr; }
  .mcard { min-height: 0; padding: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .reqs { padding: 28px 20px 16px; }
  .req__row--half { flex-basis: 100%; }
  .req__row--l { padding-right: 0; }
  .req__v { font-size: 16px; }
  .cphones a { font-size: 22px; }
  .clist--page p { font-size: 17px; }
  .footer { padding-top: 56px; }
  .footer__cols { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
  .footer__bottom { flex-direction: column; }
  .modal { align-items: flex-end; padding: 0; }
  .modal__box { max-width: none; max-height: 92vh; border-radius: 24px 24px 0 0; padding: 30px 20px 24px; }
  .totop { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Страница каталога («Блок-контейнеры») ---------- */
.perks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.perks li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); }
.perks .ic { box-sizing: content-box; width: 14px; height: 14px; padding: 5px; border-radius: 50%; background: var(--lime); color: var(--dark); }

.plist { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.plist > * { min-width: 0; }
.cside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 12px; }
.cside__title { margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* меню категорий слева (pdoMenu) */
.cmenu { display: flex; flex-direction: column; gap: 4px; }
.cmenu a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid transparent; border-radius: 18px; background: var(--cream); font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--ink); text-decoration: none; transition: .2s; }
.cmenu a:hover { border-color: var(--dark); }
.cmenu a.active, .cmenu a[aria-current] { background: var(--dark); border-color: var(--dark); color: #fff; }
.cmenu .ic { box-sizing: content-box; width: 16px; height: 16px; padding: 5px; border-radius: 50%; background: #fff; color: var(--dark); }
.cmenu a.active .ic, .cmenu a[aria-current] .ic { background: var(--lime); }

/* фильтр по типу над карточками */
.plist__main .ptypes { margin-bottom: 20px; }
.ptypes .tab__n { margin-left: 8px; background: var(--cream); }
.ptypes .tab.is-active .tab__n { background: var(--lime); }
.ptypes[hidden], .ptypes .tab[hidden] { display: none; }
.pempty { padding: 28px; border-radius: var(--r-lg); background: var(--cream); font-size: 16px; color: var(--text); }
.cside .tabs { flex-direction: column; flex-wrap: nowrap; gap: 4px; margin: 0; }
.cside .tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-color: transparent; background: var(--cream); border-radius: 18px; text-align: left; font-size: 15px; }
.cside .tab:hover { border-color: var(--dark); }
.cside .tab.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.tab__n { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; text-align: center; color: var(--dark); }
.tab.is-active .tab__n { background: var(--lime); }
.cside__cta { margin-top: 12px; padding: 24px; border-radius: var(--r-lg); background: var(--lime); }
.cside__cta h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.12; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.cside__cta p { margin-bottom: 18px; font-size: 14px; line-height: 1.45; color: var(--dark); }

.pbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.pbar__count { font-size: 15px; font-weight: 500; color: var(--muted); }
.pbar__count b { font-weight: 600; color: var(--ink); }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
.sort select { height: 44px; padding: 0 40px 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231b1f11' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") right 18px center no-repeat; appearance: none; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.sort select:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
.plist .cards { grid-template-columns: repeat(3, 1fr); }
.plist .card__img { cursor: pointer; }

@media (max-width: 1280px) { .plist .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .plist { grid-template-columns: minmax(0, 1fr); }
  .cside { position: static; }
  .cside .tabs { flex-direction: row; flex-wrap: nowrap; gap: 8px; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
  .cside .tabs::-webkit-scrollbar { display: none; }
  .cside .tab { flex: none; gap: 10px; padding: 11px 16px; border-radius: 999px; }
  .cmenu { flex-direction: row; gap: 8px; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
  .cmenu::-webkit-scrollbar { display: none; }
  .cmenu a { flex: none; white-space: nowrap; padding: 11px 16px; border-radius: 999px; }
  .cside__title, .cside__cta { display: none; }
}
@media (max-width: 600px) {
  .plist .cards { grid-template-columns: 1fr; }
  .pbar { align-items: stretch; }
  .sort { justify-content: space-between; width: 100%; }
  .sort select { flex: 1; }
}

/* ==========================================================================
   Страница товара
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pdp { padding-top: 48px; }
.pdp .crumbs { margin-bottom: 20px; }
.pdp__title { margin-bottom: 32px; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; font-weight: 550; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }

/* галерея */
.pgal__main { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--cream-2); }
.pgal__open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pgal__img { display: block; width: 100%; aspect-ratio: 11 / 10; height: auto; object-fit: cover; object-position: center 60%; transition: opacity .25s ease; }
.pgal__img[data-fit="contain"] { object-fit: contain; object-position: center; background: #fff; }
.pgal__img.is-swap { opacity: 0; }
.pgal__zoom { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 13px; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(6px); transition: .2s; }
.pgal__zoom .ic { width: 18px; height: 18px; }
.pgal__open:hover .pgal__zoom, .pgal__open:focus-visible .pgal__zoom { opacity: 1; transform: none; }
.pgal__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 6px 20px rgba(27,31,17,.16); transition: .2s; }
.pgal__nav:hover { background: var(--lime); }
.pgal__nav--prev { left: 16px; }
.pgal__nav--next { right: 16px; }
.pgal__count { position: absolute; right: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(27,31,17,.72); font-size: 13px; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.pgal__count b { font-weight: 600; }
.pgal__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pgal__thumb { flex: none; width: 112px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: var(--r-md); background: var(--cream-2); overflow: hidden; opacity: .7; transition: .2s; }
.pgal__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
/*.pgal__thumb:nth-child(3) img { object-fit: contain; background: #fff; }*/
.pgal__thumb[data-fit="contain"] img { object-fit: contain; background: #fff; }
.pgal__thumb:hover { opacity: 1; }
.pgal__thumb.is-active { border-color: var(--dark); opacity: 1; }

/* блок справа */
.pinfo { padding: 36px; border-radius: var(--r-xl); background: var(--cream); }
.pinfo__sum { font-size: clamp(36px, 3.8vw, 52px); line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--ink); }
.pinfo__note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.pinfo__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pinfo__note a:hover { text-decoration-color: var(--lime-d); }
.pinfo__h { margin: 28px 0 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pinfo__list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pinfo__list > div:last-child { border-bottom: 0; }
.pinfo__list dt { color: var(--muted); }
.pinfo__list dd { margin: 0; font-weight: 500; color: var(--ink); }
.pinfo__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pinfo__actions .btn { flex: 1 1 auto; }
.pinfo__perks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pinfo__perks li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; color: var(--ink); }
.pinfo__perks .ic { box-sizing: content-box; width: 14px; height: 14px; padding: 5px; border-radius: 50%; background: var(--lime); color: var(--dark); }

/* вкладки */
.pdesc.section--steel { padding: 72px 0 88px; }
.ptabs { display: flex; gap: 8px; margin-bottom: 40px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab { flex: none; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 15px; color: var(--ink); transition: .2s; }
.ptab:hover { border-color: var(--dark); }
.ptab.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.ppanel[hidden] { display: none; }
.ppanel { animation: fade .25s ease; }
.ppanel__lead { margin: -20px 0 28px; max-width: 640px; color: var(--text); }

/* характеристики с иконками */
.pspecs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pspec { display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; border-radius: var(--r-lg); background: #fff; }
.pspec__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--dark); }
.pspec__ic .ic { width: 24px; height: 24px; stroke-width: 1.7; }
.pspec h3 { margin-bottom: 4px; font-size: 17px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.pspec p { font-size: 15px; line-height: 1.5; color: var(--text); }
.pspec__ic img { display: block; width: 24px; height: 24px; object-fit: contain; }
.pcontent { max-width: 760px; margin-bottom: 40px; font-size: 17px; line-height: 1.6; color: var(--text); }
.pcontent p + p { margin-top: 16px; }

/* планировки */
.pplans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pplans figure { padding: 16px; border-radius: var(--r-lg); background: #fff; }
.pplans img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.pplans figcaption { margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--muted); }

/* таблица отделки */
.ptable-wrap { overflow-x: auto; border-radius: var(--r-lg); background: #fff; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { padding: 18px 28px; text-align: left; border-bottom: 1px solid var(--line); font-size: 16px; }
.ptable thead th { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ptable tbody th { font-weight: 600; color: var(--ink); }
.ptable td:nth-child(2) { font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.ptable td:last-child { text-align: right; width: 1%; }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr:hover { background: var(--cream); }

/* доставка */
.pdeliv { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.pdeliv__text { padding: 36px; border-radius: var(--r-lg); background: #fff; }
.pdeliv__text p { font-size: 17px; line-height: 1.6; color: var(--text); }
.pdeliv__text p + p { margin-top: 16px; }
.pdeliv__text a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lime-d); }
.pdeliv__note { padding: 36px; border-radius: var(--r-lg); background: var(--lime); color: var(--dark); }
.pdeliv__note h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }
.pdeliv__note p { font-size: 16px; line-height: 1.6; }

/* просмотр фото на весь экран */
.lb { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 64px 88px; background: rgba(12,13,8,.92); animation: fade .2s ease; touch-action: pan-y; }
.lb[hidden] { display: none; }
.lb__fig { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; margin: 0; }
.lb__img { display: block; max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: var(--r-md); background: #fff; cursor: zoom-in; transition: transform .25s ease; user-select: none; -webkit-user-drag: none; }
.lb__img.is-zoomed { transform: scale(2); cursor: zoom-out; }
.lb__cap { font-size: 14px; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.lb__close, .lb__nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; transition: .2s; }
.lb__close:hover, .lb__nav:hover { background: var(--lime); color: var(--dark); }
.lb__close { top: 20px; right: 20px; }
.lb__nav { top: 50%; margin-top: -26px; }
.lb__nav--prev { left: 20px; }
.lb__nav--next { right: 20px; }
.lb--single .lb__nav { display: none; }

@media (max-width: 1100px) {
  .pdp__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pinfo__list > div { grid-template-columns: 170px 1fr; }
}
@media (max-width: 900px) {
  .pspecs, .pplans, .pdeliv { grid-template-columns: minmax(0, 1fr); }
  .pdesc.section--steel { padding: 56px 0 64px; }
}
@media (max-width: 640px) {
  .pdp { padding-top: 28px; }
  .pdp__title { margin-bottom: 20px; }
  .pgal__main { border-radius: var(--r-lg); }
  .pgal__nav { width: 40px; height: 40px; margin-top: -20px; }
  .pgal__nav--prev { left: 10px; }
  .pgal__nav--next { right: 10px; }
  .pgal__zoom { display: none; }
  .pgal__thumb { width: 92px; }
  .pinfo { padding: 24px 20px; border-radius: var(--r-lg); }
  .pinfo__list > div { grid-template-columns: 1fr; gap: 2px; padding: 9px 0; }
  .pinfo__actions .btn { width: 100%; }
  .ptab { padding: 11px 18px; font-size: 14px; }
  .pspec { padding: 18px; gap: 14px; }
  .pspec__ic { width: 46px; height: 46px; }
  .ptable th, .ptable td { padding: 14px 16px; font-size: 15px; }
  .ptable td:nth-child(2) { font-size: 16px; }
  .ptable td:last-child .btn { padding: 9px 14px; font-size: 13px; }
  .pdeliv__text, .pdeliv__note { padding: 24px 20px; }
  .pdeliv__text p { font-size: 16px; }
  .lb { padding: 64px 12px 72px; }
  .lb__nav { top: auto; bottom: 14px; margin-top: 0; }
  .lb__nav--prev { left: calc(50% - 64px); }
  .lb__nav--next { right: calc(50% - 64px); }
  .lb__img.is-zoomed { transform: scale(1.8); }
}

/* ==========================================================================
   Фотогалерея
   ========================================================================== */
.gbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.gfilters { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.gtab { display: inline-flex; align-items: center; gap: 7px; padding: 10px 8px 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; color: var(--ink); transition: .2s; }
.gtab:hover { border-color: var(--dark); }
.gtab.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.gtab__n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--cream); font-size: 12px; font-weight: 600; color: var(--muted); }
.gtab.is-active .gtab__n { background: var(--lime); color: var(--dark); }
.gbar__count { flex: none; padding-top: 12px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.gbar__count b { color: var(--ink); font-weight: 600; }

.ggrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gitem[hidden] { display: none; }
.gitem__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--cream-2); cursor: zoom-in; text-align: left; isolation: isolate; }
.gitem__btn img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: center 60%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.gitem__btn:hover img, .gitem__btn:focus-visible img { transform: scale(1.04); }
.gitem__btn::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(27,31,17,.55), rgba(27,31,17,0) 45%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.gitem__btn:hover::after, .gitem__btn:focus-visible::after { opacity: 1; }
.gitem__zoom { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); opacity: 0; transform: scale(.85); transition: .2s; }
.gitem__zoom .ic { width: 20px; height: 20px; }
.gitem__btn:hover .gitem__zoom, .gitem__btn:focus-visible .gitem__zoom { opacity: 1; transform: none; background: var(--lime); }
.gitem__cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; gap: 2px; width: fit-content; max-width: calc(100% - 28px); padding: 10px 16px 11px; border-radius: 18px; background: rgba(255,255,255,.94); }
.gitem__cap b { font-size: 15px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.gitem__cap small { font-size: 12px; line-height: 1.3; color: var(--muted); }

.gmore { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 12px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--cream); }
.gmore p { max-width: 520px; font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
.gmore .btn { flex: none; }

@media (max-width: 1100px) { .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .gbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .gbar__count { padding-top: 0; }
  .gfilters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .gfilters::-webkit-scrollbar { display: none; }
  .gtab { flex: none; }
}
@media (max-width: 640px) {
  .ggrid { grid-template-columns: minmax(0, 1fr); }
  .gitem__btn { border-radius: var(--r-md); }
  .gitem__btn::after, .gitem__zoom { display: none; }
  .gmore { flex-direction: column; align-items: stretch; padding: 22px 20px; }
  .gmore p { font-size: 16px; }
}

/* ==========================================================================
   Страница цен
   ========================================================================== */
.pnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pnav a { padding: 10px 18px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); transition: .2s; }
.pnav a:hover { background: var(--dark); color: #fff; }
#bk, #sandwich, #extras { scroll-margin-top: 90px; }

.prgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prc { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--cream); }
.section--steel .prc { background: #fff; }
.prc__head { display: flex; align-items: center; gap: 16px; }
.prc__plan { flex: none; width: 112px; height: auto; border-radius: var(--r-sm, 12px); border: 1px solid var(--line); background: #fff; }
.prc__title { font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.prc__size { margin-top: 6px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.prc__from { margin: 22px 0 14px; font-size: 14px; color: var(--muted); }
.prc__from b { font-size: 34px; line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--ink); }
.prc__rows { margin-bottom: 24px; border-top: 1px solid var(--line); }
.prc__rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); }
.prc__rows b { flex: none; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.prc__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.prc__foot .btn { flex: 1 1 auto; }

.pex { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.pex__card { padding: 28px 32px 12px; border-radius: var(--r-lg); background: var(--cream); }
.pex__title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--dark); font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.pex__title small { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pex__rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); }
.pex__rows li:last-child { border-bottom: 0; }
.pex__rows b { flex: none; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
#extras .gmore { margin-top: 12px; background: var(--lime); }

@media (max-width: 1100px) { .prgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pex { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .prgrid { grid-template-columns: minmax(0, 1fr); }
  .prc { padding: 22px 20px; }
  .prc__plan { width: 96px; }
  .prc__from b { font-size: 30px; }
  .pex__card { padding: 22px 20px 8px; }
  .pnav { margin-top: 28px; }
}

/* ==========================================================================
   Новости
   ========================================================================== */
.nlayout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 12px; align-items: start; }
.nlist { display: grid; gap: 12px; }
.ncard { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px; align-items: start; padding: 32px 36px; border-radius: var(--r-lg); background: var(--cream); transition: background .25s; }
.ncard[hidden] { display: none; }
.ncard:hover { background: var(--cream-2); }
.ncard__date { display: flex; flex-direction: column; gap: 6px; padding-right: 28px; border-right: 1px solid var(--line); }
.ncard__date b { font-size: 64px; line-height: .9; font-weight: 550; letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ncard__date span { font-size: 14px; color: var(--muted); }
.ncard--new .ncard__date b { display: inline-block; width: fit-content; padding: 6px 12px 8px; margin-left: -12px; border-radius: 18px; background: var(--lime); }
.ncard__title { margin-bottom: 12px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; font-weight: 600; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.ncard__text { max-width: 68ch; font-size: 17px; line-height: 1.6; color: var(--text); }

.naside { position: sticky; top: 100px; padding: 32px; border-radius: var(--r-lg); background: var(--lime); color: var(--dark); }
.naside__title { margin-bottom: 12px; font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.naside p { margin-bottom: 20px; font-size: 16px; line-height: 1.55; }
.naside__phone { display: block; margin-bottom: 16px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.naside__phone:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .nlayout { grid-template-columns: minmax(0, 1fr); }
  .naside { position: static; }
}
@media (max-width: 640px) {
  .ncard { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px 20px; }
  .ncard__date { flex-direction: row; align-items: baseline; gap: 10px; padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .ncard__date b { font-size: 40px; }
  .ncard--new .ncard__date b { margin-left: 0; padding: 4px 10px 6px; }
  .ncard__text { font-size: 16px; }
  .naside { padding: 24px 20px; }
}

/* --- ссылки в ленте новостей --- */
.ncard { position: relative; }
.ncard__link { color: inherit; }
.ncard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ncard__link:focus-visible { outline: none; }
.ncard:has(.ncard__link:focus-visible) { outline: 2px solid var(--dark); outline-offset: 2px; }
.ncard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); transition: .2s; }
.ncard__more .ic { width: 16px; height: 16px; transition: transform .2s; }
.ncard:hover .ncard__more { background: var(--dark); color: #fff; }
.ncard:hover .ncard__more .ic { transform: translateX(3px); }

/* ==========================================================================
   Страница отдельной новости
   ========================================================================== */
.hero--news .hero__title { max-width: 18ch; font-size: clamp(34px, 5vw, 72px); }
.art__date { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--lime); font-size: 14px; font-weight: 600; color: var(--dark); }
.art__date .ic { width: 16px; height: 16px; }
.art { padding: 40px 44px; border-radius: var(--r-lg); background: var(--cream); }
.art__lead { max-width: 62ch; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.6; font-weight: 450; letter-spacing: -.012em; color: var(--ink); }
.art > p + p, .art__lead ~ p { margin-top: 20px; max-width: 68ch; font-size: 18px; line-height: 1.7; color: var(--text); }
.art h2 { margin: 36px 0 14px; font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.art ul { margin: 20px 0; padding-left: 22px; list-style: disc; font-size: 18px; line-height: 1.7; color: var(--text); }
.art__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.npager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.npager__item { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: var(--r-md); background: #fff; transition: background .2s, color .2s; }
.npager__item--next { grid-column: 2; text-align: right; align-items: flex-end; }
.npager__item--prev:only-child { grid-column: 1; }
.npager__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.npager__label .ic { width: 16px; height: 16px; }
.npager__title { font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.npager__item:hover { background: var(--dark); }
.npager__item:hover .npager__title { color: #fff; }
.npager__item:hover .npager__label { color: var(--lime); }
.nrels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nrel { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px; border-radius: var(--r-lg); background: #fff; transition: background .25s; }
.nrel time { font-size: 14px; color: var(--muted); }
.nrel__title { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.nrel__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.nrel__more .ic { width: 16px; height: 16px; transition: transform .2s; }
.nrel:hover { background: var(--dark); }
.nrel:hover time { color: rgba(255,255,255,.6); }
.nrel:hover .nrel__title, .nrel:hover .nrel__more { color: #fff; }
.nrel:hover .nrel__more .ic { transform: translateX(3px); color: var(--lime); }

@media (max-width: 900px) { .nrels { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .art { padding: 26px 20px; border-radius: var(--r-md); }
  .art__foot .btn { flex: 1 1 100%; }
  .npager { grid-template-columns: minmax(0, 1fr); }
  .npager__item--next { grid-column: 1; }
  .nrel { padding: 22px 20px; }
}

/* ссылки-карточки и ссылки-кнопки без подчёркивания */
.pnav a, .ncard__link, .naside__phone, .nrel, .npager__item, .btn { text-decoration: none; }
.ncard__link:hover { text-decoration: underline; text-decoration-color: var(--lime-d); text-underline-offset: 4px; }

/* ==========================================================================
   Страница «Доставка»
   ========================================================================== */
.dhint { margin-top: 20px; font-size: 14px; color: var(--muted); }
.hero--page .hero__lead { max-width: 820px; }
.hero__actions .btn[href^="tel"] { white-space: nowrap; }

.dnote { display: flex; align-items: flex-start; gap: 28px; padding: 40px 44px; border-radius: var(--r-xl); background: var(--lime); color: var(--dark); }
.dnote__ic { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--dark); color: var(--lime); }
.dnote__ic .ic { width: 28px; height: 28px; }
.dnote__title { margin-bottom: 14px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.dnote p { max-width: 78ch; font-size: 17px; line-height: 1.65; }

.ggrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ggrid--3 .gitem__cap b { font-size: 14px; }

.dprice { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.dprice__card { padding: 12px 36px 16px; border-radius: var(--r-lg); background: #fff; }
.dprice__head { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 14px; border-bottom: 1px solid var(--dark); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dprice__rows li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dprice__rows li:last-child { border-bottom: 0; }
.dprice__place { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dprice__place b { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.025em; color: var(--ink); }
.dprice__place small { font-size: 14px; color: var(--muted); }
.dprice__sum { flex: none; font-size: 26px; line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dprice__big { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 36px; border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.dprice__bigsum { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.dprice__bigsum b { font-size: clamp(72px, 8vw, 112px); line-height: .85; font-weight: 550; letter-spacing: -.06em; color: var(--lime); }
.dprice__bigsum span { font-size: 15px; color: rgba(255,255,255,.7); }
.dprice__bigname { margin: 18px 0 24px; font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; }

@media (max-width: 1100px) { .dprice { grid-template-columns: minmax(0, 1fr); } .dprice__big { min-height: 260px; } }
@media (max-width: 820px) { .ggrid--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .dnote { flex-direction: column; gap: 18px; padding: 26px 20px; border-radius: var(--r-lg); }
  .dnote__ic { width: 52px; height: 52px; }
  .dnote p { font-size: 16px; }
  .dprice__card { padding: 8px 20px 10px; }
  .dprice__rows li { padding: 18px 0; gap: 14px; }
  .dprice__place b { font-size: 17px; }
  .dprice__sum { font-size: 20px; }
  .dprice__big { padding: 28px 22px; min-height: 0; }
  .hero__actions .btn { width: 100%; }
}
/* SEO-текст категории (поле «Содержимое» ресурса) */
.seo-text h2 { margin-bottom: 20px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; font-weight: 550; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.seo-text h3 { margin-top: 32px; font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.seo-text ul { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; font-size: 15.5px; color: var(--text); }
.seo-text li { position: relative; padding-left: 26px; }
.seo-text li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
.seo-text strong { font-weight: 600; color: var(--ink); }