@import url('colors_5.css');

:root {
    /* Статусы и индикаторы (Success) */
    --color-success: #10b981;            /* Индикатор онлайн/пульс */
    --color-success-soft: rgba(16, 185, 129, 0.2);

    /* Типографика и тексты */
    --text-heading: #0f172a;             /* Заголовки, названия (тёмный графит) */
    --text-body: #475569;                /* Основной текст страниц */
    --text-muted: #64748b;               /* Второстепенный текст, подзаголовки */
    --text-light: #ffffff;               /* Текст на тёмном/акцентном фоне */

    /* Фон, карточки и рамки */
    --bg-canvas: #f8fafc;                /* Общий фон сайта */
    --bg-card: rgba(255, 255, 255, 0.94);/* Матовое стекло карточек */
    --border-card: rgba(226, 232, 240, 0.9); /* Рамки карточек */
    --border-subtle: #e2e8f0;            /* Светлые разделители и поля ввода */

    /* Эффекты, тени и скругления */
    --shadow-subtle: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
    --shadow-hover: 0 20px 40px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
    --radius-soft: 20px;
    --radius-button: 12px;

    /* Алиасы переменные для совместимости */
    --blue-primary: var(--color-primary);
    --blue-hover: var(--color-primary-dark);
    --blue-soft: var(--color-primary-soft);
    --blue-border: var(--color-primary-border);
    --card-glass: var(--bg-card);
    --card-border: var(--border-card);
}

/* ==========================================================================
   АВТОМАТИЧЕСКАЯ СИНХРОНИЗАЦИЯ УТИЛИТ BOOTSTRAP С ЦВЕТОВЫМИ ПЕРЕМЕННЫМИ
   ========================================================================== */
.text-primary {
    color: var(--color-primary, #0f172a) !important;
}
.bg-primary {
    background-color: var(--color-primary, #0f172a) !important;
    color: #ffffff !important;
}
.border-primary {
    border-color: var(--color-primary, #0f172a) !important;
}
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-light, #334155), var(--color-primary, #0f172a)) !important;
    border-color: var(--color-primary, #0f172a) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--color-primary-shadow, rgba(15, 23, 42, 0.25)) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: linear-gradient(135deg, var(--color-primary, #0f172a), var(--color-primary-dark, #020617)) !important;
    border-color: var(--color-primary-dark, #020617) !important;
    color: #ffffff !important;
}
.btn-outline-primary {
    color: var(--color-primary, #0f172a) !important;
    border-color: var(--color-primary, #0f172a) !important;
    background-color: transparent !important;
}
.btn-outline-primary:hover, .btn-outline-primary:active {
    background-color: var(--color-primary, #0f172a) !important;
    border-color: var(--color-primary, #0f172a) !important;
    color: #ffffff !important;
}
.bg-primary-subtle {
    background-color: var(--color-primary-soft, #f1f5f9) !important;
}
.border-primary-subtle {
    border-color: var(--color-primary-border, #cbd5e1) !important;
}
.text-primary-emphasis {
    color: var(--color-primary, #0f172a) !important;
}
.link-primary {
    color: var(--color-primary, #0f172a) !important;
}
.link-primary:hover {
    color: var(--color-primary-dark, #020617) !important;
}

/* ==========================================================================
   ОБЩИЕ СТИЛИ СТРАНИЦЫ
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-canvas);
    color: var(--text-body);
    line-height: 1.7;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
}

/* Ambient glow */
.ambient-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-primary-border) 0%, rgba(248, 250, 252, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
}

.glow-top-left { 
    top: -150px; 
    left: -100px; 
}

.glow-mid-right { 
    top: 35%; 
    right: -100px; 
}

header, section, footer {
    position: relative;
    z-index: 1;
}

.navbar-glass {
    background: #000000 !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #262626 !important;
    transition: all 0.3s ease;
}

.navbar-glass .brand-title {
    color: #ffffff !important;
}

.navbar-glass .brand-subtitle {
    color: #a1a1aa !important;
}

.navbar-glass nav a {
    color: #d4d4d8 !important;
    transition: color 0.2s ease;
}

.navbar-glass nav a:hover {
    color: #ffffff !important;
}

.navbar-glass .header-menu-btn {
    background: #18181b !important;
    border-color: #27272a !important;
    color: #ffffff !important;
}

.nav-link-custom {
    color: #cbd5e1 !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    text-decoration: none;
}
.nav-link-custom:hover {
    color: #ffffff !important;
}

.air-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.air-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary-border);
}

.btn-air-primary {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: var(--text-light) !important;
    border: none;
    border-radius: var(--radius-button);
    padding: 13px 26px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px var(--color-primary-shadow);
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-air-primary:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--text-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--color-primary-shadow-hover);
}

.btn-air-secondary {
    background: #ffffff;
    color: var(--text-heading) !important;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-button);
    padding: 13px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-air-secondary:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary) !important;
    border-color: var(--color-primary-border);
    transform: translateY(-2px);
}

.air-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
}

.air-input {
    width: 100%;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-button);
    color: var(--text-heading);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    outline: none;
}

.air-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-soft);
}

.status-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px var(--color-success-soft);
}

.section-padding {
    padding: 80px 0;
}

.heading-dark {
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Мобильное offcanvas меню */
.offcanvas {
    background: #000000 !important;
    color: #f4f4f5 !important;
    border-left: 1px solid #262626 !important;
}
.offcanvas-header {
    border-bottom: 1px solid #262626 !important;
    background: #0a0a0a !important;
}
.offcanvas-header .heading-dark {
    color: #ffffff !important;
}
.offcanvas-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
}
.offcanvas-link {
    color: #f4f4f5 !important;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 11px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.offcanvas-link i {
    color: #e4e4e7 !important;
    font-size: 1.15rem;
    transition: color 0.2s ease;
}
.offcanvas-link:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}
.offcanvas-link:hover i {
    color: #ffffff !important;
}
.offcanvas .text-muted,
.offcanvas-subtext {
    color: #a1a1aa !important;
}

/* Accordion */
.accordion-air .accordion-item {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 16px !important;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}
.accordion-air .accordion-button {
    font-weight: 600;
    color: var(--text-heading);
    background: #ffffff;
    padding: 20px 24px;
    box-shadow: none;
}
.accordion-air .accordion-button:not(.collapsed) {
    color: var(--color-primary);
    background: var(--color-primary-soft);
}
.accordion-air .accordion-body {
    color: var(--text-body);
    padding: 0 24px 22px 24px;
    font-size: 0.95rem;
    background: var(--color-primary-soft);
}

/* Карусель отзывов (Reviews Carousel) */
.reviews-carousel-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 10px 0 20px 0;
}

