/* ==========================================================================
   1. ГЛОБАЛЬНІ НАЛАШТУВАННЯ ТА БЛАКИТНО-БІЛА КОЛІРНА ПАЛІТРА
   ========================================================================== */
:root {
    --brand-dark-blue: #0B132B; /* Глибокий сапфірово-синій */
    --brand-navy: #1C2541;      /* Начений синій */
    --brand-cyan: #0EA5E9;      /* Яскравий блакитно-блакитний (Cyan/Sky) */
    --brand-cyan-hover: #0284C7;
    --brand-sky: #38BDF8;       /* Небесно-блакитний акцент */
    --neutral-light: #F0F9FF;   /* Преміальний біло-крижаний фоновий колір */
    --neutral-dark: #0B132B;
    --text-white: #FFFFFF;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 10px 45px rgba(14, 165, 233, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent; /* Прибирає синє виділення при тапі на мобільному */
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--neutral-light);
    color: var(--neutral-dark);
}

body {
    overflow-x: hidden;
    width: 100vw;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Скляні панелі (Glassmorphism з блакитним сяйвом) */
.glass {
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 12px 40px rgba(11, 19, 43, 0.3);
}


/* ==========================================================================
   2. ШАПКА САЙТУ ТА НАВІГАЦІЯ
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
}

.header-limit {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    border-radius: 20px;
}

.logo a {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo .gold-text {
    color: var(--brand-sky);
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-sky);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    background: none;
    border: none;
    color: var(--text-white);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 4px 8px;
}


/* ==========================================================================
   3. HERO-СЕКЦІЯ ТА ІНТЕРАКТИВНА КАРТА ХАРКОВА
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 19, 43, 0.92) 0%, rgba(11, 19, 43, 0.7) 60%, var(--neutral-light) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 150px 0 70px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(300px, 480px) minmax(300px, 600px);
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.hero-text-block { text-align: left; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 6px 14px;
    border-radius: 30px;
    color: var(--brand-sky);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-cyan);
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -1.2px;
}

.hero-subtitle {
    font-size: clamp(0.98rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 28px;
    font-weight: 300;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* КАРТА ХАРКОВА ТА БЛАКИТНІ МАРКЕРИ */
.hero-map-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.map-card {
    border-radius: 28px;
    padding: 24px;
    width: 100%;
}

.map-header { margin-bottom: 16px; }

.map-meta {
    font-size: 0.75rem;
    color: var(--brand-sky);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

.map-title {
    font-size: 1.4rem;
    color: var(--text-white);
    font-weight: 800;
    margin-top: 2px;
}

.kharkiv-map-container {
    position: relative;
    width: 100%;
    min-height: 360px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: #1C2541;
}

.kharkiv-map-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    filter: brightness(0.85) contrast(1.1);
}

.map-overlay-pins { position: absolute; inset: 0; }

.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 20;
    padding: 6px;
}

.map-pin:hover, .map-pin:active { z-index: 1000 !important; }

.pin-marker {
    width: 36px;
    height: 36px;
    background: var(--brand-cyan);
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.6);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-pin:hover .pin-marker,
.map-pin:active .pin-marker {
    transform: scale(1.25);
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.9);
}

.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    background: rgba(14, 165, 233, 0.45);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: mapPinPulse 2s infinite;
    pointer-events: none;
}

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

.pin-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(11, 19, 43, 0.96);
    border: 1px solid var(--brand-sky);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 10px 16px;
    border-radius: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75);
    pointer-events: none;
    z-index: 9999 !important;
    text-align: center;
}

.pin-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--brand-sky) transparent transparent transparent;
}

.pin-tooltip strong {
    display: block;
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 700;
}

.pin-tooltip span {
    display: block;
    color: var(--brand-sky) !important;
    font-size: 0.75rem;
    margin-top: 3px;
}

.map-pin:hover .pin-tooltip,
.map-pin:focus .pin-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.map-footer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    text-align: center;
}


/* ==========================================================================
   4. МІСЬКІ СЛУЖБИ ХАРКОВА
   ========================================================================== */
.city-services-section {
    padding: 80px 0;
    background-color: var(--neutral-light);
}

.city-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15);
}

.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-title { font-size: 1.1rem; font-weight: 800; color: #FFFFFF; margin-bottom: 8px; }
.service-desc { font-size: 0.88rem; color: #CBD5E1; line-height: 1.5; margin-bottom: 16px; }
.service-phone { font-size: 0.95rem; font-weight: 800; color: var(--brand-sky); text-decoration: none; }
.service-link { font-size: 0.85rem; font-weight: 700; color: var(--brand-sky); text-decoration: none; }


/* ==========================================================================
   5. КАЛЕНДАР СВЯТ ТА ПОДІЙ ХАРКОВА
   ========================================================================== */
.calendar-section {
    padding: 80px 0;
    background-color: var(--brand-dark-blue);
    color: #FFFFFF;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.calendar-card {
    border-radius: 20px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.calendar-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-sky);
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.2);
}

