@font-face {
    font-family: "Garet Warranty";
    src: url("../fonts/Garet-Book.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Garet Warranty";
    src: url("../fonts/Garet-Heavy.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

.warranty-page {
    width: 100%;
    overflow: clip;
    background: #fff;
    color: #fff;
    font-family: "Garet Warranty", "Inter", Arial, sans-serif;
}

.warranty-section {
    position: relative;
    display: block;
    width: 100%;
    scroll-margin-top: 65px;
}

.warranty-section__picture,
.warranty-section__image {
    display: block;
    width: 100%;
}

.warranty-section__picture {
    line-height: 0;
}

.warranty-section__image {
    height: auto;
    margin: -1px 0;
}

.warranty-page__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.warranty-menu {
    position: absolute;
    right: 10%;
    bottom: 5%;
    z-index: 2;
}

.warranty-menu__title {
    margin: 0;
    color: #057bff;
    font-size: 3.3vw;
    font-weight: 600;
    line-height: 4.6vw;
    text-transform: uppercase;
}

.warranty-menu ul {
    margin: 0;
    padding-left: 80px;
    list-style: none;
}

.warranty-menu a {
    color: #057bff;
    font-size: 3.3vw;
    font-weight: 600;
    line-height: 4.6vw;
    text-decoration: none;
    transition: color 0.3s ease;
}

.warranty-menu a:hover,
.warranty-menu a:focus-visible {
    color: #175bd1;
    text-decoration: underline;
}

.warranty-copy {
    position: absolute;
    top: 50%;
    right: 4.6%;
    z-index: 2;
    width: 43%;
    color: #fff;
    font-size: 1.83vw;
    font-weight: 400;
    line-height: 1.2;
    transform: translateY(-50%);
}

.warranty-copy h2 {
    margin: 0 0 40px;
    color: #057bff;
    font-family: inherit;
    font-size: 2.7vw;
    font-weight: 600;
    line-height: 1;
}

.warranty-copy p {
    margin: 0 0 1em;
}

.warranty-copy p:last-child {
    margin-bottom: 0;
}

.warranty-copy a {
    color: #057bff;
}

.warranty-copy a:hover,
.warranty-copy a:focus-visible {
    opacity: 0.5;
}

.warranty-copy--mobile-only,
.warranty-contact {
    display: none;
}

.warranty-nav {
    --warranty-nav-color: #fff;

    position: absolute;
    right: 25px;
    bottom: 25px;
    z-index: 3;
    display: flex;
    color: var(--warranty-nav-color);
}

.warranty-nav--dark {
    --warranty-nav-color: #222;
}

.warranty-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: none;
}

.warranty-nav__icon {
    position: relative;
    display: block;
    width: 22px;
    height: 44px;
    margin-bottom: 11px;
}

.warranty-nav__chevron {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 11px;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
    animation: warranty-chevron 3s ease-out infinite;
}

.warranty-nav__chevron:first-child {
    animation-delay: 1s;
}

.warranty-nav__chevron:last-child {
    animation-delay: 2s;
}

.warranty-nav__chevron::before,
.warranty-nav__chevron::after {
    position: absolute;
    top: 0;
    width: 51%;
    height: 100%;
    background: currentColor;
    content: "";
}

.warranty-nav__chevron::before {
    left: 0;
    transform: skew(0deg, 30deg);
}

.warranty-nav__chevron::after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -30deg);
}

.warranty-nav__text {
    color: inherit;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.warranty-nav--back {
    transform: rotate(180deg);
}

.warranty-nav--back .warranty-nav__link {
    flex-direction: column-reverse;
}

.warranty-nav--back .warranty-nav__text {
    transform: rotate(180deg);
}

.warranty-nav--back .warranty-nav__icon {
    margin-top: 11px;
    margin-bottom: 0;
}

@keyframes warranty-chevron {
    25% {
        opacity: 1;
    }

    33% {
        opacity: 1;
        transform: translateY(120%);
    }

    67% {
        opacity: 1;
        transform: translateY(250%);
    }

    100% {
        opacity: 0;
        transform: translateY(300%) scale3d(0.5, 0.5, 0.5);
    }
}

@media (max-width: 767px) {
    .warranty-section__image {
        aspect-ratio: var(--warranty-mobile-ratio);
        object-fit: contain;
    }

    .warranty-nav {
        display: block;
        bottom: 0;
    }

    .warranty-nav--next {
        display: none;
    }

    .warranty-nav__icon {
        width: 16px;
        height: 32px;
    }

    .warranty-nav__text {
        font-size: 13.375px;
        line-height: 21.4px;
    }

    .warranty-nav--back .warranty-nav__icon {
        margin-top: 8px;
    }

    .warranty-nav--next .warranty-nav__icon {
        margin-bottom: 8px;
    }

    .warranty-menu {
        right: 10%;
        bottom: 20%;
        padding-left: 15px;
    }

    .warranty-menu__title,
    .warranty-menu a {
        font-size: 3.3vw;
    }

    .warranty-menu__title {
        line-height: 4.6vw;
    }

    .warranty-menu ul {
        margin-bottom: 16px;
        padding-left: 15px;
    }

    .warranty-menu a {
        line-height: 4.6vw;
    }

    .warranty-menu li {
        line-height: 15px;
    }

    .warranty-copy {
        top: auto;
        right: auto;
        bottom: 5%;
        left: 20px;
        width: calc(100% - 25px);
        font-size: 3.5vw;
        line-height: 1.3;
        transform: none;
    }

    .warranty-copy h2 {
        margin-bottom: 10px;
        font-size: 4.8vw;
    }

    .warranty-copy p {
        margin-bottom: 0;
    }

    .warranty-copy--mobile-only {
        bottom: 2%;
        display: block;
    }

    .warranty-contact {
        position: absolute;
        top: 50%;
        right: 0;
        left: 0;
        z-index: 2;
        display: block;
        color: #057bff;
        text-align: center;
        transform: translateY(-50%);
    }

    .warranty-contact__title {
        font-size: 5.2vw;
        font-weight: 600;
        line-height: 33px;
    }

    .warranty-contact__subtitle {
        font-size: 2.75vw;
        font-weight: 600;
        line-height: 33px;
        letter-spacing: 1px;
    }

    .warranty-contact a {
        color: #08daa9;
        font-size: 5.2vw;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 1px;
        text-decoration: none;
    }

    .warranty-contact__note {
        color: #057bff;
        font-size: 2vw;
        font-weight: 600;
        line-height: 12px;
        letter-spacing: 1px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .warranty-nav__chevron {
        opacity: 1;
        transform: translateY(120%);
        animation: none;
    }
}