.reviews-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.review-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .review-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Карусель галереи (Gallery Carousel) */
.gallery-carousel-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .gallery-slide {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .gallery-slide {
        flex: 0 0 33.3333%;
        width: 33.3333%;
        max-width: 33.3333%;
    }
}

.carousel-nav-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-dot.active {
    width: 24px;
    border-radius: 20px;
    background-color: var(--color-primary);
}

/* Шапка сайта и брендинг */
.header-brand {
    min-width: 0;
    max-width: 100%;
}

.brand-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)) !important;
}

.brand-text-block {
    min-width: 0;
    line-height: 1.25;
}

.brand-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    margin-top: 1px;
}

.brand-subtitle span {
    white-space: nowrap !important;
}

.brand-pin-icon {
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* Кнопка записи в шапке (на мобильных и планшетах < 992px — аккуратная иконка) */
.header-booking-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0 !important;
    border-radius: 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-shrink: 0;
}

.header-booking-btn i {
    font-size: 1.15rem;
    line-height: 1;
}

/* Кнопка гамбургер меню */
.header-menu-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0 !important;
    border-radius: 10px;
    flex-shrink: 0;
}

/* На десктопе (>= 992px) кнопка записи раскрывается в кнопку с текстом */
@media (min-width: 992px) {
    .header-booking-btn {
        width: auto;
        min-width: auto;
        height: auto;
        padding: 9px 18px !important;
        border-radius: var(--radius-button);
        font-size: 0.9rem;
        gap: 6px;
    }
    .header-booking-btn i {
        font-size: 1rem;
    }
}

/* Мобильная адаптивность шапки сайта для экранов < 576px */
@media (max-width: 576px) {
    .navbar-glass .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .brand-avatar {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 0.85rem !important;
    }
    .brand-title {
        font-size: 0.9rem !important;
        letter-spacing: -0.01em;
    }
    .brand-subtitle {
        font-size: 0.7rem !important;
    }
    .header-booking-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
    .header-booking-btn i {
        font-size: 1.05rem !important;
    }
    .header-menu-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
}

