.hn-footer {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 1.5rem 1.65rem;
    background:
        radial-gradient(circle at 82% 42%, rgba(247, 154, 30, .055), transparent 24rem),
        radial-gradient(circle at 10% 18%, rgba(255, 255, 255, .025), transparent 28rem),
        #050607;
    color: #fff;
}

.hn-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(115deg, transparent 0 47%, rgba(255, 255, 255, .018) 47.2%, transparent 47.5%),
        radial-gradient(circle, rgba(255, 255, 255, .08) .7px, transparent .9px);
    background-size: 100% 100%, 8px 8px;
    opacity: .28;
    pointer-events: none;
}

.hn-footer__inner,
.hn-footer__bottom {
    position: relative;
    z-index: 1;
}

.hn-footer__inner {
    display: grid;
    grid-template-columns: minmax(230px, 1.25fr) minmax(120px, .7fr) minmax(130px, .75fr) minmax(165px, .9fr) minmax(270px, 1.2fr);
    gap: 2rem;
    width: min(var(--container-wide), 100%);
    margin: 0 auto;
}

.hn-footer__brand {
    min-width: 0;
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.hn-footer__logo {
    display: block;
    width: min(286px, 100%);
    text-decoration: none;
}

.hn-footer__logo img {
    width: 100%;
    height: auto;
}

.hn-footer__brand p {
    max-width: 290px;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: .98rem;
    line-height: 1.7;
}

.hn-footer__social {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin-top: 1.7rem;
}

.hn-footer__social a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .018);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.hn-footer__social a:hover,
.hn-footer__social a:focus-visible {
    border-color: #ffb800;
    background: rgba(255, 184, 0, .08);
    transform: translateY(-2px);
}

.hn-footer__social img {
    width: 42px;
    height: 42px;
}

.hn-footer__column h2 {
    margin: .1rem 0 1.4rem;
    color: #ffb800;
    font-size: 1.12rem;
    line-height: 1;
    text-transform: uppercase;
}

.hn-footer__column ul {
    display: grid;
    gap: .75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hn-footer__column a {
    color: rgba(255, 255, 255, .88);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: color .18s ease;
}

.hn-footer__navigation a,
.hn-footer__company a {
    display: flex;
    gap: .65rem;
    align-items: center;
    justify-content: space-between;
}

.hn-footer__navigation a img,
.hn-footer__company a img {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    transition: transform .18s ease;
}

.hn-footer__column a:hover,
.hn-footer__column a:focus-visible {
    color: #ffb800;
}

.hn-footer__navigation a:hover img,
.hn-footer__navigation a:focus-visible img,
.hn-footer__company a:hover img,
.hn-footer__company a:focus-visible img {
    transform: translateX(3px);
}

.hn-footer__areas a {
    display: flex;
    gap: .65rem;
    align-items: center;
}

.hn-footer__areas a img {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
}

.hn-footer__contact {
    align-self: start;
    min-width: 0;
    padding: 1.65rem;
    border: 1px solid rgba(255, 184, 0, .58);
    border-radius: 8px;
    background:
        radial-gradient(circle at 16% 10%, rgba(255, 184, 0, .09), transparent 8rem),
        rgba(255, 255, 255, .018);
    box-shadow: 0 20px 65px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .025);
}

.hn-footer__phone-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid rgba(255, 184, 0, .22);
    border-radius: 50%;
    background: rgba(255, 184, 0, .06);
}

.hn-footer__phone-icon img {
    width: 34px;
    height: 34px;
}

.hn-footer__contact h2 {
    max-width: 230px;
    margin: 1.15rem 0 .6rem;
    color: #f7f7f5;
    font-size: 2.05rem;
    line-height: .98;
}

.hn-footer__phone {
    display: inline-block;
    color: rgba(255, 255, 255, .7);
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.2;
    text-decoration: none;
}

.hn-footer__phone:hover,
.hn-footer__phone:focus-visible {
    color: #ffb800;
}

.hn-footer__contact-rule {
    display: block;
    width: 3rem;
    height: 2px;
    margin: 1rem 0 1.15rem;
    background: #ffb800;
}

