/* =========================================================================
   НОВЫЙ МОДЕРН ФУТЕР (GRADIENT THEME)
   ========================================================================= */

/* Контейнер для волны SVG */
.footer-wave-container {
    line-height: 0; 
    width: 100%;
    margin-top: -5px; 
    background: transparent;
    overflow: hidden; 
}

.footer-wave-container svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100px;
    transform-origin: bottom; 
    transform: scaleY(1.01); /* Убираем микро-щели */
}

/* Основной стиль футера */
.modern-footer {
    /* Градиент как в шапке: Оранжевый -> Фиолетовый */
    background: linear-gradient(90deg, #ff8c42, #7b61ff);
    color: #fff;
    padding: 0 0 40px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    width: 100%;
    margin-top: -1px; /* Стыковка с волной */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 20px 20px 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: #fff; /* Белая полоска на цветном фоне */
    border-radius: 2px;
    opacity: 0.8;
}

/* БРЕНД КОЛОНКА */
.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.footer-logo i {
    color: #fff; /* Белая иконка */
}

.footer-desc {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

/* СОЦИАЛЬНЫЕ ИКОНКИ */
.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.social-link:hover {
    background: #fff;
    color: var(--secondary-color); /* Иконка становится фиолетовой */
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ССЫЛКИ */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 8px;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #fff;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -2px; 
}

/* КОНТАКТЫ */
.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.icon-glow {
    color: #fff;
    font-size: 18px;
    margin-top: 4px;
}

/* КАРТОЧКА CTA */
.glass-cta-card {
    position: relative;
    background: rgba(255, 255, 255, 0.15); /* Более прозрачный белый */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px 25px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.glass-cta-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-icon-float {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
    pointer-events: none;
}

.glass-cta-card:hover .cta-icon-float {
    color: rgba(255, 255, 255, 0.2);
    transform: rotate(0deg) scale(1.1);
    transition: all 0.5s ease;
}

/* Кнопка внутри карточки */
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #fff; /* Белая кнопка */
    color: var(--secondary-color); /* Текст цвета бренда */
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-cta-btn:hover {
    background: #f0f0f0;
    transform: scale(1.02);
    gap: 15px; 
}

/* НИЖНЯЯ ПАНЕЛЬ */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.lang-select-dark {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-select-dark:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.lang-select-dark option {
    /* Фон выпадающего списка - фиолетовый, чтобы читалось */
    background: #7b61ff; 
    color: #fff;
}

/* Адаптивность */
@media (max-width: 900px) {
    .expanding-cards-wrapper {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }

    .expand-card {
        height: 60px; /* Еще более узкие полоски на мобильных */
        flex: none;
        width: 100%;
        transition: height 0.4s ease;
        background: #fff; 
        border: 1px solid #e2e8f0;
    }

    .expand-card:hover,
    .expand-card.active {
        flex: none;
        height: 220px;
        border-color: var(--secondary-color);
    }
    
    .card-content {
        bottom: 20px;
    }
    
    .card-bg-icon {
        font-size: 80px;
        top: 10px;
        right: 10px;
        bottom: auto;
    }
    
    .expand-card:not(:hover):not(.active)::after {
        content: '↓'; 
        bottom: 15px;
    }

    /* Общая адаптивность */
    .banner-content h1 { font-size: 36px; }
    .banner-content p { font-size: 16px; }
    .banner-logo { max-width: 150px; }
    .info-buttons { flex-direction: column; align-items: center; }
    .info-btn { width: 100%; max-width: 300px; }
    .container { padding: 20px; margin: 40px auto; }
    .cta-content h2 { font-size: 30px; }
    .cta-section { padding: 40px 20px; }
    
    /* Адаптивность футера */
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-title::after { left: 50%; transform: translateX(-50%); }
    .footer-socials { justify-content: center; }
    .contact-list li { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .glass-cta-card { text-align: center; }
    .scroll-to-top { width: 40px; height: 40px; line-height: 40px; font-size: 20px; bottom: 15px; right: 15px; }
}