/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, #0C5C75 0%, #084458 100%);
    color: #ffffff;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Содержимое футера */
.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: start;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Колонка информации */
.footer-info {
    max-width: 500px;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffd166, #ff9e6d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffd166, #ff9e6d);
    border-radius: 2px;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

/* Социальные сети */
.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 209, 102, 0.15);
    border-color: rgba(255, 209, 102, 0.3);
}

.social-link::before {
    content: '';
    width: 20px;
    height: 20px;
    background: currentColor;
    mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
}

.social-link:nth-child(1)::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zm5.894 8.221c-.093 2.026-1.098 6.791-1.098 6.791s-.064.428-.287.644c-.23.225-.492.223-.615.212-.433-.04-1.162-.241-2.04-.77-1.13-.675-1.771-1.098-2.27-1.576-.924-.895-.618-1.388.48-2.209.325-.246 1.877-1.678 1.918-1.82 0-.03-.006-.055-.018-.082-.013-.026-.031-.045-.085-.045-.122 0-.246.037-.525.111-.277.074-1.62.46-2.74.697-1.14.24-1.368.075-1.52-.24-.152-.316.915-1.726 1.278-2.317.355-.58.71-.48 1.006.152.296.63.988 2.06 1.076 2.207.088.148.148.332.03.536-.118.205-.176.296-.352.474-.176.177-.365.387-.522.564-.17.194-.347.404-.152.765.195.36.87 1.695 1.894 2.745 1.325 1.36 2.445 1.773 2.863 1.964.418.192.932.148 1.23-.296.297-.443.297-.822.208-.987-.089-.165-.326-.27-.683-.477-.356-.207-2.1-1.037-2.43-1.294-.33-.257-.247-.37.33-.37.577 0 1.153.034 1.646.09.493.055.77-.055.86-.175.09-.12.06-.57-.09-.985z' fill='white'/%3E%3C/svg%3E"); }
.social-link:nth-child(2)::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zm5.894 8.221c-.093 2.026-1.098 6.791-1.098 6.791s-.064.428-.287.644c-.23.225-.492.223-.615.212-.433-.04-1.162-.241-2.04-.77-1.13-.675-1.771-1.098-2.27-1.576-.924-.895-.618-1.388.48-2.209.325-.246 1.877-1.678 1.918-1.82 0-.03-.006-.055-.018-.082-.013-.026-.031-.045-.085-.045-.122 0-.246.037-.525.111-.277.074-1.62.46-2.74.697-1.14.24-1.368.075-1.52-.24-.152-.316.915-1.726 1.278-2.317.355-.58.71-.48 1.006.152.296.63.988 2.06 1.076 2.207.088.148.148.332.03.536-.118.205-.176.296-.352.474-.176.177-.365.387-.522.564-.17.194-.347.404-.152.765.195.36.87 1.695 1.894 2.745 1.325 1.36 2.445 1.773 2.863 1.964.418.192.932.148 1.23-.296.297-.443.297-.822.208-.987-.089-.165-.326-.27-.683-.477-.356-.207-2.1-1.037-2.43-1.294-.33-.257-.247-.37.33-.37.577 0 1.153.034 1.646.09.493.055.77-.055.86-.175.09-.12.06-.57-.09-.985z' fill='white'/%3E%3C/svg%3E"); }
.social-link:nth-child(3)::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z' fill='white'/%3E%3C/svg%3E"); }

/* Колонка кнопки */
.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

@media (max-width: 768px) {
    .footer-cta {
        align-items: stretch;
    }
}

/* Кнопка записи */
.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #ff9e6d 0%, #ff7a45 100%);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 158, 109, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 200px;
}

.footer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.footer-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 158, 109, 0.4);
    background: linear-gradient(135deg, #ffb08d 0%, #ff9466 100%);
}

.footer-btn:hover::before {
    left: 100%;
}

.footer-btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.footer-btn:hover .footer-btn-icon {
    transform: translateX(3px);
}

/* Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    position: relative;
}

.footer-bottom p {
    color: white;	
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff9e6d, transparent);
}

/* Декоративные элементы */
.footer-decoration {
    position: absolute;
    pointer-events: none;
}

.footer-decoration:nth-child(1) {
    top: 20%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-decoration:nth-child(2) {
    bottom: 20%;
    right: 5%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 158, 109, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-info {
    animation: fadeInUp 0.6s ease-out;
}

.footer-cta {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        gap: 40px;
    }
    
    .footer-title {
        font-size: 1.6rem;
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
    
    .social-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .footer-btn {
        padding: 16px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 25px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer-title {
        font-size: 1.4rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .footer-social {
        gap: 10px;
    }
    
    .social-link {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
    
    .footer-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}