/* ============================================================
   МНОГОСТРАНИЧНЫЙ САЙТ: внутренние страницы и статьи
   (подключается после site.css)
   ============================================================ */
.nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--y); }
.mobile-nav a[aria-current="page"] { background: var(--y-soft); }

.page-hero { background: var(--dark); color: #fff; padding: 132px 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 0%, rgba(255,198,26,.12), transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 60px); max-width: 20ch; margin-bottom: 18px; }
.page-hero .lead { color: var(--on-dark); max-width: 62ch; }
.page-hero.with-img { background-size: cover; background-position: center; }
.page-hero.with-img::before { background: linear-gradient(90deg, rgba(10,12,15,.95), rgba(10,12,15,.8) 55%, rgba(10,12,15,.55)); }

.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; margin-bottom: 22px; color: var(--on-dark-2); }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: '/'; opacity: .5; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: var(--y); }

.art-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--on-dark-2); margin-top: 22px; }
.art-meta span { display: inline-flex; align-items: center; gap: 8px; }
.art-meta .ico { width: 18px; height: 18px; color: var(--y); }

.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.art-aside { position: sticky; top: 104px; display: grid; gap: 16px; }
.art-layout > * { min-width: 0; }
@media (max-width: 1100px) { .art-layout { grid-template-columns: minmax(0, 1fr); } .art-aside { order: -1; position: static; } .art-aside .aside-cta { display: none; } }
.toc { background: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); }
.toc b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { list-style: none; counter-reset: t; display: grid; gap: 2px; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 7px 0; font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; color: var(--ink-2); }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--y-ink); font-weight: 800; font-size: 13px; padding-top: 1px; }
.toc a:hover { color: var(--ink); }
.aside-cta { background: var(--ink); color: #fff; border-radius: 20px; padding: 22px; }
.aside-cta b { display: block; font-size: 19px; line-height: 1.25; margin-bottom: 8px; }
.aside-cta p { font-size: 14px; color: var(--on-dark-2); margin-bottom: 16px; line-height: 1.45; }
.aside-cta .btn { width: 100%; min-height: 52px; font-size: 15px; }

.tldr { background: var(--y-soft); border-left: 4px solid var(--y); border-radius: 16px; padding: 20px 24px; margin-bottom: 36px; }
.tldr b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--y-ink); margin-bottom: 6px; }
.tldr p { font-size: 18px; line-height: 1.55; color: var(--ink); }

