/* Стиль для знака рубля - нормальный вес шрифта */
.ruble-sign {
    font-weight: normal;
}

/* Тонкий текст в таблицах */
.table td {
    font-weight: 300 !important;
}

.table .text-primary {
    font-weight: 300 !important;
}

/* Исправление отступа для цен в карточках */
.single-price .pricing-area .price-content .price-amount {
    margin-left: 0;
}

/* Отступы между рядами блоков функций */
.featured-items > .row [class*="col-"]:nth-child(3),
.featured-items > .row [class*="col-"]:nth-child(4) {
    margin-top: 40px !important;
}

/* Выравнивание высоты блоков функций */
.featured-items > .row [class*="col-"] {
    display: flex;
}

.featured-items .featured-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.featured-items .featured-item .content {
    flex-grow: 1;
}

/* Исправление для средних экранов (768-991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .featured-items > .row [class*="col-"]:nth-child(2) {
        margin-top: 0 !important;
    }
    
    .featured-items > .row [class*="col-"]:nth-child(3) {
        margin-top: 40px !important;
    }
}

/* Исправление для больших экранов (1300px+) */
@media (min-width: 1300px) {
    .featured-items > .row [class*="col-"]:nth-child(2) {
        margin-top: 0 !important;
    }
    
    .featured-items > .row [class*="col-"]:nth-child(3) {
        margin-top: 40px !important;
    }
}

/* Исправление для экранов около 1199px */
@media (min-width: 992px) and (max-width: 1299px) {
    .feature-title2 h2 {
        font-size: 2rem !important;
    }
    
    .featured-items > .row [class*="col-"]:nth-child(2) {
        margin-top: 0 !important;
    }
    
    .featured-items > .row [class*="col-"]:nth-child(3) {
        margin-top: 40px !important;
    }
    
    .featured-items .featured-item {
        padding: 25px 20px !important;
    }
    
    .featured-items .featured-item .icon {
        margin-bottom: 15px !important;
    }
    
    .featured-items .featured-item .icon i {
        font-size: 40px !important;
    }
    
    .featured-items .featured-item .content h3 {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }
    
    .featured-items .featured-item .content p {
        font-size: 0.9rem !important;
    }
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    position: relative;
    z-index: 10001;
}

