/* --- Shell --- */
.semantic-heading {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important
}

.shell {
    width: 100%;
    max-width: var(--shell-desktop-width);
    min-height: 100vh;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: visible;
    background: #0b0b0c url("../images/page-home/bg/background.webp") top center/100% auto repeat-y;
    box-shadow: 0 0 42px rgba(0, 0, 0, .85)
}

@media (max-width: 900px) {
    .shell {
        max-width: var(--shell-tablet-width)
    }
}

@media (max-width: 767px) {
    .shell {
        max-width: var(--shell-mobile-width)
    }
}

/* --- Header --- */
.topbar {
    height: 86px;
    padding: 0 21px 0 37px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #0d0d0f;
    border-bottom: 1px solid rgba(181, 133, 54, .55)
}

.brand {
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    gap: 12px
}

.brand-icon {
    width: 78px;
    flex: 0 0 auto
}

.brand-name {
    width: 190px;
    flex: 0 0 auto
}

.nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 39px;
    color: #ffeaa5;
    font-size: 21px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 2px 2px #000
}

.nav a {
    min-height: 44px;
    display: flex;
    align-items: center
}

.download-top {
    width: 175px;
    flex: 0 0 auto
}

@media (max-width: 900px) {
    .topbar {
        height: 60px;
        padding: 0 14px 0 18px;
        gap: 14px
    }

    .brand {
        flex: 0 0 190px;
        gap: 8px
    }

    .brand-icon {
        width: 52px
    }

    .brand-name {
        width: 128px
    }

    .nav {
        gap: 18px;
        font-size: 1.2rem
    }

    .download-top {
        width: 11.2rem
    }
}

@media (max-width: 767px) {
    .topbar {
        height: 50px;
        padding: 0 8px 0 12px;
        gap: 6px
    }

    .brand {
        flex-basis: 102px;
        gap: 4px
    }

    .brand-icon {
        width: 27px
    }

    .brand-name {
        width: 70px
    }

    .nav {
        gap: 12px;
        font-size: 10px
    }

    .download-top {
        width: 5rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center
    }
}

@media (max-width: 360px) {
    .nav {
        gap: 7px;
        font-size: 5.4px
    }

    .download-top {
        width: 58px
    }
}

/* --- Footer --- */
.footer {
    padding: 35px 61px 50px;
    text-align: center;
    background: #0d0d0f;
    border-top: 4px solid #d7ba65
}

.links {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px 30px;
    margin-bottom: 16px
}

.links>div {
    flex: 0 1 175px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: center
}

.links_lable {
    width: 100%;
    min-height: 50px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent url("../images/page-home/bg/brown box bottom.webp") center/100% 100% no-repeat;
    background-blend-mode: normal;
    transition: background-color .18s ease, box-shadow .18s ease, filter .18s ease
}

.links_lable:hover,
.links_lable:focus-within {
    background-color: rgba(255, 219, 88, .32);
    background-blend-mode: screen;
    box-shadow: 0 0 22px rgba(255, 224, 104, .88), inset 0 0 14px rgba(255, 224, 104, .38);
    filter: brightness(1.22) saturate(1.1)
}

.footer-contact-label {
    gap: 7px;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 0 12px
}

.links_lable a {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffe7a1;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 2px #000;
    white-space: nowrap
}

.links a {
    color: inherit;
    text-shadow: 0 1px 2px #000
}

.links .links_lable a {
    color: #ffe7a1;
    text-shadow: 0 2px 2px #000
}

.links_url {
    margin-top: 8px;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    text-align: center
}

.links_url a,
.links_url span {
    color: #fff;
    font-size: inherit;
    line-height: inherit;
    text-shadow: none
}

.note {
    margin: 0 0 38px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    color: #fff;
    font-size: 17px;
    line-height: 1.22;
    text-align: left
}

.note span:nth-child(1) {
    grid-column: 1
}

.note span:nth-child(2) {
    grid-column: 2;
    text-align: center
}

.note a {
    color: #fff;
    line-height: 20px;
}

.contact {
    margin: 0;
    color: #ffe7a1;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 2px 2px #000
}

.social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 0
}

.footer-contact-label .social a {
    width: auto;
    min-height: 0;
    padding: 0;
    display: block;
    flex: 0 0 auto;
    transition: transform .18s ease, filter .18s ease
}

.footer-contact-label .social a:hover {
    transform: translateY(-2px) scale(1.08);
    filter: brightness(1.18)
}

.social img {
    width: 26px;
    height: 26px
}

.footer-contact-label .social img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    filter: brightness(1.55) contrast(1.08) drop-shadow(0 0 5px rgba(255, 235, 170, .42));
    max-width: none
}

.line {
    height: 4px;
    margin: 0 -61px 29px;
    background: url("../images/page-home/icon/Line.webp") center/100% 100% no-repeat
}

.blogo {
    width: 192px;
    margin: 0 auto 3px
}

.copy {
    max-width: 610px;
    margin: 10px auto;
    color: #fff;
    font-size: 17px;
    line-height: 1.25
}

@media (max-width: 767px) {
    .footer {
        padding: 11px 23px 18px;
        border-top-width: 2px
    }

    .links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
        margin-bottom: 14px
    }

    .links>div {
        min-width: 0;
        font-size: 8px;
        line-height: 1.5
    }

    .links_url {
        margin-top: 6px;
        font-size: 8px;
        line-height: 1.18
    }

    .links_lable {
        min-height: 44px;
        margin-bottom: 6px;
    }

    .footer-contact-label {
        gap: 4px;
        margin-bottom: 0;
        padding: 0 8px
    }

    .links_lable a {
        min-height: 44px;
        padding: 3px 6px;
        font-size: 10px !important;
        color: #ffe7a1;
        font-weight: 900;
        white-space: nowrap;
        line-height: 1.08;
        text-align: center
    }

    .links a {
        color: inherit
    }

    .note {
        gap: 13px;
        margin-bottom: 13px;
        font-size: 7px !important;
        line-height: 1.18
    }

    .contact {
        font-size: 10px !important
    }

    .social {
        gap: 5px;
        margin-bottom: 0
    }

    .social img {
        width: 16px;
        height: 16px
    }

    .footer-contact-label .social img {
        width: 19px;
        height: 19px;
        filter: brightness(1.65) contrast(1.08) drop-shadow(0 0 4px rgba(255, 235, 170, .5))
    }

    .line {
        height: 2px;
        margin: 0 -23px 9px
    }

    .blogo {
        width: 150px;
        margin-bottom: 0
    }

    .copy {
        font-size: 10px !important;
        line-height: 1.18
    }
}

@media (max-width: 360px) {
    .links {
        gap: 8px 10px;
        margin-bottom: 14px
    }

    .links>div {
        flex: 1;
        font-size: 8px;
        line-height: 1.5
    }

    .links_lable {
        min-height: 44px;
        margin-bottom: 6px;
    }

    .links_lable a {
        min-height: 44px;
        padding: 3px 6px;
        font-size: 10px !important;
        color: #ffe7a1;
        font-weight: 900;
        white-space: nowrap;
        line-height: 1.08;
        text-align: center
    }

    .links_url {
        margin-top: 15px;
    }

    .links a {
        color: inherit
    }

    .note {
        gap: 8px
    }
}
