.stm-order-page {
    --order-blue: #001b72;
    --order-accent: #315cff;
    --order-light: #f3f6ff;
    --order-border: #e1e7f3;
    --order-text: #252b38;
    --order-muted: #596579;

    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0;
    color: var(--order-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

.stm-order-page *,
.stm-order-page *::before,
.stm-order-page *::after {
    box-sizing: border-box;
}

.stm-order-page h2,
.stm-order-page h3,
.stm-order-page p {
    margin-top: 0;
}

.stm-order-page h2 {
    margin-bottom: 18px;
    color: #333;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.stm-order-page h3 {
    margin-bottom: 10px;
    color: var(--order-blue);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

.stm-order-page p {
    margin-bottom: 14px;
}

.stm-order-page a {
    color: var(--order-accent);
    text-decoration: none;
    transition: color .2s ease;
}

.stm-order-page a:hover {
    color: var(--order-blue);
}

.stm-order-page section {
    width: 100%;
    margin: 0 0 34px;
}

/* ==========================================
   ВСТУПИТЕЛЬНОЕ ОПИСАНИЕ
========================================== */

.stm-order-page .stm-order-intro {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
    background: transparent;
    border: none;
}

.stm-order-page .stm-order-intro p {
    margin-bottom: 0;
    color: #444 !important;
    font-size: 17px;
    line-height: 1.75;
}

/* ==========================================
   ПОШАГОВАЯ ИНСТРУКЦИЯ
========================================== */

.stm-order-page .stm-order-common {
    padding: 26px;
    background: var(--order-light);
    border: 1px solid var(--order-border);
}

.stm-order-page .stm-order-common__heading {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 22px;
}

.stm-order-page .stm-order-common__icon,
.stm-order-page .stm-order-info-card__icon,
.stm-order-page .stm-order-contact-section__icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--order-blue);
    background: #fff;
    border: 1px solid var(--order-border);
}

.stm-order-page .stm-order-common__icon svg,
.stm-order-page .stm-order-info-card__icon svg,
.stm-order-page .stm-order-contact-section__icon svg {
    display: block;
    width: 27px;
    height: 27px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stm-order-page .stm-order-common__heading h2 {
    margin-bottom: 5px;
    color: #333;
}

.stm-order-page .stm-order-common__subtitle {
    margin-bottom: 0;
    color: var(--order-muted);
    font-size: 14px;
}

.stm-order-page .stm-order-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
}

.stm-order-page .stm-order-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 19px 0 5px;
    border-top: 1px solid var(--order-border);
}

.stm-order-page .stm-order-step__number {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    background: var(--order-blue);
    font-size: 15px;
    font-weight: 700;
}

.stm-order-page .stm-order-step h3 {
    margin-bottom: 7px;
    font-size: 17px;
}