.prose { font-size: 18px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 52px; line-height: 1.15; scroll-margin-top: 110px; }
.prose h3 { font-size: 22px; margin-top: 32px; }
.prose p, .prose li { color: #22262B; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--y-ink); font-weight: 800; }
.prose a { color: var(--ink); text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { background: var(--y-soft); }
.prose strong { font-weight: 800; }
.prose figure { margin-top: 28px; }
.prose figure img { width: 100%; height: auto; border-radius: 18px; }
.prose figcaption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.prose .note-box { background: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); font-size: 16px; }
.prose .note-box b { display: block; margin-bottom: 4px; }
.table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: var(--shadow); background: #fff; }
.prose .table-wrap { margin-top: 24px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 560px; }
.table-wrap caption { text-align: left; font-size: 14px; color: var(--ink-3); padding: 14px 18px 4px; caption-side: top; }
.table-wrap th, .table-wrap td { padding: 12px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.table-wrap tbody tr:last-child td, .table-wrap tbody tr:last-child th { border-bottom: 0; }
.table-wrap tbody th { font-weight: 700; }

.art-cta { margin-top: 48px; display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 36px); }
.art-cta b { display: block; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px; }
.art-cta p { color: var(--on-dark); font-size: 16px; }
@media (max-width: 760px) { .art-cta { grid-template-columns: 1fr; } }

.author { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.author .icon-box { width: 56px; height: 56px; border-radius: 50%; }
.author b { display: block; font-size: 16px; }
.author span { font-size: 14px; color: var(--ink-3); }

.faq { display: grid; gap: 10px; }
.faq-2 { grid-template-columns: 1fr 1fr; gap: 10px 16px; align-items: start; }
.faq-2 > div { display: grid; gap: 10px; }
@media (max-width: 860px) { .faq-2 { grid-template-columns: 1fr; } }
.faq details { background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; font-size: 18px; font-weight: 700; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--y); display: grid; place-items: center; font-size: 22px; font-weight: 600; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.faq details > div p + p { margin-top: 10px; }
.faq-head { margin-bottom: clamp(24px, 3vw, 40px); }

.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .art-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .art-grid { grid-template-columns: 1fr; } }
.art-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; transition: transform .25s var(--ease); }
.art-card:hover { transform: translateY(-4px); }
.art-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.art-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.art-card-tag { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--y-ink); }
.art-card h3 { font-size: 20px; line-height: 1.25; }
.art-card p { font-size: 15px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.art-card-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.art-card-more .ico { width: 18px; height: 18px; stroke-width: 2.4; transition: transform .25s var(--ease); }
.art-card:hover .art-card-more .ico { transform: translateX(4px); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.price-card-body { padding: 22px; display: grid; gap: 12px; }
.price-card h3 { font-size: 21px; }
.price-card .price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.price-card .price small { font-size: 15px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.price-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.price-card dt { color: var(--ink-3); }
.price-card dd { text-align: right; font-weight: 700; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.two-col > * { min-width: 0; }
.card-plain { background: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.card-plain h2, .card-plain h3 { margin-bottom: 14px; }
.card-plain .lead { margin-bottom: 20px; }
.map-box { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.map-box iframe { display: block; width: 100%; height: 420px; border: 0; }
.list-check { list-style: none; display: grid; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.list-check li::before { content: ''; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px; background: var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111418' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .facts-row { grid-template-columns: 1fr 1fr; } }
.fact-card { background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.fact-card b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.fact-card span { font-size: 14px; color: var(--ink-3); }
.sec-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--y); padding-bottom: 2px; }
.sec-link .ico { width: 18px; height: 18px; stroke-width: 2.4; }


/* ============================================================
   ШАПКА: 2 строки (контакты + меню) и компактная панель при скролле
   ============================================================ */
.header { position: absolute; inset: 0 0 auto; z-index: 60; padding: 14px 0; }
.hd { background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-radius: 22px; box-shadow: 0 10px 34px -14px rgba(0,0,0,.35); padding: 14px 22px 0; }
.hd-top { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); min-height: 72px; }
.hd .logo-mark, .hd-sticky .logo-mark { width: 48px; height: 44px; }
.hd .logo-text { font-size: 19px; }
.hd-desc { font-size: 13px; line-height: 1.45; color: var(--ink-2); max-width: 250px; padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.hd-desc b { color: var(--ink); font-weight: 800; }
.hd-calc { margin: 0 auto; min-height: 60px; padding: 0 30px 0 12px; gap: 14px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; border-radius: 18px; white-space: nowrap; }
.hd-calc-ico { width: 38px; height: 38px; border-radius: 12px; background: rgba(17,20,24,.1); display: grid; place-items: center; }
.hd-calc-ico .ico { width: 20px; height: 20px; }
.hd-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.2); flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }
.hd-msg { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hd-msg-btns { display: flex; gap: 10px; }
.msg { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .2s var(--ease); }
.msg:hover { transform: translateY(-2px) scale(1.05); }
.msg .ico { width: 22px; height: 22px; }
.msg.wa { background: #25D366; }
.msg.tg { background: #27A7E7; }
.hd-phone { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.hd-tel { font-size: 23px; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.hd-zamer { font-size: 13px; font-weight: 700; color: var(--y-ink); border-bottom: 1px dashed currentColor; padding: 0; line-height: 1.3; white-space: nowrap; }
.hd-zamer:hover { color: var(--ink); }
.hd-call { display: none; width: 48px; height: 48px; border-radius: 14px; background: var(--y); place-items: center; flex: none; }
.hd-call .ico { width: 22px; height: 22px; }
.hd .burger, .hd-sticky .burger { display: none; }
.hd-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; border-top: 1px solid var(--line); padding: 0 6px; }
.hd-nav a, .hd-sticky-nav a { position: relative; padding: 15px 0; font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; color: var(--ink); opacity: .85; transition: opacity .2s, color .2s; white-space: nowrap; }
.hd-nav a::after, .hd-sticky-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--y); transform: scaleX(0); transition: transform .3s var(--ease); }
.hd-nav a:hover, .hd-sticky-nav a:hover { opacity: 1; }
.hd-nav a:hover::after, .hd-nav a[aria-current="page"]::after, .hd-sticky-nav a[aria-current="page"]::after { transform: scaleX(1); }
.hd-nav a[aria-current="page"] { opacity: 1; }

.hd-sticky { position: fixed; inset: 0 0 auto; z-index: 61; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); box-shadow: 0 8px 24px -12px rgba(0,0,0,.3); transform: translateY(-110%); transition: transform .35s var(--ease); }
.hd-sticky.show { transform: none; }
.hd-sticky .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.hd-sticky .logo-mark { width: 38px; height: 34px; }
.hd-sticky .logo-text { font-size: 15px; }
.hd-sticky-nav { display: flex; gap: clamp(14px, 2vw, 28px); margin: 0 auto; }
.hd-sticky-nav a { padding: 23px 0; font-size: 13px; }
.hd-sticky-tel { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; text-decoration: none; white-space: nowrap; }
.hd-sticky-tel .ico { width: 20px; height: 20px; }

.hero .wrap { padding-top: 220px; }
.page-hero { padding-top: 232px; }

.mobile-nav .mn-contacts { border-top: 1px solid var(--line); margin-top: 8px; padding: 14px 16px 6px; display: grid; gap: 4px; }
.mobile-nav .mn-contacts a { padding: 0; }
.mobile-nav .mn-contacts b { font-size: 20px; }
.mobile-nav .mn-contacts span { font-size: 13px; color: var(--ink-3); }
.mobile-nav .hd-msg-btns { margin-top: 10px; }

@media (max-width: 1360px) { .hd-desc { display: none; } }
@media (max-width: 1240px) { .hd-msg .hd-label { display: none; } .hd-sticky-nav { gap: 14px; } .hd-sticky-tel { display: none; } }
@media (max-width: 1100px) {
  .hd { padding: 10px 12px 10px 18px; }
  .hd-top { min-height: 0; gap: 12px; }
  .hd-nav, .hd-calc, .hd-msg, .hd-sticky-nav, .hd-sticky .btn { display: none; }
  .hd-phone { margin-left: auto; }
  .hd-phone .hd-label, .hd-zamer { display: none; }
  .hd .burger, .hd-sticky .burger { display: grid; }
  .hd-sticky .hd-call { display: grid; margin-left: auto; }
  .hd-sticky .wrap { height: 64px; gap: 12px; }
  .hero .wrap { padding-top: 130px; }
  .page-hero { padding-top: 140px; }
  .mobile-nav { top: 84px; }
}
@media (max-width: 560px) {
  .hd-phone { display: none; }
  .hd .hd-call { display: grid; margin-left: auto; }
  .hd .logo-text { font-size: 15px; }
  .hd .logo-mark { width: 38px; height: 34px; }
}


/* ============================================================
   ПОРТФОЛИО, СТРАНИЦА ОБЪЕКТА, ПОДВАЛ
   ============================================================ */
.facts-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.facts-inline span { font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid var(--line-dark); color: var(--on-dark); }
.facts-inline b { color: var(--y); font-weight: 800; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: 15px; transition: background .2s, transform .2s var(--ease); }
.chip span { font-size: 12px; font-weight: 800; background: var(--bg); border-radius: 8px; padding: 2px 7px; }
.chip:hover { transform: translateY(-2px); }
.chip.active { background: var(--y); }
.chip.active span { background: rgba(17,20,24,.1); }

.pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1200px) { .pf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .pf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pf-grid { grid-template-columns: 1fr; } }
.pf-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pf-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(17,20,24,.3); }
.pf-card[hidden] { display: none; }
.pf-img { position: relative; display: block; overflow: hidden; }
.pf-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg); transition: transform .6s var(--ease); }
.pf-card:hover .pf-img img { transform: scale(1.04); }
.pf-tag { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.92); }
.pf-body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.pf-body b { font-size: 16px; line-height: 1.3; }
.pf-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink-3); }
.pf-meta em { font-style: normal; font-weight: 800; color: var(--ink); background: var(--y-soft); padding: 3px 9px; border-radius: 8px; }

