:root {
    --root-primary: #c99a18;
    --root-primary-light: #f4d03f;
    --root-white: #ffffff;
    --root-white-70: rgba(255, 255, 255, 0.7);
    --root-white-80: rgba(255, 255, 255, 0.8);
    --root-white-50: rgba(255, 255, 255, 0.5);
    --root-white-10: rgba(255, 255, 255, 0.1);
    --root-white-20: rgba(255, 255, 255, 0.2);
    --root-black: #000000;
    --root-primary-30: rgba(201, 154, 24, 0.3);
    --root-primary-40: rgba(201, 154, 24, 0.4);
    --root-gradient-primary: linear-gradient(135deg, var(--root-primary) 0%, var(--root-primary-light) 50%, var(--root-primary) 100%);
    --root-gradient-gold: linear-gradient(135deg, var(--root-primary) 0%, var(--root-primary-light) 100%);
    --root-gradient-line: linear-gradient(90deg, transparent, var(--root-primary), transparent);
    --root-shadow-primary: 0 8px 32px var(--root-primary-30);
    --root-shadow-primary-hover: 0 12px 48px var(--root-primary-40);
}

.footer {
    color: var(--root-white);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--root-gradient-line);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding-bottom: 60px;
}

.footer__header {
    text-align: center;
    max-width: 600px;
}

.footer__logo {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--root-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 24px 0;
    letter-spacing: 2px;
}

.footer__description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--root-white-70);
    margin: 0;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    width: 100%;
    max-width: 800px;
}

.footer__section {
    text-align: center;
}

.footer__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--root-primary);
    margin: 0 0 32px 0;
    position: relative;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--root-gradient-line);
}

.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__link {
    color: var(--root-white-80);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer__link:hover {
    color: var(--root-primary);
    transform: translateY(-2px);
}

.footer__link::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 1px;
    background: var(--root-primary);
    transition: transform 0.3s ease;
}

.footer__link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contact {
    color: var(--root-white-80);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.footer__contact svg {
    color: var(--root-primary);
    transition: all 0.3s ease;
}

.footer__contact[href]:hover {
    color: var(--root-primary);
    transform: translateY(-2px);
}

.footer__contact[href]:hover svg {
    transform: scale(1.1);
}

.footer__contact[href]::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 1px;
    background: var(--root-primary);
    transition: transform 0.3s ease;
}

.footer__contact[href]:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.footer__action {
    text-align: center;
}

.footer__cta {
    background: var(--root-gradient-gold);
    color: var(--root-black);
    border: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--root-shadow-primary);
    position: relative;
    overflow: hidden;
}

.footer__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--root-white-20), transparent);
    transition: left 0.6s ease;
}

.footer__cta:hover::before {
    left: 100%;
}

.footer__cta:hover {
    transform: translateY(-4px);
    box-shadow: var(--root-shadow-primary-hover);
}

.footer__cta svg {
    transition: transform 0.3s ease;
}

.footer__cta:hover svg {
    transform: rotate(45deg);
}

.footer__bottom {
    border-top: 1px solid var(--root-white-10);
    padding: 32px 0;
    text-align: center;
}

.footer__copyright {
    color: var(--root-white-50);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0;
    }
    
    .footer__container {
        padding: 0 16px;
    }
    
    .footer__main {
        gap: 40px;
        padding-bottom: 40px;
    }
    
    .footer__logo {
        font-size: 2rem;
    }
    
    .footer__description {
        font-size: 1rem;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 400px;
    }
    
    .footer__cta {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer__logo {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }
    
    .footer__description {
        font-size: 0.95rem;
    }
    
    .footer__content {
        gap: 32px;
    }
    
    .footer__cta {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .footer__contact {
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .footer__contact svg {
        width: 16px;
        height: 16px;
    }
}