/* Общий фон футера */
.site-footer {
    background: linear-gradient(145deg, rgba(9, 16, 26, 0.95) 0%, rgba(9, 16, 72, 0.95) 100%);
    border-top: 1px solid rgba(31, 165, 253, 0.2);
    padding-top: 60px;
}

/* Аннулируем подчеркивания ссылок */
.site-footer a {
    text-decoration: none;
}

/* Основной контент футера */
.footer-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

/* Логотип бренда */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    width: 160px;
    height: auto;
}

/* Описание бренда */
.brand-description {
    color: #8b9bb4;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Блок социальных сетей */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 165, 253, 0.1);
    border-radius: 12px;
    color: #1fa5fd;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #1fa5fd;
    color: #fff;
    transform: translateY(-3px);
}

/* Меню навигации */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-nav-column h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-nav-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-column ul li a {
    display: block;
    color: #8b9bb4;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    padding: 4px 0;
}

.footer-nav-column ul li a:hover {
    color: #1fa5fd;
}

/* Контакты */
.footer-contact {
    background: rgba(31, 165, 253, 0.05);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(31, 165, 253, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8b9bb4;
}

.contact-info p i {
    color: #1fa5fd;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 24px;
    margin-top: 15px;
    background: linear-gradient(90deg, #1fa5fd 0%, #0dcaf0 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Нижняя панель */
.footer-bottom {
    border-top: 1px solid rgba(31, 165, 253, 0.1);
    padding: 25px 0;
}

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

.copyright {
    color: #8b9bb4;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #8b9bb4;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #1fa5fd;
}

/* Адаптивная версия для экранов менее 1200 пикселей */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Настройки для планшетных устройств */
@media (min-width: 769px) {
    .footer-nav-column ul {
        display: flex !important;
        opacity: 1 !important;
    }

    .footer-nav-column h3::after {
        display: none;
    }

    .footer-nav-column {
        background: none;
        padding: 0;
        border: none;
    }

    .footer-nav-column ul li a {
        padding: 0;
    }
}

/* Планшеты и телефоны */
@media (min-width: 769px) and (max-width: 1200px) {
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .footer-contact {
        grid-column: span 2;
    }
}

/* Смартфоны и небольшие экраны */
@media (max-width: 768px) {
    .site-footer {
        padding-top: 40px;
    }

    .footer-content {
        gap: 40px;
        padding-bottom: 40px;
    }

    .footer-brand {
        padding: 0 20px;
    }

    .brand-description {
        max-width: 320px;
        margin: 0 auto;
    }

    .social-links {
        padding: 10px;
        background: rgba(31, 165, 253, 0.05);
        border-radius: 16px;
        justify-content: center;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 20px;
    }

    .footer-nav-column {
        background: rgba(31, 165, 253, 0.03);
        padding: 20px;
        border-radius: 16px;
        border: 1px solid rgba(31, 165, 253, 0.08);
    }

    .footer-nav-column h3 {
        font-size: 1.2rem;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer-nav-column h3::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: #1fa5fd;
        transition: transform 0.3s ease;
    }

    .footer-nav-column.active h3::after {
        transform: rotate(180deg);
    }

    .footer-nav-column ul {
        gap: 5px;
        padding: 0 10px;
    }

    .footer-nav-column ul li a {
        display: flex;
        align-items: center;
        padding: 8px 0;
        font-size: 1rem;
    }

    .footer-contact {
        margin: 0 20px;
        padding: 25px 20px;
        background: linear-gradient(145deg, rgba(31, 165, 253, 0.1) 0%, rgba(13, 202, 240, 0.1) 100%);
    }

    .contact-info p {
        font-size: 1.1rem;
    }

    .contact-info p i {
        font-size: 1.2rem;
    }

    .contact-button {
        padding: 16px 24px;
        font-size: 1.1rem;
        margin-top: 20px;
    }

    .footer-bottom {
        padding: 20px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .copyright {
        font-size: 0.85rem;
        opacity: 0.8;
    }

    .legal-links {
        flex-direction: column;
        gap: 16px;
    }

    .legal-links a {
        display: block;
        padding: 12px;
        background: rgba(31, 165, 253, 0.05);
        border-radius: 12px;
        font-size: 0.9rem;
    }
}
/* Дополнительно улучшение мобильности */
@media (max-width: 480px) {
    .footer-content {
        gap: 32px;
    }

    .footer-logo {
        width: 140px;
    }

    .brand-description {
        font-size: 0.9rem;
    }

    .social-links {
        padding: 8px;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .footer-nav-column {
        padding: 16px;
    }

    .contact-button {
        padding: 14px 20px;
    }
}
/* Реакция на прикосновения */
@media (hover: none) {
    .social-link:active,
    .footer-nav-column ul li a:active,
    .contact-button:active,
    .legal-links a:active {
        opacity: 0.7;
        transform: scale(0.98);
    }
}

/* Простое движение для плавности интерфейса */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Privacy checkbox styles */
.privacy-notice {
    margin-top: 15px;
}

.privacy-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.privacy-checkbox {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #8b9bb4;
    border-radius: 4px;
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.privacy-checkbox:checked + .checkmark {
    background: #1fa5fd;
    border-color: #1fa5fd;
}

.privacy-checkbox:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-checkbox-label:hover .checkmark {
    border-color: #1fa5fd;
}

.privacy-text {
    color: #8b9bb4;
    font-size: 0.9rem;
    line-height: 1.4;
}

.privacy-text a {
    color: #1fa5fd;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-text a:hover {
    color: #0dcaf0;
}

.required-note {
    color: #ff4757;
    font-weight: bold;
    margin-left: 4px;
}

.required-text {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #8b9bb4;
    opacity: 0.8;
}

.required-asterisk {
    color: #ff4757;
    font-weight: bold;
}

/* Mobile adjustments for privacy checkbox */
@media (max-width: 768px) {
    .privacy-checkbox-label {
        gap: 15px;
    }
    
    .privacy-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .checkmark {
        width: 22px;
        height: 22px;
        min-width: 22px;
        margin-top: 3px;
    }
    
    .privacy-checkbox:checked + .checkmark::after {
        left: 7px;
        top: 3px;
    }
}