/* Для узких экранов (<= 360px) */
@media (max-width: 360px) {
    .brand-title {
        font-size: 0.84rem !important;
    }
    .brand-subtitle {
        font-size: 0.67rem !important;
    }
    .brand-avatar {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 0.8rem !important;
    }
}

/* ==========================================================================
   ПЛАВАЮЩИЕ КНОПКИ (quickContactTrigger & btn-scroll-top)
   ========================================================================== */
#quickContactTrigger,
.quick-contact-main-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%) !important;
    box-shadow: 0 8px 24px var(--color-primary-shadow) !important;
}

#quickContactTrigger:hover,
.quick-contact-main-btn:hover {
    box-shadow: 0 10px 28px var(--color-primary-shadow-hover) !important;
}

.quick-pulse-ring {
    border-color: var(--color-primary) !important;
}

.btn-scroll-top {
    position: fixed !important;
    bottom: 28px !important;
    right: 33px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background-color: #18181b !important;
    border: 1px solid #3f3f46 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
    cursor: pointer !important;
    z-index: 1080 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-scroll-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-scroll-top:hover {
    background-color: #27272a !important;
    border-color: #52525b !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6) !important;
}

@media (max-width: 576px) {
    .btn-scroll-top {
        bottom: 18px !important;
        right: 22px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 1.1rem !important;
    }
}

/* ==========================================================================
   ПОДВАЛ САЙТА (BLACK & CHARCOAL FOOTER)
   ========================================================================== */
.footer-bg {
    background-color: #000000 !important;
    color: #a1a1aa !important;
    border-top: 1px solid #262626 !important;
}
.footer-bg .heading-dark {
    color: #ffffff !important;
}
.footer-bg .text-muted {
    color: #a1a1aa !important;
}
.footer-bg a.text-muted {
    color: #d4d4d8 !important;
    transition: color 0.2s ease;
}
.footer-bg a.text-muted:hover,
.footer-bg a.hover-primary:hover {
    color: #ffffff !important;
}
.footer-bg .border-top {
    border-color: #262626 !important;
}
.footer-bg .btn-outline-secondary {
    border-color: #27272a !important;
    background-color: #18181b !important;
    color: #d4d4d8 !important;
}
.footer-bg .btn-outline-secondary:hover {
    background-color: #27272a !important;
    color: #ffffff !important;
    border-color: #3f3f46 !important;
}
.footer-social-btn:hover {
    background-color: rgba(255, 255, 255, 0.28) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   ПЛАВАЮЩИЙ ВИДЖЕТ БЫСТРОЙ СВЯЗИ (QUICK CONTACT WIDGET)
   ========================================================================== */
.quick-contact-widget {
    position: fixed !important;
    bottom: 92px !important;
    right: 28px !important;
    z-index: 1090 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    pointer-events: none !important;
    width: auto !important;
    height: auto !important;
}

.quick-contact-toggle {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #2a2a2a, #000000) !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.45rem !important;
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.6), 0 4px 10px -2px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    position: relative !important;
    pointer-events: auto !important;
    animation: quickContactPulse 2s infinite !important;
}

.quick-contact-toggle:hover {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.75) !important;
}

.quick-contact-toggle .quick-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.6);
    pointer-events: none;
    animation: quickPulseRing 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes quickContactPulse {
    0% {
        box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.45), 0 0 0 0 rgba(15, 23, 42, 0.7);
    }
    70% {
        box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.45), 0 0 0 16px rgba(15, 23, 42, 0);
    }
    100% {
        box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.45), 0 0 0 0 rgba(15, 23, 42, 0);
    }
}

@keyframes quickPulseRing {
    0% {
        transform: scale(0.92);
        opacity: 0.85;
    }
    60% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.quick-contact-toggle .quick-contact-icon-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.quick-contact-toggle .quick-contact-icon-close {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.quick-contact-widget.active .quick-contact-toggle .quick-contact-icon-open {
    display: none !important;
}

.quick-contact-widget.active .quick-contact-toggle .quick-contact-icon-close {
    display: flex !important;
}

.quick-contact-widget.active .quick-contact-toggle {
    background: #020617 !important;
    transform: rotate(90deg) !important;
}

.quick-contact-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(16px) scale(0.94) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
}

.quick-contact-widget.active .quick-contact-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

.quick-contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
    pointer-events: auto !important;
}