.stm-order-page .stm-order-step p {
    margin-bottom: 14px;
    color: var(--order-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* ==========================================
   ИНФОРМАЦИОННЫЕ КАРТОЧКИ
========================================== */

.stm-order-page .stm-order-section-heading {
    margin-bottom: 20px;
}

.stm-order-page .stm-order-section-heading h2 {
    margin-bottom: 12px;
    color: #333;
}

.stm-order-page .stm-order-section-heading p {
    max-width: 900px;
    margin-bottom: 0;
    color: #444 !important;
    font-size: 16px;
    line-height: 1.75;
}

.stm-order-page .stm-order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.stm-order-page .stm-order-info-card {
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--order-border);
    box-shadow: 0 5px 20px rgba(0, 27, 114, .045);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.stm-order-page .stm-order-info-card:hover {
    border-color: #b9c9f1;
    box-shadow: 0 5px 20px rgba(0, 27, 114, .07);
}

.stm-order-page .stm-order-info-card__icon {
    margin-bottom: 18px;
}

.stm-order-page .stm-order-info-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.stm-order-page .stm-order-info-card p {
    margin-bottom: 0;
    color: #444 !important;
    font-size: 15px;
    line-height: 1.75;
}

/* ==========================================
   ДОПОЛНИТЕЛЬНЫЙ БЛОК СВЯЗИ
========================================== */

.stm-order-page .stm-order-contact-section {
    padding: 25px;
    background: #fff;
    border: 1px solid var(--order-border);
}

.stm-order-page .stm-order-contact-section__content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stm-order-page .stm-order-contact-section__icon {
    flex-shrink: 0;
    background: var(--order-light);
}

.stm-order-page .stm-order-contact-section__text {
    flex: 1 1 auto;
    min-width: 0;
}

.stm-order-page .stm-order-contact-section__text h2 {
    margin-bottom: 8px;
    color: #333;
    font-size: 22px;
}

.stm-order-page .stm-order-contact-section__text p {
    margin-bottom: 0;
    color: #444 !important;
    font-size: 15px;
    line-height: 1.7;
}

.stm-order-page .stm-order-contact-section__link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 18px;
    color: #fff !important;
    background: var(--order-blue);
    border: 1px solid var(--order-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease;
}

.stm-order-page .stm-order-contact-section__link:hover {
    color: #fff !important;
    background: #12318d;
    border-color: #12318d;
}

.stm-order-page .stm-order-contact-section__link svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ==========================================
   НИЖНИЙ БЛОК КОНТАКТОВ
   Заголовок и описание согласованы
   с основными стилями страницы
========================================== */

.stm-order-page .stm-order-help {
    width: 100%;
    margin: 40px 0 0;
    padding: 29px 30px 30px;
    background: #f2f5ff;
    border: 1px solid #dce4f5;
    border-radius: 0;
}

.stm-order-page .stm-order-help h2 {
    margin: 0 0 12px;
    color: #333 !important;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.stm-order-page .stm-order-help__description {
    width: 100%;
    margin: 0 0 22px;
    color: #444 !important;
    font-size: 16px;
    line-height: 1.75;
}

.stm-order-page .stm-order-help__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

/* Общие стили всех трёх карточек */

.stm-order-page .stm-order-help__card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    min-height: 105px;
    padding: 19px 20px;
    color: var(--order-blue);
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #dce4f5;
    border-radius: 0;
    box-shadow: none;
    transition: border-color .2s ease, background-color .2s ease;
}

.stm-order-page a.stm-order-help__card:hover {
    color: var(--order-blue);
    text-decoration: none !important;
    border-color: #aabce9;
}

/* Вся карточка вопроса — кнопка открытия Popup Maker */

.stm-order-page button.stm-order-help__card--question {
    width: 100%;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.stm-order-page button.stm-order-help__card--question:hover {
    color: var(--order-blue);
    background: #fff;
    border-color: #aabce9;
}

.stm-order-page button.stm-order-help__card--question:focus-visible {
    outline: 2px solid var(--order-accent);
    outline-offset: 3px;
}

/* Иконки контактных карточек */

.stm-order-page .stm-order-help__icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--order-blue);
    background: #f2f5ff;
}

.stm-order-page .stm-order-help__icon svg {
    display: block;
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stm-order-page .stm-order-help__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    gap: 3px;
}

.stm-order-page .stm-order-help__label {
    display: block;
    color: #68748c;
    font-size: 13px;
    line-height: 1.5;
}

