/* ==========================================================================
   gw2026ru2: Стилистика в духе «Маша Ли Тур» (masha-li-china-tour.ru)
   Цветовая палитра:
   - Основной природный зеленый: #5d8c2e (ховер: #4a7224, фон: #f3f7ee)
   - Теплый янтарный акцент: #f59e0b / #d97706
   - Глубокий темный текст: #171717
   - Вторичный текст: #4b5563
   - Скругления: карточки 16~20px, кнопки-пилюли 30~50px
   - Шрифт: Inter, Roboto, Open Sans (Cyrillic)
   ========================================================================== */

:root {
    --masha-green: #5d8c2e;
    --masha-green-dark: #4a7224;
    --masha-green-light: #f3f7ee;
    --masha-green-soft: rgba(93, 140, 46, 0.12);
    --masha-amber: #f59e0b;
    --masha-dark: #171717;
    --masha-gray: #4b5563;
    --masha-light: #f8fafc;
    --masha-border: #e5e7eb;
    --masha-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --masha-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --masha-shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12);
    --masha-radius-card: 16px;
    --masha-radius-pill: 50px;
}

body.lang-ru {
    font-family: "Inter", "Roboto", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--masha-dark);
    background-color: #fafbf9;
}

/* ==========================================================================
   1. Шапка сайта и Навигация (Header & Nav)
   ========================================================================== */
.site-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: var(--masha-shadow-sm);
    transition: all 0.3s ease;
}

.site-header .menu > ul > li > a {
    color: var(--masha-dark) !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    padding: 10px 16px;
    border-radius: var(--masha-radius-pill);
    transition: all 0.25s ease;
}

.site-header .menu > ul > li > a:hover,
.site-header .menu > ul > li > a.active {
    color: var(--masha-green) !important;
    background: var(--masha-green-soft);
}

/* Кнопки быстрых мессенджеров в шапке */
.header-social-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 14px;
}

.header-btn-msg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 18px;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-btn-msg:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.header-btn-wa {
    background: #25d366;
}

.header-btn-tg {
    background: #0088cc;
}

.header-btn-phone {
    background: var(--masha-green);
}

.header-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--masha-green);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: var(--masha-radius-pill);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.header-cta-pill:hover {
    background: var(--masha-green-dark);
    box-shadow: 0 4px 14px rgba(93, 140, 46, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   2. Главный баннер (Hero Slider)
   ========================================================================== */
.main-slider .image-layer-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.72) 100%) !important;
}

.main-slider__content h2 {
    font-size: 42px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 16px;
}

.main-slider__content p {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 680px;
    margin-bottom: 24px;
}

.hero-actions-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.btn-masha-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--masha-green) !important;
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: var(--masha-radius-pill) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(93, 140, 46, 0.4);
    transition: all 0.25s ease;
}

.btn-masha-primary:hover {
    background: var(--masha-green-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(93, 140, 46, 0.5);
    color: #ffffff !important;
}

.btn-masha-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 26px !important;
    border-radius: var(--masha-radius-pill) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.btn-masha-glass:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* ==========================================================================
   3. Полоса преимуществ Маша Ли (Trust Badges Strip)
   ========================================================================== */
.masha-trust-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--masha-border);
    padding: 24px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 5;
}

.masha-trust-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    transition: transform 0.2s ease;
}

.masha-trust-card:hover {
    transform: translateY(-2px);
}

.masha-trust-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--masha-green-soft);
    color: var(--masha-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.masha-trust-content h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--masha-dark);
}

.masha-trust-content p {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--masha-gray);
    line-height: 1.35;
}

/* ==========================================================================
   4. Карточки туров (Tour Product Cards)
   ========================================================================== */
.product-wrapper {
    padding: 36px 0 20px;
}

.product-item-wrapper {
    background: #ffffff !important;
    border-radius: var(--masha-radius-card) !important;
    overflow: hidden !important;
    box-shadow: var(--masha-shadow-sm) !important;
    border: 1px solid var(--masha-border) !important;
    transition: all 0.3s ease !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-item-wrapper:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--masha-shadow-md) !important;
    border-color: rgba(93, 140, 46, 0.3) !important;
}