.quick-contact-item:hover {
    transform: translateX(-4px) !important;
}

.quick-contact-label {
    background: rgba(15, 23, 42, 0.94) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    white-space: nowrap !important;
    opacity: 0.95 !important;
    transition: opacity 0.2s ease, background 0.2s ease !important;
}

.quick-contact-item:hover .quick-contact-label {
    opacity: 1 !important;
    background: #020617 !important;
}

.quick-contact-circle {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    flex-shrink: 0 !important;
}

.quick-contact-item:hover .quick-contact-circle {
    transform: scale(1.08) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35) !important;
}

@media (max-width: 576px) {
    .quick-contact-widget {
        bottom: 74px !important;
        right: 18px !important;
    }
    .quick-contact-toggle {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }
    .quick-contact-circle {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.15rem !important;
    }
    .quick-contact-label {
        font-size: 0.74rem !important;
        padding: 5px 10px !important;
    }
}

/* ==========================================================================
   СЕРТИФИКАТЫ И LIGHTBOX MODAL
   ========================================================================== */
.cert-card-hover {
    transition: all 0.25s ease;
}
.cert-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover) !important;
}
.cert-img-box {
    position: relative;
}
.cert-zoom-overlay {
    inset: 0;
    transition: all 0.25s ease;
}
.cert-card-hover:hover .cert-zoom-overlay {
    opacity: 1 !important;
}
.hero-live {
	min-width: 120px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .93);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: .76rem;
    font-weight: 600;
    color: var(--text-heading);
    box-shadow: 0 6px 18px rgba(15, 41, 66, .14);
}

/* ============================================================
   HERO v3 — полноэкранное фото с оверлеем и стеклянной панелью
   ============================================================ */
.hero-bg {
    /* Глубокий затемнённый оттенок темы: смешиваем акцентный цвет темы с тёмной базой */
    --hero-dark-tone: color-mix(in srgb, var(--color-primary-dark, var(--color-primary)) 32%, #030812);
    position: relative;
    isolation: isolate;
    overflow: clip;
    min-height: min(880px, 94vh);
    display: flex;
    color: #fff;
    background: #030812;
}

/* --- Фото фона --- */
.hero-bg-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.16);
    transform-origin: 18% 28%;
}

/* --- Затемнение: затемнённый оттенок выбранной темы для максимального контраста --- */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
    linear-gradient(95deg,
        color-mix(in srgb, var(--hero-dark-tone) 95%, transparent) 0%,
        color-mix(in srgb, var(--hero-dark-tone) 60%, transparent) 35%,
        color-mix(in srgb, var(--hero-dark-tone) 20%, transparent) 55%,
        transparent 80%),
    linear-gradient(180deg,
        color-mix(in srgb, var(--hero-dark-tone) 45%, transparent) 0%,
        color-mix(in srgb, var(--hero-dark-tone) 8%, transparent) 40%,
        color-mix(in srgb, var(--hero-dark-tone) 8%, transparent) 60%,
        color-mix(in srgb, var(--hero-dark-tone) 55%, transparent) 100%);
}



/* --- Внутренний контейнер --- */
.hero-bg-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding-top: clamp(36px, 7vh, 92px);
    padding-bottom: clamp(24px, 4vh, 44px);
    width: 100%;
}

.hero-bg-content {
    max-width: 620px;
}

.hero-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.hero-chip--status {
    background: var(--color-success-soft, rgba(16, 185, 129, .16));
    border-color: rgba(16, 185, 129, .42);
    font-weight: 600;
}
.hero-chip--status .status-pulse {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .3);
}

