@font-face {
    font-display: swap;
    font-family: "Gearz";
    font-style: normal;
    font-weight: 100 900;
    src: url("../fonts/Gearz-VF-Regular-Trial.ttf") format("truetype");
}

@font-face {
    font-display: swap;
    font-family: "Manege";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/Manege-Demo-Light.otf") format("opentype");
}

:root {
    --sl-deep-green: #173f35;
    --sl-deep-green-dark: #102f28;
    --sl-gold: #d5cb9f;
    --sl-gold-hover: #bfb484;
    --sl-white: #fff;
    --sl-black: #000;
}

body {
    background: var(--sl-deep-green);
    color: var(--sl-gold);
    font-family: "Gearz", TTHoves, Arial, sans-serif;
}

button,
input,
textarea,
.header__address span,
.header__phone,
.header__callback-btn,
.desc__subtitle,
.features__card-desc,
.modal__subtitle,
.modal__submit,
.input,
.cookie-message__btn {
    font-family: "Gearz", TTHoves, Arial, sans-serif;
}

.header__content {
    align-items: center;
    border-bottom-color: rgba(213, 203, 159, .24);
    flex-direction: row;
    gap: 2rem;
    justify-content: space-between;
    padding-bottom: .85rem;
    padding-top: .85rem;
}

.header__brand {
    align-items: center;
    display: flex;
    gap: 1.35rem;
    min-width: 0;
}

.header__logo {
    flex: 0 0 auto;
    height: auto;
    object-fit: contain;
    width: 8.25rem;
}

.header__official {
    border-left: 1px solid rgba(213, 203, 159, .36);
    color: var(--sl-gold);
    font-family: "Gearz", TTHoves, Arial, sans-serif;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.35;
    max-width: none;
    padding-left: 1.35rem;
    text-transform: uppercase;
}

.header__official span {
    white-space: nowrap;
}

.header__contact-stack {
    align-items: flex-end;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: .65rem;
}

.header__contact-stack .header__address {
    justify-content: flex-end;
}

.header__contact-stack .header__address span {
    max-width: none;
    text-align: right;
}

.header__address span,
.header__phone span,
.header__callback-btn {
    color: var(--sl-white);
}

.header__location-icon,
.header__phone-icon,
.header__btn-container span,
.header__btn-container svg {
    color: var(--sl-gold);
}

.desc__bg:after {
    background: linear-gradient(90deg, rgba(8, 27, 23, .78) 0%, rgba(8, 27, 23, .32) 54%, rgba(8, 27, 23, .08) 100%);
}

.desc__content {
    max-width: 52rem;
}

