.site-footer {
    background-color: var(--card-bg);
    padding: 80px 8% 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 50px;
}

.footer-form-col {
    flex: 1.5;
    min-width: 280px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .footer-textarea {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    border: 1px solid transparent;
    padding: 15px;
    font-size: 0.85rem;
    outline: none;
    transition: border 0.3s;
}

.contact-form input:focus, .footer-textarea:focus {
    border-color: var(--accent-gold);
}

.btn-submit {
    background-color: var(--text-dark);
    color: #FFF;
    border: none;
    padding: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: var(--accent-gold);
}

.footer-msg-col {
    flex: 1.5;
    min-width: 280px;
}

.footer-textarea {
    width: 100%;
    height: 100%;
    min-height: 150px;
    resize: none;
}

.footer-info-col {
    flex: 1;
    min-width: 250px;
}

/* Выравнивание контактов и SVG-иконок */
.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.contact-details li {
    display: flex;
    align-items: center; /* Центрирует иконку и текст по вертикали */
    gap: 12px;           /* Отступ между иконкой и текстом */
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-details a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--accent-gold);
}

/* Оформление SVG-иконок */
.contact-details .contact-icon {
    width: 18px;
    height: 18px;
    stroke: var(--accent-gold);
    flex-shrink: 0; /* Иконка не сжимается при переносе текста */
    display: block;
}

/* Подвал */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 0;
    }
    .footer-container {
        flex-direction: column;
    }
    .footer-textarea {
        min-height: 120px;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
    }
}