/*
Theme Name: Energy Battery
Theme URI: https://energy-battery.ru
Description: Тема для сайта Energy Battery
Version: 2.0
Author: Nika Media Group
Author URI: https://nikamg.ru
*/

/* ============================================
   GLOBAL
   ============================================ */
:root {
    --color-bg-primary: #fff;
    --color-bg-secondary: #eee;
    --color-bg-dark: #444;
    --color-bg-light: #f0f0f0;
    --color-text-primary: #000;
    --color-text-secondary: #222;
    --color-text-light: #fff;

    /* Фирменные цвета бренда */
    --brand-primary: #3522e6;
    --brand-dark: #1c1b1f;
    --brand-accent: #0dcaf0;
}

/* Rubik Static Fonts */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./assets/fonts/Rubik/static/Rubik-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/Rubik/static/Rubik-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/Rubik/static/Rubik-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/Rubik/static/Rubik-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/Rubik/static/Rubik-Bold.ttf') format('truetype');
}


html { font-size: 18px;}
body { font-family: 'Rubik', sans-serif; font-weight: 400; background: #fff; color: #222; }

main.main {
    min-height: calc(100vh - 200px);
}

/* ============================================
   HEADER
   ============================================ */

/* Верхняя полоса с контактами - тонкий синий акцент */
.top-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0.5rem 0;
    position: relative;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 50%, var(--brand-primary) 100%);
    background-size: 200% 100%;
    animation: topBarShine 4s ease-in-out infinite;
}

@keyframes topBarShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.top-bar .bi-info-circle {
    color: var(--brand-primary) !important;
}

/* Описание сайта */
.top-bar > .container-xl > .d-flex > div:first-child {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Контакты - делаем заметнее */
.top-bar .contact-phone,
.top-bar .contact-email {
    color: var(--brand-dark) !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-bar .contact-phone:hover,
.top-bar .contact-email:hover {
    color: var(--brand-primary) !important;
}

.top-bar .contact-phone i,
.top-bar .contact-email i {
    color: var(--brand-primary);
    font-size: 0.95rem;
}

/* Разделитель */
.top-bar .contact-divider {
    color: #dee2e6 !important;
    margin: 0 0.875rem;
    font-weight: 300;
}

/* Навигация - тёмный фон с градиентом */
.main-nav {
    background-color: var(--brand-dark);
    background-image: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-dark) 70%, var(--brand-primary) 100%);
    padding: 0.25rem 0;
}

.main-nav .navbar-brand {
    font-weight: 700;
    color: #fff !important;
    font-size: 1.35rem;
    letter-spacing: 0.3px;
    transition: opacity 0.2s ease;
}

.main-nav .navbar-brand:hover {
    color: #fff !important;
    opacity: 0.85;
}

/* Пункты меню */
.main-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    position: relative;
}

/* Синий underline при hover */
.main-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav .nav-link:hover::before,
.main-nav .nav-link.active::before {
    width: 60%;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #fff !important;
    background: transparent !important;
}

/* Кнопка гамбургер-меню */
.main-nav .navbar-toggler {
    border: none;
    background: rgba(255,255,255,0.12) !important;
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.main-nav .navbar-toggler:hover {
    background: rgba(255,255,255,0.2) !important;
}

.main-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(53, 34, 230, 0.4);
}

.main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Выпадающее меню на мобильных */
.main-nav .navbar-collapse {
    background: transparent;
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0;
}

.main-nav .navbar-collapse .nav-link {
    border-radius: 4px;
}

.main-nav .navbar-collapse .nav-link:hover {
    background: rgba(53, 34, 230, 0.15) !important;
}

/* Хлебные крошки */
.breadcrumbs_wrapper {
    background: #f8f9fa;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumbs_wrapper #breadcrumbs {
    margin: 0;
    font-size: 0.85rem;
}

.breadcrumbs_wrapper #breadcrumbs,
.breadcrumbs_wrapper #breadcrumbs a {
    color: #6c757d !important;
}

.breadcrumbs_wrapper #breadcrumbs a:hover {
    color: var(--brand-primary) !important;
}

.breadcrumbs_wrapper #breadcrumbs .separator {
    color: #adb5bd !important;
    margin: 0 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color:var(--brand-dark);
    background-image: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-dark) 70%, var(--brand-primary) 100%);
    position: relative;
    padding-top: 2.5rem !important;
}

/* Анимированная полоса сверху */
.footer .footer-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 50%, var(--brand-primary) 100%);
    background-size: 200% 100%;
    animation: footerShine 4s ease-in-out infinite;
    z-index: 10;
}

@keyframes footerShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer + .cta-section-v2 {
    margin-top: 0;
}

/* Заголовки */
.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.3px;
    margin-bottom: 1rem !important;
    position: relative;
    display: inline-block;
    padding-bottom: 0.4rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    border-radius: 2px;
}

