/*
Theme Name: VEKTOR Кыргызстан
Description: Витрина аккумуляторов и инверторов в стиле VEKTOR: WooCommerce без корзины, языки КГ / РУ (TranslatePress), страницы в Elementor. Контакты — «Внешний вид → Настроить → Контакты».
Version: 2.7.1
Text Domain: vektor-kg
*/

/* ===================== Основа ===================== */
:root {
  --bg: #efefef; --panel: #fff; --panel-2: #f6f6f7;
  --ink: #191c30; --text: #2b2f45; --muted: rgba(27,31,59,.45); --muted-2: rgba(27,31,59,.6);
  --brand: #0047ba; --brand-d: #00389a; --brand-l: rgba(0,71,186,.08); --line: rgba(0,71,186,.16); --line-g: rgba(25,28,48,.1);
  --cyan: #00b2e3; --teal: #0e9f8b; --accent: #e3263b;
  --r: 16px; --r-lg: 22px;
  --wrap: 1840px; --gut: clamp(20px, 3vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
h1, h2, h3, h4 { color: var(--brand); line-height: 1.05; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.015em; }
h1 { font-size: clamp(34px, 4.6vw, 64px); }
h2 { font-size: clamp(32px, 5vw, 72px); }
h3 { font-size: 22px; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead { font-size: clamp(22px, 2.6vw, 36px); line-height: 1.12; color: var(--muted); font-weight: 400; letter-spacing: -.01em; }
.lead .hl, .hl { color: var(--cyan); }
.lead .hl2, .hl2 { color: var(--teal); }
.muted { color: var(--muted-2); }
.stub { background: repeating-linear-gradient(45deg, #fff6d6, #fff6d6 10px, #fff0bf 10px, #fff0bf 20px); color: #7a5b00; border-radius: 6px; padding: 0 6px; font-weight: 600; }

/* ===================== Кнопки-таблетки ===================== */
.pill, .btn, .woocommerce a.button, .woocommerce button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
  background: var(--brand); color: #fff; text-decoration: none;
}
.pill:hover, .btn:hover, .woocommerce a.button:hover { background: var(--brand-d); color: #fff; }
.pill-o, .btn-light, .woocommerce a.button.btn-light { background: transparent; color: var(--brand); border-color: rgba(0,71,186,.45); }
.pill-o:hover, .btn-light:hover, .woocommerce a.button.btn-light:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.pill-w { background: #fff; color: var(--brand); }
.pill-w:hover { background: var(--brand); color: #fff; }
.pill .plus { font-size: 18px; font-weight: 400; margin-left: 2px; }
.btn-wa { background: #1fae5b; }
.btn-wa:hover { background: #17924b; }
.btn-sm { height: 38px; padding: 0 16px; }
.arr-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(0,71,186,.5); background: transparent; color: var(--brand); font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.arr-btn:hover { background: var(--brand); color: #fff; }

/* ===================== Шапка ===================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(239,239,239,.94); backdrop-filter: saturate(1.3) blur(10px); }
.head-in { display: flex; align-items: center; gap: 18px; min-height: 100px; border-bottom: 1px solid var(--line-g); }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; color: var(--brand); flex: none; line-height: 1; }
.logo:hover { color: var(--brand); }
.logo-box { border: 3px solid var(--brand); border-radius: 6px; padding: 6px 10px 5px; font-weight: 700; font-size: 26px; letter-spacing: .02em; }
.logo-sub { align-self: flex-end; margin-top: -2px; background: var(--bg); padding: 0 4px; font-size: 9px; font-weight: 700; letter-spacing: .14em; color: var(--cyan); }
.logo-sub i { font-style: normal; color: var(--brand); font-size: 14px; margin-right: 2px; }
.custom-logo { max-height: 60px; width: auto; }
.head-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 46px; height: 46px; border: 0; background: transparent; color: var(--brand); border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.icon-btn svg { width: 26px; height: 26px; }
.icon-btn:hover { background: var(--brand-l); }
.burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(0,71,186,.5); background: transparent; color: var(--brand); cursor: pointer; display: grid; place-items: center; }
.burger svg { width: 22px; height: 22px; }
.burger:hover, body.menu-open .burger { background: var(--brand); color: #fff; }
.lang-pill { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); flex: none; }
.lang-pill a { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--brand); line-height: 1.2; }
.lang-pill a.on { background: var(--brand); color: #fff; }
.head-search { display: flex; gap: 10px; padding: 16px 0; }
.head-search[hidden] { display: none; }
.head-search input[type=search] { flex: 1; height: 50px; border-radius: 999px; border: 1px solid var(--line); padding: 0 22px; font: inherit; background: #fff; color: var(--ink); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line-g); box-shadow: 0 30px 60px rgba(25,28,48,.12); max-height: calc(100vh - 100px); overflow: auto; }
.menu-panel[hidden] { display: none; }
.menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-top: 36px; padding-bottom: 44px; }
.menu-panel h4 { font-size: 22px; margin-bottom: 18px; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-cats { columns: 1; }
.menu-cats > li { break-inside: avoid; margin-bottom: 18px; }
.menu-cats > li > a { font-size: 18px; color: var(--ink); font-weight: 500; }
.menu-cats ul li a, .menu-pages a { color: var(--muted-2); font-size: 15px; line-height: 2; }
.menu-cats a:hover, .menu-pages a:hover { color: var(--brand); }
.menu-contacts { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.menu-contacts .big { font-size: 24px; color: var(--brand); }
.menu-contacts p { color: var(--muted-2); margin: 8px 0 14px; }

/* Меню в шапке (на широких экранах); на узких — только за круглой кнопкой */
.head-nav { margin-left: clamp(20px, 4vw, 80px); }
.head-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(6px, 1.4vw, 28px); }
.head-nav a { color: var(--ink); font-size: 16px; padding: 10px 4px; white-space: nowrap; border-bottom: 2px solid transparent; }
.head-nav a:hover, .head-nav .current-menu-item > a, .head-nav .current-menu-ancestor > a, .head-nav .current_page_item > a { color: var(--brand); border-color: var(--brand); }
@media (max-width: 1280px) { .head-nav { display: none; } }
/* ===================== Страницы ===================== */
.site-main { min-height: 60vh; }
.page-head { padding-top: 34px; padding-bottom: 20px; }
.page-head p { color: var(--muted-2); font-size: 18px; max-width: 820px; }
.crumbs, .woocommerce-breadcrumb { font-size: 14px; color: var(--muted-2); margin-bottom: 14px; }
.crumbs a, .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-breadcrumb a::after { content: ""; }
.entry { padding-bottom: 80px; }
.entry > *:not(.alignfull) { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gut); padding-right: var(--gut); }
.card { background: var(--panel); border-radius: var(--r); padding: 28px; }

/* Цифры-факты */
.vk-stats { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 10px 0; }
.vk-stat { display: flex; align-items: center; gap: 18px; color: var(--brand); }
.vk-stat b { font-size: clamp(64px, 9vw, 130px); font-weight: 500; line-height: .85; letter-spacing: -.04em; }
.vk-stat span { font-size: clamp(20px, 2.4vw, 34px); line-height: 1.05; font-weight: 500; }
.vk-asterisk { width: clamp(60px, 7vw, 100px); height: clamp(60px, 7vw, 100px); color: var(--brand); opacity: .25; flex: none; }

/* Слайдер с карточками */
.vk-slider { position: relative; }
.vk-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.vk-track::-webkit-scrollbar { display: none; }
.vk-track > * { scroll-snap-align: start; }
.vk-arrows { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }

/* Разделы каталога: белые карточки с номером */
.vk-cat { position: relative; display: flex; flex-direction: column; background: var(--panel); border-radius: var(--r); padding: 20px; min-height: 460px; color: var(--muted); transition: transform .2s; }
.vk-cat:hover { transform: translateY(-3px); color: var(--muted); }
.vk-cat .t { font-size: 18px; line-height: 1.15; max-width: 78%; }
.vk-cat .n { position: absolute; right: 20px; top: 20px; font-size: 13px; font-weight: 600; color: var(--brand); }
.vk-cat .im { flex: 1; display: grid; place-items: center; padding: 24px 0; }
.vk-cat .im img { max-height: 240px; width: auto; }
.vk-cat .pill { align-self: flex-start; height: 42px; }
.vk-cat:hover .pill { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Фото-карточки с бирюзовой подписью (отрасли, «о нас») */
.vk-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vk-photos.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vk-photo { position: relative; display: block; border-radius: var(--r); overflow: hidden; min-height: 380px; background: #0d3b4f center/cover no-repeat; color: #fff; }
.vk-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(14,140,122,.96) 8%, rgba(14,140,122,.55) 45%, transparent); }
.vk-photo .n { position: absolute; right: 18px; top: 16px; font-size: 13px; z-index: 1; color: rgba(255,255,255,.85); }
.vk-photo .t { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.05; font-weight: 400; }
.vk-photos.three .vk-photo { min-height: 340px; }
.vk-photos.three .vk-photo .t { font-size: 15px; font-weight: 600; line-height: 1.3; }
a.vk-photo:hover { color: #fff; }
a.vk-photo:hover::after { background: linear-gradient(to top, rgba(0,71,186,.95) 8%, rgba(0,71,186,.5) 45%, transparent); }

/* Главный экран (фото товара из каталога) */
.vk-hero-img { margin: 0; }
.vk-hero-img img { margin: 0 auto; max-height: 460px; width: auto; filter: drop-shadow(0 30px 40px rgba(25,28,48,.25)); }
.vk-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0 !important; padding: 0 !important; list-style: none; }
.vk-badges li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--brand); }

/* Форма заявки */
.vk-form { display: grid; gap: 12px; }
.vk-form input, .vk-form textarea, .input { width: 100%; font: inherit; padding: 15px 20px; border-radius: 14px; border: 1px solid var(--line-g); background: #fff; color: var(--ink); }
.vk-form input:focus, .vk-form textarea:focus { outline: none; border-color: var(--brand); }
.vk-form .btn { justify-self: start; height: 50px; padding: 0 28px; }
.vk-form .hp { position: absolute; left: -9999px; }
.vk-form small { color: var(--muted-2); font-size: 12px; }
.vk-on-blue .vk-form input, .vk-on-blue .vk-form textarea { border-color: transparent; }
.vk-on-blue .vk-form .btn { background: #fff; color: var(--brand); }
.vk-on-blue .vk-form .btn:hover { background: var(--cyan); color: #fff; }
.vk-on-blue .vk-form small { color: rgba(255,255,255,.75); }
.vk-ok { background: #e7f8ef; color: #136b3c; border-radius: 14px; padding: 16px 18px; font-weight: 600; }
/* Диагональная синяя «плашка» в углу, как на сайте VEKTOR */
.vk-deco { background-image: linear-gradient(118deg, transparent 0 60%, rgba(0,71,186,.0) 60%, rgba(0,71,186,.45) 74%, rgba(0,178,227,.22) 100%) !important; background-repeat: no-repeat !important; }

/* Контакты */
.vk-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.vk-contact { background: var(--panel); border-radius: var(--r); padding: 22px 24px; }
.vk-contact span { display: block; color: var(--muted-2); font-size: 14px; margin-bottom: 8px; }
.vk-contact b { color: var(--brand); font-size: 24px; font-weight: 400; word-break: break-word; }
.vk-map { margin-top: 16px; border-radius: var(--r); overflow: hidden; background: #e2e5ea; min-height: 380px; display: grid; place-items: center; color: var(--muted-2); }
.vk-map iframe { width: 100%; height: 440px; border: 0; display: block; }

/* Вопрос-ответ (Elementor «Переключатель») */
.elementor-toggle .elementor-tab-title { border-radius: var(--r) var(--r) 0 0; }
.elementor-toggle .elementor-toggle-item { border-radius: var(--r); overflow: hidden; }

/* ===================== Каталог ===================== */
.shop-head { padding-top: 34px; padding-bottom: 6px; }
.shop-head .term-description, .shop-head .lead-sm { color: var(--muted-2); font-size: 17px; max-width: 900px; }
.sub-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 22px; }
.sub-cats a { height: 42px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; }
.sub-cats a:hover, .sub-cats a.on { background: var(--brand); color: #fff; }
.vk-filters { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; align-items: center; }
.vk-filters .ttl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--ink); padding: 2px 6px 6px; border-bottom: 1px solid var(--line-g); }
.vk-filters .ttl a { font-size: 13px; color: var(--muted-2); }
.vk-filters select { width: 100%; height: 46px; border-radius: 10px; border: 0; background: var(--panel-2); color: var(--ink); font: inherit; font-size: 15px; padding: 0 14px; cursor: pointer; }
.vk-filters select.on { background: var(--brand-l); color: var(--brand); font-weight: 600; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.woocommerce-result-count { margin: 0; color: var(--muted-2); font-size: 14px; }
.woocommerce-ordering select { font: inherit; font-size: 14px; height: 42px; padding: 0 14px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); }
.view-tg { display: inline-flex; gap: 6px; }
.view-tg a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: transparent; color: var(--muted-2); border: 1px solid var(--line-g); }
.view-tg a.on { background: #fff; color: var(--brand); border-color: #fff; }
.view-tg svg { width: 18px; height: 18px; }

/* Таблица моделей */
.vk-table-wrap { overflow-x: auto; border-radius: var(--r); background: #fff; }
.vk-table { width: 100%; border-collapse: collapse; min-width: 900px; font-size: 16px; }
.vk-table th { background: #e4e6ea; color: var(--ink); font-weight: 500; font-size: 13px; padding: 18px 14px; text-align: left; white-space: nowrap; border-right: 1px solid #fff; }
.vk-table td { padding: 16px 14px; border-top: 1px solid var(--line-g); border-right: 1px solid var(--line-g); color: var(--ink); white-space: nowrap; }
.vk-table td:last-child, .vk-table th:last-child { border-right: 0; }
.vk-table tr:hover td { background: #f7f9fd; }
.vk-table .m a { color: var(--brand); font-weight: 500; }
.vk-table .ask { width: 64px; text-align: center; }
.vk-table .ask a { width: 52px; height: 36px; border-radius: 999px; background: var(--brand); color: #fff; display: inline-grid; place-items: center; font-size: 15px; }
.vk-table .ask a:hover { background: #1fae5b; }
.vk-table .ph { width: 64px; }
.vk-table .ph img { width: 44px; height: 44px; object-fit: contain; }
.woocommerce-info { background: #fff; border-radius: var(--r); padding: 22px; list-style: none; }

/* Плитка товаров */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { background: var(--panel); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; width: auto !important; margin: 0 !important; float: none !important; }
ul.products li.product a.woocommerce-LoopProduct-link { color: var(--ink); display: flex; flex-direction: column; flex: 1; }
ul.products li.product img { aspect-ratio: 1; object-fit: contain; border-radius: 12px; padding: 10px; margin-bottom: 12px; width: 100%; }
ul.products li.product .woocommerce-loop-product__title { font-size: 17px; font-weight: 500; margin: 0 0 6px; color: var(--brand); line-height: 1.25; }
.loop-specs { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 10px; }
.loop-specs span { font-size: 12px; background: var(--panel-2); color: var(--muted-2); padding: 4px 9px; border-radius: 999px; }
ul.products li.product .price { color: var(--ink); font-weight: 500; margin-top: auto; display: block; font-size: 15px; }
.price-ask { color: var(--muted-2); font-weight: 400; }
ul.products li.product .button { margin-top: 12px; width: 100%; height: 42px; }
@media (min-width: 1000px) { ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 28px 0 0; align-items: center; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; color: var(--muted-2); padding: 0 8px; font-size: 18px; }
.woocommerce-pagination span.current { background: var(--brand); color: #fff; }
.woocommerce-products-header__title, .shop-main > h1.page-title { display: none; }

/* ===================== Карточка товара ===================== */
.vk-product { padding-top: 30px; padding-bottom: 70px; }
.vk-product h1 { margin-bottom: 26px; }
.vk-p-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.vk-p-img { background: #fff; border-radius: var(--r-lg); padding: 30px; }
.vk-p-img .woocommerce-product-gallery { margin: 0 !important; width: auto !important; float: none !important; }
.vk-p-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.woocommerce-product-gallery__trigger { display: none; }
.flex-control-thumbs { display: flex; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.flex-control-thumbs img { width: 64px; padding: 4px; border-radius: 8px; background: var(--panel-2); cursor: pointer; }
.vk-specs { margin: 0 0 30px; }
.vk-specs div { display: grid; grid-template-columns: 1fr 1.3fr; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-g); }
.vk-specs dt { color: var(--ink); font-size: 16px; }
.vk-specs dd { margin: 0; color: var(--brand); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; }
.vk-p-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.vk-p-btns .pill { height: 50px; padding: 0 26px; }
.vk-p-price { font-size: 22px; color: var(--ink); margin: -10px 0 24px; }
.vk-p-sku { margin-top: 18px; color: var(--muted-2); font-size: 14px; }
.vk-p-sec { margin-top: 56px; }
.vk-p-sec h2 { font-size: 32px; color: var(--ink); }
.vk-p-sec .desc { color: var(--muted-2); max-width: 1000px; }
.vk-p-sec .desc h3 { color: var(--ink); font-size: 20px; margin-top: 24px; }
.vk-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 46px; }
.vk-tabs a { background: #fff; border-radius: 10px; padding: 12px 16px; color: var(--ink); font-size: 14px; }
.vk-tabs a:hover { background: var(--brand); color: #fff; }
table.shop_attributes { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; }
table.shop_attributes th, table.shop_attributes td { padding: 14px 20px; border-bottom: 1px solid var(--line-g); text-align: left; vertical-align: top; font-size: 15px; }
table.shop_attributes th { width: 42%; color: var(--muted-2); font-weight: 400; }
table.shop_attributes td { color: var(--ink); }
table.shop_attributes td p { margin: 0; }
.vk-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.vk-doc { background: var(--panel-2); border: 1px solid #fff; border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 26px; }
.vk-doc b { font-weight: 400; color: var(--ink); font-size: 18px; display: flex; justify-content: space-between; gap: 12px; }
.vk-doc .pill { align-self: flex-start; }
.vk-cta { position: relative; margin-top: 70px; border-radius: var(--r-lg); overflow: hidden; min-height: 440px; background: #b9c7d6 center/cover no-repeat; display: flex; align-items: flex-end; }
.vk-cta .box { background: #fff; border-radius: var(--r-lg); padding: 32px; margin: 0; width: 100%; }
.vk-cta h2 { color: var(--muted); font-size: clamp(30px, 3.6vw, 52px); margin-bottom: 20px; }
.vk-cta h2 span { color: var(--brand); }
.related { margin-top: 70px; }
.related > h2 { font-size: 32px; color: var(--ink); }

/* ===================== Подвал ===================== */
.site-footer { padding: 80px 0 0; }
.foot-brand { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; margin-bottom: 60px; }
.foot-mark { display: inline-flex; flex-direction: column; color: var(--brand); line-height: .8; }
.foot-mark:hover { color: var(--brand); }
.fm-1 { font-size: clamp(70px, 11vw, 170px); font-weight: 700; letter-spacing: -.02em; }
.fm-2 { align-self: flex-end; font-size: clamp(22px, 3vw, 46px); font-weight: 700; letter-spacing: .12em; color: var(--cyan); margin-top: 6px; }
.fm-2 i { font-style: normal; color: var(--brand); margin-right: 6px; }
.foot-tag { color: var(--brand); font-size: clamp(20px, 2vw, 30px); line-height: 1.15; font-weight: 500; margin-top: 12px; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--brand); }
.site-footer h4 { color: var(--cyan); font-size: 22px; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; color: var(--muted-2); font-size: 14px; }
.site-footer li a { color: var(--muted-2); }
.site-footer li a:hover { color: var(--brand); }
.foot-social { display: flex; flex-direction: column; gap: 8px; }
.foot-social a { color: var(--ink); font-size: 20px; }
.foot-social a::before { content: "›  "; color: var(--muted); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; color: var(--muted-2); font-size: 13px; }
.float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1fae5b; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(31,174,91,.4); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }

/* ===================== Elementor: общие правки ===================== */
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-shortcode ul.products { margin: 0; }
.elementor-widget-text-editor ul.vk-badges { margin-top: 22px !important; }

/* ===================== Адаптив ===================== */
@media (max-width: 1100px) {
  .vk-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .vk-p-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; }
  .head-in { min-height: 72px; gap: 8px; }
  .head-r { gap: 6px; }
  .hide-m { display: none !important; }
  .pill-b .ph { display: none; }
  .pill-b .ph-ic { margin: 0; }
  .head-in .pill-b { width: 46px; padding: 0; }
  .hide-s { display: none; }
  .logo-box { font-size: 20px; padding: 4px 8px; }
  .lang-pill a { padding: 6px 9px; }
  /* dvh — видимая высота экрана: со 100vh низ меню (соцсети) уходил под панель браузера и не докручивался */
  .menu-panel { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overscroll-behavior: contain; }
  .menu-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 24px; }
  .vk-track { grid-auto-columns: 85%; }
  .vk-photos, .vk-photos.three { grid-template-columns: 1fr; }
  .vk-photo { min-height: 260px; }
  .vk-cat { min-height: 380px; }
  .foot-brand { grid-template-columns: 1fr; gap: 10px; }
  .foot-grid { grid-template-columns: 1fr; }
  /* место под плавающие кнопки калькулятора и WhatsApp, иначе они закрывают низ подвала */
  .foot-bottom { padding-bottom: 150px; }
  .vk-stats { justify-content: flex-start; }
  .vk-asterisk { display: none; }
  .vk-specs div { grid-template-columns: 1fr; gap: 4px; }
  .vk-cta { min-height: 320px; }
  ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  ul.products li.product { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

@media (min-width: 1600px) { .vk-track { grid-auto-columns: calc((100% - 48px) / 4); } }

/* ===================== Главный слайдер ===================== */
.vk-hero-slider { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(110deg, #f8f8f9 0%, #e9ecf0 45%, #d3d9e1 100%); min-height: 600px; }
.vk-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 30px; padding: 64px 64px 110px; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.vk-slide.on { position: relative; opacity: 1; visibility: visible; }
.vk-slide::before { content: "ENERGY STORAGE SYSTEMS"; position: absolute; left: -2%; top: 50%; transform: translateY(-50%) rotate(-90deg) translateX(30%); transform-origin: left center; font-size: 150px; font-weight: 700; letter-spacing: .02em; color: rgba(25,28,48,.035); white-space: nowrap; pointer-events: none; }
.vk-slide::after { content: "ENERGY STORAGE SYSTEMS  ENERGY STORAGE"; position: absolute; left: 0; right: 0; top: 18px; font-size: 110px; font-weight: 700; color: rgba(25,28,48,.035); white-space: nowrap; pointer-events: none; overflow: hidden; }
.vk-slide-txt { position: relative; z-index: 1; }
.vk-eyebrow { color: var(--brand); font-size: 16px; margin-bottom: 18px; }
.vk-slide-h { font-size: clamp(34px, 4.4vw, 66px); margin-bottom: 18px; max-width: 820px; }
.vk-slide-p { color: var(--brand); font-size: clamp(18px, 1.7vw, 24px); font-weight: 300; line-height: 1.3; max-width: 660px; margin: 0; }
.vk-slide-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.vk-slide-img { position: relative; z-index: 1; display: grid; place-items: center; }
.vk-slide-img img { max-height: 440px; width: auto; filter: drop-shadow(0 34px 40px rgba(25,28,48,.28)); }
.vk-slide-card { position: absolute; z-index: 2; right: 64px; bottom: 34px; width: 340px; height: 150px; border-radius: 14px; overflow: hidden; background: #0d2a4a center/cover no-repeat; display: flex; align-items: flex-end; }
.vk-slide-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,20,45,.0) 0%, rgba(5,20,45,.75) 55%, rgba(5,20,45,.92) 100%); }
.vk-slide-card span { position: relative; z-index: 1; margin-left: auto; width: 55%; padding: 16px 16px 18px 0; color: #fff; font-size: 15px; line-height: 1.25; }
.vk-slider-nav { position: absolute; z-index: 3; left: 64px; bottom: 40px; display: flex; align-items: center; gap: 10px; }
.vk-count { color: var(--muted-2); font-size: 14px; margin-right: 8px; }
.vk-count b { color: var(--brand); font-weight: 500; }
.vk-slider-nav .arr-btn { width: 44px; height: 44px; font-size: 18px; }
.vk-progress { position: absolute; left: 64px; right: 64px; bottom: 22px; height: 2px; background: rgba(0,71,186,.12); border-radius: 2px; overflow: hidden; }
.vk-progress i { display: block; height: 100%; width: 0; background: var(--brand); }
.vk-hero-slider.run .vk-progress i { animation: vkprog 7s linear forwards; }
@keyframes vkprog { to { width: 100%; } }

/* ===================== Бегущая строка ===================== */
.vk-marquee { overflow: hidden; padding: 24px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-track { display: flex; align-items: center; gap: 48px; width: max-content; animation: vkmq 45s linear infinite; }
.vk-marquee:hover .mq-track { animation-play-state: paused; }
.mq-item { font-size: clamp(38px, 5.6vw, 92px); font-weight: 500; color: var(--brand); white-space: nowrap; letter-spacing: -.03em; line-height: 1; }
.mq-star { width: clamp(44px, 5vw, 80px); height: clamp(44px, 5vw, 80px); color: var(--brand); opacity: .22; flex: none; }
@keyframes vkmq { to { transform: translateX(-50%); } }

/* ===================== Каталог: левая колонка ===================== */
.shop-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 80px; }
.shop-side { position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow: auto; scrollbar-width: thin; }
.side-box { background: #fff; border-radius: var(--r); padding: 22px; margin-bottom: 12px; }
.side-box h4 { font-size: 20px; margin-bottom: 14px; }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box ul ul { padding-left: 14px; margin: 2px 0 6px; border-left: 1px solid var(--line); margin-left: 12px; }
.side-box li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; line-height: 1.3; }
.side-box li a em { font-style: normal; color: var(--muted); font-size: 13px; }
.side-box li a:hover { color: var(--brand); background: var(--brand-l); }
.side-box li.on > a { background: var(--brand); color: #fff; }
.side-box li.on > a em { color: rgba(255,255,255,.75); }
.side-box li.open:not(.on) > a { color: var(--brand); }
.side-cats-top { margin-bottom: 4px !important; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--panel-2); color: var(--ink); font-size: 14px; }
.chip:hover { background: var(--brand-l); color: var(--brand); }
.chip.on { background: var(--brand); color: #fff; }
.more-chips summary { cursor: pointer; color: var(--brand); font-size: 14px; margin-top: 10px; list-style: none; }
.more-chips summary::-webkit-details-marker { display: none; }
.more-chips[open] summary { display: none; }
.more-chips .chips { margin-top: 6px; }
.side-reset { display: block; text-align: center; background: #fff; border-radius: var(--r); padding: 14px; margin-bottom: 12px; color: var(--accent); font-size: 14px; }
.side-toggle { display: none; width: 100%; margin-bottom: 12px; }

/* ===================== Шапка: выпадающий «Каталог» ===================== */
.head-nav li { position: relative; }
.head-nav .sub-menu { display: none; position: absolute; left: -16px; top: 100%; min-width: 300px; background: #fff; border-radius: var(--r); padding: 10px; box-shadow: 0 24px 50px rgba(25,28,48,.14); flex-direction: column; gap: 0; z-index: 60; }
.head-nav li:hover > .sub-menu, .head-nav li:focus-within > .sub-menu { display: flex; }
.head-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; border: 0; font-size: 15px; }
.head-nav .sub-menu a:hover { background: var(--brand-l); }

@media (max-width: 1100px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .shop-side { position: static; max-height: none; overflow: visible; }
  .side-toggle { display: inline-flex; }
  .shop-side .side-in { display: none; }
  .shop-side.open .side-in { display: block; }
  .vk-slide { grid-template-columns: 1fr; padding: 40px 32px 100px; }
  .vk-slide-card { display: none; }
  .vk-slide-img img { max-height: 300px; }
  .vk-slider-nav { left: 32px; }
  .vk-progress { left: 32px; right: 32px; }
}
@media (max-width: 760px) {
  .vk-hero-slider { min-height: 0; }
  .vk-slide { padding: 28px 20px 96px; gap: 10px; }
  .vk-slide::before, .vk-slide::after { display: none; }
  .vk-slide-img { order: -1; }
  .vk-slide-img img { max-height: 210px; }
  .vk-slider-nav { left: 20px; bottom: 34px; }
  .vk-progress { left: 20px; right: 20px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } .vk-hero-slider.run .vk-progress i { animation: none; } }

/* Временный логотип «LOGO» до макета дизайнера */
.logo-ph { min-width: 120px; text-align: center; letter-spacing: .12em; }
/* Синяя форма: подложка-диагональ поверх синего градиента (не вместо него) */
.vk-on-blue.vk-deco { background-image: linear-gradient(118deg, transparent 0 58%, rgba(255,255,255,.0) 58%, rgba(255,255,255,.14) 72%, rgba(0,178,227,.35) 100%), linear-gradient(120deg, #0047ba 0%, #0a6be0 100%) !important; }

/* Своя выпадашка вместо системного списка (сортировка) */
.vk-dd { position: relative; }
.vk-dd-btn { height: 42px; padding: 0 44px 0 18px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; position: relative; white-space: nowrap; }
.vk-dd-btn::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--brand); border-bottom: 1.6px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.vk-dd.open .vk-dd-btn::after { transform: translateY(-30%) rotate(-135deg); }
.vk-dd-btn:hover { color: var(--brand); }
.vk-dd-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 100%; background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 20px 44px rgba(25,28,48,.14); z-index: 40; display: none; list-style: none; margin: 0; }
.vk-dd.open .vk-dd-list { display: block; }
.vk-dd-list li { padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--ink); cursor: pointer; white-space: nowrap; display: flex; justify-content: space-between; gap: 16px; }
.vk-dd-list li:hover { background: var(--brand-l); color: var(--brand); }
.vk-dd-list li.on { color: var(--brand); font-weight: 500; }
.vk-dd-list li.on::after { content: "✓"; }
.woocommerce-ordering.vk-dd-ready select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }

/* ===================== Калькуляторы ===================== */
.vk-calc-wrap .ve-calc { padding-top: 0; }
.vk-calc-wrap .ve-c-wrap { background: #fff; border-radius: var(--r-lg); }
.vk-calc-launch { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 30px; align-items: center; border-radius: var(--r-lg); padding: 56px; color: #fff;
  background: linear-gradient(90deg, rgba(4,22,52,.92) 0%, rgba(4,22,52,.7) 55%, rgba(4,22,52,.25) 100%), url(assets/img/ind-solar.jpg) center/cover no-repeat; }
.vk-calc-launch .vk-eyebrow { color: #ffd37a; }
.vk-calc-launch h2 { color: #fff; font-size: clamp(30px, 3.6vw, 56px); }
.vk-calc-launch p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 640px; }
.vk-calc-launch .pill { height: 54px; padding: 0 30px; font-size: 16px; background: #ff9f1c; margin-top: 10px; }
.vk-calc-launch .pill:hover { background: #ea580c; }
.vk-calc-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vk-calc-facts li { background: rgba(255,255,255,.1); backdrop-filter: blur(6px); border-radius: 14px; padding: 16px 20px; font-size: 16px; }
.vk-calc-facts b { font-size: 34px; font-weight: 500; margin-right: 8px; }
@media (max-width: 900px) { .vk-calc-launch { grid-template-columns: 1fr; padding: 30px 22px; } }

/* Шапка: на 1281–1680px пункт «Калькуляторы» уже есть в меню — дублирующую кнопку прячем, чтобы всё влезало */
.ph-ic { width: 18px; height: 18px; margin-right: 8px; flex: none; }
@media (min-width: 1281px) and (max-width: 1680px) { .head-akb { display: none !important; } .head-in { gap: 12px; } .head-nav { margin-left: clamp(16px, 2.2vw, 48px); } }

/* Шапка на узких телефонах (360–420px): всё в одну строку без горизонтальной прокрутки */
@media (max-width: 420px) {
  .head-in { gap: 6px; }
  .head-r { gap: 4px; }
  .logo-box { font-size: 18px; padding: 3px 7px; border-width: 2px; }
  .head-in .icon-btn { width: 38px; height: 38px; }
  .head-in .icon-btn svg { width: 22px; height: 22px; }
  .head-in .pill-b, .burger { width: 40px; height: 40px; }
  .lang-pill a { padding: 5px 7px; font-size: 12px; }
}
@media (max-width: 420px) { .woocommerce-pagination a, .woocommerce-pagination span { min-width: 34px; height: 34px; font-size: 16px; padding: 0 4px; } }

/* Карточки калькуляторов на главной */
.vk-calc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vk-cc { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 380px; padding: 40px; border-radius: var(--r); color: #fff; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.vk-cc-akb { background: radial-gradient(120% 90% at 100% 0%, rgba(0,178,227,.55) 0%, rgba(0,178,227,0) 60%), linear-gradient(135deg, #0047ba 0%, #0a6be0 100%); }
.vk-cc-solar { background: radial-gradient(110% 90% at 100% 0%, rgba(255,159,28,.5) 0%, rgba(255,159,28,0) 55%), linear-gradient(135deg, #0b1e46 0%, #13306b 100%); }
.vk-cc:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,40,110,.25); }
.vk-cc .n { position: absolute; top: 22px; right: 26px; font-size: 14px; opacity: .7; }
.vk-cc .ic { width: 64px; height: 64px; color: #fff; }
.vk-cc-solar .ic { color: #ffc46b; }
.vk-cc .ic svg { width: 100%; height: 100%; }
.vk-cc .t { font-size: clamp(28px, 2.6vw, 42px); font-weight: 500; line-height: 1.1; margin-top: 18px; }
.vk-cc .d { font-size: 17px; line-height: 1.45; color: rgba(255,255,255,.85); max-width: 560px; }
.vk-cc .f { display: flex; flex-wrap: wrap; gap: 8px; }
.vk-cc .f span { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 14px; }
.vk-cc .pill { margin-top: auto; background: #fff; color: var(--brand); }
.vk-cc-solar .pill { background: #ff9f1c; color: #fff; }
@media (max-width: 760px) { .vk-calc-cards { grid-template-columns: minmax(0, 1fr); } .vk-cc { min-height: 0; padding: 28px 22px; } .vk-cc .ic { width: 52px; height: 52px; } }
@media (prefers-reduced-motion: reduce) { .vk-cc { transition: none; } .vk-cc:hover { transform: none; } }

/* Отрасли: таблетки + инфографика */
.vk-ind-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.vk-ind-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.vk-ind-tab { height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(0,71,186,.35); background: transparent; color: var(--brand); font: inherit; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.vk-ind-tab:hover { background: var(--brand-l); }
.vk-ind-tab.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.vk-ind-tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.vk-ind-bar > .pill { flex: none; }
.vk-ind-panel[hidden] { display: none; }
.vk-ind-panel > div { margin: 0 auto !important; }
@media (max-width: 1100px) {
  .vk-ind-bar { flex-direction: column; align-items: stretch; }
  .vk-ind-bar > .pill { display: none; }
  .vk-ind-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
  .vk-ind-tabs::-webkit-scrollbar { display: none; }
}

/* Отрасли v2: плитки 3×2, в плитке только схема инфографики, подпись — наша */
.vk-ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vk-ind-tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: #05080f; color: #fff; min-height: 340px; transition: transform .25s, box-shadow .25s; }
.vk-ind-tile:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,30,80,.35); }
.vk-ind-art { position: absolute; inset: 0; pointer-events: none; }
.vk-ind-art > div { margin: 0 !important; height: 100%; min-height: 0 !important; aspect-ratio: auto !important; border-radius: 0 !important; box-shadow: none !important; padding: 10px 10px 70px !important; }
.vk-ind-art [class$="__text"] { display: none !important; }
.vk-ind-art [class$="__scene"], .vk-ind-art [class$="__visual"], .vk-ind-art [class$="__right"] { flex: 1 1 100% !important; max-width: 100% !important; width: 100% !important; }
.vk-ind-tile .n { position: absolute; top: 18px; right: 22px; font-size: 14px; opacity: .6; }
.vk-ind-tile .t { position: absolute; left: 24px; right: 24px; bottom: 22px; font-size: 22px; font-weight: 500; line-height: 1.2; }
.vk-ind-tile .t b { color: var(--cyan); font-weight: 400; }
@media (max-width: 1100px) { .vk-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vk-ind-grid { grid-template-columns: minmax(0, 1fr); } .vk-ind-tile { min-height: 280px; } }

/* Отрасли: 5 одинаковых плиток (3 + 2 по центру); схема занимает верх, подпись — своя полоса внизу, без наложения */
@media (min-width: 1101px) { .vk-ind-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .vk-ind-tile { grid-column: span 2; } .vk-ind-tile:nth-child(4) { grid-column: 2 / span 2; } }
@media (min-width: 641px) and (max-width: 1100px) { .vk-ind-tile:last-child { grid-column: 1 / -1; } }
.vk-ind-tile { min-height: 360px; }
.vk-ind-art { inset: 0 0 66px 0; overflow: hidden; }
.vk-ind-art > div { padding: 34px 10px 6px !important; }
.vk-ind-tile .t { bottom: 0; left: 0; right: 0; padding: 18px 24px 20px; background: #05080f; border-top: 1px solid rgba(30,167,255,.15); }
.vk-ind-tile .n { z-index: 2; }
/* Плавающая кнопка калькуляторов (над WhatsApp, на всех страницах) */
.float-calc { position: fixed; right: 22px; bottom: 96px; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fc-btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; box-shadow: 0 10px 30px rgba(0,71,186,.35); }
.fc-btn svg { width: 22px; height: 22px; }
.fc-btn:hover { background: #003a99; }
.fc-menu { display: flex; flex-direction: column; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 20px 50px rgba(25,28,48,.18); }
.fc-menu[hidden] { display: none; }
.fc-menu a { padding: 11px 14px; border-radius: 10px; color: var(--ink); font-size: 15px; white-space: nowrap; }
.fc-menu a:hover { background: var(--brand-l); color: var(--brand); }
@media (max-width: 760px) { .float-calc { right: 16px; bottom: 84px; } .fc-btn { width: 50px; padding: 0; justify-content: center; } .fc-btn span { display: none; } }

/* Логотип VEKTOR KG (SVG) */
.logo-img { display: block; height: 56px; width: auto; }
.fm-logo { display: block; width: clamp(240px, 36vw, 600px); height: auto; }
@media (max-width: 760px) { .logo-img { height: 42px; } }
@media (max-width: 420px) { .logo-img { height: 34px; } }

/* Кнопки соцсетей (подвал и меню) */
.vk-soc { display: flex; flex-wrap: wrap; gap: 10px; }
.vk-soc-a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--brand); border: 1px solid rgba(0,71,186,.35); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.vk-soc-a svg { width: 22px; height: 22px; }
.vk-soc-a:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
.vk-soc-whatsapp:hover { background: #1fae5b; border-color: #1fae5b; }
.foot-social { align-items: flex-start; }
.foot-social a::before { content: none; }
.foot-social h4 { margin-bottom: 4px; }
.menu-contacts .vk-soc { margin-top: 12px; }
.foot-social .vk-soc-a { color: var(--brand); font-size: inherit; }
.foot-social .vk-soc-a:hover { color: #fff; }


/* ===================== Новости ===================== */
.vk-news-sec:not(:has(.vk-news)) { display: none !important; }   /* нет новостей — секции на главной нет */
.vk-news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.vk-news-title { margin: 0; color: var(--brand); font-size: clamp(36px, 4.6vw, 72px); font-weight: 500; line-height: 1.03; letter-spacing: -.5px; }
.vk-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vk-news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.vk-news-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(25,28,48,.1); }
.vk-news-card .im { aspect-ratio: 16 / 10; background: #f3f5f9; overflow: hidden; }
.vk-news-card .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vk-news-card .im img.ph { object-fit: contain; padding: 18% 14%; }
.vk-news-card .d { padding: 18px 22px 0; font-size: 13px; color: var(--brand); font-weight: 600; }
.vk-news-card .t { padding: 8px 22px 0; font-size: 20px; font-weight: 500; line-height: 1.25; }
.vk-news-card .x { padding: 10px 22px 22px; color: var(--muted-2); font-size: 15px; line-height: 1.5; }
.vk-news-page { padding-bottom: 80px; }
.vk-news-page .nav-links { display: flex; gap: 6px; margin-top: 28px; }
.vk-news-page .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; color: var(--muted-2); font-size: 18px; }
.vk-news-page .page-numbers.current { background: var(--brand); color: #fff; }
.vk-post { padding-bottom: 80px; max-width: 980px; }
.vk-post-date { color: var(--brand); font-weight: 600; font-size: 15px; }
.vk-post-img { margin: 0 0 30px; border-radius: var(--r-lg); overflow: hidden; }
.vk-post-img img { width: 100%; height: auto; display: block; }
.vk-post-body { font-size: 18px; line-height: 1.65; color: var(--text); }
.vk-post-body img { max-width: 100%; height: auto; border-radius: var(--r); }
.vk-post-body h2, .vk-post-body h3 { color: var(--ink); margin: 1.4em 0 .5em; }
.vk-post-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 1100px) { .vk-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vk-news-grid { grid-template-columns: minmax(0, 1fr); } .vk-news-head { flex-direction: column; align-items: flex-start; } }
.vk-days-off { color: var(--muted-2); font-weight: 400; }

