/* ===== АРЕНА РА — стиль сайта ===== */
:root {
    --accent: #2e7d32;
    --accent-dark: #1b5e20;
    --accent-soft: #e8f5e9;
    --accent-light: #43a047;
    --accent-rgb: 46, 125, 50;
    --ink-rgb: 15, 28, 48;
    --ink-deep: #0a1424;
    --on-accent: #ffffff;
    --ink: #0f1c30;
    --ink-2: #1b2c47;
    --text: #16191e;
    --text-light: #5f6670;
    --bg: #ffffff;
    --bg-alt: #f3f6fa;
    --border: #e1e7ef;
    --border-strong: #c8d1dd;
    --rk: 1;
    --radius: calc(12px * var(--rk));
    --radius-sm: calc(8px * var(--rk));
    --shadow: 0 12px 30px rgba(17, 19, 23, .08);
    --warm: #f2f6fb;
    --glass-blur: blur(18px) saturate(160%);
    --font-head: 'Onest', 'Manrope', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; min-height: 100vh; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 320px) {
    .container { padding: 0 12px; }
    body { font-size: 14px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== ЗАСТАВКА ===== */
#preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: radial-gradient(800px 460px at 70% 0%, rgba(var(--accent-rgb),.28), transparent 60%), var(--ink); transition: opacity .5s ease, visibility .5s; }
#preloader.done { opacity: 0; visibility: hidden; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; animation: plIn .6s ease both; }
@keyframes plIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.pl-logo { display: flex; flex-direction: column; align-items: flex-start; padding-left: 16px; border-left: 5px solid var(--accent); color: #fff; line-height: 1; }
.pl-logo b { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 7vw, 56px); letter-spacing: 2px; }
.pl-logo span { font-size: 12px; letter-spacing: 4px; margin-top: 8px; color: rgba(255,255,255,.7); font-weight: 600; }
.pl-logo-img { max-width: min(260px, 60vw); max-height: 120px; object-fit: contain; }
.pl-bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 40%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), #fff); animation: plBar 1.1s ease-in-out infinite; }
@keyframes plBar { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }

/* ===== ВЕРХНЯЯ ПОЛОСА ===== */
.topbar { background: var(--ink-deep); color: rgba(255,255,255,.72); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; }
.topbar a:hover { text-decoration: underline; }
.topbar-items { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
@media (max-width: 640px) {
    .topbar a { min-height: 40px; padding: 0 10px; font-size: 12px; }
    .topbar-items { gap: 12px; }
}

/* ===== ШАПКА ===== */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.74); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); border-bottom: 1px solid rgba(15,27,45,.08); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; padding-left: 14px; border-left: 4px solid var(--accent); }
.logo.has-img { padding-left: 0; border-left: 0; }
.logo .brand { font-family: var(--font-head); font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: 1px; }
.logo .brand-small { font-size: 10px; letter-spacing: 2.5px; color: var(--text-light); margin-top: 5px; font-weight: 600; }
.logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a { display: block; text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-links a.active { background: var(--ink); color: #fff; }
.nav-links a { display: inline-flex; align-items: center; gap: 6px; }
.nav-links a svg { margin-top: -1px; }
.nav-contact { padding: 11px 20px; background: linear-gradient(180deg, var(--accent-light), var(--accent)); box-shadow: 0 6px 18px rgba(var(--accent-rgb),.28), inset 0 1px 0 rgba(255,255,255,.35); border-radius: var(--radius-sm); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; transition: filter .2s; }
.nav-contact:hover { filter: brightness(.94); }
.mobile-toggle { display: none; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; width: 42px; height: 42px; position: relative; }
.mobile-toggle span { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--text); transition: transform .25s, opacity .25s, top .25s; }
.mobile-toggle span:nth-child(1) { top: 13px; } .mobile-toggle span:nth-child(2) { top: 20px; } .mobile-toggle span:nth-child(3) { top: 27px; }
.mobile-toggle.active span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.mobile-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(255,255,255,.97); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px rgba(var(--ink-rgb),.14); max-height: calc(100vh - 70px); overflow-y: auto; animation: mmIn .22s ease both; }
@keyframes mmIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-menu.active { display: block; }
.mobile-menu .container { padding-top: 10px; padding-bottom: 18px; }
.mm-list { display: flex; flex-direction: column; }
.mm-list a { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--ink); font-weight: 650; font-size: 16px; }
.mm-list a:last-child { border-bottom: 0; }
.mm-ico { width: 36px; height: 36px; border-radius: calc(10px * var(--rk)); display: grid; place-items: center; background: var(--bg-alt); color: var(--ink); flex-shrink: 0; }
.mm-ico svg { width: 18px; height: 18px; }
.mm-t { flex: 1; }
.mm-chev { color: var(--border-strong); display: inline-flex; }
.mm-list a.active .mm-ico { background: var(--ink); color: #fff; }
.mm-list a.active .mm-chev { color: var(--accent); }
.mm-contacts { margin-top: 12px; padding: 16px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }
.mm-call { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
.mm-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--text-light); }
.mm-meta a { color: var(--ink); font-weight: 600; text-decoration: none; }
.mobile-menu a.mm-admin { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; height: 44px; border-radius: var(--radius-sm); border: 1px dashed var(--border-strong); color: var(--text-light); font-weight: 700; font-size: 14px; text-decoration: none; }
.navbar { position: sticky; }
.navbar > .container { position: relative; }

