/* KOSMOSTORE SERVICE PAGE START */
.service-page,
.service-success-page {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.service-hero {
    padding: 150px 0 78px;
    overflow: hidden;
}

.service-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
    gap: 72px;
    align-items: center;
}

.service-hero__copy h1 {
    max-width: 800px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(58px, 7vw, 108px);
    line-height: 0.9;
    letter-spacing: -0.065em;
    text-transform: uppercase;
}

.service-hero__copy h1 span {
    display: block;
    color: var(--red);
}

.service-hero__lead {
    max-width: 790px;
    margin: 30px 0 0;
    color: #dce6ef;
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 850;
    line-height: 1.48;
    letter-spacing: 0.015em;
}

.service-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.service-hero__tags span {
    padding: 10px 14px;
    color: #d8e5ef;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    font-size: 12px;
    font-weight: 850;
}

.service-emblem {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.service-emblem::before {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(220, 37, 46, 0.24),
            rgba(42, 113, 166, 0.12) 44%,
            transparent 72%
        );
    filter: blur(4px);
    z-index: -2;
}

.service-emblem__orbit {
    position: absolute;
    width: 330px;
    height: 240px;
    border: 1px solid rgba(121, 182, 223, 0.3);
    border-radius: 50%;
    transform: rotate(-18deg);
}

.service-emblem__wheel {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 168px;
    height: 168px;
    border: 20px solid #111d2c;
    border-radius: 50%;
    background:
        repeating-conic-gradient(
            from 0deg,
            #9aabba 0 10deg,
            #26384b 10deg 36deg
        );
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.38),
        inset 0 0 0 9px #d8e2ea;
    transform: translate(-56%, -48%) rotate(-7deg);
}

.service-emblem__wheel span {
    position: absolute;
    inset: 50%;
    width: 36px;
    height: 36px;
    border: 7px solid #d6e1e9;
    border-radius: 50%;
    background: var(--red);
    transform: translate(-50%, -50%);
}

.service-emblem__wrench {
    position: absolute;
    left: 56%;
    top: 43%;
    width: 176px;
    height: 176px;
    fill: rgba(7, 20, 38, 0.38);
    stroke: #f3f6f8;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 22px 25px rgba(0, 0, 0, 0.48));
    transform: translate(-50%, -50%) rotate(-42deg);
}

.service-emblem p {
    position: absolute;
    bottom: 6px;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.32em;
}

.service-form-section {
    padding: 20px 0 100px;
}

.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.65fr);
    gap: 28px;
    align-items: start;
}

.service-form,
.service-aside__card,
.service-success-card {
    border: 1px solid var(--line);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.022)
        );
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.service-form {
    padding: clamp(24px, 4vw, 46px);
    border-radius: 28px;
}

.service-form__heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.service-form__heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.service-form__heading > p:last-child {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.service-form__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-form-field {
    display: grid;
    gap: 8px;
}

.service-form-field--wide,
.service-check {
    grid-column: 1 / -1;
}

.service-form-field > label {
    color: #d7e1e9;
    font-size: 12px;
    font-weight: 850;
}

.service-form-field > label span {
    color: var(--red);
}

.service-form-field input,
.service-form-field select,
.service-form-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    outline: 0;
    background: rgba(3, 13, 25, 0.82);
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.service-form-field textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.55;
}

.service-form-field select option {
    color: #ffffff;
    background: #071426;
}

.service-form-field input:focus,
.service-form-field select:focus,
.service-form-field textarea:focus {
    border-color: rgba(221, 54, 61, 0.82);
    background: rgba(5, 18, 33, 0.96);
    box-shadow: 0 0 0 4px rgba(221, 54, 61, 0.12);
}

.service-form-field--error input,
.service-form-field--error select,
.service-form-field--error textarea,
.service-check--error {
    border-color: rgba(255, 86, 86, 0.8);
}

.service-check {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 15px;
    color: #dbe5ec;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}

.service-check input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--red);
}

.service-check span {
    flex: 1;
}

.field-error {
    display: block;
    width: 100%;
    color: #ff8c8c;
    font-size: 11px;
    line-height: 1.4;
}

.service-submit {
    width: 100%;
    min-height: 58px;
    margin-top: 22px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            #d51f2d,
            #a80f22
        );
    box-shadow: 0 18px 46px rgba(185, 24, 37, 0.28);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.service-submit:hover,
.service-submit:focus-visible {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 22px 58px rgba(185, 24, 37, 0.38);
}

.service-form__note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

.service-aside {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 110px;
}

.service-aside__card {
    position: relative;
    overflow: hidden;
    padding: 25px;
    border-radius: 22px;
}

.service-aside__card--accent {
    border-color: rgba(220, 49, 59, 0.35);
    background:
        linear-gradient(
            145deg,
            rgba(205, 31, 44, 0.18),
            rgba(255, 255, 255, 0.025)
        );
}

.service-aside__card > span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #ffffff;
    border-radius: 50%;
    background: rgba(210, 39, 49, 0.88);
    font-size: 11px;
    font-weight: 950;
}

.service-aside__card h3 {
    margin: 18px 0 10px;
    color: #ffffff;
    font-size: 20px;
}

.service-aside__card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.service-success-page {
    padding: 150px 0 100px;
}

.service-success-card {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(32px, 6vw, 64px);
    border-radius: 30px;
    text-align: center;
}

.service-success-card__icon {
    display: grid;
    width: 82px;
    height: 82px;
    margin: 0 auto 24px;
    place-items: center;
    color: #ffffff;
    border-radius: 50%;
    background: #2b9a62;
    box-shadow: 0 20px 48px rgba(43, 154, 98, 0.28);
    font-size: 36px;
    font-weight: 950;
}

.service-success-card h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(44px, 7vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.service-success-card > p:not(.eyebrow) {
    max-width: 610px;
    margin: 12px auto;
    color: #c5d1da;
    line-height: 1.7;
}

.service-success-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

@media (max-width: 980px) {
    .service-hero__grid,
    .service-layout {
        grid-template-columns: 1fr;
    }

    .service-emblem {
        min-height: 320px;
    }

    .service-aside {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .service-hero {
        padding: 118px 0 54px;
    }

    .service-hero__copy h1 {
        font-size: clamp(52px, 15vw, 76px);
    }

    .service-hero__lead {
        font-size: 16px;
    }

    .service-emblem {
        min-height: 280px;
    }

    .service-emblem__orbit {
        width: 280px;
        height: 195px;
    }

    .service-emblem__wheel {
        width: 138px;
        height: 138px;
        border-width: 17px;
    }

    .service-emblem__wrench {
        width: 142px;
        height: 142px;
    }

    .service-form__fields,
    .service-aside {
        grid-template-columns: 1fr;
    }

    .service-form-field--wide,
    .service-check {
        grid-column: auto;
    }

    .service-success-actions {
        display: grid;
    }
}
/* KOSMOSTORE SERVICE PAGE END */
