/* =========================================
   КОДОГЭ — FOOTER
========================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 75% 15%,
            rgba(80, 150, 145, 0.10),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #0c2828 0%,
            #091f20 100%
        );

    color: #e9eee9;
    border-top: 1px solid rgba(221, 157, 91, 0.38);
}


/* тонкая техническая линия */

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(226, 160, 92, .8),
        transparent
    );

    opacity: .7;
}


/* мягкие свечения */

.footer-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;

    filter: blur(90px);
    opacity: .10;
}

.footer-glow-1 {
    top: -220px;
    left: -100px;
    background: #55aaa1;
}

.footer-glow-2 {
    right: -180px;
    bottom: -250px;
    background: #c98752;
}


/* контейнер */

.footer-container {
    position: relative;
    z-index: 2;

    width: min(1360px, calc(100% - 80px));
    margin: 0 auto;

    padding: 70px 0 28px;
}


/* =========================================
   INTRO
========================================= */
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 48px;
    padding-top: 60px;
}


.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 34px;
}


.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border: 2px solid rgba(235, 239, 235, .85);

    clip-path: polygon(
        50% 0%,
        93% 25%,
        93% 75%,
        50% 100%,
        7% 75%,
        7% 25%
    );

    color: #f1f3ed;
    font-size: 20px;
    font-weight: 500;
}


.logo-text {
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -1.8px;
}


.logo-text span {
    color: #e69554;
}


.footer-brand h2 {
    margin: 0 0 12px;

    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -1px;

    color: #eef0e8;
}


.footer-brand p {
    max-width: 560px;

    margin: 0;

    color: rgba(221, 231, 225, .68);

    font-size: 16px;
    line-height: 1.6;
}


/* badge */

.footer-badge {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 16px;

    border: 1px solid rgba(86, 176, 165, .35);
    border-radius: 8px;

    background: rgba(18, 52, 52, .45);

    color: #a9c7c0;

    font-size: 13px;
    font-weight: 500;
}


.footer-badge span {
    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #69c8ba;

    box-shadow: 0 0 12px rgba(105, 200, 186, .7);
}


/* =========================================
   LINKS AREA
========================================= */

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 42px;

    padding: 34px 0 48px;

    border-top: 1px solid rgba(169, 183, 174, .17);
}


/* category */

.footer-category {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 48px;

    margin-bottom: 28px;
}


.footer-category-icon {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(231, 158, 88, .48);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(224, 151, 84, .13),
            rgba(69, 144, 137, .07)
        );

    color: #e7a064;

    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, .025);
}


.footer-category-icon svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.footer-category-number {
    display: block;

    margin-bottom: 3px;

    color: #76a69f;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}


.footer-category h3 {
    margin: 0;

    color: #e8ebe5;

    font-size: 16px;
    line-height: 1.3;
    font-weight: 650;
}


/* =========================================
   LINKS
========================================= */

.footer-link {
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    min-height: 67px;

    padding: 0 0 18px;

    margin-bottom: 15px;

    text-decoration: none;

    border-bottom: 1px solid rgba(169, 183, 174, .08);

    transition:
        transform .25s ease,
        border-color .25s ease;
}


.footer-link:last-child {
    margin-bottom: 0;
    border-bottom: none;
}


.footer-link strong {
    display: block;

    margin-bottom: 5px;

    color: #dfe7df;

    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;

    transition: color .25s ease;
}


.footer-link small {
    display: block;

    max-width: 245px;

    color: rgba(194, 207, 200, .62);

    font-size: 13px;
    line-height: 1.45;

    transition: color .25s ease;
}


.footer-arrow {
    flex: 0 0 auto;

    color: #6e9b94;

    font-size: 17px;

    transition:
        transform .25s ease,
        color .25s ease;
}


.footer-link:hover {
    transform: translateX(4px);
    border-color: rgba(83, 166, 157, .28);
}


.footer-link:hover strong {
    color: #f0a365;
}


.footer-link:hover small {
    color: rgba(217, 228, 221, .82);
}


.footer-link:hover .footer-arrow {
    color: #e39a5b;
    transform: translate(3px, -3px);
}


/* =========================================
   BOTTOM
========================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(169, 183, 174, .14);
    color: rgba(187, 202, 194, .55);
    font-size: 12px;
}


.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 9px;
}


.footer-status {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #64bdb2;

    box-shadow: 0 0 9px rgba(100, 189, 178, .6);
}


.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 8px;
}


.footer-bottom-right span {
    color: #d99357;
    font-size: 15px;
}


/* =========================================
   ADAPTIVE
========================================= */

@media (max-width: 1100px) {

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 35px;
    }

}


@media (max-width: 700px) {

    .footer-container {
        width: min(100% - 40px, 560px);
        padding-top: 50px;
    }

    .footer-intro {
        display: block;
        padding-bottom: 35px;
    }

    .footer-badge {
        display: inline-flex;
        margin-top: 25px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-logo {
        margin-bottom: 25px;
    }

    .logo-text {
        font-size: 34px;
    }

    .footer-brand h2 {
        font-size: 29px;
    }

    .footer-brand p {
        font-size: 14px;
    }

    .footer-bottom {
        display: block;
        padding: 20px 0;
    }

    .footer-bottom-right {
        margin-top: 10px;
    }

}