.product-item-wrapper .pic {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

.product-item-wrapper .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item-wrapper:hover .pic img {
    transform: scale(1.06);
}

/* Бейджи категорий тура */
.tour-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(23, 23, 23, 0.75);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--masha-radius-pill);
    backdrop-filter: blur(4px);
    z-index: 2;
}

.product-item-wrapper .content-wrapper {
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-item-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--masha-dark) !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease;
}

.product-item-wrapper:hover .product-item-title {
    color: var(--masha-green) !important;
}

.product-item-info {
    font-size: 13.5px !important;
    color: var(--masha-gray) !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    flex: 1;
}

/* Мета-теги тура: дни, маршрут */
.tour-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--masha-border);
}

.tour-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #4b5563;
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 6px;
}

.tour-meta-pill i {
    color: var(--masha-green);
}

.product-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-item-bottom .price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--masha-green) !important;
}

.product-item-bottom .price-unit {
    font-size: 14px !important;
    font-weight: 600;
}

.product-item-bottom .btn-tour-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--masha-green-soft);
    color: var(--masha-green) !important;
    padding: 6px 14px;
    border-radius: var(--masha-radius-pill);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.product-item-wrapper:hover .btn-tour-more {
    background: var(--masha-green);
    color: #ffffff !important;
}

/* ==========================================================================
   5. Блок популярных направлений (Popular Destinations Grid)
   ========================================================================== */
.destinations-section {
    padding: 36px 0 20px;
    background: #ffffff;
    border-top: 1px solid var(--masha-border);
    border-bottom: 1px solid var(--masha-border);
}

.dest-card {
    position: relative;
    border-radius: var(--masha-radius-card);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 0;
    box-shadow: var(--masha-shadow-sm);
    display: block;
    text-decoration: none !important;
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.dest-card:hover img {
    transform: scale(1.08);
}

.dest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.25) 50%, transparent 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.3s ease;
}

.dest-card:hover .dest-card-overlay {
    background: linear-gradient(to top, rgba(17, 24, 39, 0.92) 0%, rgba(93, 140, 46, 0.35) 60%, transparent 100%);
}

.dest-card-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
}

.dest-card-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   6. Блок отзывов путешественников (Reviews / Testimonials)
   ========================================================================== */
.reviews-section {
    padding: 36px 0 20px;
    background: #fafbf9;
}

.review-card {
    background: #ffffff;
    border-radius: var(--masha-radius-card);
    padding: 28px 24px;
    box-shadow: var(--masha-shadow-sm);
    border: 1px solid var(--masha-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--masha-shadow-md);
    border-color: rgba(93, 140, 46, 0.25);
}

.review-stars {
    color: var(--masha-amber);
    font-size: 15px;
    margin-bottom: 14px;
}

.review-text {
    font-size: 14px;
    color: var(--masha-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--masha-green-soft);
    color: var(--masha-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.review-author-info h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--masha-dark);
}

.review-author-info small {
    color: #9ca3af;
    font-size: 12px;
}

/* ==========================================================================
   7. Блок формы обратной связи внизу сайта (Contact Wrapper Color Tuning)
   ========================================================================== */
.contact-wrapper {
    background-color: #1a2218 !important; /* глубокий природный темно-зеленый оттенок */
    padding: 36px 0 !important;
}

.contact-wrapper .public-title h3 {
    color: #ffffff !important;
    font-size: 30px !important;
    font-weight: 700 !important;
}

.contact-wrapper .public-title p {
    color: #9ca3af !important;
    font-size: 16px !important;
}

.contact-wrapper .contact-content input:focus {
    border-color: var(--masha-green) !important;
    box-shadow: 0 0 0 3px rgba(93, 140, 46, 0.25) !important;
}

.contact-wrapper .contact-content button {
    background-color: var(--masha-green) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.contact-wrapper .contact-content button:hover {
    background-color: var(--masha-green-dark) !important;
    box-shadow: 0 4px 14px rgba(93, 140, 46, 0.4) !important;
    opacity: 0.95 !important;
}

/* ==========================================================================
   8. Плавающий виджет обратной связи (Floating Messenger Widget)
   ========================================================================== */
.masha-floating-cta {
    position: fixed;
    right: 22px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.masha-float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    text-decoration: none !important;
    position: relative;
    transition: all 0.25s ease;
}

.masha-float-btn:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.masha-float-wa {
    background: #25d366;
}

.masha-float-tg {
    background: #0088cc;
}

.masha-float-top {
    background: #374151;
    font-size: 20px;
}

/* Всплывающая подсказка при наведении на плавающие кнопки */
.masha-float-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 64px;
    background: rgba(17, 24, 39, 0.88);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(8px);
}