/* Описание */
.footer-description {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7) !important;
}

/* Особенности */
.footer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Бейдж */
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    transition: all 0.3s ease;
}

.footer-badge i {
    font-size: 0.9rem;
    color: var(--brand-accent);
}

.footer-badge:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Меню */
.footer-menu-columns {
    column-count: 2;
    column-gap: 30px;
}

.footer-menu-columns li {
    break-inside: avoid;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: #fff !important;
    transform: translateX(3px);
}

.footer-link i {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Контакты */
.footer-contacts {
    margin-bottom: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.875rem;
    gap: 0.75rem;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-contact-icon i {
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-contact-item:hover .footer-contact-icon {
    background: linear-gradient(135deg, rgba(53, 34, 230, 0.2) 0%, rgba(13, 202, 240, 0.15) 100%);
    border-color: rgba(53, 34, 230, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 34, 230, 0.2);
}

.footer-contact-link {
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.25s ease;
    line-height: 1.4;
}

.footer-contact-link:hover {
    color: #fff !important;
}

.footer-contact-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Разделитель */
.footer-divider {
    border-color: rgba(255,255,255,0.12) !important;
}

/* Копирайт */
.footer-copyright {
    color: rgba(255,255,255,0.6) !important;
}

.footer-policy-link {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-policy-link:hover {
    color: #fff !important;
    text-decoration: underline;
}

.footer-developer {
    color: rgba(255,255,255,0.5);
}

.footer-studio-link {
    color: rgba(255,255,255,0.5) !important;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-studio-link:hover {
    color: #fff !important;
}

/* ============================================
   ГЛАВНАЯ СТРАНИЦА
   ============================================ */

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0;
}

/* Фон Hero */
.hero-bg {
    z-index: 0 !important;
}

/* Резервный фон (если картинка не загрузится) */
.hero-bg-fallback {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #2a2830 100%);
    z-index: 1;
}

/* Изображение Hero */
.hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* Затемнение для читаемости текста */
.hero-overlay {
    background: linear-gradient(135deg, rgba(28, 27, 31, 0.75) 0%, rgba(53, 34, 230, 0.25) 100%);
    z-index: 3;
}

/* Контент Hero */
.hero-section .container-xl {
    z-index: 4 !important;
}

.hero-title {
    color: #fff !important;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    font-size: 2.5rem;
}

.hero-subtitle {
    color: #fff !important;
    max-width: 600px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Product Cards - Старые стили */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(53, 34, 230, 0.15) !important;
}

.product-image {
    transition: all 0.5s ease;
}

.product-card:hover .product-image i {
    transform: scale(1.1);
}

.product-overlay {
    background: rgba(28, 27, 31, 0.85);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

/* Product Cards TECH - Футуристичный дизайн */
.catalog-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.product-card-tech {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(53, 34, 230, 0.08);
    position: relative;
}

.product-card-tech:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(53, 34, 230, 0.2);
    border-color: rgba(53, 34, 230, 0.3);
}

.product-card-tech__image {
    position: relative;
    transition: all 0.6s ease;
    padding-left: 60px;
}

.product-card-tech:hover .product-card-tech__image {
    transform: scale(1.02);
}

.product-card-tech .product-card-tech__icon {
    left: calc(50% + 30px);
}

/* Иконка */
.product-card-tech__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.5s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.product-card-tech__icon i {
    font-size: 4rem;
    color: #fff;
}

.product-card-tech:hover .product-card-tech__icon {
    transform: translate(-50%, -50%) scale(1.15);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

/* Overlay */
.product-card-tech__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 27, 31, 0.9) 0%, rgba(53, 34, 230, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card-tech:hover .product-card-tech__overlay {
    opacity: 1;
}

/* Вертикальный заголовок сбоку */
.product-card-tech__title {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 100%;
    background: rgba(28, 27, 31, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    overflow: hidden;
}

.product-card-tech__title span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 1rem 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.product-card-tech:hover .product-card-tech__title {
    background: var(--brand-primary);
}

/* Декоративные элементы */
.product-card-tech__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(180deg, transparent, var(--brand-primary));
}

/* Контент */
.product-card-tech__body {
    background: #fff;
    padding-left: calc(60px + 1.5rem) !important;
}

/* Широкая карточка (проекты) */
.product-card-tech--wide {
    display: flex;
    flex-direction: row;
}

.product-card-tech--wide .product-card-tech__image {
    width: 50%;
    height: 400px !important;
    flex-shrink: 0;
    padding-left: 60px;
}

.product-card-tech--wide .product-card-tech__icon {
    left: calc(50% + 30px);
}

.product-card-tech--wide .product-card-tech__body {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3rem 3rem calc(60px + 2rem) !important;
}

.product-card-tech--wide .product-card-tech__title {
    width: 60px;
}

.product-card-tech--wide .product-card-tech__title span {
    font-size: 1.1rem;
}

.product-card-tech--wide .product-card-tech__icon {
    width: 150px;
    height: 150px;
}

.product-card-tech--wide .product-card-tech__icon i {
    font-size: 5rem;
}

/* Адаптивность для карточек */
@media (max-width: 768px) {
    .product-card-tech__title {
        width: 50px;
    }

    .product-card-tech__title span {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .product-card-tech__image {
        padding-left: 50px !important;
    }

    .product-card-tech__icon {
        width: 90px !important;
        height: 90px !important;
        left: calc(50% + 25px) !important;
    }

    .product-card-tech__icon i {
        font-size: 3rem !important;
    }

    .product-card-tech__body {
        padding-left: calc(50px + 1rem) !important;
    }

    .product-card-tech--wide {
        flex-direction: column;
    }

    .product-card-tech--wide .product-card-tech__image {
        width: 100%;
        height: 280px !important;
        padding-left: 50px !important;
    }

    .product-card-tech--wide .product-card-tech__body {
        width: 100%;
        padding: 1.5rem !important;
        padding-left: calc(50px + 1rem) !important;
    }

    .product-card-tech--wide .product-card-tech__title {
        width: 50px;
    }

    .product-card-tech--wide .product-card-tech__title span {
        font-size: 0.85rem;
    }

    .product-card-tech--wide .product-card-tech__icon {
        width: 100px !important;
        height: 100px !important;
        left: calc(50% + 25px) !important;
    }

    .product-card-tech--wide .product-card-tech__icon i {
        font-size: 3.5rem !important;
    }
}

/* Features - Технологичный дизайн */
.features-section {
    background: linear-gradient(180deg, var(--brand-dark) 0%, #252328 50%, var(--brand-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы фона */
.features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(53, 34, 230, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(13, 202, 240, 0.08) 0%, transparent 50%);
    animation: featureBgPulse 10s ease-in-out infinite;
}

@keyframes featureBgPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.feature-card-v2 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), #0dcaf0, var(--brand-primary));
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card-v2:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(53, 34, 230, 0.3);
    box-shadow: 0 20px 60px rgba(53, 34, 230, 0.2),
                0 0 40px rgba(13, 202, 240, 0.1);
}

.feature-card-v2:hover::before {
    transform: scaleX(1);
}

.feature-icon-v2 {
    position: relative;
    display: inline-block;
}

.feature-icon-v2 i {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #0dcaf0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(53, 34, 230, 0.5));
    transition: all 0.4s ease;
}

.feature-card-v2:hover .feature-icon-v2 i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(53, 34, 230, 0.8));
}

/* Свечение вокруг иконки */
.feature-icon-v2::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(53, 34, 230, 0.2);
    border-radius: 50%;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

.feature-card-v2:hover .feature-icon-v2::after {
    animation: none;
    border-color: rgba(53, 34, 230, 0.5);
    width: 120px;
    height: 120px;
}

/* About Section */
.about-images {
    position: relative;
}

.about-images .rounded-4 {
    transition: transform 0.3s ease;
}

.about-images:hover .rounded-4 {
    transform: scale(1.02);
}

.about-badge {
    bottom: -20px;
    right: -20px;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* CTA Section V2 - Футуристичный дизайн */
.cta-section-v2 {
    background: transparent;
    padding: 0;
}

.cta-section-v2 .container-xl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.cta-box-v2 {
    background: linear-gradient(135deg, #1c1b1f 0%, #2a2830 100%);
    padding: 2.5rem 3rem;
    border: 1px solid rgba(53, 34, 230, 0.15);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.cta-box-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
}

/* Декоративные элементы фона */
.cta-bg-decoration {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 34, 230, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-bg-decoration--1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation: ctaFloat 8s ease-in-out infinite;
}

.cta-bg-decoration--2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
    animation: ctaFloat 10s ease-in-out infinite reverse;
}

.cta-bg-decoration--3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(13, 202, 240, 0.1) 0%, transparent 70%);
    animation: ctaPulse 6s ease-in-out infinite;
}

@keyframes ctaFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 30px); }
}

