/* Плавные переходы элементов */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Стильный скроллбар */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #FDFBF7;
}
::-webkit-scrollbar-thumb {
    background: #D1B06C;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #962D2D;
}

/* Эффект наведения на ссылки в меню */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #962D2D;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link-active::after {
    width: 100%;
}

/* Вспомогательные классы для анимаций */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Текстура на задний фон */
.bg-texture {
    background-image: radial-gradient(circle at 1px 1px, rgba(209, 176, 108, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Плавный переход при смене страниц */
body {
    animation: fadeIn 0.4s ease-out;
}

/* ============================================
   PREMIUM DESIGN UPGRADE — SCROLL REVEAL
   ============================================ */

/* Scroll Reveal Base */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for cards */
.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.25s; }
.scroll-reveal-delay-3 { transition-delay: 0.4s; }

/* Slide from left */
.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.scroll-reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up reveal */
.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   HERO — PARALLAX & PARTICLES
   ============================================ */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg-parallax {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Hero text entrance animation */
@keyframes heroTextReveal {
    0% { opacity: 0; transform: translateY(30px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-text-reveal {
    animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-text-reveal-delay-1 { animation-delay: 0.2s; opacity: 0; }
.hero-text-reveal-delay-2 { animation-delay: 0.5s; opacity: 0; }
.hero-text-reveal-delay-3 { animation-delay: 0.8s; opacity: 0; }

/* Particle canvas */
#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Scroll indicator */
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(10px); opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: scrollBounce 2s ease-in-out infinite;
    cursor: pointer;
}

.scroll-indicator-circle {
    width: 36px;
    height: 56px;
    border: 2px solid rgba(209, 176, 108, 0.5);
    border-radius: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator-dot {
    width: 4px;
    height: 10px;
    background: #D1B06C;
    border-radius: 2px;
    animation: scrollDotMove 2s ease-in-out infinite;
}

@keyframes scrollDotMove {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(16px); opacity: 0.3; }
}

/* ============================================
   3D CARD TILT
   ============================================ */

.card-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.card-3d-inner {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.card-3d-inner:hover {
    box-shadow: 0 25px 60px -12px rgba(30, 37, 43, 0.25),
                0 0 30px rgba(209, 176, 108, 0.15);
}

/* Card gradient accent on hover */
.card-3d-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(209, 176, 108, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.card-3d-inner:hover::before {
    opacity: 1;
}

/* Icon pulse on hover */
@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.card-icon-animate {
    transition: transform 0.3s ease, color 0.3s ease;
}

.card-3d-inner:hover .card-icon-animate {
    animation: iconPulse 0.8s ease infinite;
    color: #962D2D;
}

/* ============================================
   GLASSMORPHISM
   ============================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(209, 176, 108, 0.3);
}

/* ============================================
   PULSE GLOW CTA BUTTONS
   ============================================ */

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(150, 45, 45, 0.3); }
    50% { box-shadow: 0 0 35px rgba(150, 45, 45, 0.55), 0 0 60px rgba(150, 45, 45, 0.2); }
}

.btn-glow {
    position: relative;
    animation: pulseGlow 3s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(150, 45, 45, 0.5), 0 12px 40px rgba(150, 45, 45, 0.3);
}

/* Ghost button with border glow */
.btn-ghost-glow {
    position: relative;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-ghost-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(209, 176, 108, 0.4);
    border-color: #D1B06C;
    color: #D1B06C;
}

/* ============================================
   SHIMMER DIVIDER
   ============================================ */

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shimmer-divider {
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(209, 176, 108, 0.2) 20%,
        #D1B06C 50%,
        rgba(209, 176, 108, 0.2) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    border: none;
    border-radius: 2px;
}

/* ============================================
   ANIMATED COUNTER
   ============================================ */

.counter-value {
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 2ch;
}

/* Counter accent bar */
.counter-bar {
    height: 3px;
    background: linear-gradient(90deg, #962D2D, #D1B06C);
    border-radius: 2px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.counter-bar.animated {
    transform: scaleX(1);
}

/* ============================================
   TESTIMONIAL CAROUSEL
   ============================================ */

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .carousel-slide {
        min-width: 33.3333%;
    }
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(209, 176, 108, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(209, 176, 108, 0.6);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #962D2D;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(150, 45, 45, 0.3);
}

/* Carousel navigation arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(209, 176, 108, 0.3);
    color: #1E252B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-arrow:hover {
    background: #962D2D;
    color: #fff;
    box-shadow: 0 4px 20px rgba(150, 45, 45, 0.3);
}

.carousel-arrow-prev { left: -8px; }
.carousel-arrow-next { right: -8px; }

@media (min-width: 768px) {
    .carousel-arrow-prev { left: -16px; }
    .carousel-arrow-next { right: -16px; }
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1E252B 0%, #2a3540 40%, #1E252B 100%);
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(209, 176, 108, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(150, 45, 45, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 1px 1px, rgba(209, 176, 108, 0.04) 1px, transparent 0);
    background-size: 100% 100%, 100% 100%, 20px 20px;
    pointer-events: none;
}

/* Floating decorative shapes */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatMedium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
}

.cta-float-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.cta-float-1 {
    top: 15%;
    left: 10%;
    animation: floatSlow 8s ease-in-out infinite;
}

.cta-float-2 {
    bottom: 20%;
    right: 15%;
    animation: floatMedium 6s ease-in-out infinite;
    animation-delay: -2s;
}

.cta-float-3 {
    top: 60%;
    left: 70%;
    animation: floatSlow 10s ease-in-out infinite;
    animation-delay: -4s;
}

/* ============================================
   SECTION DECORATIONS
   ============================================ */

/* Ornamental corners for sections */
.section-ornament {
    position: relative;
}

.section-ornament::before,
.section-ornament::after {
    content: '✦';
    position: absolute;
    color: rgba(209, 176, 108, 0.15);
    font-size: 24px;
    pointer-events: none;
}

.section-ornament::before {
    top: 20px;
    left: 20px;
}

.section-ornament::after {
    bottom: 20px;
    right: 20px;
}

/* ============================================
   REVIEW CARD ENHANCEMENTS
   ============================================ */

.review-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.review-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #962D2D, #D1B06C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.review-card:hover::after {
    transform: scaleX(1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(30, 37, 43, 0.15);
}

/* ============================================
   NEWS CARD HOVER IMPROVEMENTS
   ============================================ */

.news-card-premium {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.news-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -12px rgba(30, 37, 43, 0.2);
}

.news-card-premium .news-card-image {
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.news-card-premium:hover .news-card-image {
    transform: scale(1.08);
}

/* ============================================
   MISC PREMIUM UTILITIES
   ============================================ */

/* Text gradient utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #D1B06C, #e8c97d, #D1B06C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative line with gradient */
.line-gradient {
    height: 2px;
    background: linear-gradient(90deg, transparent, #D1B06C, transparent);
    border: none;
}

/* Hover lift utility */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -8px rgba(30, 37, 43, 0.15);
}

/* --- РЕЖИМ ДЛЯ СЛАБОВИДЯЩИХ (БВИ) --- */

/* Включение режима слабовидящих */
body.bvi-active {
    font-family: Arial, sans-serif !important;
    line-height: 1.6 !important;
    letter-spacing: 0.05em !important;
    padding-top: 75px !important; /* Отступ под закрепленную панель */
}

/* Настройки размера шрифта */
body.bvi-active.bvi-font-normal {
    --bvi-font-scale: 1;
}
body.bvi-active.bvi-font-medium {
    --bvi-font-scale: 1.25;
}
body.bvi-active.bvi-font-large {
    --bvi-font-scale: 1.5;
}

body.bvi-active * {
    font-size: calc(1rem * var(--bvi-font-scale)) !important;
    transition: none !important;
    animation: none !important;
}

/* Размеры заголовков */
body.bvi-active h1 {
    font-size: calc(2.2rem * var(--bvi-font-scale)) !important;
    font-weight: bold !important;
}
body.bvi-active h2 {
    font-size: calc(1.8rem * var(--bvi-font-scale)) !important;
    font-weight: bold !important;
}
body.bvi-active h3 {
    font-size: calc(1.4rem * var(--bvi-font-scale)) !important;
    font-weight: bold !important;
}

/* --- ЦВЕТОВЫЕ ТЕМЫ --- */

/* Схема 1: Черным по белому */
body.bvi-active.bvi-theme-white {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
}
body.bvi-active.bvi-theme-white * {
    background-color: transparent !important;
    color: #000000 !important;
    border-color: #000000 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

/* Схема 2: Белым по черному */
body.bvi-active.bvi-theme-black {
    background-color: #000000 !important;
    background-image: none !important;
    color: #ffffff !important;
}
body.bvi-active.bvi-theme-black * {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

/* Схема 3: Темно-синим по голубому */
body.bvi-active.bvi-theme-blue {
    background-color: #9dd1ff !important;
    background-image: none !important;
    color: #063462 !important;
}
body.bvi-active.bvi-theme-blue * {
    background-color: transparent !important;
    color: #063462 !important;
    border-color: #063462 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

/* Рамки и читаемость интерактивных элементов */
body.bvi-active a,
body.bvi-active button,
body.bvi-active input,
body.bvi-active select,
body.bvi-active textarea,
body.bvi-active table,
body.bvi-active th,
body.bvi-active td {
    border: 2px solid currentColor !important;
    padding: 6px 12px !important;
    text-decoration: underline !important;
}

body.bvi-active a:hover,
body.bvi-active button:hover {
    text-decoration: none !important;
}

/* Подсветка при наведении */
body.bvi-active.bvi-theme-white a:hover,
body.bvi-active.bvi-theme-white button:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.bvi-active.bvi-theme-black a:hover,
body.bvi-active.bvi-theme-black button:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

body.bvi-active.bvi-theme-blue a:hover,
body.bvi-active.bvi-theme-blue button:hover {
    background-color: #063462 !important;
    color: #9dd1ff !important;
}

/* Режим отключения изображений */
body.bvi-active.bvi-images-off img,
body.bvi-active.bvi-images-off iframe,
body.bvi-active.bvi-images-off video,
body.bvi-active.bvi-images-off [style*="background-image"] {
    display: none !important;
}

/* --- СТИЛИ ПАНЕЛИ УПРАВЛЕНИЯ БВИ (ИЗОЛИРОВАННЫЕ) --- */
body.bvi-active .bvi-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 10px 20px !important;
    z-index: 100000 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    font-family: Arial, sans-serif !important;
    text-decoration: none !important;
}

body.bvi-active .bvi-panel * {
    font-size: 14px !important;
    text-decoration: none !important;
}

body.bvi-active .bvi-panel-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

body.bvi-active .bvi-panel-label {
    font-weight: bold !important;
    margin-right: 5px !important;
}

body.bvi-active .bvi-panel-btn {
    border-radius: 4px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 12px !important;
    font-weight: bold !important;
}

body.bvi-active .bvi-panel a,
body.bvi-active .bvi-panel button {
    border: 2px solid currentColor !important;
    padding: 6px 12px !important;
    text-decoration: none !important;
}

/* Стилизация тем кнопок */
body.bvi-active .bvi-panel-btn-theme-white {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
}
body.bvi-active .bvi-panel-btn-theme-black {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}
body.bvi-active .bvi-panel-btn-theme-blue {
    background-color: #9dd1ff !important;
    color: #063462 !important;
    border: 2px solid #063462 !important;
}

/* Кнопка закрытия */
body.bvi-active .bvi-panel-btn-close {
    background-color: #962D2D !important;
    color: #ffffff !important;
    border: 2px solid #962D2D !important;
}
body.bvi-active .bvi-panel-btn-close:hover {
    background-color: #b83a3a !important;
    color: #ffffff !important;
}

/* Переопределение тем для панели БВИ */

/* Белая тема */
body.bvi-active.bvi-theme-white .bvi-panel {
    background-color: #f3f4f6 !important;
    border-bottom: 3px solid #374151 !important;
    color: #1f2937 !important;
}
body.bvi-active.bvi-theme-white .bvi-panel-btn:not(.bvi-panel-btn-theme-black):not(.bvi-panel-btn-theme-blue):not(.bvi-panel-btn-close) {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #374151 !important;
}
body.bvi-active.bvi-theme-white .bvi-panel-btn:not(.bvi-panel-btn-theme-black):not(.bvi-panel-btn-theme-blue):not(.bvi-panel-btn-close):hover {
    background-color: #e5e7eb !important;
}
body.bvi-active.bvi-theme-white .bvi-panel-btn.active {
    background-color: #374151 !important;
    color: #ffffff !important;
}
body.bvi-active.bvi-theme-white .bvi-panel-btn-theme-white.active {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Черная тема */
body.bvi-active.bvi-theme-black .bvi-panel {
    background-color: #111111 !important;
    border-bottom: 3px solid #ffffff !important;
    color: #ffffff !important;
}
body.bvi-active.bvi-theme-black .bvi-panel-btn:not(.bvi-panel-btn-theme-white):not(.bvi-panel-btn-theme-blue):not(.bvi-panel-btn-close) {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}
body.bvi-active.bvi-theme-black .bvi-panel-btn:not(.bvi-panel-btn-theme-white):not(.bvi-panel-btn-theme-blue):not(.bvi-panel-btn-close):hover {
    background-color: #222222 !important;
}
body.bvi-active.bvi-theme-black .bvi-panel-btn.active {
    background-color: #ffffff !important;
    color: #000000 !important;
}
body.bvi-active.bvi-theme-black .bvi-panel-btn-theme-black.active {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Синяя тема */
body.bvi-active.bvi-theme-blue .bvi-panel {
    background-color: #cce6ff !important;
    border-bottom: 3px solid #063462 !important;
    color: #063462 !important;
}
body.bvi-active.bvi-theme-blue .bvi-panel-btn:not(.bvi-panel-btn-theme-white):not(.bvi-panel-btn-theme-black):not(.bvi-panel-btn-close) {
    background-color: #9dd1ff !important;
    color: #063462 !important;
    border: 2px solid #063462 !important;
}
body.bvi-active.bvi-theme-blue .bvi-panel-btn:not(.bvi-panel-btn-theme-white):not(.bvi-panel-btn-theme-black):not(.bvi-panel-btn-close):hover {
    background-color: #b3dbff !important;
}
body.bvi-active.bvi-theme-blue .bvi-panel-btn.active {
    background-color: #063462 !important;
    color: #9dd1ff !important;
}
body.bvi-active.bvi-theme-blue .bvi-panel-btn-theme-blue.active {
    background-color: #063462 !important;
    color: #9dd1ff !important;
}

/* ============================================
   PRINT STYLES (@media print)
   ============================================ */
@media print {
    /* Скрываем ненужные элементы при печати */
    header, 
    footer, 
    .no-print, 
    #header-placeholder, 
    #footer-placeholder, 
    button, 
    .btn, 
    a[href^="javascript:"], 
    .carousel-dots, 
    .carousel-arrow, 
    .bvi-panel, 
    .cta-banner,
    .admin-nav,
    .tab-buttons,
    .crm-actions,
    .filter-panel,
    .print-hide {
        display: none !important;
    }

    /* Настройки страницы для печати */
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 12pt !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        animation: none !important;
    }

    /* Обеспечиваем видимость печатных областей */
    .print-only {
        display: block !important;
    }

    /* Стили для печати таблиц CRM */
    .print-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    table {
        width: 100% !important;
        border-collapse: collapse !important;
        margin-bottom: 20px !important;
    }

    th, td {
        border: 1px solid #ddd !important;
        padding: 8px !important;
        text-align: left !important;
        font-size: 10pt !important;
    }

    th {
        background-color: #f2f2f2 !important;
        font-weight: bold !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Разрывы страниц */
    tr {
        page-break-inside: avoid !important;
    }
    
    h1, h2, h3 {
        page-break-after: avoid !important;
    }
}