.masha-float-btn:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   9. Страница товара/тура (Detail Product Page Enhancements)
   ========================================================================== */
.detail-booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.btn-detail-wa,
.btn-detail-tg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--masha-radius-pill);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-detail-wa {
    background: #25d366;
}

.btn-detail-wa:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-detail-tg {
    background: #0088cc;
}

.btn-detail-tg:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 136, 204, 0.35);
}

.detail-trust-box {
    background: var(--masha-green-light);
    border: 1px solid rgba(93, 140, 46, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--masha-dark);
    font-weight: 500;
}

.detail-trust-item i {
    color: var(--masha-green);
    font-size: 15px;
    width: 18px;
    text-align: center;
}

.detail-anchor-group .btn-anchor-jump {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--masha-green);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: var(--masha-radius-pill);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-right: 8px;
    margin-bottom: 8px;
}

.detail-anchor-group .btn-anchor-jump.btn-outline {
    background: transparent;
    color: var(--masha-green) !important;
    border: 1px solid var(--masha-green);
}

.detail-anchor-group .btn-anchor-jump:hover {
    background: var(--masha-green-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.product-info-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--masha-green);
    margin-bottom: 15px;
}

/* ==========================================================================
   10. Унифицированные компактные отступы секций главной (Home Section Spacing)
   ========================================================================== */
.about-video-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}

.why-us-wrapper {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}

.case-wrapper {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}

.news-wrapper {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}

@media (max-width: 767.98px) {
    /* 1. 容器全屏及两侧 18px 优雅呼吸间距，防止任何文字与边缘贴紧 */
    .container,
    .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* 2. 首页 Banner 文本防止紧贴屏幕左边 */
    .main-slider .swiper-slide-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .main-slider__content {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .main-slider__content h2 {
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }
    .main-slider__content p {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 14px !important;
    }

    /* 3. 紧凑模块上下间距：彻底消灭 60px/40px 间隙，保持清爽连贯 */
    .masha-trust-strip,
    .about-video-section,
    .product-wrapper,
    .destinations-section,
    .why-us-wrapper,
    .reviews-section,
    .case-wrapper,
    .news-wrapper,
    .contact-wrapper {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }
    .masha-trust-strip {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .masha-trust-card {
        padding: 12px 14px !important;
    }

    /* 4. 标题与栏目文字紧凑排版，杜绝生硬留白 */
    .public-title,
    .destinations-section .text-center,
    .why-us-wrapper .text-center,
    .reviews-section .text-center,
    .about-video-section .text-center {
        margin-bottom: 10px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .public-title h3,
    .destinations-section h3,
    .why-us-wrapper h3,
    .reviews-section h3,
    .case-wrapper h3,
    .news-wrapper h3,
    .about-video-section h3,
    .product-wrapper h3 {
        font-size: 21px !important;
        line-height: 1.3 !important;
        margin-top: 4px !important;
        margin-bottom: 4px !important;
    }
    .public-title p,
    .destinations-section p,
    .why-us-wrapper p,
    .reviews-section p,
    .case-wrapper p,
    .news-wrapper p,
    .about-video-section p,
    .product-wrapper p {
        font-size: 12.5px !important;
        line-height: 1.4 !important;
        margin-top: 4px !important;
        margin-bottom: 0 !important;
    }

    /* 5. 栅格网格间距调整 */
    .product-list.row,
    .news-list.row,
    .why-us-wrapper .row,
    .destinations-section .row,
    .reviews-section .row {
        --bs-gutter-y: 12px !important;
        row-gap: 12px !important;
        margin-bottom: 0 !important;
    }
    .why-us-item {
        margin-bottom: 12px !important;
        padding: 18px 14px !important;
    }
    .product-more {
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }
    .case-wrapper .case-swiper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 6. 内页列表与表单紧凑优化 */
    .page-list.product-wrapper,
    .page-list.case-wrapper,
    .page-list.news-wrapper,
    .page-content {
        padding-top: 14px !important;
        padding-bottom: 18px !important;
        margin-top: 0 !important;
    }
    .contact-wrapper--white {
        padding: 16px 14px !important;
        margin-bottom: 14px !important;
        border-radius: 12px !important;
    }
    .contact-wrapper--white .public-title {
        margin-bottom: 10px !important;
    }
    .contact-wrapper--white .public-title h3 {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }
    .contact-wrapper--white .public-title p {
        font-size: 12px !important;
        margin-bottom: 0 !important;
    }
    .contact-wrapper--white .contact-content .row {
        row-gap: 8px !important;
    }
    .contact-wrapper--white .contact-content input {
        padding: 8px 16px !important;
        font-size: 13px !important;
        height: 38px !important;
    }
    .contact-wrapper--white .contact-content button {
        padding: 8px 20px !important;
        font-size: 13px !important;
        height: 38px !important;
    }
}

/* ==========================================================================
   11. Улучшенный баннер внутренних страниц (Subpage Hero Banner 480px - 2/3 от главной)
   ========================================================================== */
.neibanner {
    height: 480px !important;
    min-height: 480px !important;
    max-height: 520px !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: #0f172a !important;
    display: block !important;
    padding-top: 0 !important;
}

.neibanner > img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transform: scale(1.02);
    transition: transform 0.6s ease;
    opacity: 0.92 !important;
    filter: none !important;
}

/* Элегантный затемняющий градиент для превосходной читаемости текста */
.neibanner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.76) 100%) !important;
    pointer-events: none;
    z-index: 1;
}