@keyframes ctaPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.cta-content-v2 {
    position: relative;
    z-index: 2;
}

.cta-title-v2 {
    color: #fff !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.cta-text-v2 {
    color: rgba(255,255,255,0.7) !important;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Кнопки CTA */
.cta-buttons-v2 {
    position: relative;
    z-index: 2;
}

.btn-cta-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-cta-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(53, 34, 230, 0.2) 0%, rgba(13, 202, 240, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-cta-v2:hover::before {
    opacity: 1;
}

.btn-cta-v2--primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #4a3df0 100%);
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(53, 34, 230, 0.3);
}

.btn-cta-v2--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(53, 34, 230, 0.4);
}

.btn-cta-v2--primary .btn-cta-v2__sublabel {
    color: rgba(255,255,255,0.7);
}

.btn-cta-v2--outline {
    background: rgba(255,255,255,0.05);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.btn-cta-v2--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.btn-cta-v2__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-cta-v2__label {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
}

.btn-cta-v2__sublabel {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.btn-cta-v2__icon {
    font-size: 1.25rem;
    transition: transform 0.4s ease;
}

.btn-cta-v2:hover .btn-cta-v2__icon {
    transform: translateX(5px);
}

/* Адаптивность CTA */
@media (max-width: 991px) {
    .cta-box-v2 {
        padding: 2rem;
    }

    .cta-title-v2 {
        font-size: 1.75rem;
    }

    .cta-buttons-v2 {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .cta-box-v2 {
        padding: 1.5rem 1.25rem;
    }

    .cta-title-v2 {
        font-size: 1.5rem;
    }

    .cta-text-v2 {
        font-size: 0.95rem;
    }

    .btn-cta-v2 {
        padding: 0.875rem 1.5rem;
        width: 100%;
        justify-content: center;
    }

    .cta-bg-decoration--1,
    .cta-bg-decoration--2 {
        display: none;
    }
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    color: var(--brand-dark) !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), #0dcaf0);
    border-radius: 2px;
}

/* Для тёмных секций */
.features-section .section-title,
.hero-section .section-title {
    color: #fff !important;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6) !important;
}

/* Для светлых секций */
.about-section .section-subtitle,
.catalog-section .section-subtitle {
    color: #6c757d !important;
}

.about-section .text-muted,
.catalog-section .text-muted {
    color: #6c757d !important;
}

/* Адаптивность для главной */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-badge {
        position: static;
        margin-top: 20px;
        animation: none;
    }

    .cta-box {
        padding: 2rem !important;
    }

    /* Особенности для мобильных */
    .feature-icon-v2 i {
        font-size: 3rem !important;
    }

    .feature-card-v2 {
        padding: 2rem 1rem !important;
    }
}

/* Анимации и эффекты */
.transition {
    transition: all 0.3s ease;
}

/* Переопределение Bootstrap цветов для главной */
.text-primary {
    color: var(--brand-primary) !important;
}

.btn-primary {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
}

.btn-primary:hover {
    background: #2a1fc4 !important;
    border-color: #2a1fc4 !important;
}

.hover-text-primary:hover {
    color: var(--brand-primary) !important;
}

.hover-bg-primary:hover {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

/* CTA SECTION - ФОН */
.cta-section-v2 {
    position: relative;
}

.cta-section-bg {
    background: linear-gradient(135deg, rgba(53, 34, 230, 0.08) 0%, rgba(13, 202, 240, 0.05) 100%);
    border-radius: 16px;
}

.cta-section-bg__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(53, 34, 230, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(13, 202, 240, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   ФИЛЬТРЫ АКБ
   ============================================ */
.filters-section {
    background: transparent;
}

.filters-box {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 50%, #ffffff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(53, 34, 230, 0.15);
    box-shadow: 0 4px 20px rgba(53, 34, 230, 0.08), 0 2px 8px rgba(53, 34, 230, 0.04);
    overflow: hidden;
}

.filters-box__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, #0dcaf0 50%, var(--brand-primary) 100%);
    background-size: 200% 100%;
    animation: accentShine 3s ease-in-out infinite;
}

@keyframes accentShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.filters-icon-wrapper {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #4a3df0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(53, 34, 230, 0.25);
    flex-shrink: 0;
}

.filters-icon-wrapper i {
    font-size: 1.25rem;
    color: #fff;
}

.filters-header h2 {
    color: var(--brand-dark);
}

.akb-filters .form-control,
.akb-filters .form-select {
    border: 2px solid rgba(53, 34, 230, 0.12);
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.akb-filters .form-control:focus,
.akb-filters .form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(53, 34, 230, 0.1);
    background-color: #fff;
}

.btn-filter-submit {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #4a3df0 100%) !important;
    border: none !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(53, 34, 230, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-filter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(53, 34, 230, 0.4);
}

.btn-filter-reset {
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    background: #fff;
    transition: all 0.3s ease;
}

.btn-filter-reset:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

.filters-actions {
    border-top: 1px solid rgba(53, 34, 230, 0.1) !important;
    position: relative;
    margin-top: 1.25rem !important;
    padding-top: 1.25rem !important;
}

.filters-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
}

/* ============================================
   СЛАЙДЕРЫ (noUiSlider)
   ============================================ */
.akb-range-slider {
    height: 10px;
    background: #e9ecef;
    border-radius: 4px;
    position: relative;
    margin-bottom: 0.4rem;
    width: calc(100% - 24px);
    margin-left: 12px;
    margin-right: 12px;
}

.akb-range-slider .noUi-target {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 8px !important;
    width: 100% !important;
    position: relative;
    top: 4px;
}

.akb-range-slider .noUi-horizontal {
    height: 8px !important;
}

.akb-range-slider .noUi-connect {
    background: linear-gradient(90deg, var(--brand-primary) 0%, #0dcaf0 100%) !important;
    height: 8px !important;
}

.akb-range-slider .noUi-horizontal .noUi-handle {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2px solid var(--brand-primary) !important;
    box-shadow: 0 2px 6px rgba(53, 34, 230, 0.3);
    cursor: pointer;
    top: -5px !important;
    right: -8px !important;
    z-index: 2;
}

.akb-range-slider .noUi-handle::before,
.akb-range-slider .noUi-handle::after {
    display: none;
}

.akb-range-slider .noUi-tooltip {
    min-width: 38px;
    background: var(--brand-primary) !important;
    color: #fff !important;
    border: none !important;
    padding: 3px 6px !important;
    border-radius: 6px !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    bottom: 6px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-shadow: 0 2px 6px rgba(53, 34, 230, 0.3) !important;
    white-space: nowrap;
    z-index: 3;
    cursor: pointer;
}

.akb-range-slider .noUi-handle:hover .noUi-tooltip {
    background: var(--brand-dark) !important;
}

/* Компактные стили для фильтров */
.akb-filters .form-label {
    font-size: 0.8rem;
    font-weight: 600 !important;
    margin-bottom: 0.35rem;
    color: var(--brand-dark) !important;
}

.capacity-slider,
.dimension-slider {
    margin-bottom: 0.35rem !important;
}

.noUi-horizontal .noUi-handle { background: none; border: none; box-shadow: none;}

/* ============================================
   КАРТОЧКИ СЕРИЙ АКБ
   ============================================ */
.series-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(53, 34, 230, 0.08);
    display: flex;
    flex-direction: column;
}

.series-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(53, 34, 230, 0.2);
    border-color: rgba(53, 34, 230, 0.3);
}

.series-card__image {
    position: relative;
    transition: all 0.6s ease;
}

.series-card:hover .series-card__image {
    transform: scale(1.02);
}

/* Иконка серии */
.series-card__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.5s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.series-card__icon i {
    font-size: 3.5rem;
    color: #fff;
}

.series-card:hover .series-card__icon {
    transform: translate(-50%, -50%) scale(1.15);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

/* Thumbnail для серий (если есть фото) */
.series-card__thumbnail {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    transition: all 0.5s ease;
}

.series-card:hover .series-card__thumbnail {
    transform: translate(-50%, -50%) scale(1.08);
}

/* Overlay */
.series-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 27, 31, 0.9) 0%, rgba(53, 34, 230, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.series-card:hover .series-card__overlay {
    opacity: 1;
}

/* Тело карточки */
.series-card__body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.series-card__body h3 a {
    transition: color 0.3s ease;
}

.series-card__body h3 a:hover {
    color: var(--brand-primary) !important;
}

/* Адаптивность для карточек серий */
@media (max-width: 768px) {
    .archive-header h1 {
        font-size: 1.5rem;
    }

    .filters-box {
        padding: 1.5rem 1.25rem;
    }

    .filters-icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .filters-icon-wrapper i {
        font-size: 1.1rem;
    }

    .filters-header h2 {
        font-size: 1.1rem;
    }

    .filters-actions {
        border-top: none !important;
        padding-top: 1rem;
    }

    .filters-actions::before {
        display: none;
    }

    .filters-actions .d-flex {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .filters-actions .btn {
        width: 100%;
    }

    .series-card__image {
        height: 200px !important;
    }

    .series-card__icon {
        width: 80px !important;
        height: 80px !important;
    }

    .series-card__icon i {
        font-size: 2.5rem !important;
    }

    .series-card__thumbnail {
        max-width: 85% !important;
        max-height: 85% !important;
    }
}

/* ============================================
   SINGLE АКБ - ГАЛЕРЕЯ
   ============================================ */
.akb-gallery__main img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.akb-gallery__main-image {
    width: 100%;
    max-height: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.akb-gallery__slider {
    position: relative;
}

.akb-gallery__slider .swiper {
    border-radius: 12px;
    overflow: hidden;
}

.akb-gallery__slider .swiper-button-next,
.akb-gallery__slider .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.akb-gallery__slider .swiper-button-next:hover,
.akb-gallery__slider .swiper-button-prev:hover {
    background: var(--brand-primary);
    transform: scale(1.1);
}

.akb-gallery__slider .swiper-button-next::after,
.akb-gallery__slider .swiper-button-prev::after {
    font-size: 0.9rem;
    font-weight: bold;
}

.akb-gallery__thumbs-slider {
    margin-top: 0.75rem;
}

.akb-gallery__thumbs-swiper {
    width: 100%;
    height: 100%;
}

.akb-gallery__thumbs-swiper .swiper-slide {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
}

.akb-gallery__thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(53, 34, 230, 0.3);
}

.akb-gallery__thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
}

.akb-gallery__thumbs-swiper .swiper-slide:hover {
    opacity: 0.85;
}

.akb-gallery__placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 2px dashed #dee2e6;
}

/* ============================================
   SINGLE АКБ - КАРТОЧКИ ХАРАКТЕРИСТИК
   ============================================ */
.akb-spec-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.akb-spec-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(53, 34, 230, 0.1);
}

.akb-spec-card__label {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.akb-spec-card__value {
    font-size: 1rem;
    color: var(--brand-dark);
}

/* ============================================
   SINGLE АКБ - ИНФОРМАЦИЯ О ТОВАРЕ
   ============================================ */
.akb-product__info {
    padding-top: 0.5rem;
}

.akb-product__info h1 {
    font-size: 1.5rem;
    line-height: 1.3;
}

.akb-product__info .text-muted {
    font-size: 0.85rem;
}

.akb-product__meta {
    padding-bottom: 1rem !important;
}

.akb-product__specs-short {
    margin-bottom: 1rem !important;
}

/* ============================================
   SINGLE АКБ - ДОКУМЕНТАЦИЯ
   ============================================ */
.akb-product__docs {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
}

.docs-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.doc-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: var(--brand-dark);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.doc-item:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(53, 34, 230, 0.1);
    transform: translateX(4px);
}

.doc-item i.bi-download {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doc-item:hover i.bi-download {
    opacity: 1;
}

/* ============================================
   SINGLE АКБ - КАРТОЧКИ СЕКЦИЙ
   ============================================ */
.akb-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    height: 100%;
}

.akb-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    margin: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
}

