.contacts-footer {
    align-items: center;
}

.logo-footer {

    width: 250px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 80px;
}

.footer-column_small {
    display: flex;
    flex-direction: column;

    gap: 40px;

}

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

.service-title_footer {
    font-weight: 700;
    font-size: 22px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #F7F7F7;
    text-decoration: none;
    margin: 0;

}



.services-title_footer {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 22px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #F7F7F7;
}

.service-link_footer {
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #F7F7F7;
}

.big-link {
    font-weight: 700;
    font-size: 38px;
    line-height: 120%;
    /* identical to box height, or 46px */
    letter-spacing: -0.02em;
    text-decoration: none;
    color: #F7F7F7;
}

/* ===== КОНТАКТНАЯ ФОРМА ===== */
.contact {
    background: #0f2746;
}

.contact-content_footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}



.contact-title_footer {
    margin-bottom: 40px;
    color: #F7F7F7;
}



.contact-form_footer-wrapper_footer {
    background: #F7F7F7;
    border-radius: 10px;
    padding: 80px 60px;
}

.form-title_footer {
    margin-bottom: 30px;

    text-align: center;
    color: #0f2746;
}
.form-description_footer {
    text-align: center;
    color: #0f2746;
        margin-bottom: 60px;

}

.form-group_footer {
    margin-bottom: 20px;
}

.form-group_footer input {
    font-family: 'Manrope';
    width: 100%;
    padding: 20px 30px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
    color: #0f2746;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group_footer input:focus {
    outline: none;
    border-color: #dc2336;
}

.form-group_footer input::placeholder {
    color: #999999;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    color: #0f2746;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #dc2336;
}

.form-group input::placeholder {
    color: #999999;
}





.submit-button_footer_footer {
    margin-top: 40px;
    width: 100%;
    padding: 28px;
    background: #c20a38;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button_footer:hover {
    background: #a0083a;
}


@media (max-width: 1024px) {
    .contact-content_footer {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form_footer-wrapper_footer {
        padding: 40px 40px;
    }
}

@media (max-width: 425px) {

    .contact-form_footer-wrapper_footer {
        padding: 30px 16px;
    }
    .form-group_footer>label {
    font-size: 14px;
    line-height: 110%;
}
.checkbox-group {
    align-items: flex-start;
    gap: 10px;
}
}

/* Footer Styles */
.site-footer {
    background: #0F2746;
    color: #F7F7F7;
    padding: 60px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;

}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #DC2336;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #B0B0B0;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #F7F7F7;
}

.footer-links,
.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contacts li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contacts a {
    color: #B0B0B0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-contacts a:hover {
    color: #DC2336;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-icon {
    font-size: 16px;
}

.footer-social {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.social-link {
    text-decoration: none;
}

.form-group_footer>label {
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(247, 247, 247, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 13px;
    color: #808080;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-legal a {
    color: #808080;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #F7F7F7;
}

.separator {
    color: #404040;
}

@media (max-width: 1600px) {

    .logo-footer {
        width: 210px;
    }

    .big-link {
        font-size: 30px;
    }
}

@media (max-width: 1024px) {

    .logo-footer {
        width: 180px;
    }

    .big-link {
        font-size: 22px;
    }

    .social-link>img {
        width: 52px;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .checkbox-group input[type="checkbox"] {
            width: 16px;
        height: 16px;
    margin: 0;
    margin-top: 2px;
    padding: 0;
}
    .contact-content_footer {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .contacts-footer {
        grid-template-columns: 2fr 1fr 2fr !important;
    }

    .contacts-footer>.footer-column:first-child {
        grid-column: 1 / -1;
    }

    .site-footer {
        padding: 40px 0;
       
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 425px) {
    .form-title_footer {
    margin-bottom: 30px;

    font-size: 24px;
    text-align: center;
    color: #0f2746;
}
    .form-description_footer {
            margin-bottom: 40px;

    font-size: 18px;
    text-align: center;
    color: #0f2746;
}
.submit-button_footer_footer {
    margin-top: 10px;
    width: 100%;
    padding: 21px;
    background: #c20a38;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;

}
.form-group_footer input {
    width: 100%;
    padding: 12px 19px;
}
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-links_footer {
        gap: 12px;
    }

    .footer-column {
        gap: 40px;
    }

    .footer-column_small {
        gap: 20px;
    }

    .contacts-footer {
        grid-template-columns: 1fr !important;
        gap: 40px;

    }

    .logo-footer {
        width: 150px;
    }
}