.hn-footer__estimate {
    display: flex;
    gap: .8rem;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1.15rem;
    border: 1px solid #ffbd13;
    border-radius: 8px;
    background: linear-gradient(100deg, #ffae00 0%, #ffc62a 55%, #ffad00 100%);
    color: #090a0b;
    font-family: var(--font-heading);
    font-size: .93rem;
    font-weight: 700;
    line-height: 1.05;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 13px 28px rgba(255, 176, 0, .19);
    transition: box-shadow .18s ease, transform .18s ease;
}

.hn-footer__estimate img {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    transition: transform .18s ease;
}

.hn-footer__estimate:hover,
.hn-footer__estimate:focus-visible {
    color: #090a0b;
    box-shadow: 0 17px 34px rgba(255, 176, 0, .29);
    transform: translateY(-2px);
}

.hn-footer__estimate:hover img,
.hn-footer__estimate:focus-visible img {
    transform: translateX(3px);
}

.hn-footer__bottom {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    width: min(var(--container-wide), 100%);
    margin: 4rem auto 0;
    padding-top: 1.45rem;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.hn-footer__bottom p {
    display: flex;
    gap: .8rem;
    align-items: center;
    margin: 0;
    color: rgba(255, 255, 255, .67);
    font-size: .86rem;
    line-height: 1.4;
}

.hn-footer__bottom img {
    width: 24px;
    height: 26px;
    flex: 0 0 24px;
}

.hn-footer__credit {
    display: inline-flex;
    gap: .38rem;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .18s ease;
}

.hn-footer__credit-mark {
    position: relative;
    display: block;
    width: 120px;
    height: 27px;
    overflow: hidden;
}

.hn-footer__credit-mark img {
    position: absolute;
    top: -25px;
    left: -5px;
    width: 131px;
    height: auto;
    max-width: none;
}

.hn-footer__credit-arrow {
    color: #ffbc00;
    transition: transform .18s ease;
}

.hn-footer__credit:hover,
.hn-footer__credit:focus-visible {
    opacity: .82;
}

.hn-footer__credit:hover .hn-footer__credit-arrow,
.hn-footer__credit:focus-visible .hn-footer__credit-arrow {
    transform: translate(2px, -2px);
}

@media (max-width: 1180px) {
    .hn-footer__inner {
        grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(140px, .8fr));
    }

    .hn-footer__contact {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 56px minmax(180px, .8fr) minmax(140px, .55fr) minmax(260px, 1fr);
        gap: 1rem;
        align-items: center;
    }

    .hn-footer__contact h2,
    .hn-footer__contact-rule {
        margin: 0;
    }

    .hn-footer__contact-rule {
        display: none;
    }

    .hn-footer__estimate {
        grid-column: 4;
        grid-row: 1;
    }
}

@media (max-width: 860px) {
    .hn-footer {
        padding-top: 4rem;
    }

    .hn-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 2rem;
    }

    .hn-footer__brand {
        grid-column: 1 / -1;
        padding: 0 0 2.5rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .hn-footer__brand p {
        max-width: 430px;
    }

    .hn-footer__areas {
        grid-column: 1 / -1;
    }

    .hn-footer__areas ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hn-footer__contact {
        grid-template-columns: 56px 1fr;
    }

    .hn-footer__contact h2 {
        max-width: none;
    }

    .hn-footer__phone {
        grid-column: 2;
    }

    .hn-footer__estimate {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

@media (max-width: 520px) {
    .hn-footer {
        padding: 3.5rem 1rem 1.4rem;
    }

    .hn-footer__inner {
        gap: 2.35rem 1.25rem;
    }

    .hn-footer__column h2 {
        font-size: 1rem;
    }

    .hn-footer__column a {
        font-size: .93rem;
    }

    .hn-footer__navigation a,
    .hn-footer__company a {
        align-items: flex-start;
    }

    .hn-footer__areas ul {
        grid-template-columns: 1fr;
    }

    .hn-footer__contact {
        padding: 1.35rem;
    }

    .hn-footer__contact h2 {
        font-size: 1.8rem;
    }

    .hn-footer__bottom {
        gap: .8rem;
        margin-top: 3rem;
    }

    .hn-footer__bottom p {
        font-size: .72rem;
    }
}