.hero-bg h1 {
    font-size: clamp(2.35rem, 4.9vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.04em;
    font-weight: 800;
    color: #fff;
    margin-bottom: 22px;
    text-wrap: balance;
    text-shadow: 0 2px 40px rgba(4, 12, 24, .35);
}
.hero-accent {
    background-image: linear-gradient(115deg, #ffffff 0%, var(--color-primary-border, #b9ccff) 55%, var(--color-primary-light, #8fb0ff) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero-accent { color: var(--color-primary-border, #c7d8ff); }
}

.hero-bg .hero-lead {
    font-size: clamp(1rem, 1.1vw, 1.13rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, .82);
    max-width: 34rem;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
}
.hero-cta {
    padding: 15px 26px;
    border-radius: 14px;
    font-size: .97rem;
}
.hero-cta .bi-arrow-right {
    transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.hero-cta:hover .bi-arrow-right {
    transform: translateX(4px);
}
.header-logo-wrap {
	padding-top:4px;
}
/* Вторичная кнопка на тёмном фоне — стекло */
.hero-bg .btn-air-secondary {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .30);
    color: #fff !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.hero-bg .btn-air-secondary:hover {
    background: rgba(255, 255, 255, .20);
    border-color: rgba(255, 255, 255, .55);
    color: #fff !important;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 10px;
    font-weight: 600;
    font-size: .93rem;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    border-radius: 10px;
    transition: color .2s ease, background-color .2s ease;
}
.hero-link i { 
    font-size: .82rem; 
    color: #fff; 
    transition: transform .2s ease;
}
.hero-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}
.hero-link:hover i {
    transform: translate(2px, -2px);
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: .87rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    line-height: 1.35;
}
.hero-trust-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, .16) !important;
    border: 1px solid rgba(255, 255, 255, .32) !important;
    color: #ffffff !important;
    font-size: 1.1rem;
}

/* --- Стеклянная панель с данными специалиста (Glassbar) --- */
.hero-glassbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px 36px;
    padding: 20px 26px;
    border-radius: 22px;
    background: color-mix(in srgb, var(--hero-dark-tone) 55%, rgba(4, 12, 24, .45));
    border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    backdrop-filter: blur(18px) saturate(1.15);
    box-shadow: 0 20px 50px -20px rgba(4, 12, 24, .55);
}

.hero-id-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}
.hero-name {
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #fff;
    margin: 0;
}
.hero-badge {
    font-size: .75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, .20) !important;
    border: 1px solid rgba(255, 255, 255, .35) !important;
}
.hero-role {
    font-size: .8rem;
    color: rgba(255, 255, 255, .68);
    margin: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 26px;
}
.hero-stat {
    text-align: left;
    padding-left: 26px;
    border-left: 1px solid rgba(255, 255, 255, .16);
}
.hero-stats .hero-stat:first-child {
    border-left: 0;
    padding-left: 0;
}
.hero-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}
.hero-stat-label {
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(255, 255, 255, .58);
    margin-top: 4px;
    line-height: 1.3;
    white-space: nowrap;
}

.hero-quote {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .84rem;
    font-style: italic;
    line-height: 1.55;
    color: rgba(255, 255, 255, .72);
}

/* --- Адаптивность --- */
@media (max-width: 1199.98px) {
    .hero-bg-media img { transform: scale(1.22); transform-origin: 26% 26%; }
}
@media (max-width: 991.98px) {
    .hero-bg { min-height: auto; }
    .hero-bg-media img { transform: none; object-position: 62% 20%; }
    .hero-bg-overlay {
        background:
            linear-gradient(180deg,
                color-mix(in srgb, var(--hero-dark-tone) 88%, transparent) 0%,
                color-mix(in srgb, var(--hero-dark-tone) 74%, transparent) 38%,
                color-mix(in srgb, var(--hero-dark-tone) 88%, transparent) 76%,
                color-mix(in srgb, var(--hero-dark-tone) 98%, transparent) 100%);
    }
    .hero-bg-inner { padding-top: 56px; padding-bottom: 32px; gap: 28px; }
    .hero-glassbar { grid-template-columns: 1fr; gap: 16px; }
    .hero-stats { flex-wrap: wrap; gap: 18px; }
    .hero-stat { padding-left: 18px; }
    .hero-quote { padding-top: 12px; }
}
@media (max-width: 575.98px) {
    .hero-bg-inner { padding-top: 40px; }
    .hero-bg h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); letter-spacing: -.03em; }
    .hero-trust { grid-template-columns: 1fr; gap: 12px; }
    .hero-actions .hero-cta,
    .hero-actions .btn-air-secondary { width: 100%; }
    .hero-link { width: 100%; justify-content: center; }
    .hero-glassbar { padding: 16px 18px; border-radius: 18px; }
    .hero-stats { gap: 14px; }
    .hero-stat { padding-left: 14px; }
    .hero-stat-label { white-space: normal; }
    .hero-chip { font-size: .76rem; padding: 6px 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-bg *, .hero-bg *::before, .hero-bg *::after {
        transition: none !important;
        animation: none !important;
    }
}