.neibanner .neibannerdesc {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding-top: 105px !important;
    padding-bottom: 0 !important;
}

.neibanner .neibannerdesc .neibannerdesc-title {
    text-align: center;
    max-width: 960px;
    margin: auto;
    padding: 0 20px;
}

.neibanner .neibannerdesc p {
    display: inline-block;
    background: var(--masha-green-soft, rgba(93, 140, 46, 0.22));
    color: #a3e635 !important;
    border: 1px solid rgba(163, 230, 53, 0.35);
    padding: 6px 18px;
    border-radius: var(--masha-radius-pill, 50px);
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px !important;
    backdrop-filter: blur(6px);
}

.neibanner .neibannerdesc h2 {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5) !important;
}

/* Панель внутренней навигации и хлебных крошек внизу баннера */
.neinav {
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 10px 0 !important;
    margin-top: auto !important;
}

.neinav .neinav-wrapper li a {
    color: rgba(255, 255, 255, 0.88) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    font-weight: 500;
}

.neinav .neinav-wrapper li.active a,
.neinav .neinav-wrapper li a:hover {
    background: var(--masha-green) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(93, 140, 46, 0.35);
}

.neinav .neiposition,
.neinav .neiposition a {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 13px;
}

.neinav .neiposition a:hover {
    color: #ffffff !important;
}

@media (max-width: 1199.98px) {
    .neibanner {
        height: 420px !important;
        min-height: 420px !important;
        max-height: 450px !important;
    }
    .neibanner .neibannerdesc {
        padding-top: 95px !important;
    }
    .neibanner .neibannerdesc h2 {
        font-size: 34px !important;
    }
}

@media (max-width: 991.98px) {
    .neibanner {
        height: 280px !important;
        min-height: 280px !important;
        max-height: 300px !important;
    }
    .neibanner .neibannerdesc {
        justify-content: center !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .neibanner .neibannerdesc h2 {
        font-size: 26px !important;
    }
}

@media (max-width: 767.98px) {
    .neibanner {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 190px !important;
    }
    .neibanner .neibannerdesc {
        justify-content: center !important;
        padding: 0 15px !important;
    }
    .neibanner .neibannerdesc .neibannerdesc-title {
        margin: 0 auto !important;
        padding: 0 10px !important;
    }
    .neibanner .neibannerdesc p {
        font-size: 11px !important;
        padding: 3px 12px !important;
        margin-bottom: 6px !important;
    }
    .neibanner .neibannerdesc h2 {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }
}