.stm-order-page .stm-order-help__value {
    display: block;
    max-width: 100%;
    color: var(--order-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Текст-ссылка внутри кликабельной карточки вопроса */

.stm-order-page .stm-order-help__button {
    display: inline-block;
    margin: 0;
    padding: 0;
    color: var(--order-blue);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
}

.stm-order-page button.stm-order-help__card--question:hover .stm-order-help__button,
.stm-order-page button.stm-order-help__card--question:focus-visible .stm-order-help__button {
    color: var(--order-accent);
    text-decoration: underline;
}

/* ==========================================
   ПЛАНШЕТЫ
========================================== */

@media (max-width: 1000px) {
    .stm-order-page .stm-order-help {
        padding: 25px 22px;
    }

    .stm-order-page .stm-order-help__cards {
        gap: 12px;
    }

    .stm-order-page .stm-order-help__card {
        gap: 11px;
        padding: 16px 13px;
    }

    .stm-order-page .stm-order-help__icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .stm-order-page .stm-order-help__value,
    .stm-order-page .stm-order-help__button {
        font-size: 14px;
    }
}

@media (max-width: 850px) {
    .stm-order-page .stm-order-contact-section__content {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .stm-order-page .stm-order-contact-section__text {
        flex-basis: calc(100% - 75px);
    }

    .stm-order-page .stm-order-contact-section__link {
        margin-left: 72px;
    }

    .stm-order-page .stm-order-help__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stm-order-page .stm-order-help__card:last-child {
        grid-column: 1 / -1;
    }
}

/* ==========================================
   МОБИЛЬНЫЕ УСТРОЙСТВА
========================================== */

@media (max-width: 600px) {
    .stm-order-page {
        font-size: 15px;
        line-height: 1.65;
    }

    .stm-order-page h2 {
        margin-bottom: 16px;
        font-size: 23px;
    }

    .stm-order-page h3 {
        font-size: 18px;
    }

    .stm-order-page section {
        margin-bottom: 27px;
    }

    .stm-order-page .stm-order-intro {
        margin-bottom: 24px;
        padding: 0;
    }

    .stm-order-page .stm-order-intro p {
        color: #444 !important;
        font-size: 15px;
    }

    .stm-order-page .stm-order-common {
        padding: 20px 17px;
    }

    .stm-order-page .stm-order-common__heading {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 18px;
    }

    .stm-order-page .stm-order-common__icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .stm-order-page .stm-order-common__icon svg {
        width: 24px;
        height: 24px;
    }

    .stm-order-page .stm-order-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .stm-order-page .stm-order-step {
        gap: 12px;
        padding: 16px 0 0;
    }

    .stm-order-page .stm-order-step__number {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .stm-order-page .stm-order-step h3 {
        font-size: 16px;
    }

    .stm-order-page .stm-order-step p {
        font-size: 14px;
    }

    .stm-order-page .stm-order-info-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .stm-order-page .stm-order-info-card {
        padding: 20px;
    }

    .stm-order-page .stm-order-info-card__icon {
        margin-bottom: 14px;
    }

    .stm-order-page .stm-order-info-card h3 {
        font-size: 18px;
    }

    .stm-order-page .stm-order-info-card p {
        font-size: 14px;
    }

    .stm-order-page .stm-order-contact-section {
        padding: 20px 17px;
    }

    .stm-order-page .stm-order-contact-section__content {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
    }

    .stm-order-page .stm-order-contact-section__icon {
        grid-column: 1;
        grid-row: 1;
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .stm-order-page .stm-order-contact-section__text {
        grid-column: 2;
        grid-row: 1;
    }

    .stm-order-page .stm-order-contact-section__text h2 {
        font-size: 20px;
    }

    .stm-order-page .stm-order-contact-section__text p {
        font-size: 14px;
    }

    .stm-order-page .stm-order-contact-section__link {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: start;
        margin-left: 0;
    }

    /* Нижний контактный блок */

    .stm-order-page .stm-order-help {
        margin-top: 26px;
        padding: 21px 17px;
    }

    .stm-order-page .stm-order-help h2 {
        margin-bottom: 10px;
        font-size: 23px;
        font-weight: 600;
    }

    .stm-order-page .stm-order-help__description {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.65;
    }

    .stm-order-page .stm-order-help__cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .stm-order-page .stm-order-help__card,
    .stm-order-page .stm-order-help__card:last-child {
        grid-column: auto;
        min-height: 88px;
        padding: 17px;
        gap: 13px;
    }

    .stm-order-page .stm-order-help__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .stm-order-page .stm-order-help__value,
    .stm-order-page .stm-order-help__button {
        font-size: 16px;
    }
}

/* ==========================================
   ДОСТУПНОСТЬ
========================================== */

@media (prefers-reduced-motion: reduce) {
    .stm-order-page *,
    .stm-order-page *::before,
    .stm-order-page *::after {
        transition: none !important;
    }
}