.service-application {
    padding: 48px 0 80px;
}

.service-application__header {
    max-width: 760px;
    margin: 24px 0 44px;
}

.service-application__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #087f72;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-application__header h1 {
    margin: 0 0 14px;
    color: #17213a;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 0;
}

.service-application__header p {
    margin: 0;
    color: #5c667d;
    font-size: 17px;
    line-height: 1.7;
}

.service-application__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 40px;
    align-items: start;
}

.service-request-form {
    min-width: 0;
}

.service-form-section {
    padding: 0 0 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #dce2ec;
}

.service-form-section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.service-form-section__heading {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.service-form-section__heading > span {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #20277a;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
}

.service-form-section__heading h2 {
    margin: 0 0 5px;
    color: #17213a;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}

.service-form-section__heading p {
    margin: 0;
    color: #69738a;
    font-size: 14px;
}

.service-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.service-choice {
    min-width: 0;
    cursor: pointer;
}

.service-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-choice__body {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-height: 132px;
    padding: 18px;
    border: 1px solid #d8dfeb;
    border-radius: 6px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.service-choice__icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: #e9f5f2;
    color: #087f72;
    font-size: 17px;
}

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

.service-choice__body strong {
    padding-right: 18px;
    color: #17213a;
    font-size: 15px;
}

.service-choice__body small {
    margin-top: 7px;
    color: #717b90;
    font-size: 12px;
    line-height: 1.5;
}

.service-choice__check {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #20277a;
    opacity: 0;
}

.service-choice input:focus-visible + .service-choice__body {
    outline: 3px solid rgba(32, 39, 122, .2);
    outline-offset: 2px;
}

.service-choice input:checked + .service-choice__body {
    border-color: #20277a;
    background: #f5f6ff;
    box-shadow: 0 8px 22px rgba(32, 39, 122, .1);
}

.service-choice input:checked + .service-choice__body .service-choice__check {
    opacity: 1;
}

.service-type-block {
    margin: 0 0 24px;
}

.service-type-block > label,
.service-field label {
    display: block;
    margin-bottom: 8px;
    color: #27314a;
    font-size: 13px;
    font-weight: 700;
}

.service-field label span {
    color: #bd2f3b;
}

.service-segmented {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    padding: 4px;
    border: 1px solid #d7deea;
    border-radius: 6px;
    background: #eef1f6;
}

.service-segmented input {
    position: absolute;
    opacity: 0;
}

.service-segmented span {
    display: block;
    padding: 10px 16px;
    border-radius: 4px;
    color: #566177;
    text-align: center;
    cursor: pointer;
}

.service-segmented input:checked + span {
    background: #fff;
    color: #20277a;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(23, 33, 58, .1);
}

.service-tariff-block {
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid #d7deea;
    border-left: 4px solid #16927f;
    border-radius: 6px;
    background: #f8fafc;
}

.service-tariff-block__heading {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.service-tariff-block__heading > i {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 4px;
    background: #e7f5f2;
    color: #087c6c;
}

.service-tariff-block__heading h3 {
    margin: 0 0 3px;
    color: #222c44;
    font-size: 16px;
    line-height: 1.35;
}

.service-tariff-block__heading p {
    margin: 0;
    color: #6e788d;
    font-size: 12px;
    line-height: 1.5;
}

.service-tariff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.service-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 16px;
}

.service-field {
    min-width: 0;
}

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

.service-field input,
.service-field select,
.service-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cfd7e4;
    border-radius: 4px;
    background: #fff;
    color: #17213a;
    font: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.service-field textarea {
    min-height: 112px;
    resize: vertical;
}

.service-field input:focus,
.service-field select:focus,
.service-field textarea:focus {
    border-color: #20277a;
    box-shadow: 0 0 0 3px rgba(32, 39, 122, .1);
}

.service-upload {
    margin-bottom: 20px;
}

.service-upload > label {
    display: flex;
    gap: 14px;
    align-items: center;
    min-height: 92px;
    padding: 18px;
    border: 1px dashed #9ba9bd;
    border-radius: 6px;
    background: #f8fafc;
    cursor: pointer;
}

.service-upload > label > i {
    color: #087f72;
    font-size: 24px;
}

.service-upload > label > span:nth-child(2) {
    flex: 1;
    min-width: 0;
}

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

.service-upload strong {
    color: #27314a;
    font-size: 14px;
}

.service-upload small {
    margin-top: 5px;
    color: #707a8f;
    font-size: 12px;
}

.service-upload__button {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 4px;
    background: #20277a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

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

.service-upload__files {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.service-upload__files li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-left: 3px solid #087f72;
    background: #eef7f5;
    color: #324057;
    font-size: 12px;
}

.service-upload__files small {
    margin: 0;
    white-space: nowrap;
}

.service-confirmation {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #424d64;
    font-size: 13px;
    line-height: 1.5;
}

.service-confirmation input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: #20277a;
}

.service-form-submit {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-top: 26px;
}

.service-form-submit button {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 50px;
    padding: 12px 20px;
    border: 0;
    border-radius: 4px;
    background: #20277a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.service-form-submit button:disabled {
    opacity: .65;
    cursor: wait;
}

.service-requirements {
    position: sticky;
    top: 110px;
    padding: 24px;
    border: 1px solid #d7deea;
    border-top: 4px solid #d69b24;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(23, 33, 58, .08);
}

.service-requirements__top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.service-requirements__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: #fff4da;
    color: #a96f00;
}

.service-requirements__top span {
    color: #7a8498;
    font-size: 12px;
}

.service-requirements__top h2 {
    margin: 3px 0 0;
    color: #17213a;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0;
}

.service-requirements__intro {
    margin: 20px 0;
    color: #626d82;
    font-size: 13px;
    line-height: 1.6;
}

.service-requirements__list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-requirements__list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.service-requirements__number {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf0ff;
    color: #20277a;
    font-size: 11px;
    font-weight: 700;
}

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

.service-requirements__list strong {
    color: #2a354d;
    font-size: 13px;
    line-height: 1.45;
}

.service-requirements__list small {
    margin-top: 4px;
    color: #778196;
    font-size: 11px;
    line-height: 1.45;
}

.service-requirements__note {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    padding: 13px;
    border-radius: 4px;
    background: #eef7f5;
    color: #335d57;
}

.service-requirements__note p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.service-form-errors {
    display: flex;
    gap: 14px;
    margin-bottom: 30px;
    padding: 18px;
    border-left: 4px solid #bd2f3b;
    background: #fff1f2;
    color: #84232d;
}

.service-form-errors > i {
    margin-top: 3px;
}

.service-form-errors strong {
    display: block;
    margin-bottom: 5px;
}

.service-form-errors ul {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
}

[hidden] {
    display: none !important;
}

/* The fixed call-center artwork covers the service-specific document list. */
.call-center-fixed {
    display: none;
}

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

    .service-requirements {
        position: static;
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .service-application {
        padding: 28px 0 56px;
    }

    .service-application__header h1 {
        font-size: 32px;
    }

    .service-choice-grid,
    .service-form-grid,
    .service-tariff-grid {
        grid-template-columns: 1fr;
    }

    .service-choice__body {
        min-height: auto;
    }

    .service-form-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .service-form-submit button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .service-segmented {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .service-upload > label {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .service-upload__button {
        width: 100%;
        text-align: center;
    }
}
