/* Modern footer */
.site-footer {
    position: relative;
    overflow: hidden;
    background: #245b39;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    border-top: 0;
}

.site-footer::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: min(1180px, calc(100% - 40px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
}

.footer-container {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main-content {
    padding: 64px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.1fr 0.75fr 1.15fr;
    gap: 42px;
    align-items: start;
}

.footer-section {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.footer-about {
    background: transparent;
}

.footer-logo {
    margin-bottom: 14px;
}

.footer-heading {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 14px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.24rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: #d99a3d;
}

.footer-description {
    max-width: 360px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.98rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.08rem;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.24s ease, box-shadow 0.24s ease, color 0.24s ease, background 0.24s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
    background: #fff;
    color: #245b39;
}

.youtube-link:hover {
    background: #d93434;
}

.vk-link:hover {
    background: #2676c9;
}

.footer-menu,
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu {
    display: grid;
    gap: 8px;
}

.contact-list {
    display: grid;
    gap: 12px;
}

.menu-item {
    margin: 0 0 9px;
    padding: 0;
}

.menu-item::before {
    display: none;
}

.menu-link {
    display: flex;
    gap: 9px;
    align-items: center;
    min-height: 30px;
    padding: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.35s ease, transform 0.35s ease;
}

.menu-link i {
    width: 13px;
    color: #d99a3d;
    font-size: 0.72rem;
    line-height: 1;
    transform: translateY(1px);
    transition: color 0.35s ease, transform 0.35s ease;
}

.menu-link:hover {
    color: #fff;
    background: transparent;
    transform: translateX(6px);
    padding-left: 0;
}

.menu-link:hover i {
    color: #f1b75b;
    transform: translate(3px, 1px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
}

.contact-icon {
    position: relative;
    display: block;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin: 0;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0;
    line-height: 1;
    text-align: center;
}

.contact-icon::before {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    font-size: 15px;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.contact-text,
.contact-link {
    display: block;
    min-width: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.96rem;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-link:hover {
    color: #fff;
}

.footer-copyright {
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    background: transparent;
    text-align: left;
}

.copyright-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    max-width: 1180px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    letter-spacing: 0;
}

.copyright-container a {
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.copyright-container a:hover {
    text-decoration: underline;
}

.copyright-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
}

.copyright-counter i {
    color: #d99a3d;
    font-size: 0.9rem;
}

/* Cookies */
.cookie-notice {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: auto;
    width: min(560px, calc(100% - 40px));
    padding: 16px;
    border: 1px solid rgba(18, 35, 26, 0.1);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.96);
    color: #173023;
    z-index: 9999;
    box-shadow: 0 24px 70px rgba(32, 63, 43, 0.18);
    transform: translateY(calc(100% + 30px));
    transition: transform 0.3s ease;
    backdrop-filter: blur(18px);
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-notice__content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    max-width: none;
    margin: 0;
}

.cookie-notice__content p {
    margin: 0;
    min-width: 0;
    color: #455449;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-notice__content a {
    color: #245b39;
    font-weight: 700;
}

.cookie-notice__buttons {
    display: flex;
    gap: 8px;
}

.cookie-notice__btn {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.cookie-notice__btn:hover {
    transform: translateY(-1px);
}

.cookie-notice__btn--accept {
    background: #245b39;
    color: #fff;
}

.cookie-notice__btn--reject {
    background: #fff;
    color: #455449;
    border-color: rgba(18, 35, 26, 0.12);
}

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

    .footer-main-content {
        padding-top: 54px;
    }
}

@media (max-width: 640px) {
    .footer-container {
        padding: 0 14px;
    }

    .footer-section {
        padding: 0;
        border-radius: 0;
    }

    .copyright-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-notice {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
    }

    .cookie-notice__content {
        grid-template-columns: 1fr;
    }

    .cookie-notice__buttons {
        width: 100%;
    }

    .cookie-notice__btn {
        flex: 1;
    }
}
