/* Service page: direct paths, editorial support statement and topic search. */
.service-page {
    overflow: hidden;
    background: #ffffff;
}

.service-options {
    padding-block: clamp(4.5rem, 8vw, 8rem);
}

.service-options__header {
    max-width: 56rem;
    margin: 0 auto clamp(3rem, 6vw, 5rem);
    text-align: center;
}

.service-options__eyebrow {
    margin: 0 0 0.65rem;
    color: var(--color-accent-dark);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.service-options__header h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 300;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.service-options__mobile-break {
    display: none;
}

.service-options__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-block: 0.0625rem solid var(--color-border);
}

.service-option {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: clamp(10.5rem, 34vw, 13rem);
    appearance: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem 0.75rem;
    border: 0;
    border-bottom: 0.0625rem solid var(--color-border);
    background: transparent;
    color: #15191c;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition);
}

.service-option:nth-child(odd) {
    border-inline-end: 0.0625rem solid var(--color-border);
}

.service-option:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.service-option__icon {
    position: relative;
    display: grid;
    width: clamp(4.6rem, 13vw, 6.1rem);
    aspect-ratio: 1;
    place-items: center;
    border: 0.0625rem solid var(--service-icon-color, #59636a);
    border-radius: 50%;
    background: var(--service-icon-fill, #f1f3f4);
    color: var(--service-icon-color, #59636a);
    transition:
        border-color var(--transition),
        background-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.service-option__glyph,
.service-option__glyph::before,
.service-option__glyph::after {
    position: absolute;
    display: block;
    box-sizing: border-box;
    content: "";
}

.service-option__glyph {
    position: relative;
    width: 2.05rem;
    height: 2.05rem;
}

.service-option__label {
    position: relative;
    max-width: 100%;
    font-size: clamp(0.78rem, 2.8vw, 1rem);
    font-weight: 600;
    letter-spacing: clamp(0.025em, 0.3vw, 0.075em);
    line-height: 1.25;
    text-transform: uppercase;
    transition: color var(--transition);
}

.service-option__tablet-label-break {
    display: none;
}

.service-option__tablet-label-space {
    display: none;
}

html[lang="en"] .service-option__tablet-label-space {
    display: inline;
}

.service-option__label::after {
    position: absolute;
    right: 0;
    bottom: -0.5rem;
    left: 0;
    height: 0.0625rem;
    background: currentColor;
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right center;
    transition: opacity var(--transition), transform var(--transition);
}

.service-option:hover,
.service-option:focus-visible {
    color: var(--color-accent-dark);
}

.service-option:hover .service-option__icon,
.service-option:focus-visible .service-option__icon {
    border-color: var(--service-icon-color, var(--color-primary));
    background: var(--service-icon-hover-fill, #e4e9ec);
    color: var(--service-icon-color, var(--color-primary));
    transform: translateY(-0.2rem);
}

.service-option:hover .service-option__label::after,
.service-option:focus-visible .service-option__label::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left center;
}

.service-option__icon--repair {
    --service-icon-color: #59a1c9;
    --service-icon-fill: rgba(89, 161, 201, 0.13);
    --service-icon-hover-fill: rgba(89, 161, 201, 0.25);
}

.service-option__icon--question {
    --service-icon-color: #9ed0b7;
    --service-icon-fill: rgba(158, 208, 183, 0.16);
    --service-icon-hover-fill: rgba(158, 208, 183, 0.3);
}

.service-option__icon--care {
    --service-icon-color: #f3989d;
    --service-icon-fill: rgba(243, 152, 157, 0.14);
    --service-icon-hover-fill: rgba(243, 152, 157, 0.27);
}

.service-option__icon--customer {
    --service-icon-color: #c2bce0;
    --service-icon-fill: rgba(194, 188, 224, 0.17);
    --service-icon-hover-fill: rgba(194, 188, 224, 0.31);
}

.service-option__icon--part {
    --service-icon-color: #d3b293;
    --service-icon-fill: rgba(211, 178, 147, 0.17);
    --service-icon-hover-fill: rgba(211, 178, 147, 0.31);
}

.service-option__icon--manual {
    --service-icon-color: #6f6d85;
    --service-icon-fill: rgba(111, 109, 133, 0.12);
    --service-icon-hover-fill: rgba(111, 109, 133, 0.23);
}

.service-option__icon--repair .service-option__glyph {
    width: 2.15rem;
    height: 2.15rem;
    transform: rotate(-42deg);
}

.service-option__icon--repair .service-option__glyph::before {
    bottom: 0;
    left: 50%;
    width: 0.28rem;
    height: 1.55rem;
    background: currentColor;
    transform: translateX(-50%);
}

.service-option__icon--repair .service-option__glyph::after {
    top: 0.05rem;
    left: 50%;
    width: 1.45rem;
    height: 0.48rem;
    background: currentColor;
    transform: translateX(-50%);
}

.service-option__icon--question .service-option__glyph {
    width: 2rem;
    height: 1.58rem;
    border: 0.11rem solid currentColor;
}

.service-option__icon--question .service-option__glyph::before {
    top: 0.16rem;
    left: 0;
    width: 100%;
    content: "?";
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}

.service-option__icon--question .service-option__glyph::after {
    bottom: -0.38rem;
    left: 0.25rem;
    width: 0.48rem;
    height: 0.48rem;
    border-bottom: 0.11rem solid currentColor;
    border-left: 0.11rem solid currentColor;
    transform: skewY(-35deg);
}

.service-option__icon--care .service-option__glyph {
    width: 1.5rem;
    height: 1.5rem;
    border: 0.11rem solid currentColor;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.service-option__icon--care .service-option__glyph::before {
    top: 0.44rem;
    left: 0.4rem;
    width: 0.34rem;
    height: 0.58rem;
    border-right: 0.1rem solid currentColor;
    border-bottom: 0.1rem solid currentColor;
    transform: rotate(88deg);
}

.service-option__icon--customer .service-option__glyph::before {
    top: 0;
    left: 50%;
    width: 0.68rem;
    height: 0.68rem;
    border: 0.11rem solid currentColor;
    border-radius: 50%;
    transform: translateX(-50%);
}

.service-option__icon--customer .service-option__glyph::after {
    right: 0.18rem;
    bottom: 0;
    left: 0.18rem;
    height: 0.88rem;
    border: 0.11rem solid currentColor;
    border-bottom: 0;
    border-radius: 50% 50% 0 0;
}

.service-option__icon--part .service-option__glyph {
    width: 2.15rem;
    height: 2.15rem;
    background: currentColor;
    clip-path: polygon(
        43% 0, 57% 0, 62% 11%, 73% 15%, 84% 9%, 94% 19%,
        88% 31%, 93% 43%, 100% 50%, 93% 57%, 88% 69%, 94% 81%,
        84% 91%, 73% 85%, 62% 89%, 57% 100%, 43% 100%, 38% 89%,
        27% 85%, 16% 91%, 6% 81%, 12% 69%, 7% 57%, 0 50%,
        7% 43%, 12% 31%, 6% 19%, 16% 9%, 27% 15%, 38% 11%
    );
}

.service-option__icon--part .service-option__glyph::before {
    top: 50%;
    left: 50%;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
}

.service-option__icon--part .service-option__glyph::after {
    content: none;
}

.service-option__icon--manual .service-option__glyph {
    width: 2.1rem;
    height: 1.65rem;
    border: 0.11rem solid currentColor;
}

.service-option__icon--manual .service-option__glyph::before {
    top: -0.11rem;
    bottom: -0.11rem;
    left: 50%;
    border-left: 0.11rem solid currentColor;
}

.service-option__icon--manual .service-option__glyph::after {
    top: 0.3rem;
    right: 0.23rem;
    left: calc(50% + 0.22rem);
    height: 0.49rem;
    background: linear-gradient(
        to bottom,
        currentColor 0 0.11rem,
        transparent 0.11rem 0.38rem,
        currentColor 0.38rem 0.49rem
    );
}

.service-promise {
    padding-bottom: 0;
}

.service-promise__stage {
    position: relative;
    display: grid;
    min-height: clamp(34rem, 55vw, 45rem);
    overflow: hidden;
    align-items: center;
    background: #181b33;
    color: #ffffff;
}

.service-promise__background,
.service-promise__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-promise__background {
    object-fit: cover;
    object-position: 45% center;
}

.service-promise__overlay {
    background:
        linear-gradient(90deg, rgba(17, 18, 37, 0.08) 0%, rgba(17, 18, 37, 0.55) 46%, rgba(17, 18, 37, 0.93) 100%),
        linear-gradient(0deg, rgba(17, 18, 37, 0.5), transparent 55%);
}

.service-promise__content {
    position: relative;
    z-index: 1;
    width: min(60%, 64rem);
    margin-inline-start: auto;
    padding: clamp(3rem, 5vw, 5rem);
}

.service-promise__content h2 {
    margin: 0 0 1.75rem;
    color: #9aa9f4;
    font-size: clamp(2.05rem, 3.2vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.98;
    white-space: nowrap;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .service-promise__content h2 {
        background: linear-gradient(92deg, #79d5f1 0%, #a895ff 54%, #d08cff 100%);
        background-clip: text;
        color: transparent;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.service-promise__lead {
    margin: 0 0 2rem;
    font-size: clamp(1.05rem, 1.55vw, 1.35rem);
    line-height: 1.48;
}

.service-promise__lead strong {
    font-weight: 500;
}

.service-promise__lead span {
    display: block;
}

.service-promise__copy {
    max-width: 39rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
    line-height: 1.72;
}

.service-promise__copy p {
    margin: 0;
}

.service-promise__copy p + p {
    margin-top: 1.25rem;
}

.service-promise__copy a {
    color: #ffffff;
    text-decoration: none;
    transition: color var(--transition);
}

.service-promise__copy a:hover,
.service-promise__copy a:focus-visible {
    color: var(--color-accent);
}

.service-topic-search {
    position: relative;
    display: grid;
    min-height: clamp(22rem, 34vw, 31rem);
    overflow: hidden;
    place-items: center;
    border-top: 0.0625rem solid var(--color-border);
    background: #eef0f2;
}

.service-topic-search__background,
.service-topic-search__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-topic-search__background {
    object-fit: cover;
    object-position: center;
}

.service-topic-search__overlay {
    background: rgba(247, 248, 249, 0.62);
    backdrop-filter: blur(0.08rem);
    -webkit-backdrop-filter: blur(0.08rem);
}

.service-topic-search__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
}

.service-topic-search__inner h2 {
    margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
    color: #171b1e;
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    font-weight: 300;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.service-topic-search__form {
    display: grid;
    width: min(100%, 58rem);
    min-height: clamp(3.2rem, 4.5vw, 3.75rem);
    grid-template-columns: minmax(0, 1fr) auto auto;
    margin-inline: auto;
    border: 0.0625rem solid #d6dadd;
    background: rgba(255, 255, 255, 0.82);
    transition: border-color var(--transition), background-color var(--transition);
}

.service-topic-search__form:focus-within {
    border-color: var(--color-accent-dark);
    background: #ffffff;
}

.service-topic-search__form input {
    min-width: 0;
    padding: 0 clamp(1.25rem, 3vw, 2.25rem);
    border: 0;
    outline: 0;
    background: transparent;
    color: #111111;
    font-size: clamp(0.9375rem, 1.1vw, 1rem);
}

.service-topic-search__form input::placeholder {
    color: #71777b;
    opacity: 1;
}

.service-topic-search__form input::-webkit-search-cancel-button,
.service-topic-search__form input::-webkit-search-decoration {
    display: none;
    appearance: none;
}

.service-topic-search__form input::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

.service-topic-search__submit {
    display: grid;
    width: clamp(3.2rem, 4.5vw, 3.75rem);
    appearance: none;
    place-items: center;
    border: 0;
    border-inline-start: 0.0625rem solid #d8dcde;
    background: transparent;
    color: var(--color-header-icon);
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition);
}

.service-topic-search__submit:hover,
.service-topic-search__submit:focus-visible {
    background: var(--color-primary);
    color: #ffffff;
}

.service-topic-search__submit .search-icon {
    width: 1rem;
    height: 1rem;
}

.service-manuals-dialog {
    width: min(calc(100% - 2rem), 64rem);
    max-height: min(88vh, 46rem);
    padding: 0;
    overflow: auto;
    border: 0.0625rem solid var(--color-border);
    background: #ffffff;
    color: var(--color-text);
}

.service-manuals-dialog::backdrop {
    background: rgba(17, 22, 25, 0.62);
    backdrop-filter: blur(0.35rem);
    -webkit-backdrop-filter: blur(0.35rem);
}

.service-manuals-dialog[open] {
    animation: service-dialog-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.service-manuals-dialog__header {
    display: flex;
    min-height: 4.75rem;
    align-items: center;
    justify-content: space-between;
    padding-inline: clamp(1.5rem, 4vw, 2.5rem);
    border-bottom: 0.0625rem solid var(--color-border);
}

.service-manuals-dialog__eyebrow {
    margin: 0;
    color: var(--color-accent-dark);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.service-manuals-dialog__close {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    margin-inline-end: -0.75rem;
    appearance: none;
    border: 0;
    background: transparent;
    color: #333b3f;
    cursor: pointer;
    transition: color var(--transition);
}

.service-manuals-dialog__close::before,
.service-manuals-dialog__close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.2rem;
    height: 0.0625rem;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%) rotate(45deg);
    transition: background-color var(--transition);
}

.service-manuals-dialog__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.service-manuals-dialog__close:hover,
.service-manuals-dialog__close:focus-visible {
    color: var(--color-accent-dark);
}

.service-manuals-dialog__content {
    padding: clamp(2.25rem, 6vw, 4.75rem) clamp(1.25rem, 5vw, 4.5rem) clamp(2.75rem, 7vw, 5rem);
}

.service-manuals-dialog__content h2 {
    max-width: 45rem;
    margin: 0 0 0.85rem;
    font-size: clamp(1.9rem, 4vw, 3.35rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.service-manuals-dialog__content p {
    max-width: 40rem;
    margin: 0;
    color: var(--color-muted);
}

.service-manuals-dialog__models {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(2.25rem, 5vw, 4rem);
    border-block: 0.0625rem solid var(--color-border);
}

.service-manuals-dialog__model {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: clamp(8.5rem, 15vw, 12rem);
    place-items: center;
    padding: clamp(0.6rem, 2vw, 1.5rem);
    border-inline-end: 0.0625rem solid var(--color-border);
    background: transparent;
    text-decoration: none;
    transition: background-color var(--transition);
}

.service-manuals-dialog__model:last-child {
    border-inline-end: 0;
}

.service-manuals-dialog__model img {
    width: min(78%, 7.75rem);
    height: auto;
    object-fit: contain;
    opacity: 1;
    transition: opacity var(--transition), transform var(--transition);
}

.service-manuals-dialog__model:hover,
.service-manuals-dialog__model:focus-visible {
    background: #f6f8f9;
}

.service-manuals-dialog__model:hover img,
.service-manuals-dialog__model:focus-visible img {
    opacity: 0.58;
    transform: translateY(-0.18rem) scale(1.035);
}

@keyframes service-dialog-in {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 48rem) {
    .service-options__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-option {
        min-height: clamp(13rem, 20vw, 17rem);
        padding: 2.5rem 1.25rem;
        border-inline-end: 0;
        border-bottom: 0;
    }

    .service-option:nth-child(odd) {
        border-inline-end: 0;
    }

    .service-option:nth-child(3n + 1),
    .service-option:nth-child(3n + 2) {
        border-inline-end: 0.0625rem solid var(--color-border);
    }

    .service-option:nth-child(-n + 3) {
        border-bottom: 0.0625rem solid var(--color-border);
    }
}

@media (min-width: 48rem) and (max-width: 63.999rem),
    (min-width: 64rem) and (max-width: 74.999rem) and (hover: none) and (pointer: coarse) {
    .service-option__label {
        display: block;
        height: 2.5rem;
    }

    .service-option__tablet-label-space,
    html[lang="en"] .service-option__tablet-label-space {
        display: none;
    }

    .service-option__tablet-label-break {
        display: inline;
    }

    .service-promise__lead span {
        display: inline;
    }
}

@media (min-width: 64rem) {
    .service-manuals-dialog__content {
        padding-top: 2.5rem;
    }
}

@media (max-width: 63.999rem) {
    .service-promise__stage {
        min-height: 38rem;
    }

    .service-promise__background {
        object-position: 36% center;
    }

    .service-promise__overlay {
        background: linear-gradient(90deg, rgba(17, 18, 37, 0.25), rgba(17, 18, 37, 0.92) 72%);
    }

    .service-promise__content {
        width: 72%;
        padding: clamp(2.5rem, 4vw, 4rem);
    }
}

@media (max-width: 47.999rem) {
    .service-options {
        padding-block: 3.75rem 4.5rem;
    }

    .service-options__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-option {
        display: grid;
        min-height: 7.75rem;
        grid-template-columns:
            clamp(4.35rem, 20vw, 5rem)
            minmax(0, clamp(10.5rem, 52vw, 13.5rem));
        justify-content: center;
        gap: clamp(0.75rem, 3.5vw, 1.25rem);
        padding: 1.25rem 0.25rem;
        border-inline-end: 0;
        border-bottom: 0.0625rem solid var(--color-border);
        text-align: left;
    }

    .service-option:nth-child(odd) {
        border-inline-end: 0;
    }

    .service-option:nth-last-child(-n + 2) {
        border-bottom: 0.0625rem solid var(--color-border);
    }

    .service-option:last-child {
        border-bottom: 0;
    }

    .service-option__icon {
        width: clamp(4.35rem, 20vw, 5rem);
        justify-self: center;
    }

    .service-option__label {
        width: max-content;
        max-width: 100%;
        align-self: center;
        justify-self: start;
        font-size: clamp(0.75rem, 3.45vw, 1rem);
        line-height: 1.35;
    }

    .service-options__header {
        margin-bottom: 2.75rem;
    }

    .service-options__eyebrow {
        font-size: 0.625rem;
    }

    .service-options__header h2 {
        font-size: clamp(1.85rem, 9vw, 2.65rem);
    }

    .service-options__mobile-break {
        display: inline;
    }

    .service-promise {
        padding: 0;
    }

    .service-promise__stage {
        min-height: 38rem;
    }

    .service-promise__background {
        object-position: 32% center;
    }

    .service-promise__overlay {
        background:
            linear-gradient(90deg, rgba(17, 18, 37, 0.76), rgba(17, 18, 37, 0.9)),
            linear-gradient(0deg, rgba(17, 18, 37, 0.84), transparent 62%);
    }

    .service-promise__content {
        width: 100%;
        margin: 0;
        padding: 3.25rem var(--page-gutter);
    }

    .service-promise__content h2 {
        max-width: none;
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .service-promise__lead span {
        display: inline;
    }

    .service-topic-search {
        min-height: 17.5rem;
    }

    .service-topic-search__inner h2 {
        font-size: clamp(1.55rem, 7vw, 1.9rem);
    }

    .service-topic-search__form {
        min-height: 3.2rem;
    }

    .service-manuals-dialog {
        width: calc(100% - 1rem);
    }

    .service-manuals-dialog__header {
        min-height: 4rem;
        padding-inline: 1.25rem;
    }

    .service-manuals-dialog__content {
        padding: 2rem 1rem 2.5rem;
    }

    .service-manuals-dialog__content h2 {
        font-size: clamp(1.75rem, 8.6vw, 2.25rem);
    }

    .service-manuals-dialog__content p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .service-manuals-dialog__models {
        margin-top: 1.75rem;
    }

    .service-manuals-dialog__model {
        min-height: clamp(5.5rem, 26vw, 7rem);
        padding: 0.4rem;
    }

    .service-manuals-dialog__model img {
        width: min(86%, 4.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-manuals-dialog[open] {
        animation: none;
    }
}
