/* Основные стили */
:root {
    --bg-dark: #1a1a1a;
    --bg-dark-secondary: #2d2d2d;
    --accent-blue: #007bff;
    --accent-blue-dark: #1e5cb3;
    --text-white: #ffffff;
    --text-light: #f8f9fa;
    --text-gray: #cccccc;
    --border-color: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

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

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--text-white);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.language-switcher {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: var(--accent-blue);
}

.contact-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    background-color: var(--accent-blue);
    color: var(--text-white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    background-color: var(--accent-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Уникальное предложение */
.unique-offer {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/unique-offer-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.unique-offer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.unique-offer-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.unique-offer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.unique-offer-desc {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* О вилле */
.about-villa {
    padding: 100px 0;
}

/* Блок с оценками */
.ratings-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.95) 0%,
        rgba(45, 45, 45, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.ratings-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.rating-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    padding: 60px 80px;
    text-align: center;
    min-width: 320px;
    position: relative;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(0, 123, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.rating-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(0, 123, 255, 0.15) 0%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.rating-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.5) 0%,
        rgba(0, 123, 255, 0.2) 50%,
        rgba(0, 123, 255, 0.5) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.rating-card:hover::before {
    opacity: 1;
}

.rating-card:hover::after {
    opacity: 1;
}

.rating-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 123, 255, 0.5),
        0 0 60px rgba(0, 123, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 0 1px rgba(0, 123, 255, 0.3);
    border-color: rgba(0, 123, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.rating-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.platform-icon-wrapper {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon-wrapper i {
    font-size: 26px;
}

.airbnb-icon i {
    color: #FF5A5F;
}

.booking-icon i {
    color: #003580;
}

.platform-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

.rating-value {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rating-number {
    font-size: 6rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--accent-blue);
    line-height: 1;
    text-shadow: 
        0 0 30px rgba(0, 123, 255, 1),
        0 0 60px rgba(0, 123, 255, 0.6),
        0 0 90px rgba(0, 123, 255, 0.3),
        0 0 120px rgba(0, 123, 255, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.rating-card:hover .rating-number {
    text-shadow: 
        0 0 40px rgba(0, 123, 255, 1.2),
        0 0 70px rgba(0, 123, 255, 0.8),
        0 0 100px rgba(0, 123, 255, 0.5),
        0 0 130px rgba(0, 123, 255, 0.3);
    transform: scale(1.08);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-blue);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-right: 15px;
}

.feature-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 10px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.feature-item.active .feature-details {
    max-height: 100px;
}

/* Сетка апартаментов */
.apartments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.apartment-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
}

.apartment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.apartment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.apartment-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.guest-choice {
    background-color: #ff6b6b;
    color: white;
}

.family {
    background-color: #4ecdc4;
    color: white;
}

.comfort {
    background-color: #45b7d1;
    color: white;
}

.mountain-view {
    background-color: #96ceb4;
    color: white;
}

.vip {
    background-color: #feca57;
    color: #1a1a1a;
}

.economy {
    background-color: #778beb;
    color: white;
}

.apartment-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
}

.apartment-name {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.apartment-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Форма бронирования */
.booking {
    padding: 100px 0;
    background-color: var(--bg-dark-secondary);
}

/* Контейнер для виджета Bnovo */
.bnovo-widget-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    min-height: 400px;
    display: block !important;
    visibility: visible !important;
}

.bnovo-widget-wrapper {
    position: relative;
    min-height: 400px;
    width: 100%;
    display: block !important;
    visibility: visible !important;
}

.bnovo-widget-wrapper .left {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#_bn_widget_ {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Скрываем ссылку на Bnovo */
#_bnovo_link_ {
    display: none;
}

/* Страница бронирования */
.booking-page {
    padding: 150px 0 100px;
    background-color: var(--bg-dark-secondary);
    min-height: calc(100vh - 200px);
}

.bnovo-module-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    min-height: 500px;
}

.bnovo-module-container .left {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

/* Скрываем ссылку на Bnovo на странице бронирования */
.bnovo-module-container #_bnovo_link_ {
    display: none;
}

.booking-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-dark);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.booking-form {
    position: relative;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-gray);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background-color: var(--bg-dark);
    padding: 0 5px;
    color: var(--accent-blue);
}

.apartment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.apartment-option {
    position: relative;
}

.apartment-option input[type="radio"] {
    display: none;
}

.apartment-option label {
    display: block;
    padding: 20px;
    background-color: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apartment-option input[type="radio"]:checked + label {
    border-color: var(--accent-blue);
    background-color: rgba(0, 123, 255, 0.1);
}

.option-name {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.option-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.calendar-container {
    background-color: var(--bg-dark-secondary);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.selected-dates {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 15px;
    background-color: var(--bg-dark);
    border-radius: 8px;
}

.confirmation-details {
    background-color: var(--bg-dark-secondary);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.prev-btn, .next-btn, .submit-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.prev-btn {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.next-btn, .submit-btn {
    background-color: var(--accent-blue);
    color: var(--text-white);
}

.prev-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.next-btn:hover, .submit-btn:hover {
    background-color: var(--accent-blue-dark);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-dark);
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalAppear 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.telegram {
    background-color: #0088cc;
}

.whatsapp {
    background-color: #25d366;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Подвал */
.footer {
    background-color: var(--bg-dark-secondary);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Стеклянные кнопки в стиле iOS */
.glass-button {
    /* Полупрозрачный фон */
    background: rgba(255, 255, 255, 0.2);
    /* Размытие фона за элементом */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Стилизация "кромки стекла" */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    
    /* Тень для создания объема и глубины */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    
    /* Дополнительные свойства */
    color: white;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    
    /* 🔥 ДОБАВИТЬ: позиционирование для псевдоэлемента */
    position: relative;
    overflow: hidden;
    
    /* 🔥 ДОБАВИТЬ: убрать стандартные стили кнопки */
    border: none;
    outline: none;
    font-family: inherit;
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 16px;
    
    /* 🔥 ДОБАВИТЬ: чтобы градиент не перекрывал текст */
    z-index: -1;
}

/* Эффекты при наведении */
.glass-button:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

/* Активное состояние (нажатие) */
.glass-button:active {
    transform: translateY(0) scale(0.98); /* 🔥 ДОБАВИТЬ scale для эффекта нажатия */
    background: rgba(255, 255, 255, 0.2);
}

/* Варианты цветов */
.glass-button.primary {
    background: rgba(0, 123, 255, 0.25);
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.glass-button.primary:hover {
    background: rgba(0, 123, 255, 0.35);
}

/* Для формы бронирования */
.form-navigation .glass-button {
    padding: 12px 24px;
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .glass-button {
        padding: 14px 28px;
        font-size: 16px;
        border-radius: 14px;
    }
}

.glass-button {
    /* Существующие стили + добавь это: */
    background: rgba(255, 255, 255, 0.15);
    font-weight: 400; 
    letter-spacing: -0.2px; 
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(255, 255, 255, 0.1) inset,
        0 -1px 1px rgba(0, 0, 0, 0.05) inset;
}

/* Стеклянная шапка */
.glass-header {
    border-radius: 0 0 20px 20px; /* Скругление только снизу */
    margin: 0; /* Убираем отступы */
    width: 100%; /* Полная ширина */
    
    position: fixed;
    top: 0;
    left: 0; /* Прижимаем к левому краю */
    z-index: 1000;
    transition: all 0.3s ease;
    
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 100%);
    z-index: -1;
    border-radius: 0 0 20px 20px;
}

/* Контент шапки */
.glass-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px; /* 🔥 Ограничиваем ширину контента */
    margin: 0 auto; /* 🔥 Центрируем контент */
}

/* Логотип */
.glass-header .logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--text-white);
    font-weight: 700;
    margin: 0;
}

/* Навигация */
.glass-header .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Переключатель языка */
.glass-header .language-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-header .lang-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.glass-header .lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Контактная информация */
.glass-header .contact-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
}

/* Гамбургер меню */
.glass-header .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.glass-header .hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Эффект при скролле */
.glass-header.scrolled {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(40px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Адаптивность */
@media (max-width: 768px) {
    .glass-header {
        border-radius: 0 0 16px 16px;
    }
    
    .glass-header::before {
        border-radius: 0 0 16px 16px;
    }
    
    .glass-header .header-content {
        padding: 12px 15px;
    }
    
    .glass-header .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(30px);
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 16px 16px;
    }
    
    .glass-header .nav-links.active {
        display: flex;
    }
    
    .glass-header .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .glass-header .hamburger {
        display: flex;
    }
    
    .glass-header .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .glass-header .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .glass-header .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

@media (max-width: 480px) {
    .glass-header {
        border-radius: 0 0 12px 12px;
    }
    
    .glass-header::before {
        border-radius: 0 0 12px 12px;
    }
    
    .glass-header .header-content {
        padding: 10px 12px;
    }
    
    .glass-header .logo h1 {
        font-size: 20px;
    }
    
    .glass-header .contact-info {
        font-size: 12px;
        gap: 8px;
    }
}


/* Блок "Идеальное расположение" с таймлайном */
.location-timeline {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.9) 0%,
        rgba(45, 45, 45, 0.8) 50%,
        rgba(26, 26, 26, 0.9) 100%);
    overflow: hidden;
}

.location-content-wrapper {
    max-width: 900px;
    margin: 0 auto 80px;
}

/* Левая колонка: Таймлайн (40%) */
.timeline-column {
    position: sticky;
    top: 120px;
    height: 800px;
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Вертикальная пунктирная линия */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-svg {
    width: 100%;
    height: 100%;
}

.timeline-svg path {
    will-change: d;
    transition: d 0.5s ease;
}

/* Иконка лыж, движущаяся по линии */
.timeline-icon {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 
        0 4px 20px rgba(0, 123, 255, 0.4),
        0 0 0 4px rgba(0, 123, 255, 0.2);
    will-change: transform;
}

.timeline-icon svg {
    width: 30px;
    height: 30px;
    animation: skiBounce 1.5s ease-in-out infinite;
}

@keyframes skiBounce {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-2px) rotate(5deg);
    }
}

/* Станции */
.timeline-stations {
    position: relative;
    width: 100%;
    height: 100%;
}

.station {
    position: absolute;
    left: 50%;
    z-index: 5;
    will-change: opacity, transform;
}

/* Позиционирование станций (снизу вверх) */
.station-0 {
    bottom: 0;
    transform: translateX(-50%);
}

.station-1 {
    bottom: 25%;
    transform: translateX(-50%);
}

.station-2 {
    bottom: 50%;
    transform: translateX(-50%);
}

.station-3 {
    top: 0;
    transform: translateX(-50%);
}

/* Маркер станции на линии */
.station-marker {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--bg-dark-secondary);
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.station.active .station-marker {
    background: var(--accent-blue);
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.6);
}

.station-marker i {
    font-size: 18px;
    color: var(--accent-blue);
    transition: color 0.3s ease;
}

.station.active .station-marker i {
    color: white;
}

/* Карточка станции */
.station-card {
    position: absolute;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 18px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 123, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    max-width: 280px;
    opacity: 0;
    transform: translateX(-50%) translateY(10px) scale(0.9);
    will-change: opacity, transform;
    pointer-events: none;
    transition: none; /* Убираем CSS transition, используем только GSAP */
}

.station.active .station-card {
    pointer-events: auto;
}

/* Расположение карточек (слева/справа от линии) */
.station-0 .station-card,
.station-2 .station-card {
    left: calc(50% + 30px);
    text-align: left;
}

.station-1 .station-card,
.station-3 .station-card {
    right: calc(50% + 30px);
    left: auto;
    text-align: right;
}

.station-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 123, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 10px;
}

.station-icon i {
    font-size: 16px;
    color: var(--accent-blue);
}

.station-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text-white);
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.location-content {
    max-width: 100%;
    text-align: center;
}

.location-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 30px;
    font-weight: 700;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.location-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.location-content .location-text:nth-child(2) {
    animation-delay: 0.4s;
}

.location-content .location-text:nth-child(3) {
    animation-delay: 0.6s;
}

.location-text:last-child {
    margin-bottom: 0;
}

/* Карточки преимуществ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantage-card {
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.95) 0%,
        rgba(45, 45, 45, 0.9) 100%);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.advantage-card:nth-child(1) {
    animation-delay: 0.1s;
}

.advantage-card:nth-child(2) {
    animation-delay: 0.2s;
}

.advantage-card:nth-child(3) {
    animation-delay: 0.3s;
}

.advantage-card:nth-child(4) {
    animation-delay: 0.4s;
}

.advantage-card:nth-child(5) {
    animation-delay: 0.5s;
}

.advantage-card:nth-child(6) {
    animation-delay: 0.6s;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 123, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.advantage-card:hover::before {
    left: 100%;
}

.advantage-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 
        0 15px 40px rgba(0, 123, 255, 0.2),
        0 0 30px rgba(0, 123, 255, 0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.2) 0%,
        rgba(0, 123, 255, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 123, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.advantage-card:hover .advantage-icon {
    background: linear-gradient(135deg, 
        var(--accent-blue) 0%,
        var(--accent-blue-dark) 100%);
    border-color: var(--accent-blue);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.advantage-icon i {
    font-size: 28px;
    color: var(--accent-blue);
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon i {
    color: white;
    transform: scale(1.1);
}

.advantage-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.advantage-card:hover .advantage-title {
    color: var(--accent-blue);
}

.advantage-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
    transition: color 0.3s ease;
}

.advantage-card:hover .advantage-desc {
    color: var(--text-light);
}

/* Адаптивность */
@media (max-width: 768px) {
    .info-section {
        padding: 80px 0;
    }
    
    .info-text h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .info-text p {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .info-section {
        padding: 60px 0;
    }
    
    .info-text h2 {
        font-size: 1.8rem;
    }
    
    .info-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Сноубордист и снежный след */
.snowboarder-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowboarder {
    position: absolute;
    top: -100px;
    left: 10%;
    width: 120px;
    height: 120px;
    transition: top 0.3s ease-out, left 0.3s ease-out, transform 0.3s ease-out;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snowboarder-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    pointer-events: none;
}

/* Снежный след */
.snow-trail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.trail-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 16px rgba(255, 255, 255, 0.5),
        0 0 24px rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 5;
}

/* Анимация движения сноубордиста - покачивание при поворотах */
@keyframes snowboardRide {
    0% {
        transform: rotate(-25deg) translateY(0);
    }
    25% {
        transform: rotate(-20deg) translateY(-2px);
    }
    50% {
        transform: rotate(-15deg) translateY(0);
    }
    75% {
        transform: rotate(-20deg) translateY(-2px);
    }
    100% {
        transform: rotate(-25deg) translateY(0);
    }
}

.snowboarder.riding {
    animation: snowboardRide 0.8s ease-in-out infinite;
}

/* Адаптивность для сноубордиста */
@media (max-width: 768px) {
    .snowboarder {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .snowboarder {
        width: 60px;
        height: 60px;
    }
}

/* 🔥 Фото галерея */
.photo-gallery {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-dark-secondary);
    padding: 20px;
}

.gallery-container {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

/* По умолчанию для мобильных - flex (будет переопределено в responsive.css) */
.gallery-track {
    display: flex;
    gap: 15px;
}

.gallery-slide {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-slide:hover img {
    transform: scale(1.05);
}

/* Основное фото для ПК версии - скрыто на мобильных */
.gallery-main-photo {
    display: none;
}

/* Кнопки навигации - скрыты на ПК */
.gallery-nav {
    display: none;
}

.gallery-prev,
.gallery-next {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 🔥 Новый блок апартаментов */
.apartments-section {
    padding: 100px 0;
    background: var(--bg-dark-secondary);
}

/* 🔥 Обновленная сетка для десктоп версии */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Галерея на ПК - одно основное фото */
@media (min-width: 769px) {
    /* Скрываем все слайды на ПК */
    .gallery-track {
        display: none;
    }
    
    /* Показываем основное фото */
    .gallery-main-photo {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
    }
    
    .gallery-main-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    
    .gallery-container {
        overflow: visible;
        min-height: 500px;
        aspect-ratio: 1;
    }
    
    .photo-gallery {
        display: flex;
        align-items: stretch;
    }
}

/* Остальные стили features остаются без изменений */

/* Исправления для таймлайна */
.timeline-wrapper {
    min-height: 800px;
}

.timeline-icon {
    z-index: 20 !important;
}

.station-card {
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* Для анимации иконки лыж */
.timeline-icon svg {
    animation: skiBounce 1.5s ease-in-out infinite;
}

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

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .timeline-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-column {
        position: relative;
        top: 0;
        height: 500px;
        margin-bottom: 40px;
    }
    
    .text-column {
        padding: 0;
    }
    
    .station-card {
        min-width: 180px;
        max-width: 200px;
        padding: 15px 20px;
    }
    
    .station-card h3 {
        font-size: 0.95rem;
    }
    
    .location-timeline {
        padding: 80px 0;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .timeline-column {
        height: 400px;
    }
    
    .station-marker {
        width: 35px;
        height: 35px;
    }
    
    .station-card {
        min-width: 150px;
        max-width: 180px;
        padding: 12px 16px;
    }
    
    .station-card h3 {
        font-size: 0.85rem;
    }
}

/* ДОБАВЬТЕ ЭТО В КОНЕЦ ВАШЕГО CSS ФАЙЛА */

/* ФИКСЫ ДЛЯ ТАЙМЛАЙНА */
.timeline-wrapper {
    position: relative;
    min-height: 800px;
    height: 100vh; /* Занимает всю высоту экрана */
    max-height: 900px;
}

/* Абсолютное позиционирование станций */
.timeline-stations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Станции - абсолютные позиции */
.station {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* Точные позиции станций (можно настроить под ваш дизайн) */
.station-0 { bottom: 0; }           /* Старт - внизу */
.station-1 { bottom: 25%; }         /* 25% от низа */
.station-2 { bottom: 50%; }         /* 50% от низа */
.station-3 { top: 0; }              /* Финиш - вверху */

/* Иконка - фиксированные размеры и центр */
.timeline-icon {
    position: absolute;
    left: 50% !important;
    bottom: 0; /* Начинаем снизу */
    transform: translate(-50%, 50%) !important;
    width: 50px;
    height: 50px;
    z-index: 20;
    pointer-events: none;
}

/* SVG линия - простая вертикальная */
.timeline-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 100%;
}

/* Карточки станций - фиксированные позиции */
.station-card {
    position: absolute;
    width: 280px;
    opacity: 0;
    pointer-events: none;
    transition: none !important; /* GSAP будет управлять анимацией */
}

/* Позиционирование карточек (слева/справа) */
.station-0 .station-card,
.station-2 .station-card {
    left: calc(50% + 40px);
    top: 50%;
    transform: translateY(-50%);
}

.station-1 .station-card,
.station-3 .station-card {
    right: calc(50% + 40px);
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
}

/* Маркеры - центрирование */
.station-marker {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    z-index: 3;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .timeline-layout {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .timeline-column {
        position: relative;
        height: 500px;
        margin-bottom: 30px;
    }
    
    .timeline-wrapper {
        height: 500px;
        min-height: 500px;
        max-height: 500px;
    }
    
    /* На мобильных карточки появляются снизу */
    .station-card {
        width: 220px;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        top: auto !important;
        bottom: 60px;
        text-align: center !important;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
    }
    
    .timeline-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .timeline-wrapper {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
    }
    
    .station-card {
        width: 180px;
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .station-card h3 {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

/* ДОБАВЬТЕ В КОНЕЦ CSS */

/* КОРОТКИЙ БЛОК ТАЙМЛАЙНА */
.location-timeline {
    padding: 80px 0 !important;
    min-height: 600px !important; /* Укоротили */
}

.timeline-wrapper {
    height: 400px !important; /* Короткая высота */
    min-height: 400px !important;
    max-height: 400px !important;
}

/* ИКОНКА НАЧИНАЕТ СНИЗУ */
.timeline-icon {
    position: absolute;
    left: 50%;
    bottom: 0 !important; /* НАЧИНАЕМ СНИЗУ */
    top: auto !important;
    transform: translate(-50%, 50%);
    z-index: 100;
}

/* МАЛЕНЬКИЕ КАРТОЧКИ СТАНЦИЙ */
.station-card {
    width: 220px !important;
    padding: 12px 16px !important;
    font-size: 0.9rem;
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 10px;
}

.station-card h3 {
    font-size: 1rem !important;
    line-height: 1.3 !important;
    margin: 0;
}

.station-icon {
    width: 24px !important;
    height: 24px !important;
    margin-bottom: 8px !important;
}

.station-icon i {
    font-size: 14px !important;
}

/* ПОЗИЦИИ СТАНЦИЙ БОЛЬШЕ НЕ АБСОЛЮТНЫЕ */
.timeline-stations {
    height: 100%;
    position: relative;
}

/* СТАНЦИИ РАВНОМЕРНО РАСПРЕДЕЛЕНЫ */
.station-0 { top: 0; }        /* Верх (Старт) */
.station-1 { top: 33%; }      /* 1/3 */
.station-2 { top: 66%; }      /* 2/3 */
.station-3 { bottom: 0; }     /* Низ (Финиш) */

.station {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* ЛИНИЯ - ПРОСТАЯ ВЕРТИКАЛЬНАЯ */
.timeline-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
}

/* ПРАВАЯ КОЛОНКА КОРОЧЕ */
.text-column {
    padding: 20px 0 !important;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .location-timeline {
        padding: 60px 0 !important;
        min-height: 500px !important;
    }
    
    .timeline-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .timeline-wrapper {
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
    }
    
    .station-card {
        width: 180px !important;
        padding: 10px 12px !important;
    }
    
    .station-card h3 {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .timeline-wrapper {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }
    
    .station-card {
        width: 160px !important;
        padding: 8px 10px !important;
    }
    
    .station-card h3 {
        font-size: 0.85rem !important;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
    }
}

/* КОРОТКИЙ БЛОК ТАЙМЛАЙНА */
.location-timeline {
    padding: 60px 0 !important;
    min-height: 500px !important; /* КОРОТКИЙ! */
    margin: 0 !important;
}

.timeline-wrapper {
    height: 300px !important; /* КОРОТКАЯ ВЫСОТА */
    min-height: 300px !important;
    max-height: 300px !important;
    margin: 0 auto 30px !important;
}

/* ПРАВАЯ КОЛОНКА - МЕНЬШЕ ВЕРХНЕГО ОТСТУПА */
.text-column {
    padding: 0 !important;
    margin-top: 0 !important;
}

/* КОМПАКТНЫЕ КАРТОЧКИ */
.station-card {
    width: 180px !important;
    padding: 10px 12px !important;
    font-size: 0.85rem;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 8px;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.station-card h3 {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    margin: 0;
    font-weight: 500;
}

/* ПОЗИЦИИ КАРТОЧЕК */
.station-0 .station-card {
    left: calc(50% + 25px);
    top: 5%;
}

.station-1 .station-card {
    right: calc(50% + 25px);
    top: 35%;
    text-align: right;
}

.station-2 .station-card {
    left: calc(50% + 25px);
    top: 65%;
}

.station-3 .station-card {
    right: calc(50% + 25px);
    bottom: 5%;
    text-align: right;
}

/* ИКОНКА ЛЫЖ - КОМПАКТНАЯ */
.timeline-icon {
    position: absolute;
    left: 50% !important;
    bottom: 0 !important;
    transform: translate(-50%, 50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.timeline-icon svg {
    width: 24px;
    height: 24px;
}

/* МАРКЕРЫ СТАНЦИЙ */
.station-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--bg-dark-secondary);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.station-marker i {
    font-size: 14px;
    color: var(--accent-blue);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .location-timeline {
        padding: 40px 0 !important;
        min-height: 400px !important;
    }
    
    .timeline-wrapper {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
        margin-bottom: 20px !important;
    }
    
    .station-card {
        width: 150px !important;
        padding: 8px 10px !important;
        font-size: 0.8rem;
    }
    
    .station-card h3 {
        font-size: 0.85rem !important;
    }
    
    /* На мобильных все карточки справа */
    .station-card {
        left: auto !important;
        right: calc(50% + 20px) !important;
        text-align: right !important;
    }
}

@media (max-width: 480px) {
    .timeline-wrapper {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    
    .station-card {
        width: 130px !important;
        padding: 6px 8px !important;
    }
    
    .timeline-icon {
        width: 35px;
        height: 35px;
    }
}