.akb-card__title i {
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.akb-card__content {
    padding: 1rem;
}

/* ============================================
   SINGLE АКБ - ТАБЛИЦЫ ХАРАКТЕРИСТИК
   ============================================ */
.akb-specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.akb-specs-table thead th {
    background: #f8f9fa;
    padding: 0.5rem 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 600;
}

.akb-specs-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s ease;
}

.akb-specs-table tbody tr:last-child {
    border-bottom: none;
}

.akb-specs-table tbody tr:hover {
    background: #f8f9fa;
}

.akb-specs-table__label {
    padding: 0.25rem 0;
    color: #6c757d;
    font-size: 0.85rem;
    width: 50%;
    white-space: nowrap;
}

.akb-specs-table__value {
    padding: 0.25rem 0;
    color: var(--brand-dark);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: right;
}

/* ============================================
   SINGLE АКБ - СПИСКИ
   ============================================ */
.akb-applications-list {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
}

.akb-applications-list li {
    color: var(--brand-dark);
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.akb-applications-list li::marker {
    color: var(--brand-primary);
}

/* ============================================
   SINGLE АКБ - КОНТЕНТ
   ============================================ */
.akb-content {
    font-size: 0.95rem;
    line-height: 1.7;
}

.akb-content p {
    margin-bottom: 1rem;
}

.akb-content ul,
.akb-content ol {
    margin-bottom: 1rem;
}

/* ============================================
   SINGLE АКБ - ЧАРТЫ
   ============================================ */
.akb-chart-placeholder {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.akb-graph-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Адаптивность для single АКБ */
@media (max-width: 991px) {
    .akb-gallery__placeholder {
        height: 300px;
    }

    .akb-gallery__slider .swiper-button-next,
    .akb-gallery__slider .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .akb-spec-card__value {
        font-size: 1.1rem;
    }

    .akb-card__title {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .akb-card__content {
        padding: 1.25rem;
    }
}

@media (max-width: 767px) {
    .akb-gallery__placeholder {
        height: 250px;
    }

    .akb-gallery__slider .swiper-button-next,
    .akb-gallery__slider .swiper-button-prev {
        display: none;
    }

    .akb-gallery__thumbs-swiper .swiper-slide {
        width: 60px;
        height: 60px;
    }

    .akb-product__purchase {
        padding: 1.25rem !important;
    }

    .akb-product__price-current {
        font-size: 1.5rem !important;
    }

    .akb-specs-table__label,
    .akb-specs-table__value {
        font-size: 0.85rem;
    }

    .akb-applications-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ТАБЛИЦА ТОВАРОВ (таксономия akb-series)
   ============================================ */
.products-table-section {
    background: #f8f9fa;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.akb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.akb-table thead {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #4a3df0 100%);
}

.akb-table thead th {
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 0.5rem;
    text-align: center;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.65rem;
}

.akb-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #e9ecef;
}

.akb-table tbody tr:last-child {
    border-bottom: none;
}

.akb-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(53, 34, 230, 0.03) 0%, rgba(13, 202, 240, 0.03) 100%);
    box-shadow: 0 2px 8px rgba(53, 34, 230, 0.08);
}

.akb-table tbody td {
    padding: 0.5rem 0.4rem;
    vertical-align: middle;
    text-align: center;
    font-size: 0.85rem;
}

/* Колонки */
.col-model {
    min-width: 200px;
    text-align: left !important;
}

.col-technology {
    min-width: 90px;
}

.col-voltage {
    min-width: 70px;
}

.col-capacity {
    min-width: 75px;
}

.col-service-life {
    min-width: 90px;
}

.col-length,
.col-width,
.col-height,
.col-full-height {
    min-width: 60px;
}

.col-weight {
    min-width: 65px;
}

/* Модель */
.akb-table__model {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.akb-table__thumb-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.akb-table__thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.25rem;
}

.akb-table__model-info {
    flex-grow: 1;
    min-width: 0;
}

.akb-table__link {
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.akb-table__link:hover {
    color: var(--brand-primary);
    text-decoration: none;
}

.akb-table__excerpt {
    line-height: 1.3;
    color: #6c757d;
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ссылка на документ */
.akb-doc-link {
    display: inline-flex;
    align-items: center;
    color: var(--brand-dark);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.akb-doc-link:hover {
    background: rgba(53, 34, 230, 0.05);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.akb-doc-link i {
    font-size: 0.9rem;
}

/* Значения */
.akb-table__value {
    color: #222;
    font-size: 0.85rem;
}

/* Документация серии */
.series-docs-section {
    background: #f8f9fa;
}

.series-docs-section h2 {
    color: var(--brand-dark);
}

.series-docs-section .docs-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.series-docs-section .doc-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: var(--brand-dark);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.series-docs-section .doc-item:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(53, 34, 230, 0.1);
    transform: translateX(4px);
}

.series-docs-section .doc-item i.bi-download {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.series-docs-section .doc-item:hover i.bi-download {
    opacity: 1;
}

/* Адаптивность для таблицы АКБ */
@media (max-width: 1199px) {
    .akb-table {
        font-size: 0.8rem;
    }

    .col-model { min-width: 180px; }
    .col-length,
    .col-width,
    .col-height,
    .col-full-height { min-width: 55px; }
}

@media (max-width: 991px) {
    .akb-table thead th {
        padding: 0.5rem 0.3rem;
        font-size: 0.6rem;
    }

    .akb-table tbody td {
        padding: 0.5rem 0.3rem;
        font-size: 0.8rem;
    }

    .col-model { min-width: 160px; }
    .col-technology { min-width: 80px; }
    .col-service-life { min-width: 85px; }
    .col-length,
    .col-width,
    .col-height,
    .col-full-height { min-width: 50px; font-size: 0.75rem; }
    .col-voltage { min-width: 65px; }
    .col-capacity { min-width: 70px; }
}

@media (max-width: 767px) {
    /* Карточный вид для мобильных */
    .table-responsive {
        overflow: visible;
    }

    .akb-table,
    .akb-table thead,
    .akb-table tbody,
    .akb-table th,
    .akb-table td,
    .akb-table tr {
        display: block;
    }

    .akb-table thead {
        position: absolute;
        left: -9999px;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }

    .akb-table tbody tr {
        background: #fff;
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }

    .akb-table tbody tr:hover {
        box-shadow: 0 4px 16px rgba(53, 34, 230, 0.12);
    }

    .akb-table tbody td {
        padding: 0.5rem 0;
        border: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.85rem;
    }

    .akb-table tbody td:first-child {
        padding-top: 0;
    }

    .akb-table tbody td:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    /* Добавляем лейблы для каждой ячейки */
    .akb-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.75rem;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        margin-right: 0.75rem;
        min-width: 100px;
        flex-shrink: 0;
    }

    .col-model {
        min-width: auto;
        text-align: center !important;
    }

    .akb-table__model {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .akb-table__thumb-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 0.5rem;
    }

    .akb-table__link {
        font-size: 0.95rem;
    }

    .akb-table tbody td::before {
        min-width: 90px;
    }
}

@media (max-width: 575px) {
    .archive-header h1 {
        font-size: 1.15rem;
    }

    .akb-table tbody tr {
        padding: 0.875rem;
    }

    .akb-table tbody td::before {
        font-size: 0.68rem;
        min-width: 80px;
    }

    .akb-table__thumb-wrapper {
        width: 60px;
        height: 60px;
    }

    .akb-table__link {
        font-size: 0.875rem;
    }
}

/* ============================================
   ПРОЕКТЫ
   ============================================ */
.project-card {
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
}

.project-card .col-md-5 {
    overflow: hidden;
}

.project-card img {
    transition: transform 0.5s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.object-fit-cover {
    object-fit: cover;
}

.btn-group .btn.active {
    background-color: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

/* ============================================
   ШКАФЫ
   ============================================ */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.card-img-top {
    transition: transform 0.3s;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* ============================================
   СТРАНИЦЫ (page-contacts.php и др.)
   ============================================ */
.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.page-links {
    font-size: 1.1rem;
}

.page-links a {
    padding: 0.25rem 0.75rem;
    margin: 0 0.25rem;
    background: #f8f9fa;
    border-radius: 4px;
    text-decoration: none;
    color: var(--bs-primary);
}

.page-links a:hover {
    background: #e9ecef;
}

.border-bottom {
    border-color: rgba(0,0,0,0.1) !important;
}

@media (max-width: 768px) {
    .post-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .post-meta span {
        width: 100%;
    }
}

/* ============================================
   КОНТАКТЫ (page-contacts.php)
   ============================================ */

/* Hero Section */
.contacts-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
}

.contacts-title {
    font-size: 2.5rem;
    color: var(--brand-dark);
}

.contacts-subtitle {
    font-size: 1.25rem;
}

/* Карточки контактной информации */
.contact-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: rgba(53, 34, 230, 0.15);
}

.contact-info-card__icon {
    width: 44px;
    height: 44px;
    background: rgba(53, 34, 230, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card__icon i {
    font-size: 1.25rem;
    color: var(--brand-primary);
}

.contact-info-card__content {
    flex-grow: 1;
}

.contact-info-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-card__value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.contact-info-card__value:hover {
    color: var(--brand-primary);
}

.contact-info-card__note {
    margin-top: 0.25rem;
    font-size: 0.8rem;
}

/* Разделительная линия */
.offices-section {
    position: relative;
}

.offices-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
}

/* Заголовок секции */
.offices-section .section-title {
    font-size: 2rem;
    color: var(--brand-dark);
}

/* Карточки офисов */
.office-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: rgba(53, 34, 230, 0.15);
}

.office-card__header {
    background: #f8f9fa;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.office-card__badge {
    width: 40px;
    height: 40px;
    background: rgba(53, 34, 230, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.office-card__badge i {
    font-size: 1.1rem;
    color: var(--brand-primary);
}

.office-card__title {
    color: var(--brand-dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.office-card__body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.office-card__address {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem !important;
}

.office-card__address p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.4rem !important;
}

.office-card__address p:last-child {
    margin-bottom: 0 !important;
}

.office-card__address i {
    font-size: 1rem;
}

.office-card__contacts {
    margin-bottom: 1rem !important;
}

.office-card__contacts > div {
    padding: 0.4rem 0;
}

.office-card__contacts a {
    color: var(--brand-dark);
    font-size: 0.95rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.office-card__contacts a:hover {
    color: var(--brand-primary);
}

/* Карты */
.office-card__map {
    margin-top: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.map-container {
    width: 100%;
    height: 400px;
    background: #f8f9fa;
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
}

/* Дополнительная информация */
.contacts-additional {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.contacts-note {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.contacts-note__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(53, 34, 230, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem !important;
}

.contacts-note__icon i {
    font-size: 1.5rem;
    color: var(--brand-primary);
}

.contacts-note h3 {
    color: var(--brand-dark);
}

/* Адаптивность для контактов */
@media (max-width: 991px) {
    .contacts-title {
        font-size: 2rem;
    }

    .offices-section .section-title {
        font-size: 1.75rem;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .contacts-hero {
        padding: 2rem 0 !important;
    }

    .contacts-title {
        font-size: 1.75rem;
    }

    .contacts-subtitle {
        font-size: 1rem;
    }

    .contact-info-card {
        padding: 1rem;
    }

    .contact-info-card__icon {
        width: 40px;
        height: 40px;
    }

    .contact-info-card__icon i {
        font-size: 1.1rem;
    }

    .contact-info-card__value {
        font-size: 1rem;
    }

    .office-card__header {
        padding: 0.875rem 1rem;
    }

    .office-card__title {
        font-size: 1rem;
    }

    .office-card__body {
        padding: 1rem;
    }

    .office-card__address {
        padding: 0.875rem;
    }

    .map-container {
        height: 250px;
    }

    .contacts-note {
        padding: 1.25rem;
    }

    .contacts-note__icon {
        width: 48px;
        height: 48px;
    }

    .contacts-note__icon i {
        font-size: 1.25rem;
    }
}

@media (max-width: 575px) {
    .contact-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info-card__icon {
        margin-bottom: 0.5rem;
    }

    .office-card__header {
        flex-direction: column;
        text-align: center;
    }

    .map-container {
        height: 250px;
    }
}