/* ===== ОБЩЕЕ ===== */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-header { margin-bottom: 36px; max-width: 760px; }
.section-header.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 2px; font-weight: 700; color: var(--text-light); text-transform: uppercase; margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent); }
.section-title { font-family: var(--font-head); color: var(--ink); font-weight: 700; letter-spacing: -.5px; line-height: 1.15; font-size: clamp(26px, 3.4vw, 38px); }
.section-lead { color: var(--text-light); font-size: 16px; margin-top: 12px; }
.link-more { color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-sm); transition: background .2s; }
.link-more:hover { text-decoration: underline; background: var(--accent-soft); }
@media (max-width: 640px) {
    .link-more { min-height: 40px; font-size: 13px; }
}
.btn-primary, .btn-ghost, .btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: filter .2s, background .2s, border-color .2s; border: 1px solid transparent; }
.btn-primary { background: linear-gradient(180deg, var(--accent-light), var(--accent)); color: var(--on-accent); box-shadow: 0 10px 24px rgba(var(--accent-rgb),.30), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { filter: brightness(.94); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.10); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(255,255,255,.32); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }
.btn-line { color: var(--ink); background: #fff; border-color: var(--border-strong); }
.btn-line:hover { border-color: var(--ink); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.glass { background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 20px 50px rgba(5,15,35,.25); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.empty { text-align: center; color: var(--text-light); padding: 48px 20px; grid-column: 1 / -1; }

/* ===== ЗАГОЛОВОК ВНУТРЕННЕЙ СТРАНИЦЫ ===== */
.page-hero { position: relative; overflow: hidden; background: var(--warm); border-bottom: 1px solid var(--border); }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(21,24,29,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 30%, #000 85%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%); pointer-events: none; }
.page-hero .container { position: relative; padding-top: 28px; padding-bottom: 48px; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(30px, 4.2vw, 50px); font-weight: 700; letter-spacing: -1.2px; line-height: 1.08; max-width: 860px; color: var(--ink); }
.page-hero p { color: var(--text-light); font-size: 17px; margin-top: 14px; max-width: 680px; }
.page-hero .eyebrow { margin-top: 26px; }
/* хлебные крошки — стеклянная плашка */
.crumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crumbs-bar { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 2px rgba(17,19,23,.04); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.crumbs-bar::-webkit-scrollbar { display: none; }
.crumbs-bar a, .crumbs-bar span.cur { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--text-light); white-space: nowrap; transition: background .2s, color .2s; }
.crumbs-bar a:hover { background: var(--bg-alt); color: var(--ink); }
.crumbs-bar a.home { color: var(--ink); }
.crumbs-bar span.cur { color: var(--ink); background: #fff; box-shadow: 0 1px 3px rgba(17,19,23,.08); max-width: 320px; overflow: hidden; text-overflow: ellipsis; display: block; }
.crumbs-bar .sep { color: var(--border-strong); font-size: 12px; padding: 0 1px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: border-color .2s, transform .2s; }
.back-link:hover { border-color: var(--ink); transform: translateX(-2px); }

/* ===== БАННЕР НОВОСТЕЙ ===== */
.news-hero { position: relative; height: min(80vh, 700px); min-height: 540px; overflow: hidden; background: #111; color: #fff; }
.news-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.news-slide.active { opacity: 1; visibility: visible; }
.news-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 5.5s ease-out; }
.news-slide.active img { transform: scale(1); }
.news-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.50) 0%, rgba(0,0,0,.28) 32%, rgba(0,0,0,0) 58%); transition: opacity .6s; }
.news-slide.plain::after { background: none; }
.news-hero.plain-active .news-content { opacity: 0; pointer-events: none; }
.news-content { transition: opacity .4s; }
.news-hero > .container { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.news-content { max-width: 620px; }
.news-text { display: none; }
.news-text.active { display: block; animation: newsIn .7s ease both; }
@keyframes newsIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.news-meta { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.news-meta .tag, .tag-chip { background: var(--accent); color: var(--on-accent); padding: 3px 10px; border-radius: 999px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.news-meta .date { color: rgba(255,255,255,.85); }
.news-text .h { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -1.2px; margin-bottom: 18px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.news-text p { font-size: 17px; color: rgba(255,255,255,.88); text-shadow: 0 1px 12px rgba(0,0,0,.3); margin-bottom: 30px; max-width: 540px; }
.news-panel { border-radius: calc(18px * var(--rk)); padding: 10px; }
.news-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 12px; }
.news-panel-head b { font-family: var(--font-head); font-size: 15px; }
.news-panel-head a { color: rgba(255,255,255,.75); font-size: 13px; font-weight: 600; text-decoration: none; }
.news-panel-head a:hover { color: #fff; }
.news-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 10px; border: 0; border-radius: calc(12px * var(--rk)); background: transparent; color: #fff; cursor: pointer; transition: background .25s; overflow: hidden; }
.news-item + .news-item { margin-top: 4px; }
.news-item:hover { background: rgba(255,255,255,.08); }
.news-item.active { background: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.news-item img { width: 64px; height: 52px; object-fit: cover; border-radius: calc(8px * var(--rk)); }
.news-item small { display: block; font-size: 11px; color: rgba(255,255,255,.65); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 2px; font-weight: 600; }
.news-item span { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .bar { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.news-item .bar i { display: block; height: 100%; width: 0; background: #fff; }
.news-item.active .bar i { animation: newsBar var(--dur, 7s) linear forwards; }
.news-hero.paused .news-item.active .bar i { animation-play-state: paused; }
@keyframes newsBar { to { width: 100%; } }
/* Стрелки по краям баннера — стеклянные с синими эффектами */
.news-nav { position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; margin-top: -23px; border-radius: calc(16px * var(--rk)); display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: .55; transition: opacity .25s, background .25s, transform .25s, box-shadow .25s; box-shadow: 0 4px 12px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.25); }
.news-nav.prev { left: 18px; } .news-nav.next { right: 18px; }
.news-hero:hover .news-nav { opacity: 1; }
.news-nav:hover { opacity: 1 !important; background: rgba(255,255,255,.18); box-shadow: 0 8px 24px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.3), 0 0 20px rgba(var(--accent-rgb),.3); transform: scale(1.08); }
.news-nav:active { transform: scale(0.96); box-shadow: 0 2px 8px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.2), 0 0 12px rgba(var(--accent-rgb),.25); }
.news-dots { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(0,0,0,.28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 20px rgba(0,0,0,.3); }
.news-dots button { width: 44px; height: 44px; border-radius: calc(10px * var(--rk)); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.12); cursor: pointer; padding: 0; transition: all .3s ease; display: flex; align-items: center; justify-content: center; position: relative; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.news-dots button::after { content: ''; position: absolute; width: 12px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.6); }
.news-dots button:hover { background: rgba(255,255,255,.22); box-shadow: 0 4px 12px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.25), 0 0 16px rgba(var(--accent-rgb),.25); border-color: rgba(var(--accent-rgb),.4); }
.news-dots button:active { transform: scale(0.92); }
.news-dots button.active { background: rgba(var(--accent-rgb),.3); border-color: rgba(var(--accent-rgb),.6); box-shadow: 0 6px 16px rgba(var(--accent-rgb),.3), inset 0 1px 0 rgba(255,255,255,.3); }
.news-dots button.active::after { background: rgba(var(--accent-rgb),.9); }

/* ===== КАТЕГОРИИ ===== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.category-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; text-decoration: none; color: #fff; background: var(--ink-2); }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card:hover img { transform: scale(1.04); }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 62%); }
.category-card .cc { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 22px; }
.category-card h3 { font-family: var(--font-head); font-size: 21px; font-weight: 700; }
.category-card p { font-size: 13px; color: rgba(255,255,255,.8); }
.category-card .arrow { position: absolute; z-index: 2; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.category-card:hover .arrow { opacity: 1; transform: none; }

/* ===== ТОВАРЫ ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.product-card:hover { border-color: var(--border-strong); box-shadow: 0 16px 36px rgba(17,19,23,.09); transform: translateY(-2px); }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image .badge-pop { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .5px; padding: 4px 10px; border-radius: 999px; }
.product-info { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 11px; letter-spacing: 1.5px; color: var(--text-light); text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.product-name { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin-bottom: 6px; line-height: 1.3; color: var(--ink); }
.product-desc { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.product-more { margin-top: auto; font-size: 13px; color: var(--accent); font-weight: 700; padding-top: 12px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; }
.product-more span { color: var(--text-light); font-weight: 600; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: #fff; color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { color: inherit; opacity: .6; margin-left: 4px; }

/* ===== КАРТОЧКА ТОВАРА ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border); margin-bottom: 14px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-thumb { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--border); cursor: pointer; padding: 0; background: var(--bg-alt); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--accent); }
.pd-info h1 { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.5px; color: var(--ink); margin: 14px 0 8px; }
.pd-sku { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.pd-desc { font-size: 16px; color: var(--text-light); line-height: 1.75; margin-bottom: 28px; }
.pd-cta { padding: 20px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.pd-cta b { display: block; font-family: var(--font-head); color: var(--ink); }
.pd-cta small { color: var(--text-light); }
.specs-title { font-family: var(--font-head); font-size: 22px; color: var(--ink); margin-bottom: 14px; }
.specs-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 13px 18px; font-size: 14px; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: 0; }
.spec-row:nth-child(odd) { background: var(--bg-alt); }
.spec-row dt { color: var(--text-light); }
.spec-row dd { color: var(--text); font-weight: 600; text-align: right; word-break: break-word; }

/* ===== НОВОСТИ ===== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.news-card:hover { border-color: var(--border-strong); box-shadow: 0 16px 36px rgba(17,19,23,.09); transform: translateY(-2px); }
.news-card .ni { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.news-card .ni img { width: 100%; height: 100%; object-fit: cover; }
.news-card .nb { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card .nm { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.news-card h3 { font-family: var(--font-head); font-size: 19px; line-height: 1.3; color: var(--ink); margin-bottom: 8px; }
.news-card p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.news-card .go { margin-top: auto; color: var(--accent); font-weight: 700; font-size: 14px; }
.news-card.featured { grid-column: 1 / -1; flex-direction: row; }
.news-card.featured .ni { flex: 1.2; aspect-ratio: auto; min-height: 320px; }
.news-card.featured .nb { flex: 1; padding: 36px; justify-content: center; }
.news-card.featured h3 { font-size: clamp(22px, 2.4vw, 30px); }
.article { max-width: 820px; margin: 0 auto; }
.article-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; aspect-ratio: 16/8; background: var(--bg-alt); }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body p { font-size: 17px; line-height: 1.8; color: var(--text); margin-bottom: 18px; }

/* ===== О КОМПАНИИ ===== */
.about-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.year-card { border-radius: calc(18px * var(--rk)); padding: 36px; text-align: left; }
.year-card b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(56px, 8vw, 96px); line-height: 1; letter-spacing: -2px; }
.year-card span { color: rgba(255,255,255,.75); letter-spacing: 2px; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.story-block { padding: 32px; }
.story-block h3 { font-family: var(--font-head); font-size: 22px; color: var(--ink); margin-bottom: 14px; }
.story-block p { color: var(--text-light); margin-bottom: 12px; }
.story-block p:last-child { margin-bottom: 0; }
.directions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.direction { padding: 28px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.direction:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.direction .num { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.direction h3 { font-family: var(--font-head); font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.direction p { color: var(--text-light); font-size: 14px; margin-bottom: 18px; }
.direction a { margin-top: auto; color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.direction a:hover { text-decoration: underline; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat-card { padding: 28px 24px; border-top: 3px solid var(--ink); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 4vw, 48px); color: var(--ink); line-height: 1; letter-spacing: -1px; }
.stat-label { color: var(--text-light); margin-top: 10px; font-size: 14px; }
.timeline { position: relative; display: grid; gap: 14px; }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; }
.tl-year { font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--ink); padding-top: 18px; }
.tl-card { padding: 18px 22px; }
.tl-card h4 { font-family: var(--font-head); color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.tl-card p { color: var(--text-light); font-size: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.value-card { padding: 26px; }
.value-icon { width: 44px; height: 44px; border-radius: calc(10px * var(--rk)); display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--border); color: var(--ink); margin-bottom: 16px; }
.value-card h4 { font-family: var(--font-head); color: var(--ink); font-size: 17px; margin-bottom: 8px; }
.value-card p { color: var(--text-light); font-size: 14px; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cert-card { position: relative; padding: 26px; overflow: hidden; }
.cert-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--ink); }
.cert-badge { display: inline-block; padding: 4px 10px; border-radius: calc(6px * var(--rk)); background: var(--bg-alt); border: 1px solid var(--border); color: var(--ink); font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.cert-card h4 { font-family: var(--font-head); color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.cert-card p { color: var(--text-light); font-size: 14px; margin-bottom: 14px; }
.cert-card small { color: var(--text-light); font-weight: 600; }

/* ===== КОНТАКТЫ ===== */
.contacts-wrapper { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contacts-info, .contact-form { padding: 32px; }
.contacts-info h3, .contact-form h3 { font-family: var(--font-head); font-size: 22px; color: var(--ink); margin-bottom: 18px; }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: calc(10px * var(--rk)); display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--border); color: var(--ink); }
.contact-text h4 { font-size: 12px; letter-spacing: 1px; color: var(--text-light); text-transform: uppercase; margin-bottom: 2px; }
.contact-text p, .contact-text a { font-size: 15px; color: var(--text); text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-text a:hover { color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; color: var(--text); -webkit-appearance: none; appearance: none; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.15); }
.form-note { font-size: 12px; color: var(--text-light); margin-top: 10px; }
.form-ok { display: none; padding: 14px 16px; border-radius: var(--radius-sm); background: #e9f7ef; color: #1a6b3c; font-weight: 600; margin-top: 12px; }
.map-card { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 320px; display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(0deg, #e9ebee 0 1px, transparent 1px 44px), repeating-linear-gradient(90deg, #e9ebee 0 1px, #f7f8f9 1px 44px); border: 1px solid var(--border); }
.map-pin { width: 54px; height: 54px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ink); margin: 0 auto 24px; box-shadow: 0 12px 30px rgba(17,19,23,.3); display: grid; place-items: center; }
.map-pin::after { content: ''; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.map-card b { display: block; font-family: var(--font-head); font-size: 20px; color: var(--ink); }
.map-card span { color: var(--text-light); display: block; margin-bottom: 16px; }
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.social-card { display: flex; gap: 14px; align-items: center; padding: 18px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.social-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.social-card b { display: block; font-family: var(--font-head); color: var(--ink); }
.social-card span { color: var(--text-light); font-size: 14px; }

/* ===== CTA И ПОДВАЛ ===== */
.cta-band { background: radial-gradient(900px 340px at 85% -40%, rgba(var(--accent-rgb),.35), transparent 60%), var(--ink); color: #fff; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.5px; }
.cta-band p { color: rgba(255,255,255,.7); margin-top: 6px; }
.footer { padding: 56px 0 28px; background: var(--ink-deep); color: rgba(255,255,255,.68); font-size: 14px; }
.footer-content { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: 1px; color: #fff; padding-left: 12px; border-left: 4px solid var(--accent); line-height: 1.1; margin-bottom: 6px; }
.footer-brand-img { max-height: 48px; width: auto; margin-bottom: 10px; }
.footer .tagline { font-size: 12px; letter-spacing: 2px; margin-bottom: 16px; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.footer a { color: rgba(255,255,255,.68); text-decoration: none; display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer p { margin-bottom: 4px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.next-section { border-top: 1px solid var(--border); }
.next-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.next-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.next-card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.next-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: calc(12px * var(--rk)); display: grid; place-items: center; background: var(--bg-alt); color: var(--ink); transition: background .2s, color .2s; }
.next-card:hover .next-ico { background: var(--ink); color: #fff; }
.next-t { flex: 1; min-width: 0; }
.next-t b { display: block; font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.next-t small { display: block; color: var(--text-light); font-size: 13px; line-height: 1.4; }
.next-arrow { color: var(--text-light); transition: transform .2s, color .2s; }
.next-card:hover .next-arrow { color: var(--accent); transform: translate(2px, -2px); }
@media (max-width: 968px) { .next-grid { grid-template-columns: 1fr; } }

.footer .admin-link { display: inline; padding: 0; color: rgba(255,255,255,.35); font-size: 12px; }
.footer .admin-link:hover { color: rgba(255,255,255,.8); }

.fade-up { animation: fadeUp .6s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===== АДАПТИВ ===== */
@media (max-width: 1060px) {
    .nav-links a { padding: 8px 10px; }
}
@media (max-width: 968px) {
    .nav-links, .nav-contact { display: none; }
    .mobile-toggle { display: block; }
    .topbar .hide-sm { display: none; }
    .section { padding: 52px 0; }
    .news-hero { height: auto; min-height: 0; }
    .news-hero > .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 76px; }
    .news-slide::after { background: linear-gradient(0deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.48) 55%, rgba(0,0,0,.18) 100%); }
    .news-panel { display: none; }
    .news-nav { top: auto; bottom: 14px; margin-top: 0; width: 38px; height: 38px; opacity: .6; }
    .news-nav.prev { left: 16px; } .news-nav.next { right: 16px; }
    .product-detail, .about-intro, .contacts-wrapper { grid-template-columns: 1fr; gap: 32px; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .news-card.featured { flex-direction: column; }
    .news-card.featured .ni { min-height: 0; aspect-ratio: 16/9; }
    .news-card.featured .nb { padding: 22px; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .topbar .topbar-items:first-child { display: none; }
    .topbar .container { justify-content: center; }
    .section { padding: 40px 0; }
    .news-text p { font-size: 15px; }
    .news-text .h { font-size: 30px; }
    .actions .btn-primary, .actions .btn-ghost { width: 100%; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-info { padding: 14px; }
    .product-name { font-size: 15px; }
    .product-desc { display: none; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .category-card h3 { font-size: 16px; }
    .category-card .cc { padding: 14px; }
    .category-card p { display: none; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contacts-info, .contact-form, .story-block { padding: 22px; }
    .tl-item { grid-template-columns: 64px 1fr; gap: 12px; }
    .tl-year { font-size: 18px; }
    .spec-row { grid-template-columns: 1fr; gap: 2px; }
    .spec-row dd { text-align: left; }
    .news-grid { grid-template-columns: 1fr; }
    .page-hero .container { padding-top: 18px; padding-bottom: 32px; }
    .crumbs-bar span.cur { max-width: 160px; }
}
@media (max-width: 340px) {
    .products-grid, .categories-grid { grid-template-columns: 1fr; }
}
@media (max-width: 300px) {
    .navbar .container { gap: 8px; }
    .logo .brand { font-size: 18px; letter-spacing: .5px; }
    .logo .brand-small { display: none; }
    .nav-right { gap: 4px; }
    .admin-btn { padding: 0 10px; font-size: 12px; }
    .section { padding: 32px 0; }
    .next-grid { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: 1fr; }
    .news-content { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.news-panel.glass { background: linear-gradient(135deg, rgba(18,18,20,.42), rgba(18,18,20,.22)); border-color: rgba(255,255,255,.22); }
.news-meta.glass { background: rgba(18,18,20,.30); }

/* шапка остаётся вверху при прокрутке */
#site-header { display: contents; }
/* планшеты: баннер выше */
@media (min-width: 641px) and (max-width: 968px) {
    .news-hero { height: 64vh; min-height: 560px; max-height: 760px; }
    .news-hero > .container { height: 100%; align-content: end; padding-bottom: 84px; }
}
/* большие мониторы: чуть шире */
@media (min-width: 1600px) {
    .container { max-width: 1360px; }
}
@media (max-width: 640px) { .product-more span { display: none; } }

/* ===== НАМ ДОВЕРЯЮТ ===== */
.clients-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.clients-head .section-lead { max-width: 420px; margin-top: 0; }
.clients-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.client { display: grid; place-items: center; min-height: 104px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; text-decoration: none; color: var(--ink); text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.client:hover, .client:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.client img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.client:hover img { filter: none; opacity: 1; }
.client-name { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.3; }
.client-ico { width: 38px; height: 38px; border-radius: calc(10px * var(--rk)); display: grid; place-items: center; background: var(--bg-alt); color: var(--text-light); }
@media (max-width: 1060px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } .client { min-height: 92px; padding: 14px; } }

/* ===== ПЛАВАЮЩАЯ КНОПКА СВЯЗИ ===== */
.float-contact { position: fixed; right: 22px; bottom: 22px; z-index: 130; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fc-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; border: 0; cursor: pointer; color: #fff; background: var(--ink); box-shadow: 0 14px 34px rgba(17,19,23,.28), inset 0 1px 0 rgba(255,255,255,.12); font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s; }
.fc-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(17,19,23,.32); }
.fc-btn::before { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--ink); opacity: 0; animation: fcPulse 3.2s ease-out 2s infinite; pointer-events: none; }
@keyframes fcPulse { 0% { opacity: .35; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18); } }
.fc-btn .ico, .fc-btn span[class^="fc-"] { display: inline-flex; }
.fc-close { display: none !important; }
.float-contact.open .fc-open { display: none !important; }
.float-contact.open .fc-close { display: inline-flex !important; }
.float-contact.open .fc-btn::before { animation: none; }
.fc-panel { width: 290px; padding: 10px; border-radius: calc(18px * var(--rk)); background: rgba(255,255,255,.86); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(17,19,23,.08); box-shadow: 0 24px 60px rgba(17,19,23,.22); opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: bottom right; transition: opacity .22s, transform .22s, visibility .22s; }
.float-contact.open .fc-panel { opacity: 1; visibility: visible; transform: none; }
.fc-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); padding: 8px 10px 10px; }
.fc-link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: calc(12px * var(--rk)); text-decoration: none; color: var(--text); transition: background .2s; }
.fc-link:hover { background: rgba(17,19,23,.05); }
.fc-link b { display: block; font-size: 14px; color: var(--ink); }
.fc-link small { display: block; font-size: 12px; color: var(--text-light); }
.fc-i { width: 40px; height: 40px; border-radius: calc(12px * var(--rk)); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.fc-link.wa .fc-i { background: #25d366; }
.fc-link.tg .fc-i { background: #2aa3e0; }
.fc-link.ph .fc-i { background: var(--ink); }
@media (max-width: 968px) {
    .float-contact { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); }
    .fc-btn { width: 52px; height: 52px; padding: 0; justify-content: center; }
    .fc-label { display: none !important; }
    .fc-panel { width: min(290px, calc(100vw - 28px)); }
}
@media (prefers-reduced-motion: reduce) { .fc-btn::before { animation: none; } }
.fc-btn { outline: 1px solid rgba(255,255,255,.22); outline-offset: -1px; }

/* ===== «НА ГЛАВНУЮ» И «НАВЕРХ» ===== */
.home-dock { position: fixed; left: 22px; bottom: 22px; z-index: 125; display: flex; gap: 8px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.home-dock.show { opacity: 1; transform: none; pointer-events: auto; }
.hd-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(17,19,23,.10); background: rgba(255,255,255,.82); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; box-shadow: 0 10px 28px rgba(17,19,23,.14); transition: transform .2s, background .2s; min-width: 46px; }
.hd-btn:hover { transform: translateY(-2px); background: #fff; }
.hd-up { width: 46px; padding: 0; justify-content: center; }
.logo { transition: opacity .2s; }
.logo:hover { opacity: .8; }
@media (max-width: 968px) {
    .home-dock { left: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); }
    .hd-home { width: 44px; padding: 0; justify-content: center; }
    .hd-home .hd-t { display: none; }
    .hd-btn { height: 44px; }
}
@media (max-width: 560px) {
    .home-dock { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* ===== КНОПКА «АДМИН-ПАНЕЛЬ» (тестовый режим) ===== */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.admin-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: 0 6px 16px rgba(17,19,23,.18), inset 0 1px 0 rgba(255,255,255,.12); transition: transform 150ms cubic-bezier(0.3,0.7,0.4,1), box-shadow 150ms cubic-bezier(0.3,0.7,0.4,1); user-select: none; }
.admin-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17,19,23,.32), inset 0 1px 0 rgba(255,255,255,.15); }
.admin-btn:active { transform: translateY(0px); box-shadow: 0 2px 8px rgba(17,19,23,.28), inset 0 1px 4px rgba(0,0,0,.1); }
.mobile-menu a.mm-admin { color: var(--accent); }
@media (max-width: 1180px) { .admin-btn .ab-t { display: none; } .admin-btn { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 968px) { .admin-btn .ab-t { display: inline; } .admin-btn { width: auto; padding: 0 14px; height: 40px; } }
@media (max-width: 640px) {
    .admin-btn { height: 38px; padding: 0 12px; font-size: 12.5px; gap: 6px; }
    .nav-right { gap: 8px; }
    .logo .brand-small { letter-spacing: 1.5px; }
}
@media (max-width: 400px) { .admin-btn .ab-t { display: none; } .admin-btn { width: 40px; padding: 0; } .admin-btn::after { content: 'Админ'; font-size: 12.5px; } .admin-btn { width: auto; padding: 0 12px; } }

/* ===== ПРЕИМУЩЕСТВА ===== */
.adv-section { background: linear-gradient(180deg, #fff, var(--bg-alt)); border-top: 1px solid var(--border); }
.adv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.adv-head .section-lead { max-width: 440px; margin-top: 0; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adv-item { position: relative; padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s, transform .2s; }
.adv-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.adv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.adv-ico { width: 48px; height: 48px; border-radius: calc(12px * var(--rk)); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.adv-num { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--border-strong); letter-spacing: 1px; }
.adv-item h3 { font-family: var(--font-head); font-size: 18px; line-height: 1.3; color: var(--ink); margin-bottom: 8px; }
.adv-item p { font-size: 14px; color: var(--text-light); line-height: 1.55; }
@media (max-width: 1060px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr; } .adv-item { padding: 20px; } }
/* шапка: синяя полоса-акцент сверху навигации и тень при прокрутке */
.navbar { box-shadow: 0 1px 0 rgba(var(--ink-rgb),.04); }
body.menu-open .float-contact, body.menu-open .home-dock { opacity: 0; pointer-events: none; }
.nav-links a.active { background: var(--ink); }
.navbar .mobile-menu > .container { display: block; padding-top: 10px; padding-bottom: 18px; }
.mobile-menu { background: #fff; }

/* ===== ВИЗУАЛЬНЫЙ РЕДАКТОР (только внутри админки) ===== */
body[data-edit="1"] #ed-box { position: fixed; z-index: 9000; display: none; pointer-events: none; border: 2px solid var(--accent); border-radius: calc(10px * var(--rk)); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.12); transition: left .08s, top .08s, width .08s, height .08s; }
body[data-edit="1"] #ed-btn { position: fixed; z-index: 9001; display: none; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: 700 13px/1 var(--font-body); cursor: pointer; box-shadow: 0 8px 20px rgba(var(--accent-rgb),.35); white-space: nowrap; }
body[data-edit="1"] #ed-btn:hover { filter: brightness(.95); }
body[data-edit="1"] .ed-pen { display: inline-flex; }
body[data-edit="1"] .ed-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 180px; border: 2px dashed var(--border-strong); border-radius: var(--radius); background: rgba(255,255,255,.6); color: var(--text-light); font: 700 14px var(--font-body); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
body[data-edit="1"] .ed-add:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
body[data-edit="1"] .ed-add-plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; line-height: 1; background: #fff; border: 1px solid var(--border); }
body[data-edit="1"] .categories-grid .ed-add { aspect-ratio: 4/3; min-height: 0; }
body[data-edit="1"] .clients-grid .ed-add { min-height: 104px; }
body[data-edit="1"] .navbar { top: 0; }

/* ===== ПЛАШКА ПРОБНОГО РЕЖИМА ===== */
#trial-badge { position: fixed; left: 16px; bottom: 16px; z-index: 900; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 10px 12px 10px 14px; border-radius: calc(16px * var(--rk)); background: rgba(255,255,255,.82); backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%); border: 1px solid rgba(var(--accent-rgb),.18); box-shadow: 0 12px 32px rgba(var(--ink-rgb),.14), inset 0 1px 0 rgba(255,255,255,.7); font-size: 13px; animation: tbIn .35s cubic-bezier(.3,.7,.4,1) both; }
@keyframes tbIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
#trial-badge .tb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.14); flex-shrink: 0; }
#trial-badge .tb-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
#trial-badge .tb-t b { font-size: 13px; color: var(--ink); }
#trial-badge .tb-t small { font-size: 11.5px; color: #5f6670; }
#trial-badge .tb-go { flex-shrink: 0; padding: 7px 13px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none; transition: transform .15s cubic-bezier(.3,.7,.4,1), box-shadow .15s; box-shadow: 0 4px 12px rgba(var(--accent-rgb),.3); }
#trial-badge .tb-go:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(var(--accent-rgb),.38); }
#trial-badge .tb-go:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(var(--accent-rgb),.3); }
#trial-badge .tb-x { flex-shrink: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: #8a919b; cursor: pointer; transition: background .15s, color .15s; }
#trial-badge .tb-x:hover { background: rgba(var(--ink-rgb),.07); color: var(--ink); }
#trial-badge .tb-x svg { width: 15px; height: 15px; }
@media (max-width: 560px) { #trial-badge { left: 10px; right: 10px; bottom: 10px; max-width: none; } #trial-badge .tb-t small { display: none; } }

/* ===== адаптивность: доработки ===== */
h1, h2, h3, h4, .product-name, .news-text .h, p { overflow-wrap: break-word; }
.product-name, .product-card h3, .product-card h4 { overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; }
img, video, iframe { max-width: 100%; }
@media (max-width: 640px) {
  .news-hero .container { padding-bottom: 86px; }
  .news-dots { bottom: 16px; gap: 6px; padding: 6px 8px; }
  .news-dots button { width: 34px; height: 34px; border-radius: calc(8px * var(--rk)); }
  .news-nav { bottom: 20px; }
}
@media (max-width: 360px) {
  .news-dots button { width: 28px; height: 28px; }
  .news-dots { gap: 4px; }
}

/* ===== адаптивность v2: любые ширины и высоты экранов ===== */
/* первый экран: подстраивается под высоту окна */
@media (min-width: 969px) {
  .news-hero { height: clamp(480px, calc(100vh - 100px), 760px); min-height: 0; }
  .news-hero > .container { padding-top: 36px; padding-bottom: 96px; }
  .news-text .h { font-size: clamp(30px, min(4.2vw, 6.4vh), 58px); }
  .news-panel { max-height: calc(100% - 24px); overflow: hidden; }
}
/* ноутбуки с невысоким экраном — меньше пунктов в панели новостей */
@media (min-width: 969px) and (max-height: 820px) { .news-item:nth-child(n+5) { display: none; } .news-text p { margin-bottom: 22px; } }
@media (min-width: 969px) and (max-height: 700px) {
  .news-item:nth-child(n+4) { display: none; }
  .news-item { padding: 8px; } .news-item img { height: 44px; }
  .news-text .h { margin-bottom: 12px; }
  .news-text p { font-size: 15.5px; margin-bottom: 18px; }
}
/* стрелки слайдера не наезжают на текст: на экранах уже 1400px — внизу, рядом с точками */
@media (max-width: 1400px) {
  .news-nav { top: auto; bottom: 24px; margin-top: 0; width: 42px; height: 42px; }
  .news-nav.prev { left: 24px; } .news-nav.next { right: 24px; }
}
/* большие мониторы — контент шире, а не «узкая полоска» посередине */
@media (min-width: 1800px) { .container { max-width: 1440px; } }
@media (min-width: 2300px) { .container { max-width: 1600px; } body { font-size: 17px; } }

/* телефон, повёрнутый горизонтально (низкий экран) */
@media (max-height: 520px) and (orientation: landscape) {
  .topbar { display: none; }
  .navbar .container { padding-top: 8px; padding-bottom: 8px; }
  .news-hero { height: auto !important; min-height: 0 !important; max-height: none !important; }
  .news-hero > .container { height: auto; padding-top: 24px; padding-bottom: 76px; }
  .news-dots { bottom: 12px; gap: 6px; padding: 5px 7px; }
  .news-dots button { width: 32px; height: 32px; border-radius: calc(8px * var(--rk)); }
  .news-nav { bottom: 14px; width: 36px; height: 36px; }
  .news-text .h { font-size: clamp(24px, 4.2vw, 34px); margin-bottom: 10px; }
  .news-text p { font-size: 15px; margin-bottom: 16px; }
  .news-text .actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .news-text .actions > * { width: auto; flex: 1 1 200px; }
  .section { padding: 40px 0; }
  .page-hero .container { padding-top: 16px; padding-bottom: 28px; }
  .product-detail { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
  .product-detail img { max-height: 78vh; object-fit: contain; }
  .mobile-menu { max-height: calc(100vh - 56px); overflow-y: auto; }
}
/* очень узкие телефоны */
@media (max-width: 359px) {
  .news-text .h { font-size: 24px; }
  h1, .page-hero h1 { font-size: 26px; }
}
/* «хлебные крошки» на телефонах — переносятся на новую строку, название товара видно целиком */
@media (max-width: 640px) {
  .crumbs-bar { flex-wrap: wrap; overflow: visible; border-radius: calc(18px * var(--rk)); row-gap: 2px; }
  .crumbs-bar span.cur { max-width: 100%; white-space: normal; display: inline-flex; line-height: 1.35; }
}


/* ===== стиль оформления (админка → «Дизайн») ===== */
/* «Жидкое стекло» — полупрозрачные панели с размытием (по умолчанию) */
body.st-glass .card, body.st-glass .product-card { background: rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-color: rgba(255,255,255,.7); box-shadow: 0 8px 28px rgba(var(--ink-rgb),.06), inset 0 1px 0 rgba(255,255,255,.9); }
body.st-glass .section.alt { background: radial-gradient(700px 360px at 8% 0%, rgba(var(--accent-rgb),.07), transparent 60%), radial-gradient(600px 320px at 100% 100%, rgba(var(--accent-rgb),.05), transparent 60%), var(--bg-alt); }

/* «Классический» — плотные белые карточки с мягкой тенью, без размытия */
body.st-classic * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
body.st-classic .navbar { background: var(--bg); }
body.st-classic .mobile-menu, body.st-classic .fc-panel, body.st-classic .hd-btn, body.st-classic .crumbs-bar { background: #fff; }
body.st-classic .card, body.st-classic .product-card { border-color: transparent; box-shadow: 0 6px 24px rgba(var(--ink-rgb),.09); }
body.st-classic .product-card:hover, body.st-classic .card:hover { box-shadow: 0 12px 34px rgba(var(--ink-rgb),.14); }
body.st-classic .glass { background: rgba(var(--ink-rgb),.78); border-color: rgba(255,255,255,.12); }
body.st-classic .btn-ghost, body.st-classic .news-nav, body.st-classic .news-dots { background: rgba(0,0,0,.38); }
body.st-classic .btn-primary { background: var(--accent); box-shadow: 0 6px 16px rgba(var(--accent-rgb),.25); }
body.st-classic .product-image .badge-pop { background: #fff; }

/* «Минимализм» — плоский, без теней и размытия, только тонкие линии */
body.st-minimal *:not(#ed-box):not(#ed-btn):not(.ed-bar) { box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
body.st-minimal .navbar { background: var(--bg); }
body.st-minimal .mobile-menu, body.st-minimal .fc-panel, body.st-minimal .hd-btn, body.st-minimal .crumbs-bar { background: #fff; }
body.st-minimal .card, body.st-minimal .product-card { border-color: var(--border); }
body.st-minimal .product-card:hover, body.st-minimal .card:hover { border-color: var(--ink); transform: none; }
body.st-minimal .glass { background: rgba(var(--ink-rgb),.86); border-color: transparent; }
body.st-minimal .btn-primary, body.st-minimal .nav-contact { background: var(--accent); }
body.st-minimal .btn-ghost, body.st-minimal .news-nav, body.st-minimal .news-dots { background: rgba(0,0,0,.45); }
body.st-minimal .section.alt { background: var(--bg-alt); }
body.st-minimal .product-image .badge-pop { background: #fff; }

/* ===== свои блоки (админка → «+ Блок») ===== */
.blk-center .section-header, .blk-center .blk-text, .blk-center .actions, .blk-center .blk-lead { margin-left: auto; margin-right: auto; text-align: center; justify-content: center; }
.blk-center .eyebrow { justify-content: center; }
.blk-text { max-width: 820px; font-size: 17px; line-height: 1.75; color: var(--text-light); }
.blk-text p + p { margin-top: 14px; }
.blk-lead { max-width: 760px; color: var(--text-light); margin: -20px 0 28px; font-size: 16px; }
.blk-dark { background: var(--ink); color: #fff; }
.blk-dark .section-title, .blk-dark h2, .blk-dark h3 { color: #fff; }
.blk-dark .blk-text, .blk-dark .blk-lead, .blk-dark .eyebrow { color: rgba(255,255,255,.75); }
.blk-dark .card { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.12) !important; color: #fff; }
.blk-dark .card p, .blk-dark .stat-label { color: rgba(255,255,255,.72); }
.blk-dark .stat-num { color: #fff; }
.blk-accent { background: var(--accent-soft); }
.blk-it { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.blk-it.rev .blk-it-img { order: 2; }
.blk-it-img img, .blk-ph { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.blk-it-txt .section-title { margin-bottom: 14px; }
.blk-ph { display: grid; place-items: center; background: var(--bg-alt); border: 2px dashed var(--border-strong); color: var(--text-light); font-weight: 600; padding: 24px; text-align: center; aspect-ratio: auto; min-height: 180px; }
.blk-gallery { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.blk-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); } .blk-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.blk-g img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.blk-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.blk-card { padding: 26px; }
.blk-card h3 { font-family: var(--font-head); color: var(--ink); font-size: 19px; margin: 6px 0 8px; }
.blk-card p { color: var(--text-light); font-size: 15px; }
.blk-card .link-more { display: inline-block; margin-top: 12px; }
.blk-card-img { margin: -26px -26px 18px; } .blk-card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blk-faq { display: grid; gap: 12px; max-width: 900px; }
.blk-center .blk-faq { margin: 0 auto; }
.blk-q { padding: 0; }
.blk-q summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 700; color: var(--ink); position: relative; }
.blk-q summary::-webkit-details-marker { display: none; }
.blk-q summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); transition: transform .2s; }
.blk-q[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.blk-a { padding: 0 22px 20px; color: var(--text-light); }
.bt-button { padding: 28px 0; }
.blk-video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; max-width: 1000px; }
.blk-center .blk-video { margin: 0 auto; }
.blk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blk-quote { max-width: 860px; margin: 0 auto; text-align: center; }
.blk-quote blockquote { font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 28px); line-height: 1.45; color: var(--ink); }
.blk-quote blockquote::before { content: '“'; display: block; font-size: 64px; line-height: .6; color: var(--accent); margin-bottom: 10px; }
.blk-quote figcaption { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; text-align: left; }
.blk-quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.blk-quote figcaption b { display: block; color: var(--ink); } .blk-quote figcaption span { color: var(--text-light); font-size: 14px; }
.blk-dark .blk-quote blockquote, .blk-dark .blk-quote figcaption b { color: #fff; }
.bt-spacer hr { border: 0; height: 1px; background: transparent; }
.bt-spacer.line hr { background: var(--border); }
.bt-spacer.size-s { padding: 12px 0; } .bt-spacer.size-m { padding: 32px 0; } .bt-spacer.size-l { padding: 64px 0; }
@media (max-width: 768px) {
  .blk-it { grid-template-columns: 1fr; } .blk-it.rev .blk-it-img { order: 0; }
  .blk-gallery, .blk-gallery.cols-3, .blk-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) { .blk-gallery.cols-2 { grid-template-columns: 1fr; } }

/* ===== редактор: панель управления блоком ===== */
body[data-edit="1"] .blk-hidden { opacity: .38; filter: grayscale(.6); position: relative; }
body[data-edit="1"] .blk-hidden::before { content: 'Скрыт на сайте — посетители его не видят'; position: absolute; z-index: 5; left: 50%; top: 14px; transform: translateX(-50%); background: var(--ink); color: #fff; font: 700 12.5px var(--font-body); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
body[data-edit="1"] .ed-bar { position: fixed; z-index: 9002; display: none; align-items: center; gap: 2px; padding: 4px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.28); font: 600 12.5px var(--font-body); }
body[data-edit="1"] .ed-bar .lb { padding: 0 10px 0 8px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .85; }
body[data-edit="1"] .ed-bar button { height: 30px; min-width: 30px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; font: 700 13px var(--font-body); display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
body[data-edit="1"] .ed-bar button:hover { background: rgba(255,255,255,.16); }
body[data-edit="1"] .ed-bar button:disabled { opacity: .3; cursor: default; background: transparent; }
body[data-edit="1"] .ed-bar button.add { background: var(--accent); color: var(--on-accent); margin-left: 4px; }
body[data-edit="1"] .ed-bar button.del:hover { background: #c62828; }
body[data-edit="1"] .ed-addblk { display: flex; justify-content: center; padding: 26px 16px 40px; }
body[data-edit="1"] .ed-addblk button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border: 2px dashed var(--border-strong); border-radius: 999px; background: #fff; color: var(--text-light); font: 700 14px var(--font-body); cursor: pointer; }
body[data-edit="1"] .ed-addblk button:hover { border-color: var(--accent); color: var(--accent); }

/* стрелки баннера: обе внизу слева, чтобы правую не закрывала круглая кнопка «Написать нам» (она в правом нижнем углу) */
@media (max-width: 1400px) {
  .news-nav.prev { left: 24px; right: auto; }
  .news-nav.next { left: 76px; right: auto; }
}
@media (max-width: 968px) {
  .news-nav.prev { left: 16px; } .news-nav.next { left: 62px; }
}
@media (max-height: 520px) and (orientation: landscape) { .news-nav.next { left: 60px; } }

.blk-it.noimg { grid-template-columns: 1fr; max-width: 860px; }

/* политика конфиденциальности и согласие под формой */
.legal { max-width: 820px; }
.legal > p { font-size: 16px; line-height: 1.7; color: var(--text-2, #3a4556); margin-bottom: 18px; }
.legal-sec { margin-bottom: 26px; }
.legal-sec h2 { font-size: 20px; margin-bottom: 10px; }
.legal-sec p { font-size: 15.5px; line-height: 1.7; color: var(--text-2, #3a4556); margin-bottom: 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; margin: 4px 0 14px; cursor: pointer; color: var(--text-2, #3a4556); }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; }
.footer-legal { font-size: 13px; opacity: .7; text-decoration: underline; }
.footer-bottom { display: flex; gap: 12px 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; }

/* логотип «Арена РА»: эмблема слева, название в строку */
.logo.has-mark { flex-direction: row; align-items: center; gap: 12px; padding-left: 0; border-left: 0; }
.logo.has-mark .logo-mark { height: 42px; width: 42px; flex: none; }
.logo.has-mark .brand { font-size: clamp(18px, 2.2vw, 25px); letter-spacing: 3px; color: var(--accent); }
.footer-brand.has-mark { display: flex; align-items: center; gap: 12px; padding-left: 0; border-left: 0; }
.footer-brand.has-mark .logo-mark { height: 42px; width: 42px; flex: none; }
.footer-brand.has-mark span { letter-spacing: 3px; }
.pl-logo.has-mark { flex-direction: row; align-items: center; gap: 16px; padding-left: 0; border-left: 0; }
.pl-logo.has-mark .logo-mark { height: clamp(56px, 12vw, 86px); width: auto; }
.pl-logo.has-mark b { letter-spacing: 4px; }
@media (max-width: 760px) {
  .logo.has-mark { gap: 9px; }
  .logo.has-mark .logo-mark { height: 34px; width: 34px; }
  .logo.has-mark .brand { font-size: 17px; letter-spacing: 1.6px; }
}
/* баннер без списка справа — текст занимает всю ширину */
.news-hero > .container.no-panel { grid-template-columns: 1fr; }
.news-hero > .container.no-panel .news-content { max-width: 760px; }

/* ——— фирменная система «Арена РА»: глубокий синий, белый, нежно-розовый ———
   Как всё сочетается:
   · глубокий синий #09318D — главный цвет: логотип, заголовки, кнопки, тёмные зоны;
   · белый — основной фон, воздух между блоками;
   · нежно-розовый #F59ACC — мягкий акцент: тонкие линии, ярлыки, кнопка на тёмном фоне, свечение;
   · чередующиеся блоки — «снежно-розовые», почти белые с тёплым розовым оттенком;
   · золото остаётся только в эмблеме: на сине-розовом фоне оно смотрится как украшение. */
:root { --pink: #f59acc; --pink-2: #e27fb6; --pink-soft: #fdeef6; --pink-ink: #8e2a62; --blush: #fdf6fa; }
.eyebrow { color: var(--accent); }
.eyebrow::before { background: linear-gradient(90deg, var(--pink), var(--pink-2)); height: 2px; }
.section-title, .page-hero h1 { color: var(--ink); }
.news-meta .tag, .tag-chip { background: var(--pink-soft); color: var(--pink-ink); }
.product-image .badge-pop { background: var(--pink); color: #2a0f20; box-shadow: 0 6px 14px rgba(146,204,210,.35); }
/* логотип: эмблема, название синим, под ним подпись нежно-розовым */
.logo.has-mark .logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo.has-mark .brand-small { display: block; margin-top: 5px; font-size: 9.5px; letter-spacing: 2.6px; text-transform: uppercase; font-weight: 700; color: var(--pink-2); }
.footer-brand.has-mark .fb-txt { display: flex; flex-direction: column; line-height: 1.05; }
.footer-brand.has-mark .fb-txt small { margin-top: 6px; font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 700; color: var(--pink); opacity: .9; }
.pl-logo.has-mark .pl-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.pl-logo.has-mark .pl-txt span { margin-top: 8px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--pink); font-weight: 700; }
/* фон: белые и снежно-розовые блоки по очереди */
.section.alt, .blk-alt { background: var(--bg-alt, var(--blush)); }
/* шапка: тонкая розовая черта под меню при прокрутке */
.navbar { border-bottom: 1px solid rgba(var(--accent-rgb), .08); }
.nav-links a.active { background: var(--accent); color: #fff; }
/* подвал: глубокий синий с розовой линией сверху */
.footer { border-top: 3px solid var(--pink); }
.footer a:hover { color: var(--pink); }
.footer-brand.has-mark span { color: #fff; }
.pl-bar i { background: linear-gradient(90deg, var(--pink), #c9e5e7); }
/* баннер: фото тонируется глубоким синим, стекло синее с розовой каймой */
.news-slide::after { background: linear-gradient(90deg, rgba(var(--ink-rgb, 7,26,77), .86) 0%, rgba(var(--ink-rgb, 7,26,77), .58) 40%, rgba(var(--ink-rgb, 7,26,77), .14) 72%, rgba(var(--ink-rgb, 7,26,77), 0) 100%); }
.news-panel.glass, .news-meta.glass { background: linear-gradient(135deg, rgba(var(--ink-rgb, 7,26,77), .64), rgba(var(--ink-rgb, 7,26,77), .40)); border-color: rgba(146,204,210,.30); }
.news-item.active { background: rgba(255,255,255,.10); box-shadow: inset 0 0 0 1px rgba(146,204,210,.6); }
.news-item .bar i { background: var(--pink); }
.news-dots button.active { background: var(--pink); }
/* на тёмном фоне главная кнопка — нежно-розовая с синим текстом */
.news-hero .btn-primary, .cta-band .btn-primary, .blk-dark .btn-primary {
  background: linear-gradient(180deg, #56a272, var(--pink)); color: #071a4d;
  box-shadow: 0 10px 26px rgba(146,204,210,.32), inset 0 1px 0 rgba(255,255,255,.5); }
.news-hero .btn-primary:hover, .cta-band .btn-primary:hover, .blk-dark .btn-primary:hover { background: linear-gradient(180deg, #62ad7e, #3f8a5c); filter: none; }
/* на светлом — глубокий синий */
.btn-primary { background: linear-gradient(180deg, var(--accent-light), var(--accent)); }
.cta-band { background: radial-gradient(760px 320px at 88% -30%, rgba(146,204,210,.28), transparent 62%), radial-gradient(600px 300px at 0% 120%, rgba(146,204,210,.12), transparent 60%), var(--ink); }
/* значки преимуществ: розовая плитка, синий значок */
.adv-ico { background: var(--pink-soft); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(146,204,210,.45); }
/* карточки: при наведении — мягкая розовая кайма */
.product-card:hover { border-color: rgba(146,204,210,.7); box-shadow: 0 16px 36px rgba(var(--accent-rgb), .10), 0 0 0 1px rgba(146,204,210,.35); }
.link-more { color: var(--accent); }
.link-more:hover { color: var(--pink-2); }
.tl-year { color: var(--accent); }
.tl-item::before, .timeline::before { background: linear-gradient(180deg, var(--pink), rgba(146,204,210,.2)); }
.stat-num { color: var(--accent); }
.ck-pic { filter: drop-shadow(0 6px 10px rgba(226,127,182,.28)); }
@media (max-width: 640px) { .logo.has-mark .brand-small { font-size: 8px; letter-spacing: 1.6px; margin-top: 4px; } }
@media (max-width: 340px) { .logo.has-mark .brand-small { display: none; } }
/* спокойный заход (кнопка «Назад», повторный визит) — всё сразу на месте */
.calm .news-text.instant { animation: none; }
.calm #site-main { animation: none !important; }

/* подпись блока — всегда под заголовком, в любом блоке и при любой длине заголовка */
.adv-head, .clients-head { display: block; }
.adv-head .section-lead, .clients-head .section-lead { max-width: 640px; margin-top: 12px; }

/* фото товара — целиком, как его загрузил владелец: ничего не обрезается, вокруг белое поле */
.product-image, .gallery-main, .gallery-thumb { background: #fff; }
.product-image img, .gallery-main img, .gallery-thumb img { object-fit: contain; }
.product-image img { padding: 6px; }
/* если владелец выберет «заполнять карточку» — как раньше, фото на всю рамку */
body.pf-cover .product-image img, body.pf-cover .gallery-main img, body.pf-cover .gallery-thumb img { object-fit: cover; padding: 0; }

/* ---- сообщение о cookie: компактная «таблетка» внизу по центру ---- */
.ck-bar { position: fixed; left: 50%; bottom: 18px; z-index: 160; width: min(640px, calc(100vw - 24px)); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); color: var(--ink, #071a4d); border-radius: 18px; border: 1px solid rgba(var(--accent-rgb), .08); box-shadow: 0 14px 40px rgba(var(--ink-rgb), .16), 0 1px 0 rgba(255,255,255,.8) inset; opacity: 0; transform: translate(-50%, 20px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .3, 1.15); }
.ck-bar.ck-in { opacity: 1; transform: translate(-50%, 0); }
.ck-bar.ck-hide { opacity: 0; transform: translate(-50%, 14px); transition-duration: .28s; }
.ck-pic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, #fff6fb, #fde6f2); box-shadow: inset 0 0 0 1px rgba(146,204,210,.35); }
.ck-pic svg { width: 32px; height: 32px; display: block; transform-origin: 50% 60%; filter: drop-shadow(0 2px 3px rgba(180,120,50,.25)); }
.ck-bar.ck-in .ck-pic svg { animation: ck-wobble 2.4s ease-in-out .6s 1; }
@keyframes ck-wobble { 0%, 100% { transform: rotate(0); } 18% { transform: rotate(-10deg) scale(1.04); } 36% { transform: rotate(7deg); } 54% { transform: rotate(-3deg); } 70% { transform: rotate(0); } }
.ck-txt { flex: 1; min-width: 0; }
.ck-txt p { margin: 0; font-size: 13px; line-height: 1.4; color: rgba(var(--ink-rgb), .72); }
.ck-txt a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(var(--accent-rgb), .35); text-underline-offset: 2px; }
.ck-txt a:hover { text-decoration-color: currentColor; }
.ck-btns { flex: none; display: flex; align-items: center; gap: 4px; }
.ck-ok { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 13px; padding: 10px 20px; border-radius: 12px; color: #fff; background: linear-gradient(180deg, var(--accent-light), var(--accent)); box-shadow: 0 6px 16px rgba(var(--accent-rgb), .28); transition: filter .2s, transform .15s; }
.ck-ok:hover { filter: brightness(1.08); }
.ck-ok:active { transform: scale(.97); }
.ck-no { border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 12.5px; padding: 10px 10px; border-radius: 10px; color: rgba(var(--ink-rgb), .5); transition: color .2s, background .2s; }
.ck-no:hover { color: var(--ink); background: rgba(var(--ink-rgb), .05); }
.footer-legal + .footer-legal { margin-left: 16px; }
@media (max-width: 560px) {
    .ck-bar { bottom: calc(10px + env(safe-area-inset-bottom)); flex-wrap: wrap; gap: 8px 10px; padding: 10px 10px 10px 10px; border-radius: 16px; }
    .ck-pic { width: 34px; height: 34px; border-radius: 10px; }
    .ck-pic svg { width: 27px; height: 27px; }
    .ck-txt { flex: 1 1 calc(100% - 50px); }
    .ck-txt p { font-size: 12.5px; }
    .ck-btns { width: 100%; }
    .ck-ok { flex: 1; padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) { .ck-bar, .ck-bar.ck-in .ck-pic svg { transition: none; animation: none; } }
.footer-brand.has-mark { margin-bottom: 16px; }

/* ===== БАННЕР-КАРТОЧКА (как у GRASS) =====
   Рамка шириной с сайт, скругление 20px, пропорции слайда 1920×580; на телефоне — 4:3 и своё фото.
   Точки — под баннером. По краям — невидимые зоны «назад/вперёд», стрелка появляется при наведении. */
.cb-wrap { padding: 20px 0 6px; background: var(--bg, #fff); }
.cb { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 1920 / 580; max-height: max(210px, calc(100vh - 380px)); max-height: max(210px, calc(100svh - 380px)); width: 100%; background: var(--bg-alt, #f3f5fb); isolation: isolate; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cb-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.25, .8, .25, 1); will-change: transform; }
.cb-track.dragging { transition: none; cursor: grabbing; }
.cb-slide { position: relative; flex: 0 0 100%; height: 100%; display: block; color: #fff; text-decoration: none; overflow: hidden; }
.cb-slide picture, .cb-slide img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cb-slide img { object-fit: cover; -webkit-user-drag: none; }
.cb-slide:not(.plain)::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(var(--ink-rgb, 7,26,77), .82) 0%, rgba(var(--ink-rgb, 7,26,77), .55) 34%, rgba(var(--ink-rgb, 7,26,77), 0) 62%); }
.cb-text { position: absolute; z-index: 2; left: clamp(32px, 6.5%, 96px); top: 50%; transform: translateY(-50%); width: min(560px, 48%); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cb-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--pink, #f59acc); color: #2a0f20; font-size: 12px; font-weight: 700; letter-spacing: .4px; }
.cb-h { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 3.1vw, 46px); line-height: 1.08; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.cb-text p { margin: 0; font-size: clamp(13px, 1.15vw, 17px); line-height: 1.45; color: rgba(255,255,255,.86); max-width: 460px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cb-btn { margin-top: 6px; pointer-events: none; background: linear-gradient(180deg, #56a272, var(--pink, #f59acc)) !important; color: #071a4d !important; box-shadow: 0 10px 26px rgba(146,204,210,.32), inset 0 1px 0 rgba(255,255,255,.5) !important; }
a.cb-slide:hover .cb-btn { filter: brightness(1.04); }
.cb-zone { position: absolute; top: 0; bottom: 0; z-index: 3; width: 120px; border: 0; padding: 0; background: transparent; cursor: pointer; display: flex; align-items: center; color: #fff; }
.cb-zone.prev { left: 0; justify-content: flex-start; padding-left: 18px; }
.cb-zone.next { right: 0; justify-content: flex-end; padding-right: 18px; }
.cb-zone span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink, #071a4d); box-shadow: 0 6px 18px rgba(var(--ink-rgb, 7,26,77), .22); opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; }
.cb-zone:hover span, .cb-zone:focus-visible span { opacity: 1; transform: none; }
.cb-zone:hover span { background: #fff; }
.cb-dots { display: flex; justify-content: center; gap: 0; margin-top: 18px; }
.cb-dots button { width: 15px; height: 15px; margin: 0 7px; padding: 0; border: 0; border-radius: 50%; background: var(--pink-soft, #fdeef6); box-shadow: inset 0 0 0 1px rgba(146,204,210,.55); cursor: pointer; transition: background .25s, transform .25s; }
.cb-dots button:hover { background: #c9e5e7; }
.cb-dots button.active { background: var(--accent); box-shadow: none; transform: scale(1.05); }
@media (max-width: 1100px) { .cb { border-radius: 18px; } .cb-zone { width: 80px; } }
@media (max-width: 700px) {
    .cb-wrap { padding: 12px 0 4px; }
    .cb { aspect-ratio: 4 / 3; border-radius: 16px; max-height: max(200px, calc(100svh - 330px)); }
    .cb-slide:not(.plain)::after { background: linear-gradient(0deg, rgba(var(--ink-rgb, 7,26,77), .88) 0%, rgba(var(--ink-rgb, 7,26,77), .5) 45%, rgba(var(--ink-rgb, 7,26,77), 0) 75%); }
    .cb-text { left: 16px; right: 16px; top: auto; bottom: 16px; transform: none; width: auto; gap: 8px; }
    .cb-h { font-size: clamp(20px, 6vw, 28px); }
    .cb-text p { font-size: 13px; -webkit-line-clamp: 2; }
    .cb-tag { display: none; }
    .cb-btn { padding: 10px 18px !important; font-size: 14px !important; margin-top: 2px; }
    .cb-zone { display: none; }
    .cb-dots { margin-top: 12px; }
    .cb-dots button { width: 10px; height: 10px; margin: 0 5px; }
}
@media (max-width: 380px) { .cb-text p { display: none; } }
@media (prefers-reduced-motion: reduce) { .cb-track { transition: none; } }

/* ===== ПЛИТКИ КАТЕГОРИЙ СРАЗУ ПОД БАННЕРОМ (как у GRASS) ===== */
.section.cat-strip { padding: 14px 0 36px; }
.cat-tiles { display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: 14px; }
.cat-tiles.few .cat-tile { height: 160px; padding: 20px 22px; }
.cat-tiles.few .cat-tile h3 { font-size: 21px; }
.cat-tiles.few .cat-tile.has-photo::before { background: linear-gradient(90deg, rgba(var(--ink-rgb, 7,26,77), .72) 0%, rgba(var(--ink-rgb, 7,26,77), .25) 55%, rgba(var(--ink-rgb, 7,26,77), .05) 100%); }
@media (max-width: 1100px) and (min-width: 701px) { .cat-tiles:not(.few) { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 185px; border-radius: 20px; overflow: hidden; padding: 14px 14px 0; text-decoration: none; color: var(--ink); background: var(--tile, #e8eefb); transition: transform .25s ease, box-shadow .25s ease; isolation: isolate; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(var(--ink-rgb), .12); }
.ct-t { position: relative; z-index: 2; }
.cat-tile h3 { margin: 0; font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.cat-tile small { display: block; margin-top: 4px; font-size: 12px; color: rgba(var(--ink-rgb), .55); }
.ct-prod { position: relative; z-index: 1; flex: 1; display: flex; align-items: flex-end; justify-content: flex-end; margin: 6px -4px 0 18%; min-height: 0; }
.ct-prod img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; object-position: right bottom; mix-blend-mode: multiply; transition: transform .35s ease; }
.cat-tile:hover .ct-prod img, .cat-tile:hover .ct-photo img { transform: scale(1.05); }
.ct-photo { position: absolute; inset: 0; z-index: 0; }
.ct-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.cat-tile.has-photo { color: #fff; }
.cat-tile.has-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(var(--ink-rgb, 7,26,77), .62) 0%, rgba(var(--ink-rgb, 7,26,77), .12) 46%, rgba(var(--ink-rgb, 7,26,77), 0) 70%); }
.cat-tile.has-photo small { color: rgba(255,255,255,.82); }
.ct-ico { position: relative; z-index: 1; align-self: flex-end; margin: 0 2px 14px 0; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--accent); background: rgba(255,255,255,.7); }
.cat-tile.all { background: var(--accent); color: #fff; }
.cat-tile.all small { color: rgba(255,255,255,.75); }
.cat-tile.all .ct-ico { background: var(--pink); color: #071a4d; }
.cat-tile.all .ct-ico svg { width: 22px; height: 22px; }
body[data-edit="1"] .cat-tiles .ed-add { aspect-ratio: 158 / 185; min-height: 0; border-radius: 20px; }
@media (max-width: 700px) {
    .section.cat-strip { padding: 10px 0 26px; }
    .cat-tiles, .cat-tiles.few { display: flex; overflow-x: auto; gap: 10px; margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .cat-tiles::-webkit-scrollbar { display: none; }
    .cat-tile, .cat-tiles.few .cat-tile { flex: 0 0 136px; height: 160px; scroll-snap-align: start; border-radius: 16px; padding: 12px 12px 0; }
    .cat-tiles.few .cat-tile h3 { font-size: 15px; }
    .cat-tiles.few .cat-tile.has-photo::before { background: linear-gradient(180deg, rgba(var(--ink-rgb, 7,26,77), .62) 0%, rgba(var(--ink-rgb, 7,26,77), .12) 46%, rgba(var(--ink-rgb, 7,26,77), 0) 70%); }
    .cat-tile h3 { font-size: 15px; }
    .cat-tile small { font-size: 11px; }
    .ct-ico { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 12px; }
}

/* ===== ПЛОТНЕЕ: меньше пустоты между блоками ===== */
.section { padding: 56px 0; }
.section-header { margin-bottom: 26px; }
.section-header.row { align-items: flex-end; }
@media (max-width: 900px) { .section { padding: 42px 0; } }
@media (max-width: 600px) { .section { padding: 32px 0; } .section-header { margin-bottom: 18px; } .section.cat-strip { padding: 10px 0 24px; } }

/* ===== «НАМ ДОВЕРЯЮТ»: бегущая лента логотипов, без плашек ===== */
.logo-marquee { position: relative; overflow: hidden; margin-top: 8px; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.lm-track { display: flex; align-items: center; width: max-content; animation: lm-run var(--lm-dur, 40s) linear infinite; }
.logo-marquee:hover .lm-track { animation-play-state: paused; }
@keyframes lm-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lm-item { flex: none; display: flex; align-items: center; justify-content: center; height: 76px; padding: 0 34px; text-decoration: none; }
.lm-item img { display: block; max-height: 58px; max-width: 170px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s, transform .3s; }
.lm-item:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.lm-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; color: rgba(var(--ink-rgb), .45); transition: color .3s; }
.lm-item:hover .lm-name { color: var(--accent); }
.clients .clients-head { margin-bottom: 12px; }
@media (max-width: 640px) {
    .lm-item { height: 60px; padding: 0 22px; }
    .lm-item img { max-height: 44px; max-width: 120px; }
    .lm-name { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .lm-track { animation: none; } .logo-marquee { overflow-x: auto; } }
body[data-edit="1"] .logo-marquee .ed-add { min-height: 60px; margin: 10px auto 0; }

/* ===== ШАПКА В ДВА РЯДА (как у GRASS) ===== */
.navbar.hd { background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(var(--accent-rgb), .08); box-shadow: 0 1px 0 rgba(var(--ink-rgb), .03); }
.navbar.hd > .container { padding-top: 0; padding-bottom: 0; }
.hd-row1 { display: flex; align-items: center; gap: 28px; min-height: 74px; max-height: 120px; overflow: hidden; transition: max-height .3s ease, min-height .3s ease, opacity .25s ease; }
.navbar.hd.scrolled .hd-row1 { max-height: 0; min-height: 0; opacity: 0; }
.hd-links { flex: 1; display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.hd-links li { display: flex; align-items: center; }
.hd-links li + li::before { content: ''; width: 1px; height: 14px; background: rgba(var(--ink-rgb), .18); }
.hd-links a { padding: 6px 16px; border-radius: 0; background: none !important; font-size: 12.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: rgba(var(--ink-rgb), .62); }
.hd-links a:hover { color: var(--accent); }
.hd-links a.active { color: var(--accent) !important; }
.hd-contacts { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.hd-hours { font-size: 12.5px; color: var(--text-light); }
.hd-phone { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.hd-phone:hover { color: var(--accent); }
.hd-mail { font-size: 14px; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(var(--accent-rgb), .3); text-underline-offset: 3px; }
.hd-mail:hover { color: var(--accent); }
.hd-call { display: none; width: 42px; height: 42px; border-radius: var(--radius-sm); align-items: center; justify-content: center; color: var(--accent); background: var(--pink-soft, #fdeef6); }
.hd-call svg { width: 19px; height: 19px; }
.hd-row2 { display: flex; align-items: center; gap: 14px; padding-top: 2px !important; padding-bottom: 14px !important; }
.navbar.hd.scrolled .hd-row2 { padding-top: 12px !important; padding-bottom: 12px !important; }
.hd-cat { position: relative; flex-shrink: 0; }
.hd-catbtn { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px 0 18px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(180deg, var(--accent-light), var(--accent)); box-shadow: 0 8px 20px rgba(var(--accent-rgb), .26), inset 0 1px 0 rgba(255,255,255,.25); transition: filter .2s; }
.hd-catbtn:hover { filter: brightness(1.08); }
.hd-cat.open .hd-catbtn { filter: brightness(.95); }
.hd-catpanel { position: absolute; top: calc(100% + 10px); left: 0; width: min(420px, 92vw); padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 22px 50px rgba(var(--ink-rgb), .18), 0 0 0 1px rgba(var(--ink-rgb), .05); display: none; z-index: 120; }
.hd-cat.open .hd-catpanel { display: block; animation: mmIn .18s ease; }
.hd-catitem { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .15s; }
.hd-catitem:hover { background: var(--blush, #fdf6fa); }
.hci-pic { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: #eef2fb; color: var(--accent); }
.hci-pic img { width: 100%; height: 100%; object-fit: cover; }
.hci-pic svg { width: 22px; height: 22px; }
.hci-t b { display: block; font-size: 15px; }
.hci-t small { display: block; font-size: 12px; color: var(--text-light); margin-top: 2px; }
.hd-catall { display: block; margin-top: 6px; padding: 12px; border-radius: 12px; text-align: center; font-weight: 700; font-size: 14px; color: var(--accent); background: #eef2fb; text-decoration: none; }
.hd-catall:hover { background: #e3e9f8; }
.hd-search { position: relative; flex: 1; min-width: 0; margin: 0; }
.hd-q { width: 100%; height: 48px; padding: 0 18px 0 48px; border: 1px solid transparent; border-radius: 14px; background: #f2f4f9; font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: background .2s, border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.hd-q::placeholder { color: rgba(var(--ink-rgb), .45); }
.hd-q:focus { background: #fff; border-color: rgba(var(--accent-rgb), .35); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .08); }
.hd-q-ico { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: rgba(var(--ink-rgb), .45); display: inline-flex; pointer-events: none; }
.hd-res { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 22px 50px rgba(var(--ink-rgb), .18), 0 0 0 1px rgba(var(--ink-rgb), .05); display: none; z-index: 120; max-height: 70vh; overflow: auto; }
.hd-search.open .hd-res { display: block; }
.hd-res-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.hd-res-item:hover, .hd-res-item:focus { background: var(--blush, #fdf6fa); outline: none; }
.hri-pic { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #fff; box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .06); }
.hri-pic img { width: 100%; height: 100%; object-fit: contain; }
.hri-t { min-width: 0; }
.hri-t b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hri-t small { display: block; font-size: 12px; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-res-empty { padding: 14px; font-size: 14px; color: var(--text-light); }
.hd-res-empty a { color: var(--accent); font-weight: 600; }
.hd-cta { flex-shrink: 0; display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 15px; text-decoration: none; color: #071a4d; background: linear-gradient(180deg, #56a272, var(--pink, #f59acc)); box-shadow: 0 8px 20px rgba(146,204,210,.3), inset 0 1px 0 rgba(255,255,255,.5); transition: filter .2s; }
.hd-cta:hover { filter: brightness(1.04); }
.navbar.hd .mobile-menu { top: 100%; }
.cb-wrap { padding-top: 16px; }
@media (max-width: 1180px) { .hd-hours { display: none; } .hd-links a { padding: 6px 11px; letter-spacing: .6px; } }
@media (max-width: 1020px) { .hd-mail { display: none; } }
@media (max-width: 968px) {
    .hd-row1 { gap: 12px; min-height: 64px; }
    .hd-links, .hd-contacts { display: none !important; }
    .hd-row1 .nav-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
    .hd-call { display: inline-flex; }
    .hd-cta { display: none; }
}
@media (max-width: 640px) {
    .hd-row1 { min-height: 58px; }
    .hd-row2 { gap: 8px; padding-bottom: 10px !important; }
    .hd-catbtn { height: 44px; padding: 0 14px; border-radius: 12px; }
    .hd-catbtn-t { display: none; }
    .hd-q { height: 44px; border-radius: 12px; font-size: 16px; }
    .hd-catpanel { position: fixed; left: 12px; right: 12px; top: auto; width: auto; margin-top: 8px; }
    .cb-wrap { padding-top: 10px; }
}

/* баннер «одна картинка для всех экранов»: пропорции как у картинки, без обрезки на компьютере и телефоне */
.cb.whole { aspect-ratio: var(--cb-ratio, 1920 / 580); max-height: none; background: var(--bg, #fff); }
.cb.whole .cb-slide img { object-fit: contain; }
@media (max-width: 700px) {
    .cb.whole { aspect-ratio: var(--cb-ratio, 1920 / 580); max-height: none; border-radius: 12px; }
    .cb.whole .cb-slide:not(.plain) .cb-text p, .cb.whole .cb-tag { display: none; }
    .cb.whole .cb-text { bottom: 10px; left: 12px; right: 12px; gap: 6px; }
    .cb.whole .cb-h { font-size: clamp(15px, 4.6vw, 20px); }
    .cb.whole .cb-btn { padding: 7px 12px !important; font-size: 12px !important; }
}

/* шапка без поиска: во втором ряду — каталог, разделы и заявка */
.hd-spacer { flex: 1; }
.hd-row2 .hd-links { flex: 1; padding-left: 10px; }
.hd-row2 .hd-links a { font-size: 13px; padding: 6px 18px; }
@media (max-width: 968px) {
    .hd-row2 .hd-cat { flex: 1; }
    .hd-row2 .hd-catbtn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
    .hd-catbtn-t { display: inline !important; }
}

/* баннер крупнее: шире основной колонки сайта (до 1440 px), пропорции картинки сохраняются, ничего не обрезается */
.container { max-width: 1488px; } /* весь сайт шире, как у GRASS: баннер и плитки крупнее и на одной линии */
@media (max-width: 700px) {
    .cb-wrap > .container { padding-left: 6px; padding-right: 6px; }
    .cb-wrap .cb-dots { margin-top: 10px; }
}

/* на телефонах и планшетах второй ряд шапки (кнопка «Каталог товаров») не показываем: каталог есть в меню и в плитках под баннером */
@media (max-width: 968px) { .hd-row2 { display: none !important; } .navbar.hd .hd-row1 { max-height: none; min-height: 60px; opacity: 1; } }

/* точки баннера: незаметные, внутри баннера внизу по центру (как у крупных магазинов) */
.cb .cb-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 5px; margin: 0 !important; padding: 4px 6px; border-radius: 999px; background: rgba(0,0,0,.10); }
.cb .cb-dots button { width: 6px !important; height: 6px !important; margin: 0 !important; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.55) !important; box-shadow: none !important; transform: none !important; cursor: pointer; transition: width .3s ease, background .3s ease; }
.cb .cb-dots button:hover { background: rgba(255,255,255,.85) !important; }
.cb .cb-dots button.active { width: 16px !important; background: rgba(255,255,255,.95) !important; }
@media (max-width: 700px) { .cb .cb-dots { bottom: 6px; gap: 4px; padding: 3px 5px; } .cb .cb-dots button { width: 5px !important; height: 5px !important; } .cb .cb-dots button.active { width: 12px !important; } }

/* баннер крупнее: картинка чуть приближена (края слева и справа немного уходят за рамку) */
.cb.whole { aspect-ratio: var(--cb-ratio, 1920 / 580); }
.cb.whole.zoomed .cb-slide img { object-fit: cover; object-position: var(--cb-focus, 50% 50%); }
@media (max-width: 700px) { .cb.whole { aspect-ratio: var(--cb-ratio, 1920 / 580); } }

/* шапка при прокрутке: высота не меняется (без «прыжков»), появляется только лёгкая тень */
.navbar.hd .hd-row1, .navbar.hd.scrolled .hd-row1 { max-height: none !important; opacity: 1 !important; transition: none; }
.navbar.hd { transition: box-shadow .25s ease; }
.navbar.hd.shadowed { box-shadow: 0 6px 24px rgba(var(--ink-rgb), .08); }
.hd-row2 .hd-links { padding-left: 0; }
.hd-row2 .hd-links li:first-child a { padding-left: 0; }

/* ===== ЭКО-ПАЛИТРА «ФЛАКОНЫ»: белый (ECO) · нежно-зелёный (CLEAN) · нежно-голубой (NATURAL) =====
   Без золота и розового. Для читаемости: кнопки — насыщенный зелёный #3F8A5C, текст — тёмно-зелёный этикеток #1D4A3B. */
:root { --pink: #a8c8a9; --pink-2: #3f8a5c; --pink-soft: #dff1f3; --pink-ink: #1d4a3b; --blush: #f2f8f3;
        --eco-green: #d6e7d7; --eco-blue: #c9e5e7; --eco-btn: #3f8a5c; --eco-btn-2: #56a272; --eco-ink: #1d4a3b; }
.hd-cta, .cb-btn, .news-hero .btn-primary, .cta-band .btn-primary, .blk-dark .btn-primary { background: linear-gradient(180deg, var(--eco-btn-2), var(--eco-btn)) !important; color: #fff !important; box-shadow: 0 8px 20px rgba(63,138,92,.25), inset 0 1px 0 rgba(255,255,255,.25) !important; }
.hd-cta:hover, .cb-btn:hover, .cta-band .btn-primary:hover { filter: brightness(1.06); }
.logo.has-mark .brand-small, .footer-brand.has-mark .fb-txt small, .pl-logo.has-mark .pl-txt span { color: #5f9fa6 !important; }
.eyebrow { color: var(--eco-btn) !important; }
.eyebrow::before { background: linear-gradient(90deg, #a8c8a9, #92ccd2) !important; }
.footer { border-top: 3px solid #a8c8a9 !important; }
.footer a:hover { color: #c9e5e7 !important; }
.pl-bar i { background: linear-gradient(90deg, #a8c8a9, #92ccd2) !important; }
.product-image .badge-pop, .cb-tag { background: var(--eco-blue) !important; color: var(--eco-ink) !important; box-shadow: none !important; }
.cat-tile.all { background: linear-gradient(135deg, var(--eco-green), var(--eco-blue)) !important; color: var(--eco-ink) !important; }
.cat-tile.all small { color: rgba(29,74,59,.62) !important; }
.cat-tile.all .ct-ico { background: #fff !important; color: var(--eco-btn) !important; }
.cat-tile.has-photo::before { background: linear-gradient(180deg, rgba(29,74,59,.55) 0%, rgba(29,74,59,.06) 52%, transparent 72%) !important; }
.adv-ico { background: var(--eco-blue) !important; color: var(--eco-btn) !important; box-shadow: none !important; }
.cta-band { background: linear-gradient(120deg, var(--eco-green), var(--eco-blue)) !important; color: var(--eco-ink) !important; }
.cta-band h2, .cta-band p, .cta-band .eyebrow { color: var(--eco-ink) !important; }
.hd-links a.active, .hd-links a:hover { color: var(--eco-btn) !important; }
.hd-call { background: var(--eco-blue) !important; color: var(--eco-btn) !important; }
.section.alt, .blk-alt { background: #f2f8f3 !important; }
.ck-pic { background: linear-gradient(145deg, #f2f8f3, var(--eco-green)) !important; box-shadow: inset 0 0 0 1px rgba(168,200,169,.5) !important; }
.ck-ok { background: linear-gradient(180deg, var(--eco-btn-2), var(--eco-btn)) !important; box-shadow: 0 6px 16px rgba(63,138,92,.25) !important; }
.lm-item:hover .lm-name { color: var(--eco-btn) !important; }
.tl-item::before, .timeline::before { background: linear-gradient(180deg, #a8c8a9, #c9e5e7) !important; }
.product-card:hover { border-color: rgba(168,200,169,.8) !important; }

/* «Нам доверяют» v2: акцент на главном — счётчик, заголовок по центру, крупные цветные логотипы на светлой ленте */
.clients-head.cl-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; margin-bottom: 26px; }
.clients-head.cl-center .section-lead { max-width: 560px; margin: 10px auto 0; }
.cl-count { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #eef6ef; color: #1d4a3b; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.cl-count b { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: linear-gradient(135deg, #3f8a5c, #56a272); color: #fff; font-size: 15px; }
.cl-band { position: relative; border-radius: 26px; background: linear-gradient(180deg, #f6faf7, #eef6f6); padding: 18px 0; box-shadow: inset 0 0 0 1px rgba(63,138,92,.08); }
.cl-band .logo-marquee { margin: 0; }
.cl-band .lm-item { height: 96px; padding: 0 40px; }
.cl-band .lm-item img { max-height: 70px; max-width: 190px; filter: saturate(.9); opacity: .92; }
.cl-band .lm-item:hover img { filter: none; opacity: 1; transform: scale(1.08); }
.cl-band .lm-name { color: #1d4a3b; opacity: .75; font-size: 22px; }
@media (max-width: 640px) {
  .cl-band { border-radius: 18px; padding: 10px 0; }
  .cl-band .lm-item { height: 70px; padding: 0 24px; }
  .cl-band .lm-item img { max-height: 50px; max-width: 130px; }
  .cl-band .lm-name { font-size: 17px; }
}

/* лента: статичная (все помещаются) / движущаяся */
.logo-marquee.static { -webkit-mask-image: none; mask-image: none; }
.logo-marquee.static .lm-track { animation: none; width: max-content; max-width: none; margin: 0 auto; }
.logo-marquee.moving .lm-track { width: max-content; }
@media (max-width: 640px) { .logo-marquee.static .lm-track { gap: 0; } .cl-band .logo-marquee.static .lm-item { padding: 0 16px; } }
.cl-band:has(.logo-marquee.static) { width: fit-content; max-width: 100%; margin: 0 auto; padding: 14px 28px; }
@media (max-width: 640px) { .cl-band:has(.logo-marquee.static) { padding: 8px 10px; } }

/* «Нам доверяют» v3 — карточки брендов */
.cl-band, .cl-band:has(.logo-marquee.static) { width: auto; max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.cl-band .logo-marquee { padding: 14px 0 18px; }
.cl-band .logo-marquee.moving { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.cl-band .lm-track { gap: 16px; padding: 0 8px; }
.cl-band .logo-marquee.moving .lm-track { padding: 0; }
.cl-band .lm-item.lm-card { flex: none; width: 272px; height: auto; padding: 16px 18px; display: flex; align-items: center; justify-content: flex-start; gap: 14px; text-align: left;
  background: #fff; border: 1px solid rgba(63,138,92,.14); border-radius: 20px; box-shadow: 0 1px 2px rgba(29,74,59,.04), 0 10px 28px -14px rgba(29,74,59,.22);
  color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.cl-band .lm-card:hover { transform: translateY(-3px); border-color: rgba(63,138,92,.35); box-shadow: 0 2px 4px rgba(29,74,59,.05), 0 18px 36px -16px rgba(29,74,59,.32); }
.cl-band .lm-logo { flex: none; width: 64px; height: 64px; border-radius: 16px; background: #f4f8f5; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(29,74,59,.06); }
.cl-band .lm-logo img { max-width: 52px; max-height: 52px; width: auto; height: auto; object-fit: contain; filter: none; opacity: 1; transform: none; border-radius: 6px; }
.cl-band .lm-card:hover .lm-logo img { transform: none; }
.cl-band .lm-logo.mono { background: linear-gradient(135deg, #dff1f3, #d6e7d7); color: #1d4a3b; font-family: var(--font-head); font-weight: 800; font-size: 26px; }
.cl-band .lm-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cl-band .lm-nm { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.2; color: var(--ink, #10241c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-band .lm-sc { font-size: 12.5px; line-height: 1.35; color: rgba(var(--ink-rgb), .58); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-band .lm-card:hover .lm-nm { color: #3f8a5c; }
@media (max-width: 640px) {
  .cl-band .lm-track { gap: 10px; }
  .cl-band .lm-item.lm-card { width: 230px; padding: 12px 14px; gap: 12px; border-radius: 16px; }
  .cl-band .lm-logo { width: 52px; height: 52px; border-radius: 13px; }
  .cl-band .lm-logo img { max-width: 42px; max-height: 42px; }
  .cl-band .lm-nm { font-size: 15px; }
  .cl-band .logo-marquee.static .lm-track { flex-direction: column; align-items: stretch; width: 100%; padding: 0; }
  .cl-band .logo-marquee.static .lm-item.lm-card { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cl-band .logo-marquee.moving .lm-track { animation-duration: 120s; } }
.cl-band .lm-logo.wide { width: 104px; background: #fff; }
.cl-band .lm-logo.wide img { max-width: 92px; max-height: 44px; border-radius: 0; }
.cl-band .lm-card:has(.lm-logo.wide) { width: 300px; }
@media (max-width: 640px) { .cl-band .lm-logo.wide { width: 84px; } .cl-band .lm-logo.wide img { max-width: 74px; max-height: 36px; } .cl-band .lm-card:has(.lm-logo.wide) { width: 250px; } }
.logo-marquee.measure .lm-track { animation: none !important; width: max-content !important; flex-direction: row !important; }

/* «Нам доверяют» v4 — карусель брендов в одну строку */
.cl-band .lm-carousel { padding: 0; }
.cl-band .lm-carousel .lm-view { overflow: hidden; padding: 12px 0 22px; display: flex; touch-action: pan-y; }
.cl-band .lm-carousel.static .lm-view { justify-content: center; }
.cl-band .lm-carousel .lm-track, .cl-band .lm-carousel.static .lm-track { animation: none !important; display: flex; flex-direction: row !important; flex-wrap: nowrap; align-items: stretch; gap: 16px; width: max-content !important; margin: 0; padding: 0 4px; will-change: transform; }
.cl-band .lm-carousel.moving { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.cl-band .lm-carousel.moving .lm-view { cursor: grab; user-select: none; }
.cl-band .lm-carousel .lm-card { flex: none; width: 264px; min-height: 108px; box-sizing: border-box; padding: 16px 18px; display: flex; align-items: center; gap: 14px; text-align: left;
  background: #fff; border: 1px solid rgba(63,138,92,.14); border-radius: 20px; color: inherit; text-decoration: none;
  box-shadow: 0 1px 2px rgba(29,74,59,.04), 0 10px 28px -14px rgba(29,74,59,.22); transition: transform .25s, box-shadow .25s, border-color .25s; }
.cl-band .lm-carousel .lm-card:hover { transform: translateY(-3px); border-color: rgba(63,138,92,.35); box-shadow: 0 2px 4px rgba(29,74,59,.05), 0 18px 36px -16px rgba(29,74,59,.32); }
.cl-band .lm-carousel .lm-logo { flex: none; width: 64px; height: 64px; border-radius: 16px; background: #f4f8f5; border: 1px solid rgba(29,74,59,.06); display: grid; place-items: center; overflow: hidden; }
.cl-band .lm-carousel .lm-logo img { display: block; max-width: 52px; max-height: 52px; width: auto; height: auto; object-fit: contain; filter: none; opacity: 1; transform: none; border-radius: 6px; pointer-events: none; }
.cl-band .lm-carousel .lm-logo.mono { background: linear-gradient(135deg, #dff1f3, #d6e7d7); color: #1d4a3b; font-family: var(--font-head); font-weight: 800; font-size: 26px; }
.cl-band .lm-carousel .lm-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cl-band .lm-carousel .lm-nm { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.2; color: var(--ink, #10241c); white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.cl-band .lm-carousel .lm-sc { font-size: 12.5px; line-height: 1.35; color: rgba(var(--ink-rgb), .58); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* фирменный логотип с названием — показываем его целиком, без нашего текста */
.cl-band .lm-carousel .lm-card.mark { flex-direction: column; justify-content: center; text-align: center; gap: 8px; padding: 18px 20px; }
.cl-band .lm-carousel .lm-card.mark .lm-logo { width: 100%; height: 58px; background: none; border: 0; border-radius: 10px; }
.cl-band .lm-carousel .lm-card.mark .lm-logo img { max-width: 210px; max-height: 54px; border-radius: 0; }
.cl-band .lm-carousel .lm-card.mark .lm-nm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cl-band .lm-carousel .lm-card.mark .lm-txt { align-items: center; }
.cl-band .lm-carousel .lm-card.light .lm-logo { background: #1d4a3b; border-color: #1d4a3b; }
.cl-band .lm-carousel .lm-card.mark.light .lm-logo { padding: 6px 12px; box-sizing: border-box; }
@media (max-width: 640px) {
  .cl-band .lm-carousel .lm-track, .cl-band .lm-carousel.static .lm-track { gap: 10px; }
  .cl-band .lm-carousel .lm-card { width: 228px; min-height: 96px; padding: 12px 14px; border-radius: 16px; gap: 12px; }
  .cl-band .lm-carousel .lm-logo { width: 52px; height: 52px; border-radius: 13px; }
  .cl-band .lm-carousel .lm-logo img { max-width: 42px; max-height: 42px; }
  .cl-band .lm-carousel .lm-card.mark .lm-logo { height: 48px; }
  .cl-band .lm-carousel .lm-card.mark .lm-logo img { max-width: 180px; max-height: 44px; }
  .cl-band .lm-carousel .lm-nm { font-size: 15px; }
}

/* ===== Привычная витрина: компактные категории (как в крупных магазинах) и крупные карточки товаров ===== */
.cat-tiles.compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 18px 14px; margin: 0; padding: 0; overflow: visible; }
.cat-tiles.compact .cat-tile.ct2 { height: auto; padding: 0; background: none !important; border-radius: 0; box-shadow: none; overflow: visible; color: var(--ink, #10241c) !important;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 0; text-decoration: none; transform: none; }
.cat-tiles.compact .cat-tile.ct2::before { display: none !important; }
.ct2 .ct2-pic { width: 100%; aspect-ratio: 1; border-radius: 22px; background: var(--tile, #eef6ef); display: grid; place-items: center; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.ct2 .ct2-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct2 .ct2-pic.prod img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.ct2 .ct2-ico { width: 44px; height: 44px; display: grid; place-items: center; color: var(--eco-btn, #3f8a5c); }
.ct2 .ct2-ico svg { width: 30px; height: 30px; }
.ct2 h3 { margin: 10px 0 0; font-family: var(--font-head); font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: 0; color: var(--ink, #10241c);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ct2 small { display: block; margin-top: 3px; font-size: 12px; color: rgba(var(--ink-rgb), .5) !important; }
.ct2:hover .ct2-pic { transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(29,74,59,.3); }
.ct2:hover h3 { color: var(--eco-btn, #3f8a5c); }
.ct2.ct2-all .ct2-pic { background: linear-gradient(135deg, var(--eco-green, #d6e7d7), var(--eco-blue, #c9e5e7)); }
body[data-edit="1"] .cat-tiles.compact .ed-add { aspect-ratio: 1; min-height: 0; border-radius: 22px; }
@media (max-width: 700px) {
  .cat-tiles.compact { display: flex; overflow-x: auto; gap: 10px; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cat-tiles.compact::-webkit-scrollbar { display: none; }
  .cat-tiles.compact .cat-tile.ct2 { flex: 0 0 84px; height: auto; padding: 0; scroll-snap-align: start; border-radius: 0; }
  .ct2 .ct2-pic { border-radius: 18px; }
  .ct2 h3 { font-size: 13px; margin-top: 7px; }
  .ct2 small { font-size: 11px; }
}

/* крупнее карточки товаров: на компьютере 4 в ряд, большие фото и крупное название */
.products-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.product-card { border-radius: 22px; }
.product-image { aspect-ratio: 1; background: #f6faf7; }
.product-info { padding: 18px 20px 20px; }
.product-name { font-size: 19px; font-weight: 700; line-height: 1.28; }
.product-desc { font-size: 14px; line-height: 1.45; }
.product-more { font-size: 14px; }
@media (max-width: 1100px) and (min-width: 701px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 700px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card { border-radius: 18px; }
  .product-info { padding: 12px 12px 14px; }
  .product-name { font-size: 15px; }
  .product-desc { display: none; }
  .product-cat { font-size: 10px; letter-spacing: 1px; margin-bottom: 5px; }
  .product-more { font-size: 13px; padding-top: 10px; }
}
.product-card .product-name { overflow-wrap: normal; word-break: normal; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 700px) { .product-card .product-name { font-size: 14.5px; } }

/* ===== Плитки категорий как у Fix Price: ряд во всю ширину без пустот ===== */
.cat-tiles.fp-row { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; overflow: visible; }
.cat-tiles.fp-row .cat-tile.fp { position: relative; display: block; height: 136px; padding: 14px 16px; border-radius: 16px; overflow: hidden; text-decoration: none;
  background: #f1f5f2 !important; color: var(--ink, #10241c) !important; box-shadow: none; transform: none; transition: background .2s, box-shadow .2s, transform .2s; }
.cat-tiles.fp-row .cat-tile.fp::before { display: none !important; }
.cat-tile.fp:nth-child(4n+2) { background: #edf5f6 !important; }
.cat-tile.fp:hover { background: #e7f1ea !important; box-shadow: 0 10px 22px -12px rgba(29,74,59,.35); transform: translateY(-2px); }
.cat-tile.fp .fp-t { position: relative; z-index: 2; display: block; max-width: 62%; }
.cat-tile.fp h3 { margin: 0; font-family: var(--font-head); font-size: 15px; font-weight: 600; line-height: 1.22; letter-spacing: 0; color: var(--ink, #10241c);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cat-tile.fp small { display: block; margin-top: 4px; font-size: 12px; color: rgba(var(--ink-rgb), .5) !important; }
.cat-tile.fp .fp-img { position: absolute; right: 8px; bottom: 8px; width: 56%; height: 78%; display: flex; align-items: flex-end; justify-content: flex-end; z-index: 1; }
.cat-tile.fp .fp-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; mix-blend-mode: multiply; transition: transform .3s; }
.cat-tile.fp:hover .fp-img img { transform: scale(1.05); }
.cat-tile.fp .fp-img.ico { width: 52px; height: 52px; right: 14px; bottom: 14px; border-radius: 50%; background: #fff; align-items: center; justify-content: center; color: var(--eco-btn, #3f8a5c); }
.cat-tile.fp .fp-img.ico svg { width: 24px; height: 24px; }
.cat-tile.fp.fp-all { background: linear-gradient(135deg, var(--eco-green, #d6e7d7), var(--eco-blue, #c9e5e7)) !important; }
body[data-edit="1"] .cat-tiles.fp-row .ed-add { height: 136px; min-height: 0; border-radius: 16px; }
@media (max-width: 700px) {
  .cat-tiles.fp-row { display: flex; overflow-x: auto; gap: 8px; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cat-tiles.fp-row::-webkit-scrollbar { display: none; }
  .cat-tiles.fp-row .cat-tile.fp { flex: 0 0 142px; height: 112px; padding: 11px 12px; border-radius: 14px; scroll-snap-align: start; }
  .cat-tile.fp h3 { font-size: 13px; }
  .cat-tile.fp small { font-size: 11px; }
  .cat-tile.fp .fp-img.ico { width: 40px; height: 40px; right: 10px; bottom: 10px; }
}
@media (min-width: 701px) {
  .cat-tiles.fp-row { display: flex; flex-wrap: wrap; }
  .cat-tiles.fp-row > * { flex: 1 1 calc((100% - (var(--cols, 6) - 1) * 12px) / var(--cols, 6)); min-width: 0; }
}
.cat-tile.fp .fp-img:not(.ico) { width: 60%; height: 56%; }
@media (max-width: 700px) { .cat-tile.fp .fp-img:not(.ico) { width: 62%; height: 46%; right: 6px; bottom: 6px; } .cat-tile.fp small { display: none; } }
/* баннер без кнопок переключения: слайды листаются сами и свайпом */
.cb .cb-zone, .cb .cb-dots, .cb-wrap .cb-dots { display: none !important; }

/* ===== Единый стиль заголовков блоков: всё по левому краю, одинаковые размеры ===== */
.section-title { font-size: clamp(22px, 2.3vw, 30px) !important; letter-spacing: -.3px; line-height: 1.2; }
.section-lead { font-size: 15px; line-height: 1.5; margin-top: 8px; max-width: 640px; }
.section-header, .adv-head, .clients-head, .clients-head.section-header { display: block; text-align: left; margin-bottom: 22px; max-width: none; }
.section-header.row { display: flex; }
.adv-head .section-lead, .clients-head .section-lead { margin: 8px 0 0; max-width: 640px; }
.eyebrow { font-size: 11px; letter-spacing: 1.6px; margin-bottom: 8px; }

/* «Почему с нами работают» — компактнее */
.adv-grid { gap: 12px; }
.adv-item { padding: 16px 18px 18px; border-radius: 16px; }
.adv-top { margin-bottom: 10px; }
.adv-ico { width: 36px; height: 36px; border-radius: 10px; }
.adv-ico svg { width: 18px; height: 18px; }
.adv-num { font-size: 11px; }
.adv-item h3 { font-size: 15px; line-height: 1.3; margin-bottom: 5px; }
.adv-item p { font-size: 13px; line-height: 1.5; }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .adv-item { padding: 12px 12px 14px; } .adv-item h3 { font-size: 14px; } .adv-item p { font-size: 12px; } .adv-num { display: none; } }
@media (max-width: 360px) { .adv-grid { grid-template-columns: 1fr; } }
/* категории на странице каталога — те же плитки, что на главной */
.section.cat-strip .section-header { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(26px, 3vw, 38px) !important; letter-spacing: -.5px; line-height: 1.15; }
.page-hero p, .page-hero .lead { font-size: 15px; }
.pd-info h1 { font-size: clamp(24px, 2.6vw, 34px) !important; }
.cta-band h2 { font-size: clamp(22px, 2.3vw, 30px) !important; line-height: 1.2; }