.desc__eyebrow {
    align-items: center;
    color: var(--sl-gold);
    display: flex;
    font-family: "Gearz", TTHoves, Arial, sans-serif;
    font-size: .75rem;
    font-weight: 600;
    gap: .875rem;
    letter-spacing: .14em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.desc__eyebrow:before {
    background: var(--sl-gold);
    content: "";
    height: 1px;
    width: 2.75rem;
}

.desc__title,
.features__title,
.features__card-title,
.cta__title {
    font-family: "Manege", TTHoves, serif;
    font-weight: 300;
    letter-spacing: .01em;
}

.modal__title,
.modal_conf .modal__wrapper h3,
.modal_cookie .modal__wrapper h3,
.modal_credit .modal__wrapper h3 {
    font-family: "Manege", TTHoves, serif;
    font-weight: 300;
}

.desc__title {
    max-width: 50rem;
    text-wrap: balance;
}

.desc__subtitle {
    max-width: 31rem;
}

.desc__feedback-btn,
.features__card-btn,
.cta__btn,
.modal__submit {
    background: var(--sl-gold);
}

.desc__feedback-btn span,
.features__card-btn span,
.cta__btn span,
.modal__submit {
    color: var(--sl-deep-green);
}

.desc__feedback-btn span,
.cta__btn span,
.modal__submit {
    font-family: "Gearz", TTHoves, Arial, sans-serif;
    font-weight: 600;
}

.desc__feedback-btn:hover,
.features__card-btn:hover,
.cta__btn:hover,
.modal__submit:focus,
.modal__submit:hover {
    background: var(--sl-gold-hover);
}

.features__nav-btn:hover {
    background: var(--sl-gold);
    border-color: var(--sl-gold);
    color: var(--sl-deep-green);
}

.features__head {
    align-items: flex-end;
    border-bottom: 1px solid rgba(213, 203, 159, .22);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
}

.features__eyebrow {
    color: var(--sl-gold);
    font-family: "Gearz", TTHoves, Arial, sans-serif;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .14em;
    margin-bottom: .75rem;
    text-transform: uppercase;
}

.features__nav-btn {
    border-color: rgba(213, 203, 159, .38);
    border-radius: 50%;
    color: var(--sl-gold);
    height: 3rem;
    width: 3rem;
}

.features__nav-icon {
    height: 1.35rem;
    transition: transform .25s ease;
    width: 1.35rem;
}

.features__nav-btn--prev:hover .features__nav-icon {
    transform: translateX(-2px);
}

.features__nav-btn--next:hover .features__nav-icon {
    transform: translateX(2px);
}

.features__slider {
    counter-reset: feature-card;
}

.features__card {
    background: #f5f2e8;
    border: 1px solid rgba(213, 203, 159, .5);
    border-radius: .75rem;
    counter-increment: feature-card;
    transition: transform .35s ease, border-color .35s ease;
}

.features__card:hover {
    border-color: var(--sl-gold);
    transform: translateY(-4px);
}

.features__card .features__img {
    transition: transform .7s cubic-bezier(.2, .65, .3, 1);
}

.features__card:hover .features__img {
    transform: scale(1.025);
}

.features__card-body:before {
    color: #9a916a;
    content: counter(feature-card, decimal-leading-zero);
    display: block;
    font-family: "Gearz", TTHoves, Arial, sans-serif;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .12em;
    margin-bottom: .875rem;
}

.features__card-title {
    color: var(--sl-deep-green);
    font-weight: 400;
}

.features__card-desc {
    color: rgba(23, 63, 53, .68);
    margin-bottom: 0;
}

.gallery {
    padding-top: 5.5rem;
}

.gallery__head {
    align-items: flex-start;
    border-bottom: 1px solid rgba(213, 203, 159, .22);
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.gallery__eyebrow {
    color: var(--sl-gold);
    font-family: "Gearz", TTHoves, Arial, sans-serif;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gallery__title {
    color: #fff;
    font-family: "Manege", TTHoves, serif;
    font-size: clamp(2.5rem, 4.6vw, 4.75rem);
    font-weight: 300;
    letter-spacing: .01em;
    line-height: .95;
}

.gallery__content {
    aspect-ratio: 16 / 9;
    display: block;
    position: relative;
}

.gallery__main {
    border-radius: 1rem;
    width: 100%;
}

.gallery__thumbs {
    backdrop-filter: blur(12px);
    background: rgba(9, 46, 39, .58);
    border: 1px solid rgba(213, 203, 159, .3);
    border-radius: .875rem;
    bottom: 1.25rem;
    height: auto;
    padding: .5rem;
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    width: 9.25rem;
    z-index: 4;
}

.gallery__thumb {
    border: 1px solid transparent;
    border-radius: .625rem;
    opacity: .55;
    transition: border-color .25s ease, opacity .25s ease, transform .25s ease;
}

.gallery__thumb picture,
.gallery__thumb-img {
    pointer-events: none;
}

.gallery__thumb.swiper-slide-thumb-active {
    border-color: var(--sl-gold);
    opacity: 1;
    transform: translateX(-.25rem);
}

.gallery__thumb .gallery__thumb-img {
    border-radius: inherit;
}

.gallery__main,
.gallery__thumb,
.features__card,
.cta__panel {
    border-radius: .5rem;
}

.cta__panel {
    align-items: stretch;
    background: linear-gradient(100deg, rgba(7, 34, 29, .98), rgba(7, 34, 29, .84)), url("../images/slide-gallery-4.webp") center / cover;
    border: 1px solid rgba(213, 203, 159, .2);
    display: grid;
    gap: clamp(2rem, 5vw, 5.5rem);
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
    min-height: 35rem;
    overflow: hidden;
    padding: clamp(2.5rem, 4vw, 4.5rem);
    position: relative;
    text-align: left;
}

.cta__copy {
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
    z-index: 2;
}

.cta__eyebrow {
    color: var(--sl-gold);
    font-family: "Gearz", TTHoves, Arial, sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.cta__title {
    font-size: clamp(2.25rem, 4.1vw, 4rem);
    margin-bottom: .75rem;
    text-wrap: balance;
}

.cta__catalog {
    height: 18rem;
    margin: 1.25rem 0 -2.25rem 8%;
    position: relative;
    width: min(27rem, 78%);
    z-index: 1;
}

.cta__catalog-page {
    background: #fff;
    border: 1px solid rgba(213, 203, 159, .5);
    border-radius: .25rem;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, .28);
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 1rem;
    width: 55%;
}

.cta__catalog-page--back {
    right: 0;
    transform: rotate(4.5deg);
}

.cta__catalog-page--front {
    left: 0;
    transform: rotate(-4deg);
    z-index: 1;
}

.cta__form {
    align-content: center;
    background: rgba(255, 255, 255, .96);
    border-radius: .75rem;
    color: var(--sl-deep-green);
    display: grid;
    gap: 1rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    z-index: 3;
}

.cta__form-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .4rem;
}

.cta__form-copy {
    color: rgba(23, 63, 53, .62);
    font-size: .78rem;
    line-height: 1.4;
}

.cta__phone-input {
    background: #fff;
    border: 1px solid rgba(23, 63, 53, .22);
    border-radius: .65rem;
    color: var(--sl-deep-green);
    font-size: 1.1rem;
    min-height: 4.25rem;
    padding: 1rem 1.25rem;
    width: 100%;
}

.cta__phone-input::placeholder {
    color: rgba(23, 63, 53, .38);
}

.cta__consent {
    align-items: center;
    color: rgba(23, 63, 53, .64);
    display: flex;
    font-size: .68rem;
    gap: .65rem;
    line-height: 1.35;
}

.cta__consent input {
    accent-color: var(--sl-deep-green);
    flex: 0 0 auto;
    height: 1.15rem;
    width: 1.15rem;
}

.cta__consent a {
    color: inherit;
    text-decoration: underline;
}

.cta__submit {
    align-items: center;
    background: var(--sl-gold);
    border-radius: .65rem;
    color: var(--sl-deep-green);
    display: flex;
    font-size: .72rem;
    font-weight: 600;
    gap: .75rem;
    justify-content: center;
    letter-spacing: .06em;
    min-height: 4.25rem;
    padding: 1rem;
    text-transform: uppercase;
    width: 100%;
}

.cta__submit svg {
    fill: none;
    height: 1.25rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 1.25rem;
}

.cta__form-success {
    color: var(--sl-deep-green);
    font-size: .78rem;
    line-height: 1.35;
    text-align: center;
}

.cta__form-error {
    color: #8f3d32;
    font-size: .78rem;
    line-height: 1.35;
    text-align: center;
}

.footer__text {
    border-top-color: rgba(213, 203, 159, .24);
}

.footer {
    background: #092e27;
}

.footer__grid {
    border-top: 1px solid rgba(213, 203, 159, .24);
    color: rgba(255, 255, 255, .72);
    display: grid;
    font-family: "Gearz", TTHoves, Arial, sans-serif;
    font-size: .6875rem;
    gap: 2rem;
    grid-template-columns: 1.35fr 1.15fr 1fr 1fr;
    letter-spacing: .045em;
    line-height: 1.45;
    padding: 2.5rem 0 2.75rem;
    text-transform: uppercase;
}

.footer__column {
    align-content: start;
    display: grid;
    gap: .7rem;
}

.footer__column a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.footer__column a:hover {
    color: var(--sl-gold);
}

.footer__label {
    color: var(--sl-gold);
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .14em;
}

.footer__column--contact {
    justify-items: end;
    text-align: right;
}

.footer__offer {
    color: rgba(255, 255, 255, .42);
    font-size: .5625rem;
    max-width: 13rem;
}

.footer__developer {
    margin-top: .35rem;
}

.footer__developer img {
    display: block;
    height: auto;
    width: 7.5rem;
}

.footer__developer-note {
    color: rgba(213, 203, 159, .62);
    font-size: .5625rem;
    letter-spacing: .12em;
}

.footer__credit {
    border-top: 1px solid rgba(213, 203, 159, .18);
    color: rgba(255, 255, 255, .52) !important;
    font-size: .5625rem;
    letter-spacing: .08em;
    margin-top: .35rem;
    padding-top: .8rem;
}

.footer__credit:hover {
    color: var(--sl-gold) !important;
}

@media (max-width: 990px) {
    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer__column--contact {
        justify-items: start;
        text-align: left;
    }
}

.cookie-message__btn {
    border-color: var(--sl-deep-green);
    color: var(--sl-deep-green);
}

.cookie-message__btn:hover {
    background: var(--sl-deep-green);
    border-color: var(--sl-deep-green);
}

.modal__policy-checkbox:checked + .modal__policy-box {
    background-color: var(--sl-deep-green);
    border-color: var(--sl-deep-green);
}

.modal__policy-checkbox:focus-visible + .modal__policy-box {
    outline-color: var(--sl-deep-green);
}

.modal_callback .modal__wrapper {
    position: relative;
}

.modal_callback .modal__close {
    cursor: pointer;
    right: 1rem !important;
    top: 1rem !important;
    z-index: 5;
}

.modal__policy {
    align-items: center;
}

.modal__policy-box {
    margin-top: 0;
}

.modal__policy-text {
    line-height: 1.3;
}

.cookie-message__text a {
    color: inherit;
    text-decoration: underline;
}

.first-screen__attention,
.footer__text [data-modal="credit"] {
    display: none;
}

@media (max-width: 640px) {
    .footer__grid {
        font-size: .625rem;
        gap: 1.5rem;
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }

    .gallery {
        padding-top: 3rem;
    }

    .gallery__head {
        align-items: start;
        flex-direction: column;
        gap: .65rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
    }

    .gallery__title {
        font-size: 2.5rem;
    }

    .gallery__content {
        aspect-ratio: 4 / 3;
    }

    .gallery__main {
        aspect-ratio: auto;
        height: 100%;
    }

    .gallery__thumbs {
        bottom: .65rem;
        height: 3.5rem;
        left: .65rem;
        padding: .3rem;
        right: .65rem;
        top: auto;
        width: auto;
    }

    .gallery__thumb.swiper-slide-thumb-active {
        transform: translateY(-.15rem);
    }

    .header__content {
        gap: .75rem;
        padding-bottom: .75rem;
        padding-top: .75rem;
    }

    .header__brand {
        gap: .625rem;
    }

    .header__logo {
        height: auto;
        width: 5.25rem;
    }

    .header__official {
        font-size: .5rem;
        letter-spacing: .05em;
        max-width: none;
        padding-left: .625rem;
    }

    .header__contact-stack {
        gap: .4rem;
    }

    .header__contact-stack .header__phone {
        gap: .35rem;
    }

    .header__contact-stack .header__phone span {
        font-size: .875rem;
        min-width: 0;
    }

    .header__contact-stack .header__address {
        gap: .35rem;
    }

    .header__contact-stack .header__address span {
        font-size: .5625rem;
        max-width: 7.25rem;
    }

    .header__contact-stack .header__location-icon,
    .header__contact-stack .header__phone-icon {
        height: .875rem;
        width: .875rem;
    }

    .desc__bg img {
        object-position: 58% center;
    }

    .desc__eyebrow {
        font-size: .625rem;
        gap: .625rem;
        margin-bottom: .875rem;
    }

    .desc__eyebrow:before {
        width: 1.75rem;
    }

    .features__head {
        padding-bottom: 1rem;
    }

    .cta__panel {
        gap: 1.75rem;
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 2.25rem 1.25rem 2.5rem;
        text-align: center;
    }

    .cta__copy {
        margin: 0 auto;
        max-width: 20rem;
        min-height: 0;
        width: 100%;
    }

    .cta__title {
        font-size: 1.75rem;
        margin-bottom: .75rem;
    }

    .cta__catalog {
        bottom: auto;
        height: 15rem;
        left: auto;
        margin: 1.25rem auto -1.5rem;
        position: relative;
        width: min(17rem, 88%);
    }

    .cta__catalog-page {
        top: 0;
    }

    .cta__form {
        border: 1px solid rgba(23, 63, 53, .12);
        padding: 1.25rem;
        text-align: left;
    }

    .cta__form-title {
        font-size: 1rem;
    }

    .cta__form-copy {
        font-size: .72rem;
    }

    .cta__phone-input,
    .cta__submit {
        min-height: 3.75rem;
    }

    .cta__submit {
        font-size: .65rem;
    }
}

@media (min-width: 641px) and (max-width: 900px) {
    .cta__panel {
        gap: 2rem;
        grid-template-columns: minmax(0, 1fr) minmax(16rem, .9fr);
        min-height: 31rem;
        padding: 3rem 2.5rem;
        text-align: left;
    }

    .cta__copy {
        margin: 0;
        min-height: 0;
    }

    .cta__catalog {
        bottom: auto;
        margin-bottom: -2.5rem;
        width: min(22rem, 88%);
    }

    .cta__title {
        font-size: clamp(2rem, 4.6vw, 2.75rem);
        margin-bottom: .75rem;
    }
}

@media (max-width: 420px) {
    .header__content {
        align-items: stretch;
        flex-direction: column;
        gap: .7rem;
    }

    .header__brand {
        gap: .75rem;
        width: 100%;
    }

    .header__logo {
        width: 5rem;
    }

    .header__official {
        font-size: .48rem;
        line-height: 1.25;
        padding-left: .75rem;
    }

    .header__contact-stack {
        align-items: center;
        border-top: 1px solid rgba(213, 203, 159, .2);
        flex-direction: row;
        justify-content: space-between;
        padding-top: .55rem;
        width: 100%;
    }

    .header__contact-stack .header__phone span {
        font-size: .75rem;
    }

    .header__contact-stack .header__address span {
        font-size: .52rem;
    }
}