.pj-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 1000px) { .pj-grid { grid-template-columns: 1fr; } }
.pj-main { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; background: var(--bg); box-shadow: var(--shadow); }
.pj-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pj-thumbs button { border-radius: 12px; overflow: hidden; border: 2px solid transparent; transition: border-color .2s; }
.pj-thumbs button.active { border-color: var(--y); }
.pj-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pj-card { display: grid; gap: 16px; position: sticky; top: 96px; }
@media (max-width: 1000px) { .pj-card { position: static; } }
.pj-price { background: var(--ink); color: #fff; border-radius: 20px; padding: 20px 22px; }
.pj-price > span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.pj-price > b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--y); line-height: 1.15; margin: 4px 0 14px; }
.pj-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pj-split span { background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--on-dark-2); }
.pj-split b { display: block; font-size: 17px; color: #fff; }
.pj-table table { min-width: 0; }
.pj-table th { width: 46%; color: var(--ink-3); font-weight: 600; }
.pj-table td { font-weight: 700; }
.pj-actions { display: grid; gap: 10px; }
.pj-docs { display: flex; flex-wrap: wrap; gap: 10px; }
.pj-doc { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 700; text-decoration: none; }
.pj-doc .ico { width: 18px; height: 18px; color: var(--y-ink); }
.pj-doc:hover { background: var(--y-soft); }
.video-box { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--dark); box-shadow: var(--shadow); max-width: 1000px; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.site-footer { background: #0A0C0F; color: var(--on-dark-2); padding: 56px 0 110px; font-size: 14px; }
@media (min-width: 761px) { .site-footer { padding-bottom: 36px; } }
.sf-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 1000px) { .sf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sf-grid { grid-template-columns: 1fr; } }
.sf-grid b { display: block; color: #fff; font-size: 15px; margin-bottom: 14px; }
.sf-grid ul { list-style: none; display: grid; gap: 9px; }
.sf-grid a { color: var(--on-dark-2); text-decoration: none; }
.sf-grid a:hover { color: var(--y); }
.sf-brand .logo { color: #fff; margin-bottom: 14px; }
.sf-brand .logo-mark { color: var(--y); width: 40px; height: 36px; }
.sf-brand p { line-height: 1.55; max-width: 34ch; }
.sf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; }
.sf-bottom a { color: var(--on-dark-2); }


/* ============ CTA внутри статей ============ */
.icta { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 22px; align-items: center; border-radius: 20px; padding: 22px 24px; margin: 32px 0; }
.prose > .icta { margin-top: 32px; }
.icta b { display: block; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 4px; }
.icta p { font-size: 15px !important; line-height: 1.5; margin: 0; }
.icta .btn { min-height: 52px; font-size: 15px; white-space: nowrap; text-decoration: none; }
.icta .icon-box { width: 56px; height: 56px; border-radius: 16px; }
.icta-dark { background: var(--ink); color: #fff; }
.icta-dark p { color: var(--on-dark) !important; }
.icta-y { background: var(--y-soft); border: 1.5px solid var(--y); }
.icta-light { background: #fff; box-shadow: var(--shadow); }
.icta-light .btn-ghost { color: var(--ink); }
.prose a.btn, .prose a.btn:hover { text-decoration: none; }
.prose a.btn:hover { background: var(--y-hover); }
.prose a.btn-ghost:hover { background: rgba(17,20,24,.05); }
@media (max-width: 760px) { .icta { grid-template-columns: auto 1fr; } .icta .btn { grid-column: 1 / -1; width: 100%; } }
.art-card[hidden] { display: none; }

.msg.mx { background: linear-gradient(135deg, #44CCFF 0%, #5533EE 62%, #9933DD 100%); }
.socials a .ico { color: inherit; }
.sf-grid .sf-msg { display: flex; gap: 8px; margin-top: 4px; }
.sf-grid .sf-msg .msg { width: 38px; height: 38px; color: #fff; }
.sf-grid .sf-msg .msg:hover { color: #fff; }
.sf-grid .sf-msg .ico { width: 19px; height: 19px; }

/* ============ видео, каталог ============ */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .video-grid { grid-template-columns: 1fr; } }
.video-card p { margin-top: 10px; font-weight: 700; }
.video-card a { text-decoration: none; border-bottom: 2px solid var(--y); }
a.chip { text-decoration: none; color: var(--ink); }
.two-col .icta { margin: 0 0 16px; }

.table-wrap td strong { white-space: nowrap; }

/* ============ согласия, cookie, документы ============ */
.consents { display: grid; gap: 8px; }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.sf-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 520px; display: flex; gap: 16px; align-items: center; background: #fff; color: var(--ink); border-radius: 18px; padding: 16px 18px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.45); }
.cookie[hidden] { display: none; }
.cookie p { font-size: 13px; line-height: 1.45; color: var(--ink-2); margin: 0; }
.cookie a { color: var(--ink); }
.cookie .btn { flex: none; }
@media (max-width: 760px) { .cookie { left: 12px; right: 12px; bottom: 84px; max-width: none; flex-direction: column; align-items: stretch; } }
/* ============ пагинация блога ============ */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.pg { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); font-weight: 800; text-decoration: none; color: var(--ink); transition: background .2s; }
.pg:hover { background: var(--y-soft); }
.pg.active { background: var(--y); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
/* ============ страницы «Спасибо» ============ */
.tnx { padding: 150px 0 80px; }
.tnx-card { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: clamp(28px, 4vw, 52px); text-align: center; }
.tnx-card .icon-box { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px; }
.tnx-card .icon-box .ico { width: 40px; height: 40px; stroke-width: 2.6; }
.tnx-card h1 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 14px; }
.tnx-card > p { color: var(--ink-2); font-size: 18px; max-width: 52ch; margin: 0 auto 26px; }
.tnx-steps { list-style: none; text-align: left; display: grid; gap: 12px; margin: 0 auto 30px; max-width: 520px; counter-reset: t; }
.tnx-steps li { counter-increment: t; display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.tnx-steps li::before { content: counter(t); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--y); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.tnx-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 1100px) { .tnx { padding-top: 120px; } }
/* ============ «Спасибо»: текст + каталог-разворот ============ */
.tnx { padding: 230px 0 var(--section); background: radial-gradient(60% 70% at 85% 30%, rgba(255,198,26,.18), transparent 70%), var(--bg); overflow: hidden; }
.tnx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 1000px) { .tnx-grid { grid-template-columns: minmax(0, 1fr); } }
.tnx-grid > * { min-width: 0; }
@media (max-width: 560px) { .tnx-actions .btn { flex: 1 1 100%; } .bk-cover { left: 7%; bottom: 6%; } .bk-sub { display: none; } }
.tnx-ok { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; padding: 8px 14px; border-radius: 999px; background: #E7F8EE; color: #16803C; margin-bottom: 18px; }
.tnx-ok .ico { width: 18px; height: 18px; stroke-width: 2.8; }
.tnx-text h1 { font-size: clamp(34px, 4.2vw, 58px); margin-bottom: 16px; }
.tnx-text .lead { margin-bottom: 22px; }
.tnx-steps { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 22px; counter-reset: t; }
.tnx-steps li { counter-increment: t; display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.tnx-steps li::before { content: counter(t); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--y); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.tnx-wait { font-size: 17px; font-weight: 600; margin-bottom: 22px; max-width: 46ch; }
.tnx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tnx-call { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.tnx-call a { color: var(--ink); text-decoration: none; }

.book { display: block; position: relative; perspective: 2000px; text-decoration: none; color: var(--ink); padding: 20px 0 40px; }
.book-inner { display: grid; grid-template-columns: 1fr 1fr; transform: rotateX(16deg) rotateY(-10deg) rotateZ(-3deg); transform-style: preserve-3d; transition: transform .8s var(--ease); border-radius: 10px; box-shadow: 0 40px 70px -30px rgba(17,20,24,.55); }
.book:hover .book-inner { transform: rotateX(8deg) rotateY(-4deg) rotateZ(-1deg); }
.bk-page { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.bk-left { border-radius: 10px 2px 2px 10px; background-size: cover; background-position: center; }
.bk-left::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.05), rgba(0,0,0,.35) 94%, rgba(0,0,0,.55)), linear-gradient(0deg, rgba(10,12,15,.85), transparent 60%); }
.bk-cover { position: absolute; left: 8%; right: 12%; bottom: 8%; z-index: 1; color: #fff; display: grid; }
.bk-num { font-size: clamp(56px, 7vw, 96px); font-weight: 800; line-height: .9; color: var(--y); letter-spacing: -0.04em; }
.bk-title { font-size: clamp(20px, 2.4vw, 32px); font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em; }
.bk-sub { font-size: 12px; margin-top: 8px; opacity: .85; }
.bk-right { border-radius: 2px 10px 10px 2px; background: linear-gradient(90deg, #E9E9E6 0%, #FBFBF9 7%, #fff 100%); padding: 7% 7% 6% 9%; display: flex; flex-direction: column; }
.bk-head { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--y-ink); margin-bottom: 6%; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; flex: 1; align-content: start; }
.bk-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; margin-bottom: 5px; }
.bk-item b { display: block; font-size: clamp(9px, .8vw, 12px); line-height: 1.2; }
.bk-item span { display: inline-block; margin-top: 3px; font-size: clamp(8px, .7vw, 11px); font-weight: 800; background: var(--y); border-radius: 4px; padding: 1px 5px; }
.bk-foot { font-size: clamp(8px, .7vw, 11px); color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 5%; margin-top: 5%; }
.book-shadow { position: absolute; left: 10%; right: 6%; bottom: 10px; height: 30px; background: radial-gradient(closest-side, rgba(17,20,24,.28), transparent); filter: blur(6px); z-index: -1; }
@media (max-width: 560px) { .book-inner { transform: none; } .bk-item b { font-size: 10px; } .bk-item span, .bk-foot { font-size: 9px; } }

@media (max-width: 1100px) { .tnx { padding-top: 130px; } }
/* ============ каталоги PDF ============ */
.kat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .kat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .kat-grid { grid-template-columns: 1fr; } }
.kat-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .25s var(--ease); }
.kat-card:hover { transform: translateY(-4px); }
.kat-cover { display: block; background: var(--bg); padding: 14px 14px 0; }
.kat-cover img { width: 100%; height: auto; border-radius: 10px 10px 0 0; box-shadow: 0 10px 24px -12px rgba(0,0,0,.35); }
.kat-body { padding: 16px 18px 18px; display: grid; gap: 6px; flex: 1; align-content: start; }
.kat-body b { font-size: 17px; line-height: 1.3; }
.kat-body > span:not(.kat-dl) { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.kat-dl { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; font-weight: 800; color: var(--y-ink); }
.kat-dl .ico { width: 18px; height: 18px; }
/* ============ вставки в статьях ============ */
.prose .inl { margin: 32px 0; }
.inl img { width: 100%; height: auto; border-radius: 18px; }
.inl figcaption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.inl-stub div { aspect-ratio: 16 / 9; border-radius: 18px; border: 2px dashed var(--line); background: repeating-linear-gradient(135deg, #F3F4F6 0 14px, #ECEDEF 14px 28px); display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 20px; color: var(--ink-3); }
.inl-stub .ico { width: 40px; height: 40px; }
.inl-stub b { font-size: 16px; color: var(--ink-2); }
.inl-stub span { font-size: 14px; max-width: 46ch; }
.inl-svg svg { width: 100%; height: auto; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 8px; font-family: Manrope, sans-serif; }

.m-icons div[data-img] { cursor: pointer; border-radius: 14px; padding: 8px 4px; transition: background .2s; }
.m-icons div[data-img]:hover, .m-icons div.on { background: var(--y-soft); }
.m-icons div.on .icon-box { background: var(--y); }
.measure-card > img { transition: opacity .25s; }

/* ---------- плавающее меню справа ---------- */
.fdock { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 6px; width: 92px; transition: transform .35s var(--ease), opacity .35s; }
.fdock-i { aspect-ratio: 1; justify-content: center; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px; font-size: 11px !important; border-radius: 16px 0 0 16px; background: var(--y); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); transition: background .2s, transform .2s; }
.fdock-i, .fdock-i:hover { text-decoration: none; }
.fdock-i:hover { background: var(--y-hover); transform: translateX(-4px); }
.fdock-i .ico { width: 22px; height: 22px; }
.fdock-x { align-self: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.fdock-x .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.fdock-open { position: fixed; right: 0; bottom: 24px; z-index: 60; width: 58px; height: 58px; border-radius: 16px 0 0 16px; background: var(--y); color: var(--ink); display: none; place-items: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); }
.fdock-open .ico { width: 26px; height: 26px; }
.dock-hidden .fdock { transform: translate(140%, -50%); opacity: 0; pointer-events: none; }
.dock-hidden .fdock-open { display: grid; }
.field-label { display: block; font-size: 15px; font-weight: 600; margin: 4px 0 8px; }
.field-select select { width: 100%; height: 58px; padding: 0 44px 0 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23111418' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); appearance: none; cursor: pointer; }
.field-select select:focus { outline: none; border-color: var(--y); }
#modalCalc .field + .field, #modalCalc .field-select { margin-bottom: 12px; }

@media (max-width: 760px) {
  .sticky-cta { display: none !important; }
  .fdock { top: auto; bottom: 0; left: 0; right: 0; transform: none; width: auto; flex-direction: row; gap: 0; padding: 8px 44px 8px 8px; background: #fff; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.35); border-radius: 18px 18px 0 0; }
  .fdock-i { aspect-ratio: auto; flex: 1; border-radius: 12px !important; margin: 0 3px; padding: 8px 4px; font-size: 10.5px; box-shadow: none; }
  .fdock-i .ico { width: 20px; height: 20px; }
  .fdock-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; }
  .dock-hidden .fdock { transform: translateY(120%); }
  body { padding-bottom: 76px; }
  .dock-hidden body { padding-bottom: 0; }
}

.send-to { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.send-to input { position: absolute; opacity: 0; pointer-events: none; }
.send-to span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s; }
.send-to span .ico { width: 22px; height: 22px; }
.send-to input:checked + span { border-color: var(--y); background: var(--y-soft); }
#modalPrice .field { margin-bottom: 12px; }
@media (max-width: 420px) { .send-to { grid-template-columns: repeat(2, 1fr); } }

.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pr-item { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.pr-item img { width: 100%; height: auto; display: block; }
.pr-item figcaption { padding: 12px 16px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
@media (max-width: 900px) { .pr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pr-grid { grid-template-columns: 1fr; } }

/* ---------- блок «Приезжайте на производство» ---------- */
.visit-cta { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #111418; color: #fff; border-radius: 28px; overflow: hidden; }
.visit-img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.visit-body { padding: clamp(28px, 4vw, 56px); }
.visit-body h2 { color: #fff; font-size: clamp(26px, 2.6vw, 38px); margin: 8px 0 12px; max-width: 20ch; }
.visit-lead { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.55; max-width: 52ch; margin-bottom: 24px; }
.visit-info { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.visit-info li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.06); border-radius: 16px; padding: 14px 16px; }
.visit-info .ico { flex: none; width: 22px; height: 22px; color: var(--y); margin-top: 2px; }
.visit-info b { display: block; font-size: 13px; color: rgba(255,255,255,.65); font-weight: 600; margin-bottom: 4px; }
.visit-info span { font-size: 15px; line-height: 1.4; color: #fff; }
.visit-info a { color: #fff; font-weight: 700; text-decoration: none; }
.nowrap { white-space: nowrap; }
.visit-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); box-shadow: none; }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }
@media (max-width: 1200px) { .visit-info { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .visit-cta { grid-template-columns: 1fr; } .visit-img { min-height: 0; max-height: none; height: auto; object-fit: initial; } }

/* ---------- большая форма «Скачать каталог» ---------- */
.modal-big .bigbox { position: relative; width: 100%; max-width: 1240px; max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px;
  border-radius: 28px; color: #fff; padding: clamp(28px, 4vw, 64px); animation: pop .45s var(--ease);
  background: linear-gradient(90deg, rgba(12,16,14,.94) 0%, rgba(12,16,14,.82) 55%, rgba(12,16,14,.55) 100%), url('/img/hero.jpg') center/cover; }
.modal-big .modal-close { background: rgba(255,255,255,.12); color: #fff; z-index: 2; }
.bigbox h3 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin-bottom: 16px; }
.bigbox .hl { color: var(--y); }
.big-sub { color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.55; max-width: 48ch; margin-bottom: 22px; }
.big-q { font-size: 18px; font-weight: 700; margin: 18px 0 12px; }
.big-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big-row .btn { grid-column: 1 / -1; }
.big-row .btn { height: 58px; white-space: nowrap; }
.big-kat select { background-color: rgba(255,255,255,.95); }
.big-email { margin-top: 12px; }
.bigbox .consents { margin-top: 14px; }
.bigbox .consent span, .bigbox .consent a { color: rgba(255,255,255,.8); }
.bigbox .success h3 { font-size: clamp(26px, 2.6vw, 36px); }
.bigbox .success p, .bigbox .success a { color: rgba(255,255,255,.85); }
.bigbox-book { position: relative; height: 100%; min-height: 360px; perspective: 1400px; }
.bk { position: absolute; width: 80%; height: auto; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); background: #fff; }
.bk-1 { right: 0; top: 6%; transform: rotateY(-16deg) rotateZ(5deg); }
.bk-2 { left: 0; top: 42%; transform: rotateY(-16deg) rotateZ(-4deg); }

@media (max-width: 860px) { .modal-big .bigbox { grid-template-columns: 1fr; } .bigbox-book { display: none; } .big-row { grid-template-columns: 1fr; } }

/* ---------- слайд-шоу фото (главный экран и «Навес от Фабрики навесов») ---------- */
.slides { background: #0d0f12 !important; overflow: hidden; }
.slides .hs { position: absolute; inset: 0; background-size: cover; background-position: 62% 55%; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 7s linear; }
.slides .hs.on { opacity: 1; transform: scale(1); }
.hero-bg.slides { z-index: 0; }
.hero-bg.slides::after { z-index: 1; background: linear-gradient(90deg, rgba(10,12,15,.47) 0%, rgba(10,12,15,.39) 38%, rgba(10,12,15,.13) 70%, rgba(10,12,15,.23) 100%), linear-gradient(0deg, rgba(10,12,15,.3), transparent 35%); }
.hero .on-dark h1, .hero .on-dark .lead, .hero .on-dark .eyebrow, .hero-feat, .hero-gift { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.hero .wrap { z-index: 2; }
.solution-photo.slides { position: relative; }
@media (prefers-reduced-motion: reduce) { .slides .hs { transition: opacity .6s; transform: none !important; } }

/* ---------- без белой полосы между первым экраном и блоком «Проблема», без горизонтального сдвига ---------- */
html { overflow-x: clip; }
.hero .wrap { padding-bottom: 220px; }          /* фото слайдера уходит под плашку статистики */
.stats { margin-top: -160px; padding-bottom: 0; background: none; }
.stats + .problem { margin-top: 0; padding-top: calc(clamp(64px, 8vw, 120px) + 40px); }
.stats + .problem { box-shadow: 0 -40px 0 0 var(--dark); }

/* ---------- шапка «прозрачное стекло» над первым экраном (липкая шапка при скролле — прежняя) ---------- */
.header .hd { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 10px 34px -14px rgba(0,0,0,.45); }
.header .hd, .header .hd a, .header .logo-text, .header .hd-tel, .header .hd-nav a { color: #fff; }
.header .hd-desc { color: rgba(255,255,255,.82); border-left-color: rgba(255,255,255,.22); }
.header .hd-desc b { color: #fff; }
.header .hd-label { color: rgba(255,255,255,.85); }
.header .hd-zamer { color: var(--y); }
.header .hd-zamer:hover { color: #fff; }
.header .hd-nav { border-top-color: rgba(255,255,255,.2); }
.header .hd a.hd-calc, .header .hd a.hd-calc * { color: var(--ink); }
.header .burger { color: #fff; background: rgba(255,255,255,.12); }
/* страницы со светлым верхом («Спасибо») — шапка прежняя, белая */
body:has(.tnx) .header .hd { background: rgba(255,255,255,.97); border-color: transparent; }
body:has(.tnx) .header .hd, body:has(.tnx) .header .hd a, body:has(.tnx) .header .logo-text, body:has(.tnx) .header .hd-tel, body:has(.tnx) .header .hd-nav a, body:has(.tnx) .header .hd-desc b { color: var(--ink); }
body:has(.tnx) .header .hd-desc, body:has(.tnx) .header .hd-label { color: var(--ink-2); border-left-color: var(--line); }
body:has(.tnx) .header .hd-zamer { color: var(--y-ink); }
body:has(.tnx) .header .hd-nav { border-top-color: var(--line); }
/* верхнее меню — вплотную к верхнему краю браузера */
.header { padding-top: 0; }
.header .hd { border-radius: 0 0 22px 22px; border-top: 0; }

/* ---------- видеоблок «От цеха до вашего двора» ---------- */
.film { background: var(--dark); }
.film-box { position: relative; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.film-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.film-over { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: clamp(20px, 3vw, 40px); background: linear-gradient(0deg, rgba(10,12,15,.78), transparent); }
.film-facts { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 3vw, 40px); }
.film-facts li { color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.3; }
.film-facts b { display: block; color: #fff; font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.film-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.film-sound { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 700; backdrop-filter: blur(10px); cursor: pointer; }
.film-sound:hover { background: rgba(255,255,255,.24); }
@media (max-width: 860px) { .film-over { position: static; flex-direction: column; align-items: stretch; background: #111418; } .film-facts { justify-content: space-between; } }

.icta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.icta-btns .btn { gap: 8px; }

/* ---------- стрелки слайдера на главном экране ---------- */
.hero { position: relative; }
.hs-arrow { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer; opacity: 0; transition: opacity .3s, background .2s, transform .2s; }
.hs-prev { left: 18px; }
.hs-next { right: 112px; }   /* левее правого меню */
.hero:hover .hs-arrow, .hs-arrow:focus-visible { opacity: 1; }
.hs-arrow:hover { background: var(--y); color: var(--ink); border-color: var(--y); transform: scale(1.06); }
.dock-hidden .hs-next { right: 18px; }
@media (hover: none) { .hs-arrow { display: none; } }   /* на телефоне — свайп */

/* ---------- кнопка «Наверх» (справа внизу) ---------- */
.to-top { position: fixed; right: 20px; bottom: 24px; z-index: 59; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 12px 28px -10px rgba(0,0,0,.5); cursor: pointer;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--y); color: var(--ink); }
.dock-hidden .to-top { bottom: 96px; }   /* над кнопкой свёрнутого меню */
@media (max-width: 760px) { .to-top { right: 14px; bottom: 92px; width: 46px; height: 46px; } .dock-hidden .to-top { bottom: 92px; } }

/* ---------- выпадающее верхнее меню ---------- */
.dd { position: relative; display: flex; }
.dd-top { display: inline-flex !important; align-items: center; gap: 6px; }
.dd-caret { transition: transform .25s var(--ease); opacity: .7; }
.dd:hover .dd-caret, .dd:focus-within .dd-caret { transform: rotate(180deg); }
.dd-panel { position: absolute; top: 100%; left: 50%; z-index: 70; display: flex; gap: 28px; min-width: 240px; padding: 20px 24px 18px; margin-top: 8px;
  background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 24px 60px -18px rgba(0,0,0,.35), 0 0 0 1px rgba(17,20,24,.06);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s; }
.dd-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }   /* мостик, чтобы меню не закрывалось */
.dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-col { display: grid; gap: 2px; min-width: 190px; align-content: start; }
.dd-col b { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--y-ink); margin-bottom: 6px; }
.dd-panel a, .header .hd .dd-panel a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; font-size: 15px !important; font-weight: 600 !important;
  letter-spacing: 0 !important; text-transform: none !important; color: var(--ink) !important; opacity: 1 !important; white-space: nowrap; }
.dd-panel a::after { display: none !important; }
.dd-panel a:hover { background: var(--y-soft); }
.hd-nav > .dd:first-child .dd-panel { left: 0; transform: translate(0, 8px); }
.hd-nav > .dd:first-child:hover .dd-panel, .hd-nav > .dd:first-child:focus-within .dd-panel { transform: translate(0, 0); }
.hd-sticky-nav .dd-panel { margin-top: 14px; }
/* мобильное меню: раскрывающиеся группы */
.mn-dd summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; border-radius: 12px; }
.mn-dd summary::-webkit-details-marker { display: none; }
.mn-dd summary::after { content: '+'; font-size: 20px; color: var(--y-ink); }
.mn-dd[open] summary::after { content: '–'; }
.mn-sub { padding: 0 16px 8px 28px; display: grid; gap: 8px; }
.mn-sub b { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--y-ink); margin-top: 6px; }
.mn-sub a { padding: 6px 0 !important; font-weight: 600; }

/* ---------- YouTube Shorts ---------- */
.short { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: #111418; cursor: pointer; box-shadow: var(--shadow); }
.short img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.short:hover img { transform: scale(1.04); }
.short-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--y); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); }
.short-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: left; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); }
.short iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.shorts-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 1200px) { .shorts-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .shorts-grid { grid-template-columns: repeat(2, 1fr); } }
.shorts-inline { margin: 32px 0; padding: 20px; border-radius: 22px; background: var(--bg, #F3F4F6); }
.shorts-row { display: flex; gap: 14px; margin-top: 10px; }
.shorts-row .short { width: 220px; flex: none; }
@media (max-width: 520px) { .shorts-row .short { width: 46%; } }

/* иконки мессенджеров */
.msg .ico { width: 22px; height: 22px; }
.msg.mx .ico { width: 21px; height: 21px; }

/* ---------- калькулятор-тест навеса ---------- */
.cw-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.cw { background: #fff; border-radius: 28px; padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); }
.cw-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.cw-bar { flex: 1; height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.cw-bar i { display: block; height: 100%; width: 0; background: var(--y); border-radius: 8px; transition: width .4s var(--ease); }
.cw-pct { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.cw-step { display: none; } .cw-step.on { display: block; animation: fade .35s var(--ease); }
.cw-q { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--y-ink); margin-bottom: 6px; }
.cw h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 20px; }
.cw-range { margin-bottom: 22px; }
.cw-range-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 10px; }
.cw-range-head b { font-size: 22px; }
.cw-range input { width: 100%; accent-color: #FFC61A; height: 6px; cursor: pointer; }
.cw-range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.cw-area { padding: 14px 18px; border-radius: 14px; background: var(--y-soft); font-size: 16px; }
.cw-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cw-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cw-card { display: block; border-radius: 16px; overflow: hidden; border: 2px solid var(--line); cursor: pointer; background: #fff; transition: border-color .2s, transform .2s; }
.cw-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cw-card span { display: block; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.cw-opt input:checked + .cw-card { border-color: var(--y); box-shadow: 0 0 0 3px var(--y-soft); }
.cw-card:hover { transform: translateY(-2px); }
.cw-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cw-summary span { padding: 6px 12px; border-radius: 10px; background: var(--y-soft); font-size: 14px; font-weight: 600; }
.cw-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.cw .messengers { margin-bottom: 12px; }
.cw-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.cw-nav [data-cw-next] { margin-left: auto; }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.cw-side { position: sticky; top: 100px; background: #111418; color: #fff; border-radius: 24px; padding: 26px; }
.cw-eng { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.cw-eng img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.cw-eng b { display: block; font-size: 17px; } .cw-eng span { font-size: 13px; color: rgba(255,255,255,.75); }
.cw-online { display: inline-flex; align-items: center; gap: 6px; color: #7CE38B !important; font-weight: 700; }
.cw-online i { width: 8px; height: 8px; border-radius: 50%; background: #3FD15B; box-shadow: 0 0 0 4px rgba(63,209,91,.2); }
.cw-side-t { font-weight: 700; margin-bottom: 10px; }
.cw-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.cw-list li { padding-left: 26px; position: relative; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.45; }
.cw-list li::before { content: '✓'; position: absolute; left: 0; color: var(--y); font-weight: 800; }
.cw-tel { display: block; font-size: 24px; font-weight: 800; color: #fff; text-decoration: none; white-space: nowrap; }
.cw-hours { font-size: 13px; color: rgba(255,255,255,.7); }
@media (max-width: 1000px) { .cw-grid { grid-template-columns: 1fr; } .cw-side { position: static; } }
@media (max-width: 640px) { .cw-opts { grid-template-columns: 1fr 1fr; } .cw-fields { grid-template-columns: 1fr; } }

.cw [hidden] { display: none !important; }

/* ---------- плашка «Рейтинг в Яндексе» ---------- */
.ya-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 14px; background: #fff; color: var(--ink) !important;
  text-decoration: none !important; box-shadow: 0 6px 20px -10px rgba(0,0,0,.35); border: 1px solid rgba(17,20,24,.08); transition: transform .2s; white-space: nowrap; }
.ya-badge:hover { transform: translateY(-2px); }
.ya-logo { display: grid; place-items: center; }
.ya-score { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 2px; line-height: 1; }
.ya-score b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ya-score small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.ya-stars { grid-column: 1 / -1; display: flex; gap: 1px; margin-top: 3px; }
.ya-text { font-size: 12px; line-height: 1.25; color: var(--ink-2); padding-left: 10px; border-left: 1px solid var(--line); }
.hero-proof { margin: 18px 0 4px; }
.ya-hd { padding: 6px 10px 6px 8px; } .ya-hd .ya-score b { font-size: 20px; } .ya-hd .ya-text { font-size: 11px; }
.ya-hd { background: rgba(255,255,255,.95); }
@media (max-width: 1799px) { .ya-hd { display: none; } }
.ya-hd .ya-logo svg { width: 26px; height: 26px; }
.ya-ft { margin-bottom: 12px; }
.ya-dark { margin: 4px 0 18px; }
.ya-wrap { margin: 6px 0 14px; }
.ya-logo { flex: none; width: 30px; } .ya-logo svg { max-width: none; } .ya-hd .ya-logo { width: 26px; }

/* ---------- мобильная шапка: часы, телефон и «Бесплатно заказать выезд замерщика» (как на старом сайте) ---------- */
@media (max-width: 1100px) {
  .hd-phone .hd-label, .hd-zamer { display: flex; }
  .hd-zamer { display: inline-block; }
  .hd-phone { align-items: flex-end; text-align: right; }
}
@media (max-width: 560px) {
  .hd .hd-phone { display: flex; gap: 1px; }
  .hd .hd-call { display: none; }
  .hd .hd-label { font-size: 10px; gap: 5px; }
  .hd .hd-tel { font-size: 16px; }
  .hd .hd-zamer { font-size: 10px; line-height: 1.3; }
  .hd-top { gap: 8px; }
}
@media (max-width: 380px) {
  .hd .logo-text { display: none; }
}

/* согласия — под кнопкой отправки, ровные отступы */
.form .consents, .cw .consents { display: grid; gap: 8px; margin-top: 14px; }
.form .btn[type="submit"], .cw .btn[type="submit"] { margin-top: 6px; }
.form .form-note, .cw .form-note { margin-top: 12px; }
.cw .messengers { margin: 4px 0 14px; }
.cw-nav { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.cw-step[data-step="4"] .cw-summary { margin-bottom: 18px; }

/* ---------- навигация каталога (назначение / форма / кровля / размер) ---------- */
.kn { padding-bottom: 20px; }
.kn-h { font-size: clamp(28px, 3vw, 44px); margin-bottom: 26px; } .kn-h span { color: var(--y); margin-right: 6px; }
.kn-t { font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 26px 0 12px; }
.kn-grid { display: grid; gap: 12px; } .kn-5 { grid-template-columns: repeat(5, 1fr); } .kn-3 { grid-template-columns: repeat(3, 1fr); }
.kn-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.kn-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 76px; padding: 14px 16px 14px 20px; background: #fff; border-radius: 14px;
  box-shadow: 0 6px 18px -12px rgba(0,0,0,.25); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; transition: transform .2s, box-shadow .2s; overflow: hidden; }
.kn-item:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.35); }
.kn-item i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--y-soft); display: grid; place-items: center; font-style: normal; font-size: 20px; color: var(--ink); }
.kn-mat { padding-right: 0; } .kn-mat img { width: 84px; height: 76px; object-fit: cover; margin: -14px 0; border-radius: 0 14px 14px 0; flex: none; }
@media (max-width: 1100px) { .kn-5 { grid-template-columns: repeat(3, 1fr); } .kn-two { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .kn-5, .kn-3 { grid-template-columns: 1fr 1fr; } }
.ya-text { line-height: 1.2; } .ya-badge { gap: 8px; padding-right: 12px; }

/* фото к этапам работы */
.steps .step-img { display: block; width: calc(100% + 2px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin: -2px -1px 14px; }

/* FAQ: поиск и разделы */
.fq-bar { position: sticky; top: 76px; z-index: 5; background: var(--bg, #F8F8F8); padding: 14px 0 10px; margin-bottom: 18px; }
.fq-search { display: flex; align-items: center; gap: 10px; border: 2px solid #151719; border-radius: 14px; padding: 0 14px; background: #fff; color: #151719; }
.fq-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; padding: 14px 0; background: transparent; min-width: 0; }
.fq-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 2px; scrollbar-width: none; }
.fq-chip { flex: none; border: 1px solid #d5d5d5; background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; color: #151719; }
.fq-chip b { font-weight: 600; opacity: .55; margin-left: 4px; }
.fq-chip.on { background: #151719; color: #fff; border-color: #151719; }
.fq-info { margin: 6px 0 0; font-size: 14px; color: #555; min-height: 1em; }
.fq-group { margin: 0 0 34px; }
.fq-group h3 { font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 12px; }
.fq-group h3 span { font-size: .6em; color: #777; font-weight: 500; vertical-align: middle; }
.fq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.fq-item { background: #fff; border: 1px solid #e3e3e3; border-radius: 14px; padding: 0 16px; }
.fq-item summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary::after { content: '+'; float: right; margin-left: 10px; font-weight: 400; }
.fq-item[open] summary::after { content: '−'; }
.fq-item > div { padding: 0 0 14px; color: #262428; }
.fq-more { margin-top: 12px; border: 0; background: #FFD43B; color: #151719; border-radius: 12px; padding: 12px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.fq-empty { font-size: 18px; padding: 20px 0; }
@media (max-width: 760px) { .fq-list { grid-template-columns: 1fr; } .fq-bar { top: 60px; } }

/* «Спасибо»: каталог по 4 в ряд */
.pf-4 > .pf-grid, .pf-4 .pf-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .pf-4 .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pf-4 .pf-grid { grid-template-columns: 1fr; } }

/* О компании: отличия, ценности, история, оплата, отзывы */
.ab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-card { background: #fff; border-radius: 18px; padding: 24px; border: 1px solid #e6e6e6; }
.ab-card b { display: block; font-size: 19px; margin: 10px 0 8px; }
.ab-card p { margin: 0; color: #262428; }
.ab-n { display: inline-block; background: #FFD43B; color: #151719; font-weight: 700; border-radius: 10px; padding: 4px 10px; font-size: 14px; }
.ab-mission { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; background: #151719; color: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 56px); }
.ab-mission h2 { color: #fff; }
.ab-values { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; color: rgba(255,255,255,.85); }
.ab-values b { color: #FFD43B; }
.ab-time { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: t; }
.ab-time li { border-top: 3px solid #FFD43B; padding-top: 14px; }
.ab-time b { font-size: clamp(24px, 3vw, 34px); display: block; margin-bottom: 6px; }
.ab-rev { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 48px); border: 1px solid #e6e6e6; }
.ab-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
@media (max-width: 900px) { .ab-grid, .ab-time { grid-template-columns: 1fr 1fr; } .ab-mission { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ab-grid, .ab-time { grid-template-columns: 1fr; } }

/* Посадочные страницы /predlozhenie/ */
.lp-hero { background-size: cover; background-position: center; color: #fff; padding: clamp(120px, 14vw, 180px) 0 clamp(60px, 8vw, 100px); }
.lp-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 64px); max-width: 820px; margin: 16px 0 14px; line-height: 1.05; }
.lp-sub { font-size: clamp(17px, 1.6vw, 21px); max-width: 640px; color: rgba(255,255,255,.88); }
.lp-chip { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 6px 14px; font-size: 14px; }
.lp-hero-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 8px; }
.lp-hero-list li::before { content: '✓'; color: #FFD43B; font-weight: 700; margin-right: 10px; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; color: rgba(255,255,255,.88); }
.lp-trust b { color: #FFD43B; }
.lp-promo { background: #FFD43B; color: #151719; border-radius: 16px; padding: 16px 22px; font-size: 18px; }
.lp-pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-pain { background: #fff; border: 1px solid #e6e6e6; border-radius: 18px; padding: 22px; border-top: 4px solid #FFD43B; }
.lp-pain b { display: block; font-size: 18px; margin-bottom: 8px; }
.lp-pain p { margin: 0; color: #262428; }
.lp-dark { background: #151719; color: #fff; }
.lp-dark h2 { color: #fff; }
.lp-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-nums b { display: block; font-size: clamp(36px, 4.5vw, 56px); color: #FFD43B; line-height: 1; }
.lp-nums p { color: rgba(255,255,255,.82); margin: 10px 0 0; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.lp-steps li { counter-increment: s; background: #fff; border: 1px solid #e6e6e6; border-radius: 18px; padding: 20px; }
.lp-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #FFD43B; font-weight: 700; margin-bottom: 10px; }
.lp-steps b { display: block; margin-bottom: 6px; }
.lp-steps p { margin: 0; color: #262428; font-size: 15px; }
.lp-cmp { overflow-x: auto; }
.lp-cmp table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; min-width: 560px; }
.lp-cmp th, .lp-cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #eee; }
.lp-cmp th:last-child, .lp-cmp td:last-child { background: #FFF8DB; font-weight: 600; }
.lp-cmp td:nth-child(2) { color: #666; }
.lp-price { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; background: #fff; border: 1px solid #e6e6e6; border-radius: 24px; padding: clamp(24px, 4vw, 48px); }
.lp-price-cta { background: #151719; color: #fff; border-radius: 18px; padding: 26px; display: grid; gap: 12px; align-content: start; }
.lp-price-cta p { color: rgba(255,255,255,.82); margin: 0; }
.lp-trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.lp-trust-row b { font-size: 28px; display: block; }
.lp-trust-row p { margin: 4px 0 0; color: #555; }
.lp-now { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.lp-now-list { padding-left: 18px; display: grid; gap: 14px; color: rgba(255,255,255,.85); }
.lp-now-list b { color: #FFD43B; }
.lp-final { background: #fff; color: #151719; border-radius: 22px; padding: 28px; display: grid; gap: 12px; }
.lp-final > b { font-size: 22px; }
.lp-final p { margin: 0; }
.lp-soft { font-size: 14px; color: #555; }
.lp-soft a { color: #151719; text-decoration: underline; }
@media (max-width: 1000px) { .lp-pains, .lp-nums, .lp-trust-row { grid-template-columns: 1fr 1fr; } .lp-steps { grid-template-columns: 1fr 1fr; } .lp-price, .lp-now { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lp-pains, .lp-nums, .lp-steps, .lp-trust-row { grid-template-columns: 1fr; } }

/* Каталог: фото в таблице цен и галерея раздела */
.pt-obj { display: flex; align-items: center; gap: 12px; }
.pt-obj img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.cg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cg-item { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; }
.cg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cg-item:hover img { transform: scale(1.05); }
.cg-item span { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(21,23,25,.78); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 10px; }
@media (max-width: 900px) { .cg-grid { grid-template-columns: 1fr 1fr; } .pt-obj img { width: 64px; height: 44px; } }

/* Каталог: вводный блок раздела */
.ci-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ci-top .prose h2 { margin-top: 6px; }
.ci-top .prose > p:last-child { margin-bottom: 0; }
.ci-ctas { display: grid; gap: 16px; }
.ci-ctas .icta { margin: 0; }
.ci-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.ci-f { background: #fff; border: 1px solid #e6e6e6; border-radius: 18px; padding: 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.ci-f .icon-box { grid-row: span 2; }
.ci-f b { font-size: 17px; }
.ci-f p { margin: 2px 0 0; color: #555; font-size: 14px; }
@media (max-width: 1000px) { .ci-top { grid-template-columns: 1fr; } .ci-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ci-feats { grid-template-columns: 1fr; } }
.ci-ctas .icta { grid-template-columns: auto 1fr; }
.ci-ctas .icta > .btn, .ci-ctas .icta > .icta-btns { grid-column: 2; justify-self: start; }
@media (max-width: 560px) { .ci-ctas .icta > .btn, .ci-ctas .icta > .icta-btns { grid-column: 1 / -1; } }

/* Фоновое видео первого экрана */
.bgv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.page-hero::before { z-index: 1; }
.page-hero .wrap, .lp-hero .wrap { position: relative; z-index: 2; }
.lp-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,13,13,.86) 0%, rgba(13,13,13,.55) 55%, rgba(13,13,13,.2) 100%); }
.lp-pain img { width: calc(100% + 44px); margin: -22px -22px 16px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px 14px 0 0; display: block; }
.lp-pain { overflow: hidden; }
/* видео в статье */
.art-video { margin: 28px 0; }
.art-video video { width: 100%; height: auto; border-radius: 16px; display: block; }
.art-video figcaption { font-size: 14px; color: #555; margin-top: 8px; }