.calendar-date {
    background-color: var(--brand-navy);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 14px;
    padding: 10px;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.cal-day { font-size: 1.5rem; font-weight: 800; color: var(--brand-sky); line-height: 1; }
.cal-month { font-size: 0.68rem; text-transform: uppercase; color: #94A3B8; margin-top: 4px; font-weight: 700; }

.cal-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
    width: fit-content;
    margin-bottom: 6px;
}

.badge-gold { background: rgba(14, 165, 233, 0.2); color: var(--brand-sky); }
.badge-blue { background: rgba(59, 130, 246, 0.2); color: #60A5FA; }
.badge-green { background: rgba(39, 174, 96, 0.2); color: #2ECC71; }

.cal-title { font-size: 1rem; font-weight: 700; color: #FFFFFF; margin-bottom: 6px; }
.cal-text { font-size: 0.82rem; color: #CBD5E1; line-height: 1.4; }


/* ==========================================================================
   6. СЕКЦІЯ "ПРО НАС" (ТАБИ ТА ФОТО НА ГОЛОВНІЙ)
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--neutral-light);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.1fr) minmax(300px, 0.9fr);
    gap: 50px;
    align-items: center;
}

.section-title-left {
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 800;
    color: var(--neutral-dark);
    margin-top: 8px;
    letter-spacing: -0.5px;
}

.about-tabs-nav {
    display: inline-flex;
    gap: 6px;
    background: #E0F2FE;
    padding: 6px;
    border-radius: 14px;
    margin: 20px 0 16px 0;
    max-width: 100%;
    overflow-x: auto;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: #0284C7;
    white-space: nowrap;
}

.tab-btn:hover { color: var(--neutral-dark); }

.tab-btn.active {
    background-color: #FFFFFF;
    color: var(--brand-cyan);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.15);
}

.about-tabs-content {
    margin-bottom: 24px;
    min-height: 85px;
    width: 100%;
}

.tab-pane {
    display: none;
    line-height: 1.6;
    color: #334155;
    font-size: 0.95rem;
}

.tab-pane.active {
    display: block;
    animation: tabFadeIn 0.35s ease;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-media { width: 100%; }

.media-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    height: 360px;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.2);
    background-color: var(--brand-navy);
}

.media-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-btn-glass {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.play-btn-glass:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(255, 255, 255, 0.4);
}

/* Лічильники */
.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.counter-card {
    background: rgba(11, 19, 43, 0.88);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.counter-number { font-size: 2.6rem; font-weight: 800; color: var(--brand-sky); }
.counter-plus { font-size: 1.8rem; font-weight: 800; color: var(--brand-sky); }
.counter-label { font-size: 0.88rem; color: #E2E8F0; margin-top: 6px; font-weight: 600; }


/* ==========================================================================
   7. СЕКЦІЇ ДІЯЛЬНОСТІ, НОВИН ТА ПОДІЙ
   ========================================================================== */
.directions-section, .news-section, .events-section, .gallery-section, .testimonials-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-badge {
    color: var(--brand-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 800;
    margin: 10px 0 14px 0;
    letter-spacing: -0.5px;
}

.section-subtitle { color: #64748B; font-size: 0.92rem; line-height: 1.5; }

.directions-grid, .news-grid, .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.direction-card, .news-card, .testimonial-card {
    background-color: var(--text-white);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: var(--transition-smooth);
    color: var(--neutral-dark);
}

.direction-card:hover, .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.3);
}

.card-icon-wrapper { font-size: 2rem; margin-bottom: 20px; }
.card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.card-description { font-size: 0.9rem; color: #475569; line-height: 1.5; margin-bottom: 24px; }
.card-link { text-decoration: none; font-weight: 700; font-size: 0.85rem; color: var(--brand-cyan); }

/* Картки новин */
.news-image-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 16/10;
}

.news-img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.news-card:hover .news-img { transform: scale(1.04); }

.news-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-date { font-size: 0.78rem; color: #64748B; font-weight: 600; }
.news-title { font-size: 1.1rem; font-weight: 700; margin: 6px 0 10px 0; color: var(--neutral-dark); }
.news-excerpt { font-size: 0.88rem; color: #475569; line-height: 1.5; margin-bottom: 18px; }
.news-read-btn { text-decoration: none; font-weight: 700; font-size: 0.85rem; color: var(--brand-cyan); }


/* ==========================================================================
   8. ПАРТНЕРИ (БЕЗШОВНА КАРУСЕЛЬ)
   ========================================================================== */
.partners-section {
    padding: 60px 0;
    width: 100%;
    background-color: var(--neutral-light);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.partners-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}

.partners-carousel-track {
    display: flex;
    width: max-content;
    animation: slideLoop 25s linear infinite;
}

.partners-slide { display: flex; flex-shrink: 0; }

.partner-logo {
    background-color: var(--text-white);
    width: 140px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0284C7;
    margin-right: 30px;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

@keyframes slideLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}


/* ==========================================================================
   9. ПРЕМІАЛЬНИЙ БЛАКИТНИЙ CTA-БАННЕР
   ========================================================================== */
.cta-section { padding: 80px 0; }

.cta-banner {
    position: relative;
    background: linear-gradient(135deg, #0B132B 0%, #1C2541 100%);
    border-radius: 28px;
    padding: 60px 30px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 20px 50px rgba(11, 19, 43, 0.35);
}

.glow-sphere {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    pointer-events: none;
}

.sphere-blue { top: -60px; left: -60px; background-color: #3B82F6; }
.sphere-yellow { bottom: -60px; right: -60px; background-color: var(--brand-cyan); }

.cta-content { max-width: 620px; margin: 0 auto; position: relative; z-index: 10; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; color: #FFFFFF !important; margin-bottom: 14px; letter-spacing: -0.5px; }
.cta-description { margin-bottom: 28px; color: #E0F2FE !important; font-size: 1rem; line-height: 1.55; }
.cta-buttons-wrapper { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }


/* ==========================================================================
   10. КНОПКИ ТА УТИЛІТИ
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    white-space: nowrap;
}

.btn-sm { padding: 8px 14px; font-size: 0.78rem; border-radius: 10px; }

.btn-glass {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Яскрава Блакитна Кнопка замість старої помаранчевої */
.btn-gold {
    background-color: var(--brand-cyan);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
}

.btn-gold:hover {
    background-color: var(--brand-cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

.btn-pulse { animation: btnPulseGlow 2s infinite; }

@keyframes btnPulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(14, 165, 233, 0); }
    100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   11. АДАПТИВНІСТЬ ДЛЯ МОБІЛЬНИХ ПРИСТРОЇВ ТА СМАРТФОНІВ
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

@media (max-width: 992px) {
    .hero-grid, .about-grid {
        grid-template-columns: 1fr !important;
        gap: 36px;
    }

    .hero-title { font-size: 2.8rem; }
    .page-title, .cta-title { font-size: 2.2rem; }
    .gallery-masonry { column-count: 2; }

    .nav-menu {
        display: none;
        position: fixed;
        top: 75px;
        left: 16px;
        right: 16px;
        background: rgba(11, 19, 43, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(56, 189, 248, 0.25);
        border-radius: 20px;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    }

    .nav-menu.active { display: flex; }
    .mobile-menu-toggle { display: flex; }
    
    .kharkiv-map-container, .kharkiv-map-img {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .container { padding: 0 16px; }
    .hero-content-wrapper { padding: 130px 0 50px 0; }
    
    .cta-banner { padding: 40px 18px; }
    .cta-buttons-wrapper { flex-direction: column; width: 100%; }
    .hero-actions { flex-direction: column; width: 100%; }
    
    .btn { width: 100%; } /* Кнопки на весь екран смартфона під палець */
    
    .calendar-card { flex-direction: column; gap: 12px; }
    .calendar-date { width: 100%; min-width: auto; }
    
    .kharkiv-map-container, .kharkiv-map-img {
        height: 290px;
    }

    .map-card { padding: 16px; }
    
    .pin-tooltip {
        font-size: 0.75rem;
        padding: 8px 10px;
    }
}

/* Надійне приховування модального вікна */
.lightbox {
    display: none !important;
}

/* ==========================================================================
   ВІДОБРАЖЕННЯ КНОПКИ "КАБІНЕТ" НА ТЕЛЕФОНАХ У ШАПЦІ
   ========================================================================== */
@media (max-width: 992px) {
    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .nav-actions .btn {
        display: inline-flex !important;
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }

    .lang-switch {
        font-size: 0.78rem !important;
        padding: 4px 6px !important;
    }

    .nav-container {
        padding: 10px 16px !important;
    }
}

@media (max-width: 380px) {
    .logo a {
        font-size: 1.05rem !important;
    }
    .nav-actions {
        gap: 5px !important;
    }
    .nav-actions .btn {
        padding: 5px 9px !important;
        font-size: 0.7rem !important;
    }
}