.mobile-menu-btn {
    background: linear-gradient(-45deg, #123fc0 0%, #1145d9 100%);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 42px;
    height: 42px;
    cursor: pointer;
    padding: 8px;
    z-index: 10000;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(18, 63, 192, 0.3);
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(18, 63, 192, 0.4);
    border-color: rgba(255,255,255,0.4);
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Цвет кнопки для sticky header */
.header-main.sticky .mobile-menu-btn {
    background: linear-gradient(-45deg, #123fc0 0%, #1145d9 100%);
    border-color: rgba(18, 63, 192, 0.3);
}

.header-main.sticky .mobile-menu-btn span {
    background-color: #fff;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Десктопная версия меню */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .nav-wrapper {
        display: block !important;
    }
    
    .nav-wrap-inner {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        transition: none !important;
        z-index: auto !important;
        overflow-y: visible !important;
        display: block !important;
        box-shadow: none !important;
        right: auto !important;
        transform: none !important;
    }
    
    .nav {
        flex-direction: row !important;
        align-items: center !important;
        padding: 0 !important;
        flex: none !important;
        margin: 0 !important;
    }
    
    .mobile-menu-header,
    .mobile-menu-footer {
        display: none !important;
    }
    
    /* Показываем header-right на десктопе */
    .header-right {
        display: flex !important;
    }
}

/* Планшетная версия (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .nav-wrap-inner {
        width: 350px !important;
    }
    
    .mobile-menu-btn {
        width: 45px;
        height: 45px;
    }
}

/* Мобильная версия (до 767px) */
@media (max-width: 767.98px) and (min-width: 576px) {
    .nav-wrap-inner {
        width: 280px !important;
    }
    
    .mobile-menu-header {
        padding: 25px 25px 15px;
    }
    
    .mobile-menu-logo {
        font-size: 20px;
    }
    
    .mobile-menu-logo-icon {
        font-size: 20px;
    }
    
    .nav {
        padding: 0 25px !important;
    }
    
    .mobile-menu-footer {
        padding: 25px;
    }
}



/* Навигация в мобильной версии */
@media (max-width: 991.98px) {
    .header .col-12 {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10001;
        flex-shrink: 0; /* Кнопка не сжимается */
    }
    
    /* Убеждаемся, что header-right скрыт на мобильных */
    .header-right {
        display: none !important;
    }
    
    .nav-wrapper {
        display: none;
    }
    
    .nav-wrap-inner {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: linear-gradient(-45deg, #123fc0 0%, #1145d9 100%);
        padding: 0;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 99999;
        overflow-y: auto;
        display: block !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    }

    .mobile-menu-header {
        padding: 15px 50px 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: center;
        background: rgba(0,0,0,0.1);
        position: relative;
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 32px;
        height: 32px;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 18px;
        color: #fff;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255,255,255,0.2);
        transform: rotate(90deg);
        border-color: #00c3ff;
        color: #00c3ff;
    }
    
    .mobile-menu-logo-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-bottom: 6px;
    }
    
    .mobile-menu-logo-icon {
        font-size: 16px;
        color: #00d4ff;
        text-shadow: 0 2px 10px rgba(0, 212, 255, 0.5);
        animation: rainDrop 3s ease-in-out infinite;
    }
    
    .mobile-menu-logo {
        font-family: 'Lato', sans-serif;
        font-size: 14px;
        font-weight: 900;
        color: #ffffff;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    .mobile-menu-tagline {
        font-family: 'Open Sans', sans-serif;
        font-size: 9px;
        color: rgba(255,255,255,0.8);
        text-transform: uppercase;
        letter-spacing: 0.8px;
        font-weight: 400;
    }
    
    .mobile-menu-footer {
        padding: 30px;
        border-top: 1px solid rgba(255,255,255,0.1);
        background: rgba(0,0,0,0.1);
        margin-top: auto;
    }
    
    .mobile-menu-cta {
        display: inline-block;
        width: 100%;
        padding: 15px 20px;
        background: linear-gradient(135deg, #00c3ff 0%, #fff 100%);
        color: #123fc0;
        text-decoration: none;
        border-radius: 8px;
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 195, 255, 0.3);
        border: 2px solid transparent;
    }
    
    .mobile-menu-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 195, 255, 0.4);
        background: linear-gradient(135deg, #fff 0%, #00c3ff 100%);
        color: #123fc0;
        border-color: rgba(255,255,255,0.3);
    }
    
    .nav-wrap-inner.active {
        right: 0 !important;
        transform: translateX(0) !important;
        display: flex !important;
        flex-direction: column;
    }
    
    .nav {
        flex-direction: column;
        align-items: flex-start !important;
        padding: 0 30px;
        flex: 1;
        margin: 0;
    }
    
    .nav > li {
        width: 100%;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav > li:last-child {
        border-bottom: none;
    }
    
    .nav > li > a {
        display: block;
        padding: 18px 0;
        color: #fff !important;
        font-size: 16px;
        font-weight: 600;
        font-family: 'Lato', sans-serif;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .nav > li > a:hover {
        color: #00c3ff !important;
        padding-left: 10px;
    }
    
    .nav > li > a::before {
        content: '';
        position: absolute;
        left: -30px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 2px;
        background: linear-gradient(to right, #00c3ff, #fff);
        transition: width 0.3s ease;
    }
    
    .nav > li > a:hover::before {
        width: 20px;
    }
    
    .sub-menu {
        position: static !important;
        background: rgba(0,0,0,0.2) !important;
        box-shadow: inset 0 2px 10px rgba(0,0,0,0.2) !important;
        border-radius: 8px;
        margin: 10px 0 15px;
        padding: 15px 0;
        display: none;
        border-left: 3px solid #00c3ff;
    }
    
    .nav > li.has-submenu.active .sub-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .sub-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .sub-menu > li:last-child {
        border-bottom: none;
    }
    
    .sub-menu > li > a {
        display: block;
        padding: 12px 20px;
        color: rgba(255,255,255,0.8) !important;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        text-transform: none;
        letter-spacing: 0.3px;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .sub-menu > li > a:hover {
        color: #00c3ff !important;
        padding-left: 30px;
        background: rgba(0,195,255,0.1);
    }
    
    .sub-menu > li > a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 1px;
        background: #00c3ff;
        transition: width 0.3s ease;
    }
    
    .sub-menu > li > a:hover::before {
        width: 15px;
    }
    

    
    .nav > li.has-submenu.active > a::after {
        transform: translateY(-50%) rotate(180deg);
        color: #00c3ff;
    }
}

/* Overlay для мобильного меню */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Блокировка прокрутки при открытом меню */
body.menu-open {
    overflow: hidden;
}

/* Стили для логотипа */
.logo-link {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: gap 0.3s ease;
    min-width: 0; /* Позволяет сжиматься при необходимости */
}

.logo-icon {
    position: relative;
    font-size: 32px;
    color: #00d4ff;
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.5);
    animation: rainDrop 3s ease-in-out infinite;
    transition: font-size 0.3s ease;
}

@keyframes rainDrop {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: 'Lato', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: font-size 0.3s ease;
}

.logo-tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 2px;
    text-shadow: none;
    transition: font-size 0.3s ease, letter-spacing 0.3s ease;
}

/* Адаптивность логотипа для предотвращения наложения на десктопное меню */
@media (min-width: 992px) {
    .header .col-12 {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo {
        flex: 0 1 auto; /* Логотип может сжиматься */
        min-width: 200px; /* Минимальная ширина для сохранения читаемости */
        margin-right: 20px; /* Минимальное расстояние до меню */
        overflow: visible; /* Логотип всегда виден полностью */
    }
    
    .logo-text {
        white-space: nowrap; /* Текст не переносится */
    }
    
    .nav-wrapper {
        flex: 0 0 auto; /* Меню не сжимается */
        margin-left: auto;
    }
}

/* Адаптивные размеры логотипа для десктопа при сужении */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .logo-icon {
        font-size: 28px;
    }
    
    .logo-main {
        font-size: 24px;
    }
    
    .logo-tagline {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
    
    .logo-container {
        gap: 10px;
    }
}

@media (min-width: 992px) and (max-width: 1099.98px) {
    .logo-icon {
        font-size: 26px;
    }
    
    .logo-main {
        font-size: 22px;
    }
    
    .logo-tagline {
        font-size: 9px;
        letter-spacing: 1px;
    }
    
    .logo-container {
        gap: 8px;
    }
}

/* Дополнительная адаптивность для очень узких десктопных экранов */
@media (min-width: 992px) and (max-width: 1024px) {
    .logo-icon {
        font-size: 24px;
    }
    
    .logo-main {
        font-size: 20px;
    }
    
    .logo-tagline {
        font-size: 8px;
        letter-spacing: 0.8px;
    }
    
    .logo-container {
        gap: 6px;
    }
    
    .logo {
        margin-right: 15px; /* Уменьшаем отступ на узких экранах */
    }
}

/* Стили для sticky header */
.header-main.sticky .logo-main {
    color: #1a1a1a !important;
    text-shadow: none !important;
    font-weight: 900;
}

.header-main.sticky .logo-tagline {
    color: #00d4ff !important;
    font-weight: 600;
    text-shadow: none !important;
}

.header-main.sticky .logo-icon {
    color: #00d4ff !important;
    text-shadow: none !important;
}

/* Hover эффект */
.logo-link:hover .logo-icon {
    transform: scale(1.1);
    animation: rainDrop 1s ease-in-out infinite;
}

.logo-link:hover .logo-main {
    color: #00d4ff;
    text-shadow: 0 3px 15px rgba(0, 212, 255, 0.8);
}

/* Hover эффект для sticky header */
.header-main.sticky .logo-link:hover .logo-main {
    color: #123fc0;
}

.header-main.sticky .logo-link:hover .logo-tagline {
    color: #1145d9;
}

.header-main.sticky .logo-link:hover .logo-icon {
    color: #1145d9;
}

/* Стили для sticky header - сохраняем адаптивность */
@media (min-width: 992px) {
    .header-main.sticky .col-12 {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .header-main.sticky .logo {
        flex: 0 1 auto;
        min-width: 200px;
        margin-right: 20px;
        overflow: visible;
    }
    
    .header-main.sticky .nav-wrapper {
        flex: 0 0 auto;
        margin-left: auto;
    }
}

/* Адаптация для экранов 575px - 335px */
/* Постепенное уменьшение логотипа и кнопки меню для мобильных устройств */
@media (max-width: 575.98px) {
    .header .col-12 {
        padding-right: 60px; /* Место для мобильной кнопки */
    }
    
    .logo {
        max-width: calc(100% - 60px);
    }
    
    .logo-container {
        gap: 8px;
    }
    
    .logo-icon {
        font-size: 26px;
    }
    
    .logo-main {
        font-size: 22px;
    }
    
    .logo-tagline {
        font-size: 9px;
        letter-spacing: 1.2px;
    }
    
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        padding: 7px;
    }
}

@media (max-width: 479.98px) {
    .header .col-12 {
        padding-right: 55px;
    }
    
    .logo {
        max-width: calc(100% - 55px);
    }
    
    .logo-container {
        gap: 7px;
    }
    
    .logo-icon {
        font-size: 24px;
    }
    
    .logo-main {
        font-size: 20px;
    }
    
    .logo-tagline {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

@media (max-width: 399.98px) {
    .header .col-12 {
        padding-right: 50px;
    }
    
    .logo {
        max-width: calc(100% - 50px);
    }
    
    .logo-container {
        gap: 6px;
    }
    
    .logo-icon {
        font-size: 22px;
    }
    
    .logo-main {
        font-size: 18px;
    }
    
    .logo-tagline {
        font-size: 7px;
        letter-spacing: 0.8px;
    }
    
    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    .mobile-menu-toggle {
        right: 12px;
    }
}

@media (max-width: 359.98px) {
    .header .col-12 {
        padding-right: 48px;
    }
    
    .logo {
        max-width: calc(100% - 48px);
    }
    
    .logo-container {
        gap: 5px;
    }
    
    .logo-icon {
        font-size: 20px;
    }
    
    .logo-main {
        font-size: 16px;
    }
    
    .logo-tagline {
        font-size: 6px;
        letter-spacing: 0.5px;
    }
    
    .mobile-menu-btn {
        width: 34px;
        height: 34px;
        padding: 5px;
    }
    
    .mobile-menu-toggle {
        right: 11px;
    }
}

@media (max-width: 335px) {
    .header .col-12 {
        padding-right: 45px;
    }
    
    .logo {
        max-width: calc(100% - 45px);
    }
    
    .logo-container {
        gap: 4px;
    }
    
    .logo-icon {
        font-size: 18px;
    }
    
    .logo-main {
        font-size: 14px;
    }
    
    .logo-tagline {
        font-size: 5px;
        letter-spacing: 0.3px;
    }
    
    .mobile-menu-btn {
        width: 32px;
        height: 32px;
        padding: 5px;
    }
    
    .mobile-menu-toggle {
        right: 10px;
    }
}

/* Адаптация логотипа в мобильном меню для экранов 575px - 335px */

/* Адаптация логотипа в мобильном меню для экранов до 775px */
@media (max-width: 775px) {
    .mobile-menu-logo-icon {
        font-size: 14px !important;
    }
    
    .mobile-menu-logo {
        font-size: 12px !important;
    }
    
    .mobile-menu-tagline {
        font-size: 8px !important;
        letter-spacing: 0.7px !important;
    }
    
    .mobile-menu-logo-container {
        gap: 5px !important;
    }
    
    .mobile-menu-header {
        padding: 12px 45px 10px 12px !important;
    }
}

@media (max-width: 575.98px) {
    .mobile-menu-logo-icon {
        font-size: 12px !important;
    }
    
    .mobile-menu-logo {
        font-size: 12px !important;
    }
    
    .mobile-menu-tagline {
        font-size: 7px !important;
        letter-spacing: 0.8px !important;
    }
    
    .mobile-menu-header {
        padding: 20px 20px 12px !important;
    }
    
    .mobile-menu-logo-container {
        gap: 5px !important;
    }
}

@media (max-width: 479.98px) {
    .mobile-menu-logo-icon {
        font-size: 11px !important;
    }
    
    .mobile-menu-logo {
        font-size: 11px !important;
    }
    
    .mobile-menu-tagline {
        font-size: 6px !important;
        letter-spacing: 0.8px !important;
    }
    
    .mobile-menu-header {
        padding: 20px 18px 12px !important;
    }
    
    .mobile-menu-logo-container {
        gap: 4px !important;
    }
}

@media (max-width: 399.98px) {
    .mobile-menu-logo-icon {
        font-size: 10px !important;
    }
    
    .mobile-menu-logo {
        font-size: 10px !important;
    }
    
    .mobile-menu-tagline {
        font-size: 5px !important;
        letter-spacing: 0.6px !important;
    }
    
    .mobile-menu-header {
        padding: 18px 15px 10px !important;
    }
    
    .mobile-menu-logo-container {
        gap: 4px !important;
    }
    
    .nav-wrap-inner {
        width: 250px !important;
    }
}

@media (max-width: 359.98px) {
    .mobile-menu-logo-icon {
        font-size: 9px !important;
    }
    
    .mobile-menu-logo {
        font-size: 9px !important;
    }
    
    .mobile-menu-tagline {
        font-size: 4px !important;
        letter-spacing: 0.5px !important;
    }
    
    .mobile-menu-header {
        padding: 15px 12px 8px !important;
    }
    
    .mobile-menu-logo-container {
        gap: 4px !important;
    }
    
    .nav-wrap-inner {
        width: 230px !important;
    }
}

@media (max-width: 335px) {
    .mobile-menu-logo-icon {
        font-size: 8px !important;
    }
    
    .mobile-menu-logo {
        font-size: 8px !important;
    }
    
    .mobile-menu-tagline {
        font-size: 3px !important;
        letter-spacing: 0.3px !important;
    }
    
    .mobile-menu-header {
        padding: 12px 10px 6px !important;
    }
    
    .mobile-menu-logo-container {
        gap: 4px !important;
    }
    
    .nav-wrap-inner {
        width: 210px !important;
    }
    
    .mobile-menu-close {
        width: 28px !important;
        height: 28px !important;
        top: 15px !important;
        right: 15px !important;
        font-size: 16px !important;
    }
}

/* Дополнительная адаптация элементов мобильного меню */
@media (max-width: 479.98px) {
    .nav {
        padding: 0 20px !important;
    }
    
    .nav > li > a {
        padding: 15px 0 !important;
        font-size: 15px !important;
    }
    
    .mobile-menu-footer {
        padding: 20px !important;
    }
    
    .mobile-menu-cta {
        padding: 12px 15px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 399.98px) {
    .nav {
        padding: 0 15px !important;
    }
    
    .nav > li > a {
        padding: 12px 0 !important;
        font-size: 14px !important;
    }
    
    .mobile-menu-footer {
        padding: 15px !important;
    }
    
    .mobile-menu-cta {
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 335px) {
    .nav {
        padding: 0 12px !important;
    }
    
    .nav > li > a {
        padding: 10px 0 !important;
        font-size: 13px !important;
    }
    
    .mobile-menu-footer {
        padding: 12px !important;
    }
    
    .mobile-menu-cta {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
    
    .sub-menu > li > a {
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
}


/* Базовые стили для таблицы */
.table-responsive {
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    margin-bottom: 0;
    min-width: 100%;
}

.table th,
.table td {
    vertical-align: middle;
    padding: 12px 8px;
    border: 1px solid #dee2e6;
}

.table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

/* Стили для мобильных устройств 435px - 330px */
@media (max-width: 435px) {
    /* Уменьшение размера шрифта */
    .table {
        font-size: 0.9em !important;
    }
    
    /* Уменьшение отступов в ячейках */
    .table th,
    .table td {
        padding: 8px 4px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Заголовки таблицы */
    .table thead th {
        font-size: 0.85em !important;
        font-weight: 700 !important;
        text-align: center !important;
    }
    
    /* Первая колонка - услуги */
    .table td:first-child {
        font-weight: 600 !important;
        font-size: 0.8em !important;
        max-width: 120px !important;
        min-width: 100px !important;
    }
    
    /* Вторая колонка - описание */
    .table td:nth-child(2) {
        font-size: 0.75em !important;
        line-height: 1.3 !important;
        max-width: 150px !important;
        min-width: 120px !important;
    }
    
    /* Третья колонка - цена */
    .table td:last-child {
        font-weight: 700 !important;
        font-size: 0.8em !important;
        text-align: center !important;
        white-space: nowrap !important;
        min-width: 80px !important;
    }
    
    /* Текст под таблицей */
    .text-center.mt-3 {
        font-size: 0.8em !important;
        margin-top: 1rem !important;
        padding: 0 5px !important;
    }
}

/* Дополнительная адаптация для экранов 375px и меньше */
@media (max-width: 375px) {
    .table {
        font-size: 0.8em !important;
    }
    
    .table th,
    .table td {
        padding: 6px 3px !important;
    }
    
    .table thead th {
        font-size: 0.8em !important;
    }
    
    .table td:first-child {
        font-size: 0.75em !important;
        max-width: 100px !important;
        min-width: 85px !important;
    }
    
    .table td:nth-child(2) {
        font-size: 0.7em !important;
        line-height: 1.2 !important;
        max-width: 130px !important;
        min-width: 100px !important;
    }
    
    .table td:last-child {
        font-size: 0.75em !important;
        min-width: 70px !important;
    }
    
    .text-center.mt-3 {
        font-size: 0.75em !important;
    }
}

/* Экстремально маленькие экраны 330px */
@media (max-width: 330px) {
    .table {
        font-size: 0.7em !important;
    }
    
    .table th,
    .table td {
        padding: 4px 2px !important;
    }
    
    .table thead th {
        font-size: 0.75em !important;
        padding: 6px 2px !important;
    }
    
    .table td:first-child {
        font-size: 0.7em !important;
        max-width: 85px !important;
        min-width: 70px !important;
    }
    
    .table td:nth-child(2) {
        font-size: 0.65em !important;
        line-height: 1.1 !important;
        max-width: 110px !important;
        min-width: 85px !important;
    }
    
    .table td:last-child {
        font-size: 0.7em !important;
        min-width: 60px !important;
    }
    
    .text-center.mt-3 {
        font-size: 0.7em !important;
        line-height: 1.2 !important;
    }
    
    /* Принудительное ограничение ширины контейнера */
    .table-responsive {
        max-width: 100% !important;
        overflow-x: auto !important;
    }
}

/* Дополнительные утилиты для улучшения читаемости */
@media (max-width: 435px) {
    /* Улучшение контраста для мобильных */
    .table .text-primary {
        color: #0056b3 !important;
        font-weight: normal !important;
    }
    
    /* Улучшение границ таблицы */
    .table-bordered th,
    .table-bordered td {
        border: 1px solid #adb5bd !important;
    }
    
    /* Выделение заголовка */
    .table-light {
        background-color: #e9ecef !important;
    }
    
    /* Hover эффект для строк */
    .table-hover tbody tr:hover {
        background-color: #f5f5f5 !important;
    }
}

/* Принудительное переопределение Bootstrap стилей */
@media (max-width: 435px) {
    .table-responsive .table {
        margin-bottom: 0 !important;
    }
    
    .fw-bold {
        font-weight: 600 !important;
    }
    
    .mt-3 {
        margin-top: 1rem !important;
    }
}


/* Исправление криво выглядящего элемента page-title */
.page-title ul li:not(:last-child):after {
    display: none !important;
}

/* Альтернативный разделитель для page-title */
.page-title ul li:not(:last-child) {
    position: relative !important;
}

.page-title ul li:not(:last-child):after {
    content: "/" !important;
    position: absolute !important;
    right: -8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-family: inherit !important;
    font-size: 0.9em !important;
    color: #6c757d !important;
    width: auto !important;
    height: auto !important;
}

/* Адаптация для мобильных устройств */
@media (max-width: 767px) {
    .page-title ul li:not(:last-child):after {
        right: -6px !important;
        font-size: 0.8em !important;
    }
}

@media (max-width: 480px) {
    .page-title ul li:not(:last-child):after {
        right: -4px !important;
        font-size: 0.7em !important;
    }
}

/* Принудительное переопределение Bootstrap стилей */
@media (max-width: 991px) {
    .nav {
        margin-bottom: 0 !important;
    }
    
    .justify-content-center {
        justify-content: center !important;
    }
    
    /* Обеспечение корректного отображения иконок */
    .fad,
    .fa-home {
        display: inline-block !important;
        font-style: normal !important;
        font-variant: normal !important;
        text-rendering: auto !important;
        line-height: 1 !important;
    }
}






/* Скрытие тэглайна на очень маленьких экранах при необходимости */
@media (max-width: 320px) {
    .mobile-menu-tagline {
        display: none !important;
    }
    
    .mobile-menu-logo {
        margin-bottom: 0 !important;
    }
}






/* ========================================
   Адаптивные стили для страницы оплаты
   ======================================== */

/* Мобильные устройства до 576px */
@media (max-width: 575.98px) {
    /* Баннер */
    .banner .page-title h2 {
        font-size: 1.5rem !important;
        padding: 20px 10px !important;
    }
    
    .banner .page-title ul.nav {
        font-size: 0.85rem;
        flex-wrap: wrap;
    }
    
    .banner .page-title ul.nav li {
        padding: 5px;
    }
    
    /* Оптимизация таблицы для мобильных */
    .table {
        font-size: 0.7rem !important;
        width: 100% !important;
        table-layout: fixed !important;
    }
    
    .table thead th {
        font-size: 0.72rem !important;
        padding: 0.35rem 0.25rem !important;
        white-space: normal !important;
        line-height: 1.2;
        word-break: break-word;
        width: 50% !important;
    }
    
    .table tbody td {
        padding: 0.35rem 0.25rem !important;
        font-size: 0.7rem !important;
        line-height: 1.3;
        white-space: normal !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        width: 50% !important;
        max-width: 0 !important;
    }
    
    .table tbody td.fw-bold {
        font-size: 0.7rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        width: 50% !important;
        max-width: 0 !important;
    }
    
    .table-responsive {
        border: none;
        overflow-x: hidden !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Адаптация для узких экранов (430-450px) */
/* Убрать серый overlay с баннера */
.banner.style--three.overlay:after,
.banner.style--three:after {
    display: none !important;
    opacity: 0 !important;
}

.banner.style--three {
    background-color: transparent !important;
}

/* Полное отображение фона с волной на больших экранах */
@media (min-width: 1200px) {
    .banner.layer.style--three {
        min-height: 600px;
        background-size: 100% 100% !important;
        background-position: center !important;
    }
}

@media (max-width: 450px) {
    .table {
        font-size: 0.5rem !important;
    }
    
    .table thead th {
        font-size: 0.53rem !important;
        padding: 0.18rem 0.06rem !important;
    }
    
    .table tbody td {
        padding: 0.18rem 0.06rem !important;
        font-size: 0.5rem !important;
        line-height: 1.2;
    }
    
    .table tbody td.fw-bold {
        font-size: 0.5rem !important;
    }
}

/* Специально для экранов 430px и меньше */
@media (max-width: 430px) {
    .table {
        font-size: 0.48rem !important;
    }
    
    .table thead th {
        font-size: 0.5rem !important;
        padding: 0.15rem 0.05rem !important;
    }
    
    .table tbody td {
        padding: 0.15rem 0.05rem !important;
        font-size: 0.48rem !important;
        line-height: 1.15;
    }
    
    .table tbody td.fw-bold {
        font-size: 0.48rem !important;
    }
}
        /* Wiki Styles */
        .banner.layer.style--three {
            padding: 120px 0 80px;
            position: relative;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        .page-title {
            position: relative;
            z-index: 2;
        }
        
        .page-title h2 {
            font-size: 48px;
            font-weight: 900;
            color: white;
            margin-bottom: 25px;
            text-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }
        
        .page-title .nav {
            margin-bottom: 30px;
        }
        
        .page-title .nav li {
            color: white;
            font-size: 15px;
            padding: 0 8px;
            position: relative;
        }
        
        .page-title .nav li:not(:last-child)::after {
            content: '/';
            margin-left: 16px;
            color: rgba(255, 255, 255, 0.6);
        }
        
        .page-title .nav li a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .page-title .nav li a:hover {
            color: #00d4ff;
        }
        
        .page-title .nav li a i {
            margin-right: 5px;
        }
        
        .page-title .nav li.active {
            color: #00d4ff;
            font-weight: 500;
        }
        
        .wiki-search-box {
            max-width: 600px;
            margin: 30px auto 0;
            position: relative;
            z-index: 2;
        }
        
        .wiki-search-box input {
            width: 100%;
            padding: 18px 60px 18px 25px;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }
        
        .wiki-search-box input:focus {
            outline: none;
            box-shadow: 0 15px 50px rgba(0,0,0,0.3);
            transform: translateY(-2px);
        }
        
        .wiki-search-box button {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            background: linear-gradient(135deg, #00c3ff 0%, #1145d9 100%);
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .wiki-search-box button:hover {
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 5px 15px rgba(0, 195, 255, 0.4);
        }
        
        .wiki-categories {
            padding: 60px 0;
            background: #f8f9fa;
        }
        
        .category-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        
        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            border-color: #00c3ff;
        }
        
        .category-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #00c3ff 0%, #1145d9 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            color: white;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0, 195, 255, 0.3);
        }
        
        .category-card h3 {
            font-size: 22px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 15px;
        }
        
        .category-card p {
            color: #666;
            margin-bottom: 20px;
            line-height: 1.6;
        }
        
        .article-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .article-list li {
            padding: 12px 0;
            border-bottom: 1px solid #eee;
        }
        
        .article-list li:last-child {
            border-bottom: none;
        }
        
        .article-list a {
            color: #1145d9;
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        .article-list a:hover {
            color: #00c3ff;
            padding-left: 10px;
        }
        
        .article-list a i {
            margin-right: 10px;
            font-size: 14px;
        }
        
        .article-content {
            background: white;
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            display: none;
        }
        
        .article-content.active {
            display: block;
            animation: fadeIn 0.4s ease;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .article-content h2 {
            font-size: 32px;
            font-weight: 800;
            color: #1a1a1a;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 3px solid #00c3ff;
        }
        
        .article-content h3 {
            font-size: 24px;
            font-weight: 700;
            color: #1145d9;
            margin-top: 30px;
            margin-bottom: 15px;
        }
        
        .article-content h4 {
            font-size: 20px;
            font-weight: 600;
            color: #333;
            margin-top: 25px;
            margin-bottom: 12px;
        }
        
        .article-content p {
            line-height: 1.8;
            color: #555;
            margin-bottom: 15px;
            font-size: 16px;
        }
        
        .article-content ul, .article-content ol {
            margin-bottom: 20px;
            padding-left: 25px;
        }
        
        .article-content li {
            margin-bottom: 10px;
            line-height: 1.7;
            color: #555;
        }
        
        .article-content code {
            background: #f4f4f4;
            padding: 3px 8px;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            color: #d63384;
        }
        
        .article-content pre {
            background: #1a1a1a;
            color: #00c3ff;
            padding: 20px;
            border-radius: 8px;
            overflow-x: auto;
            margin: 20px 0;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            line-height: 1.5;
        }
        
        .info-box {
            background: #e7f3ff;
            border-left: 4px solid #1145d9;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
        }
        
        .info-box.warning {
            background: #fff3cd;
            border-left-color: #ffc107;
        }
        
        .info-box.success {
            background: #d4edda;
            border-left-color: #28a745;
        }
        
        .back-to-wiki {
            display: inline-block;
            padding: 12px 25px;
            background: linear-gradient(135deg, #00c3ff 0%, #1145d9 100%);
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            margin-bottom: 30px;
            transition: all 0.3s ease;
        }
        
        .back-to-wiki:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 195, 255, 0.4);
            color: white;
        }
        
        .breadcrumb-wiki {
            background: transparent;
            padding: 20px 0;
            margin-bottom: 0;
        }
        
        .breadcrumb-wiki a {
            color: #1145d9;
            text-decoration: none;
        }
        
        .breadcrumb-wiki a:hover {
            color: #00c3ff;
        }
        
        @media (max-width: 768px) {
            .wiki-hero h1 {
                font-size: 32px;
            }
            
            .article-content {
                padding: 25px 20px;
            }
            
            .article-content h2 {
                font-size: 24px;
            }
            
            .category-card {
                padding: 20px;
            }
        }
/* Улучшенные стили для страницы резервного копирования */
.single-page {
    padding: 60px 0;
    background: #f8f9fa;
}

.single-page .container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    max-width: 1140px;
}

.single-page h2 {
    color: #1145d9;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1145d9;
    clear: both;
}

.single-page h2:first-of-type {
    margin-top: 0;
}

.single-page h3 {
    color: #123fc0;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    clear: both;
}

.single-page h4 {
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
}

.single-page p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.single-page ul, .single-page ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.single-page li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #444;
}

.single-page strong {
    color: #1145d9;
    font-weight: 600;
}

/* Стили для code blocks */
.code-block, pre.code-block {
    background: #2d3748;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    border-left: 4px solid #1145d9;
}

/* Glassmorphism effect */
.glassmorphism {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    margin: 50px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
    clear: both;
    overflow: hidden;
}

/* Заголовки внутри glassmorphism блока */
.glassmorphism h2:first-child {
    margin-top: 0;
}

.glassmorphism h3:first-child {
    margin-top: 0;
}

.glassmorphism > div {
    margin-bottom: 20px;
}

.glassmorphism > div:last-child {
    margin-bottom: 0;
}

/* Изображения */
.single-page img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    display: block;
    margin: 30px auto;
    clear: both;
}

.single-page img:hover {
    transform: scale(1.02);
}

/* Breadcrumbs styling */
.breadcrumbs {
    display: none;
}

#main-nav ol {
    display: none;
}

/* Улучшенные списки */
.single-page ul li::marker {
    color: #1145d9;
}

/* Responsive */
@media (max-width: 768px) {
    .single-page .container {
        padding: 25px 20px;
    }
    
    .single-page h2 {
        font-size: 1.6rem;
    }
    
    .single-page h3 {
        font-size: 1.3rem;
    }
    
    .single-page p, .single-page li {
        font-size: 1rem;
    }
    
    .glassmorphism {
        padding: 20px;
        margin: 30px 0;
    }
}

/* Spacing improvements */
.single-page section {
    margin-bottom: 0;
}

#main {
    margin-top: 0;
}

/* Дополнительная очистка float для вложенных divs */
.single-page > div {
    clear: both;
}

/* ========== News Page Styles ========== */
.news-page {
    padding: 60px 0;
    background: #f8f9fa;
}

.news-page .container {
    max-width: 900px;
}

.posts-list {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.news-item {
    padding-bottom: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.news-item:last-of-type {
    border-bottom: none;
}

.news-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-title a {
    color: #1145d9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #123fc0;
    text-decoration: underline;
}

.post-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.post-date i {
    color: #1145d9;
    margin-right: 8px;
}

.news-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.news-item ul {
    margin: 15px 0 15px 25px;
    padding: 0;
}

.news-item ul li {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 8px;
}

.news-item strong {
    color: #1145d9;
    font-weight: 600;
}

.news-item center {
    margin: 20px 0;
}

.news-item center img {
    max-width: 100%;
    height: auto;
}

/* Pagination Styles */
.blog-pagination {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.blog-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.blog-pagination ul li {
    margin: 0;
}

.blog-pagination ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-pagination ul li a:hover {
    background: #1145d9;
    color: white;
    border-color: #1145d9;
}

.blog-pagination ul li.active a {
    background: #1145d9;
    color: white;
    border-color: #1145d9;
}

.blog-pagination ul li.directional a {
    width: 40px;
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .posts-list {
        padding: 30px 20px;
    }
    
    .news-title {
        font-size: 1.4rem;
    }
    
    .news-item p {
        font-size: 1rem;
    }
    
    .blog-pagination ul {
        gap: 5px;
    }
    
    .blog-pagination ul li a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .banner-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .banner-content p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    .page-title h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .page-title p {
        font-size: 0.95rem !important;
    }
}

/* Исправление наложения логотипа футера на "Услуги" в диапазоне 991-576px */
@media (min-width: 576px) and (max-width: 991px) {
    .footer-widgets .row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
    }
    
    .footer .widget_about {
        margin-bottom: 30px;
    }
    
    .footer .logo-container {
        max-width: 280px;
    }
    
    .footer .col-xl-4.col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    .footer .col-xl-2.col-lg-3.col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin-bottom: 25px !important;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .banner-content p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    .page-title h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .page-title p {
        font-size: 0.9rem !important;
    }
    
    .banner-content {
        padding: 20px 10px;
    }
}

@media (max-width: 400px) {
    .banner-content h1 {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
    }
    
    .banner-content p {
        font-size: 0.9rem !important;
    }
    
    .page-title h2 {
        font-size: 1.3rem !important;
    }
    
    .page-title p {
        font-size: 0.85rem !important;
    }
}

/* Отступ над активным элементом breadcrumbs в мобильной и планшетной версии */
@media (max-width: 991.98px) {
    .page-title .nav.justify-content-center li.active {
        margin-top: 8px;
    }
}

/* Исправление слипания карточек тарифов */
@media (min-width: 992px) {
    .price-bg-shape.style--two .row.gx-lg-0 {
        --bs-gutter-x: 24px;
    }
    
    .single-price.style--two {
        margin: 0 12px 30px;
    }
}

/* Адаптивный размер текста цены на средних экранах */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .price-bg-shape .price-amount {
        font-size: clamp(22px, 2vw, 28px) !important;
        line-height: 1.1;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    
    .price-bg-shape .price-amount span {
        font-size: 0.6em !important;
    }
    
    .price-bg-shape .price-content {
        overflow: hidden;
    }
    
    .single-price.style--two {
        padding: 40px 25px 50px !important;
    }
}

@media (max-width: 991.98px) {
    .single-price.style--two {
        margin-left: 10px;
        margin-right: 10px;
        border-radius: 5px !important;
        padding: 35px 20px 45px !important;
    }
    
    .price-bg-shape .price-amount {
        font-size: clamp(20px, 4vw, 26px) !important;
        line-height: 1.1;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    
    .price-bg-shape .price-amount span {
        font-size: 0.55em !important;
    }
    
    .price-bg-shape .price-content {
        overflow: hidden;
    }
}

@media (max-width: 767.98px) {
    .single-price.style--two {
        margin-left: 0;
        margin-right: 0;
    }
}
