/* ========== FOOTER STYLES ========== */
:root {
    --footer-bg: #0B1839;
    --footer-border: rgba(255, 255, 255, 0.15);
    --footer-border-light: rgba(255, 255, 255, 0.2);
    --footer-link-active: #00D7D0;
    --footer-link-blue: #013CFF;
    --footer-white: #FFFFFF;
    --footer-gray: rgba(255, 255, 255, 0.7);
    --footer-subscribe-bg: #0066B3;
    --footer-btn-fill-blue: #013CFF;
    --footer-btn-fill-turq: #00D7D0;
}

.footer {
    background-color: var(--footer-bg);
    width: 100%;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 50px 40px 30px;
}

/* Ряд с тремя колонками */
.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Левая колонка с рамкой */
.footer-nav-block {
    width: 280px;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--footer-border-light);
    padding: 24px;
}

.footer-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-links li {
    margin-bottom: 12px;
    width: 100%;
}

.footer-nav-links li a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    display: block;
    width: 100%;
}

.footer-nav-links li:nth-child(1) a {
    color: var(--footer-link-active);
}

.footer-nav-links li:nth-child(2) a {
    color: var(--footer-link-active);
}

.footer-nav-links li:nth-child(3) a {
    color: var(--footer-link-active);
}

.footer-nav-links li:nth-child(4) a {
    color: var(--footer-link-active);
}

.footer-nav-links li:nth-child(5) a {
    color: var(--footer-link-blue);
}

.footer-nav-links li:nth-child(6) a {
    color: var(--footer-link-active);
}

.footer-nav-links li a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Кнопки в левой колонке */
.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.btn-footer {
    padding: 12px 24px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-footer-participant {
    background-color: var(--footer-btn-fill-blue);
    color: var(--footer-btn-fill-turq);
}

.btn-footer-participant:hover {
    background-color: #0029b3;
    transform: scale(1.02);
}

.btn-footer-ticket {
    background-color: var(--footer-btn-fill-turq);
    color: #0A194A;
}

.btn-footer-ticket:hover {
    background-color: #00c4be;
    transform: scale(1.02);
}

/* Центральная колонка */
.footer-center {
    flex: 0.7;
    min-width: 250px;
}

.footer-phones p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--footer-white);
    margin-bottom: 15px;
}

.footer-phones p:last-child {
    margin-bottom: 0;
}

.footer-subscribe {
    margin-top: 30px;
}

.footer-subscribe p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--footer-white);
    margin-bottom: 12px;
}

.social-icon {

    display: inline-block;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.05);
}

.social-icon img {
    width: 50px;
    height: 50px;
}

/* Правая колонка */
.footer-right {
    flex: 0.8;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.footer-address p,
.footer-email p,
.footer-site p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--footer-white);
    line-height: 1.4;
    margin-bottom: 12px;
}

.footer-email a,
.footer-site a {
    color: var(--footer-white);
    text-decoration: none;
}

.footer-email a:hover,
.footer-site a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-organizer-logo {
    margin-top: 20px;
}

.footer-organizer-logo img {
    max-height: 70px;
    width: auto;
}

/* Кнопка подписки снизу справа */
.btn-subscribe {
    background-color: var(--footer-subscribe-bg);
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--footer-white);
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 25px;
    align-self: flex-start;
}

.btn-subscribe:hover {
    background-color: #0052a3;
    transform: scale(1.02);
}

/* Нижняя часть */
.footer-bottom {
    margin-top: 40px;
}

.footer-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--footer-link-active), var(--footer-link-blue), transparent);
    margin-bottom: 20px;
}

.copyright {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--footer-gray);
    text-align: center;
}

.footer-container {
    margin-top: 10px;
}

/* ========== АДАПТИВНОСТЬ ========== */

/* Планшет */
@media (max-width: 1024px) {
    .footer-container {
        padding: 40px 30px 30px;
    }

    .footer-phones p {
        font-size: 16px;
    }
}

/* Мобилка */
@media (max-width: 900px) {
    .footer-row {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav-block {
        order: 1;
    }

    .footer-center {
        order: 2;
    }

    .footer-right {
        order: 3;
    }

    .footer-buttons {
        flex-direction: row;
    }

    .btn-footer {
        flex: 1;
        text-align: center;
    }

    .btn-subscribe {
        width: 100%;
        text-align: center;
        align-self: stretch;
    }
}

/* Mobile S */
@media (max-width: 480px) {
    .footer-container {
        padding: 30px 20px 20px;
    }

    .footer-nav-block {
        padding: 16px;
    }

    .footer-buttons {
        flex-direction: column;
    }

    .footer-phones p {
        font-size: 14px;
    }

    .footer-address p,
    .footer-email p,
    .footer-site p {
        font-size: 12px;
    }
}