.header__inner.header__inner-zamenashin {
    padding-bottom: 0;
}

.service-calculator {
    padding: 56px 0 80px;
    color: var(--ink);
    background-color: var(--background);
}

.service-calculator *,
.service-calculator *::before,
.service-calculator *::after {
    box-sizing: border-box;
}

.service-calculator__promo {
    margin-bottom: 28px;
}

.service-calculator__location {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-calculator__location::before {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background: var(--muted);
    content: '';
    mask: url('../../images/icons/pin.svg') center / contain no-repeat;
    -webkit-mask: url('../../images/icons/pin.svg') center / contain no-repeat;
}

.service-calculator__promo h2,
.service-calculator__intro h3 {
    margin: 0;
    font-weight: 800;
    line-height: 1.08;
}

.service-calculator__promo h2 {
    font-size: clamp(1.8rem, 3.7vw, 3rem);
}

.service-calculator__promo h2 strong {
    color: var(--secondary-bg-color);
}

.service-calculator__card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(355px, .9fr);
    gap: 16px;
    padding: 16px;
    border: 1px solid #c9ced1;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--box-shadow);
}

.service-calculator__main {
    padding: 18px 14px 10px 12px;
}

.service-calculator__intro h3 {
    font-size: clamp(1.5rem, 3.2vw, 2.5rem);
}

.service-calculator__intro p {
    max-width: 590px;
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.45;
}

.service-calculator__steps {
    display: grid;
    gap: 23px;
    margin-top: 28px;
}

.service-calculator__field,
.service-calculator__extras {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.service-calculator__field legend,
.service-calculator__extras legend {
    margin-bottom: 10px;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.service-calculator__field legend {
    color: #3a3a3a;
}

.service-calculator__field legend span {
    color: var(--ink);
}

.service-calculator__choices {
    display: grid;
    gap: 9px;
}

.service-calculator__choices--vehicle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-calculator__choices--radius {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-calculator__choices--quantity {
    grid-template-columns: repeat(3, minmax(0, 92px));
}

.service-calculator__choices button {
    min-height: 51px;
    padding: 9px 12px;
    border: 1px solid #dce2e5;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.service-calculator__choices button:hover,
.service-calculator__choices button:focus-visible {
    border-color: var(--secondary-bg-color);
    outline: none;
}

.service-calculator__choices button.is-selected {
    border-color: var(--secondary-bg-color);
    background: var(--secondary-bg-color);
    color: #fff;
}

.service-calculator__price-link {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
    padding: 13px 0;
    border-top: 1px solid #e3e7e9;
    color: var(--ink);
    text-decoration: none;
}

.service-calculator__price-link strong,
.service-calculator__price-link small {
    display: block;
}

.service-calculator__price-link-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: #eef4f3;
}

.service-calculator__price-link-icon img {
    display: block;
    width: 24px;
    height: 24px;
}

.service-calculator__price-link-copy {
    min-width: 0;
}

.service-calculator__price-link strong {
    font-size: 1rem;
}

.service-calculator__price-link small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.8rem;
}

.service-calculator__price-link-arrow {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin-left: auto;
    place-items: center;
}

.service-calculator__price-link-arrow img {
    width: 24px;
    height: 24px;
}

.service-calculator__result {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 27px 25px 23px;
    border-radius: 10px;
    background-color: var(--background-4);
    color: #fff;
}

.service-calculator__selection,
.service-calculator__per-wheel,
.service-calculator__duration {
    margin: 0;
}

.service-calculator__selection {
    color: #e4e4e4;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
}

.service-calculator__amount-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
}

.service-calculator__amount {
    display: block;
    font-size: clamp(2.6rem, 4.5vw, 3.7rem);
    font-weight: 800;
    line-height: 1;
}

.service-calculator__amount-wrap > span {
    color: #e4e4e4;
    font-size: 1.1rem;
    font-weight: 800;
}

.service-calculator__per-wheel {
    margin-top: 2px;
    color: #dadada;
    font-size: 0.9rem;
}

.service-calculator__included-list {
    display: grid;
    gap: 9px;
    margin: 24px 0 0;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    list-style: none;
}

.service-calculator__included-list li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #f1f7f6;
    font-size: 0.9rem;
    line-height: 1.35;
}

.service-calculator__included-list li::before {
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    border-radius: 50%;
    background-color: #458991;
    content: '';
}

.service-calculator__included-list li::after {
    position: absolute;
    top: 4px;
    left: 3px;
    width: 12px;
    height: 12px;
    background: url('../../images/icons/checkmark.svg') center / contain no-repeat;
    content: '';
    filter: brightness(0) invert(1);
}

.service-calculator__extras {
    display: grid;
    gap: 11px;
    margin-top: 20px;
}

.service-calculator__extra {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    color: #eff7f6;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.25;
}

.service-calculator__extra strong {
    color: #cbcbcb;
    white-space: nowrap;
}

.service-calculator__switch {
    position: relative;
    display: block;
    width: 36px;
    height: 21px;
}

.service-calculator__switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.service-calculator__switch span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: #638081;
    transition: background-color .18s ease;
}

.service-calculator__switch span::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    content: '';
    transition: transform .18s ease;
}

.service-calculator__switch input:checked + span {
    background: #1b838f;
}

.service-calculator__switch input:checked + span::after {
    transform: translateX(15px);
}

.service-calculator__switch input:focus-visible + span,
.service-calculator__choices button:focus-visible,
.service-calculator__price-link:focus-visible,
.service-calculator__booking:focus-visible {
    outline: 3px solid rgba(134, 218, 207, .75);
    outline-offset: 3px;
}

.service-calculator__duration {
    margin-top: 18px;
    color: #c3d5d4;
    font-size: 0.9rem;
}

.service-calculator__booking {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
    padding: 10px 16px;
    border-radius: 8px;
    background-color: #ffcf9d;
    color: #322e29;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}

.service-calculator__booking img {
    width: 18px;
    height: 18px;
}


@media (max-width: 950px) {
    .service-calculator__card {
        grid-template-columns: 1fr;
    }

    .service-calculator__result {
        min-height: 0;
    }

    .service-calculator__booking {
        margin-top: 24px;
    }
}

@media (max-width: 700px) {
    .service-calculator {
        padding: 20px 0 14px;
    }

    .service-calculator__card {
        gap: 0;
        padding: 6px;
    }

    .service-calculator__main {
        padding: 12px 10px;
    }

    .service-calculator__choices--radius {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-calculator__choices--quantity {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-calculator__choices button {
        min-height: 47px;
        font-size: 0.9rem;
    }

    .service-calculator__result {
        padding: 23px 18px 18px;
        border-radius: 14px;
    }

    .service-calculator__promo {
        margin-bottom: 18px;
    }

    .service-calculator__intro p {
        margin-top: 4px;
        font-size: 0.9rem;
    }
}

@media (max-width: 430px) {
    .service-calculator__choices--vehicle {
        grid-template-columns: 1fr;
    }

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

    .service-calculator__extra strong {
        grid-column: 2;
    }
}
