/* =========================================================
   EAS125 — ОБЩИЕ СТИЛИ НОВЫХ СТРАНИЦ УСЛУГ
   /css/eas-service.css
   ========================================================= */


/* =========================================================
   БАЗА / СНЯТИЕ ОГРАНИЧЕНИЙ ТЕМЫ
   ========================================================= */

body:has(.eas-service-page) {
    overflow-x: hidden;
}

body:has(.eas-service-page) #content,
body:has(.eas-service-page) #content.site-content,
body:has(.eas-service-page) #content > .container,
body:has(.eas-service-page) #content .content-area,
body:has(.eas-service-page) #content .site-main {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}


.eas-service-page {
    --eas-red: #ff0033;
    --eas-red-hover: #df002c;
    --eas-lime: #d8db0c;
    --eas-blue: #003f8f;

    --eas-heading: #1d2b4f;
    --eas-dark: #313b41;
    --eas-text: #6c7c85;

    --eas-gray: #f3f5f7;
    --eas-border: #e5e8eb;
    --eas-white: #ffffff;

    --eas-radius: 18px;
    --eas-shadow: 0 18px 50px rgba(49, 59, 65, .10);

    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;

    color: var(--eas-dark);
    background: #fff;

    font-family: "Onest", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}


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


.eas-service-page img,
.eas-service-page svg {
    max-width: 100%;
}


.eas-service-page a {
    text-decoration: none;
}


.eas-service-page h1,
.eas-service-page h2,
.eas-service-page h3,
.eas-service-page p {
    margin-top: 0;
}


.eas-service-page h1,
.eas-service-page h2,
.eas-service-page h3 {
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
}


.eas-service-page h2 {
    margin-bottom: 0;

    color: #000;

    font-size: clamp(30px, 3.1vw, 46px);
    font-weight: 500;
    line-height: 1.13;
    letter-spacing: -.025em;
}


.eas-service-page h3 {
    margin-bottom: 12px;

    color: #000;

    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
}


.eas-service-page p {
    margin-bottom: 0;
    color: var(--eas-text);
}


.eas-service-container {
    width: min(1180px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}


.eas-service-container--narrow {
    width: min(900px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   ХЛЕБНЫЕ КРОШКИ
   ========================================================= */

.eas-service-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    gap: 8px;

    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 20px 0;

    color: var(--eas-text);

    font-size: 14px;
    line-height: 1.5;
}


.eas-service-breadcrumbs a,
.eas-service-breadcrumbs span {
    color: var(--eas-text);
}


.eas-service-breadcrumbs a:hover {
    color: var(--eas-blue);
}


/* =========================================================
   ОБЩИЕ СЕКЦИИ
   ========================================================= */

.eas-service-section {
    position: relative;
    padding: 86px 0;
}


.eas-service-section--gray {
    background: var(--eas-gray);
}


.eas-service-section--dark {
    color: #fff;

    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(216, 219, 12, .13),
            transparent 27%
        ),
        var(--eas-dark);
}


.eas-service-section--dark h2,
.eas-service-section--dark h3 {
    color: #fff !important;
}


.eas-service-section__head {
    max-width: 900px;
    margin-bottom: 38px;
}


.eas-service-section__head--wide {
    max-width: 980px;
}


.eas-service-section__head > p {
    max-width: 830px;

    margin-top: 18px;

    font-size: 18px;
    line-height: 1.55;
}


/* если H2 находится непосредственно внутри container */

.eas-service-section > .eas-service-container > h2 {
    margin-bottom: 38px;
}


/* =========================================================
   HERO
   ========================================================= */

.eas-service-hero {
    position: relative;

    left: 50%;

    width: 100vw;
    max-width: none;

    margin-right: 0;
    margin-left: -50vw;

    padding: 80px 0 88px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(216, 219, 12, .22),
            transparent 25%
        ),
        radial-gradient(
            circle at 7% 85%,
            rgba(0, 63, 143, .09),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f7f9fa 0%,
            #edf2f5 100%
        );
}


.eas-service-hero::after {
    content: "";

    position: absolute;

    top: -130px;
    right: -100px;

    width: 430px;
    height: 430px;

    border: 1px solid rgba(0, 63, 143, .08);
    border-radius: 50%;
}


.eas-service-hero > .eas-service-container {
    position: relative;
    z-index: 2;
}


.eas-service-hero__content {
    position: relative;
    z-index: 2;

    max-width: 1060px;
    margin: 0 auto;

    text-align: center;
}


.eas-service-hero h1 {
    max-width: 1060px;

    margin: 0 auto 20px;

    color: var(--eas-heading);

    font-size: clamp(42px, 4vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.035em;
}


/*
   Поддерживаем ОБА класса.
   __text — стоит сейчас в части HTML.
   __lead — использовали в новой версии.
*/

.eas-service-hero__text,
.eas-service-hero__lead {
    max-width: 920px;

    margin: 0 auto;

    color: var(--eas-heading) !important;

    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
}


/* =========================================================
   КНОПКИ
   Форма и цвет как у существующей кнопки "Заказать звонок"
   ========================================================= */

.eas-service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.eas-service-actions--center {
    justify-content: center;
}

.eas-service-btn,
.eas-service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 58px;
    padding: 16px 34px;

    border: 0;
    border-radius: 999px;

    color: #fff !important;
    background: #e31b23 !important;

    box-shadow: none;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;

    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;

    transition:
        background .2s ease,
        transform .2s ease;
}

.eas-service-btn:hover,
.eas-service-btn:focus,
.eas-service-button:hover,
.eas-service-button:focus,
.eas-service-button--primary:hover,
.eas-service-button--primary:focus,
.eas-service-btn--light:hover,
.eas-service-btn--light:focus {
    color: #fff !important;
    background: #c9151d !important;
    transform: translateY(-1px);
}

.eas-service-button--primary,
.eas-service-btn--light {
    color: #fff !important;
    background: #e31b23 !important;
}

.eas-service-hero__content > .eas-service-btn,
.eas-service-hero__content > .eas-service-button {
    margin-top: 28px;
}


/* =========================================================
   ОСНОВНОЙ ТЕКСТ
   ========================================================= */

.eas-service-text {
    max-width: 920px;
}


.eas-service-text h2 {
    margin-bottom: 28px;
}


.eas-service-text p {
    font-size: 18px;
    line-height: 1.65;
}


/* =========================================================
   ВАЖНОЕ СООБЩЕНИЕ
   ========================================================= */

.eas-service-notice {
    position: relative;

    margin-top: 28px;

    padding:
        26px
        28px
        26px
        68px;

    border: 1px solid var(--eas-border);
    border-radius: var(--eas-radius);

    color: var(--eas-dark);
    background: #fff;

    box-shadow:
        0 12px 35px rgba(49, 59, 65, .06);

    font-size: 16px;
    line-height: 1.6;
}


.eas-service-notice::before {
    content: "!";

    position: absolute;

    top: 24px;
    left: 24px;

    display: grid;

    width: 28px;
    height: 28px;

    place-items: center;

    border-radius: 50%;

    color: #101820;
    background: var(--eas-lime);

    font-size: 15px;
    font-weight: 800;
}


/* =========================================================
   СХЕМА РАБОТЫ — ТЕКУЩАЯ РАЗМЕТКА
   eas-service-steps
   ========================================================= */

.eas-service-section:has(.eas-service-steps) {
    color: #fff;

    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(216, 219, 12, .13),
            transparent 27%
        ),
        var(--eas-dark);
}


.eas-service-section:has(.eas-service-steps) h2 {
    margin-bottom: 42px;
    color: #fff !important;
}


.eas-service-steps {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    align-items: start;

    gap: 0;
}


.eas-service-step {
    position: relative;

    min-width: 0;

    padding: 0 16px;

    text-align: center;
}


/* линия между шагами */

.eas-service-step::before {
    content: "";

    position: absolute;
    z-index: 1;

    top: 41px;

    left: calc(50% + 41px);

    width: calc(100% - 82px);
    height: 2px;

    background:
        rgba(136, 168, 207, .65);
}


/* стрелка */

.eas-service-step::after {
    content: "";

    position: absolute;
    z-index: 2;

    top: 36px;
    right: -1px;

    width: 10px;
    height: 10px;

    border-top:
        2px solid rgba(136, 168, 207, .85);

    border-right:
        2px solid rgba(136, 168, 207, .85);

    transform: rotate(45deg);
}


.eas-service-step:last-child::before,
.eas-service-step:last-child::after {
    display: none;
}


.eas-service-step__number {
    position: relative;
    z-index: 3;

    display: flex;

    width: 82px;
    height: 82px;

    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    border:
        7px solid rgba(255, 255, 255, .08);

    border-radius: 50%;

    color: #101820;
    background: var(--eas-lime);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .18),
        inset 0 0 0 1px rgba(0, 0, 0, .05);

    font-size: 17px;
    font-weight: 700;
}


.eas-service-step__content h3 {
    max-width: 205px;

    margin: 0 auto 10px;

    color: #fff !important;

    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
}


.eas-service-step__content p {
    max-width: 210px;

    margin: 0 auto;

    color:
        rgba(255, 255, 255, .70) !important;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   СХЕМА РАБОТЫ — НОВАЯ РАЗМЕТКА

   Оставляем поддержку, чтобы следующие страницы
   не сломались, если там используется workflow.
   ========================================================= */

.eas-service-section--dark
.eas-service-workflow {
    color: #fff;
}


.eas-service-workflow {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    align-items: start;

    gap: 0;
}


.eas-service-workflow__item {
    position: relative;

    min-width: 0;

    padding: 0 14px;

    text-align: center;
}


.eas-service-workflow__item::before {
    content: "";

    position: absolute;
    z-index: 1;

    top: 87px;

    left: calc(50% + 47px);

    width: calc(100% - 94px);
    height: 2px;

    background:
        rgba(136, 168, 207, .72);
}


.eas-service-workflow__item::after {
    content: "";

    position: absolute;
    z-index: 2;

    top: 82px;
    right: -1px;

    width: 10px;
    height: 10px;

    border-top:
        2px solid rgba(136, 168, 207, .9);

    border-right:
        2px solid rgba(136, 168, 207, .9);

    transform: rotate(45deg);
}


.eas-service-workflow__item:last-child::before,
.eas-service-workflow__item:last-child::after {
    display: none;
}


.eas-service-workflow__num {
    display: inline-flex;

    min-width: 50px;
    height: 28px;

    align-items: center;
    justify-content: center;

    margin: 0 auto 14px;
    padding: 0 14px;

    border-radius: 999px;

    color: #101820;
    background: var(--eas-lime);

    box-shadow:
        0 7px 16px rgba(216, 219, 12, .2);

    font-size: 14px;
    font-weight: 700;
}


.eas-service-workflow__icon {
    position: relative;
    z-index: 3;

    display: grid;

    width: 94px;
    height: 94px;

    margin: 0 auto 20px;

    place-items: center;

    border:
        7px solid rgba(255, 255, 255, .08);

    border-radius: 50%;

    color: #5874a3;
    background: #f3f7fa;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .16),
        inset 0 0 0 1px rgba(88, 116, 163, .13);
}


.eas-service-workflow__icon::after {
    content: "";

    position: absolute;

    right: 2px;
    bottom: 4px;

    width: 14px;
    height: 14px;

    border: 3px solid #f3f7fa;
    border-radius: 50%;

    background: var(--eas-lime);
}


.eas-service-workflow__icon svg {
    width: 38px;
    height: 38px;

    fill: none !important;
    stroke: currentColor !important;

    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.eas-service-workflow h3 {
    max-width: 190px;

    margin: 0 auto 10px;

    color: #fff !important;

    font-size: 19px;
    line-height: 1.3;
}


.eas-service-workflow p {
    max-width: 195px;

    margin: 0 auto;

    color:
        rgba(255, 255, 255, .70) !important;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   ВВОЗИМ / НЕ ВВОЗИМ — ТЕКУЩАЯ РАЗМЕТКА
   ========================================================= */

.eas-service-section:has(.eas-service-columns) {
    background: var(--eas-gray);
}


.eas-service-section:has(.eas-service-columns) h2 {
    margin-bottom: 38px;
}


.eas-service-columns {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


.eas-service-column {
    position: relative;

    min-height: 240px;

    padding:
        82px
        32px
        32px;

    border: 1px solid var(--eas-border);
    border-radius: var(--eas-radius);

    overflow: hidden;

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.eas-service-column:hover {
    transform: translateY(-6px);
    box-shadow: var(--eas-shadow);
}


.eas-service-column::before {
    position: absolute;

    top: 28px;
    left: 32px;

    display: grid;

    width: 42px;
    height: 42px;

    place-items: center;

    border-radius: 13px;

    font-size: 23px;
    font-weight: 700;
}


.eas-service-column::after {
    content: "";

    position: absolute;

    top: 0;
    right: 28px;
    left: 28px;

    height: 4px;

    border-radius:
        0 0 999px 999px;
}


.eas-service-column--yes::before {
    content: "✓";

    color: #101820;
    background: var(--eas-lime);
}


.eas-service-column--yes::after {
    background: var(--eas-lime);
}


.eas-service-column--no::before {
    content: "×";

    color: #fff;
    background: var(--eas-red);
}


.eas-service-column--no::after {
    background: var(--eas-red);
}


.eas-service-column h3 {
    margin-bottom: 14px;

    color: var(--eas-heading) !important;

    font-size: 23px;
    font-weight: 600;
}


.eas-service-column p {
    max-width: 500px;

    color: var(--eas-text) !important;

    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   ВВОЗИМ / НЕ ВВОЗИМ — НОВЫЕ КЛАССЫ
   ========================================================= */

.eas-service-import-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


.eas-service-import-card {
    position: relative;

    min-height: 235px;

    padding: 34px;

    border: 1px solid var(--eas-border);
    border-radius: var(--eas-radius);

    overflow: hidden;

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.eas-service-import-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--eas-shadow);
}


.eas-service-import-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 28px;
    left: 28px;

    height: 4px;

    border-radius:
        0 0 999px 999px;
}


.eas-service-import-card--yes::before {
    background: var(--eas-lime);
}


.eas-service-import-card--no::before {
    background: var(--eas-red);
}


.eas-service-import-card__icon {
    display: grid;

    width: 58px;
    height: 58px;

    margin-bottom: 22px;

    place-items: center;

    border-radius: 17px;

    color: var(--eas-blue);
    background: var(--eas-gray);

    font-size: 28px;
    font-weight: 700;
}


.eas-service-import-card h3 {
    margin-bottom: 14px;
    color: var(--eas-heading);
}


.eas-service-import-card p {
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   FAQ

   Поддерживаем обе разметки:
   1. details без дополнительных классов
   2. eas-service-faq__item + eas-service-faq__icon
   ========================================================= */

.eas-service-faq {
    display: grid;
    gap: 10px;
}


.eas-service-faq details,
.eas-service-faq__item {
    border: 1px solid var(--eas-border);
    border-radius: 14px;

    overflow: hidden;

    background: #fff;
}


.eas-service-faq summary,
.eas-service-faq__item summary {
    position: relative;

    min-height: 64px;

    padding:
        20px
        58px
        20px
        22px;

    color: var(--eas-dark);

    cursor: pointer;
    list-style: none;

    font-size: 18px;
    font-weight: 600;
}


.eas-service-faq summary::-webkit-details-marker,
.eas-service-faq__item summary::-webkit-details-marker {
    display: none;
}


/*
   Если отдельного span-icon нет —
   плюс рисуется через summary
*/

.eas-service-faq details:not(.eas-service-faq__item)
summary::before,
.eas-service-faq details:not(.eas-service-faq__item)
summary::after {
    content: "";

    position: absolute;

    top: 50%;
    right: 22px;

    width: 18px;
    height: 2px;

    background: var(--eas-text);

    transition: transform .2s ease;
}


.eas-service-faq details:not(.eas-service-faq__item)
summary::after {
    transform: rotate(90deg);
}


.eas-service-faq details[open]:not(.eas-service-faq__item)
summary::after {
    transform: rotate(0);
}


/* отдельная иконка */

.eas-service-faq__icon {
    position: absolute;

    top: 50%;
    right: 22px;

    display: block;

    width: 20px;
    height: 20px;

    transform: translateY(-50%);
}


.eas-service-faq__icon::before,
.eas-service-faq__icon::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 1px;

    width: 18px;
    height: 2px;

    background: var(--eas-text);

    transform: translateY(-50%);

    transition: transform .2s ease;
}


.eas-service-faq__icon::after {
    transform:
        translateY(-50%)
        rotate(90deg);
}


.eas-service-faq__item[open]
.eas-service-faq__icon::after {
    transform:
        translateY(-50%)
        rotate(0);
}


/* ответы */

.eas-service-faq details > div,
.eas-service-faq__answer {
    padding:
        0
        22px
        22px;
}


.eas-service-faq details > div p,
.eas-service-faq__answer p {
    padding-top: 18px;

    border-top:
        1px solid var(--eas-border);

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   ПОХОЖИЕ УСЛУГИ
   ========================================================= */

.eas-service-related {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


.eas-service-related a {
    position: relative;

    display: flex;

    min-height: 125px;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding:
        24px
        54px
        24px
        24px;

    border: 1px solid var(--eas-border);
    border-radius: var(--eas-radius);

    color: var(--eas-dark);
    background: #fff;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


/*
   Для простых ссылок стрелка рисуется CSS.
*/

.eas-service-related a::after {
    content: "›";

    position: absolute;

    top: 50%;
    right: 22px;

    color: var(--eas-blue);

    font-size: 34px;
    font-weight: 400;
    line-height: 1;

    transform: translateY(-53%);
}


/*
   Если внутри HTML уже есть отдельный <b>›</b>,
   скрываем CSS-стрелку.
*/

.eas-service-related a:has(> b)::after {
    display: none;
}


.eas-service-related a:hover {
    color: var(--eas-dark);

    border-color:
        rgba(0, 63, 143, .18);

    transform: translateY(-5px);

    box-shadow: var(--eas-shadow);
}


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


.eas-service-related strong {
    margin-bottom: 8px;

    color: #000;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}


.eas-service-related small {
    color: var(--eas-text);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}


.eas-service-related b {
    color: var(--eas-blue);

    font-size: 34px;
    font-weight: 400;
}


/* =========================================================
   ФИНАЛЬНЫЙ CTA — ТЕКУЩАЯ РАЗМЕТКА
   ========================================================= */

.eas-service-cta {
    padding: 0 0 86px;

    background: var(--eas-gray);
}


.eas-service-cta__inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 34px;

    border: 1px solid var(--eas-border);
    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 15px 40px rgba(49, 59, 65, .06);
}


.eas-service-cta__contacts {
    display: flex;
    flex-wrap: wrap;

    gap: 10px 26px;
}


.eas-service-cta__contacts a {
    color: var(--eas-heading);

    font-size: 17px;
    font-weight: 600;

    transition: color .2s ease;
}


.eas-service-cta__contacts a:hover {
    color: var(--eas-red);
}


.eas-service-cta__inner
.eas-service-btn,
.eas-service-cta__inner
.eas-service-button {
    flex: 0 0 auto;
}


/* =========================================================
   ФИНАЛЬНЫЙ CTA — НОВАЯ РАЗМЕТКА
   ========================================================= */

.eas-service-final {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 34px;

    border: 1px solid var(--eas-border);
    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 15px 40px rgba(49, 59, 65, .06);
}


.eas-service-final__content {
    max-width: 760px;
}


.eas-service-final h2 {
    margin-bottom: 12px;

    font-size:
        clamp(28px, 2.8vw, 40px);
}


.eas-service-final__content a {
    color: var(--eas-heading);

    font-size: 17px;
    font-weight: 600;
}


.eas-service-final__content a:hover {
    color: var(--eas-red);
}


/* =========================================================
   TABLET — ДО 1100
   ========================================================= */

@media (max-width: 1100px) {

    .eas-service-steps,
    .eas-service-workflow {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        row-gap: 45px;
    }


    .eas-service-step:nth-child(3)::before,
    .eas-service-step:nth-child(3)::after,
    .eas-service-workflow__item:nth-child(3)::before,
    .eas-service-workflow__item:nth-child(3)::after {
        display: none;
    }


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

}


/* =========================================================
   TABLET — ДО 900
   ========================================================= */

@media (max-width: 900px) {

    .eas-service-section {
        padding: 68px 0;
    }


    .eas-service-hero {
        padding: 68px 0 72px;
    }


    .eas-service-related {
        grid-template-columns: 1fr;
    }


    .eas-service-related a {
        min-height: 105px;
    }


    .eas-service-cta__inner,
    .eas-service-final {
        align-items: flex-start;
    }

}


/* =========================================================
   MOBILE — ДО 640
   ========================================================= */

@media (max-width: 640px) {

    .eas-service-container,
    .eas-service-container--narrow,
    .eas-service-breadcrumbs {
        width:
            min(100% - 32px, 1180px);
    }


    /* хлебные крошки */

    .eas-service-breadcrumbs {
        justify-content: flex-start;

        padding: 16px 0;

        font-size: 13px;
    }


    /* секции */

    .eas-service-section {
        padding: 50px 0;
    }


    .eas-service-page h2 {
        font-size: 29px;
    }


    .eas-service-page h3 {
        font-size: 20px;
    }


    /* hero */

    .eas-service-hero {
        padding: 52px 0 58px;
    }


    .eas-service-hero__content {
        text-align: left;
    }


    .eas-service-hero h1 {
        max-width: 100%;

        margin: 0 0 18px;

        font-size: 34px;
    }


    .eas-service-hero__text,
    .eas-service-hero__lead {
        max-width: 100%;

        font-size: 16px;
    }


    .eas-service-actions {
        display: grid;

        justify-content: stretch;

        margin-top: 24px;
    }


    /* кнопки */

    .eas-service-btn,
    .eas-service-button {
        width: 100%;
        min-height: 56px;
        padding: 15px 26px;
        border-radius: 999px;
        font-size: 15px;
    }


    .eas-service-hero__content >
    .eas-service-btn,
    .eas-service-hero__content >
    .eas-service-button {
        margin-top: 24px;
    }


    /* основной текст */

    .eas-service-text p {
        font-size: 16px;
    }


    .eas-service-notice {
        padding:
            60px
            22px
            22px;
    }


    .eas-service-notice::before {
        top: 20px;
        left: 22px;
    }


    /* этапы */

    .eas-service-section:has(.eas-service-steps) h2 {
        margin-bottom: 34px;
    }


    .eas-service-steps,
    .eas-service-workflow {
        grid-template-columns: 1fr;

        gap: 34px;
    }


    .eas-service-step,
    .eas-service-workflow__item {
        padding: 0;
    }


    .eas-service-step::before,
    .eas-service-step::after,
    .eas-service-workflow__item::before,
    .eas-service-workflow__item::after {
        display: none;
    }


    .eas-service-step__number {
        width: 72px;
        height: 72px;

        margin-bottom: 16px;
    }


    .eas-service-step__content h3,
    .eas-service-step__content p,
    .eas-service-workflow h3,
    .eas-service-workflow p {
        max-width: 300px;
    }


    /* ввозим / не ввозим */

    .eas-service-columns,
    .eas-service-import-grid {
        grid-template-columns: 1fr;
    }


    .eas-service-column,
    .eas-service-import-card {
        min-height: 0;
    }


    .eas-service-column {
        padding:
            78px
            22px
            26px;
    }


    .eas-service-column::before {
        left: 22px;
    }


    .eas-service-import-card {
        padding: 26px 22px;
    }


    /* FAQ */

    .eas-service-faq summary,
    .eas-service-faq__item summary {
        min-height: 60px;

        padding:
            18px
            52px
            18px
            18px;

        font-size: 16px;
    }


    .eas-service-faq__icon {
        right: 18px;
    }


    .eas-service-faq details > div,
    .eas-service-faq__answer {
        padding:
            0
            18px
            18px;
    }


    /* похожие услуги */

    .eas-service-related a {
        min-height: 92px;

        padding:
            20px
            50px
            20px
            20px;

        font-size: 16px;
    }


    /* CTA */

    .eas-service-cta {
        padding-bottom: 50px;
    }


    .eas-service-cta__inner,
    .eas-service-final {
        display: grid;

        padding: 24px;
    }


    .eas-service-cta__contacts {
        display: grid;
        gap: 8px;
    }

}
.eas-service-cta__content h2 {
    margin: 0 0 22px;
    color: var(--eas-heading);
    font-size: 30px;
    line-height: 1.2;
}

.eas-service-cta__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 38px;
}

.eas-service-cta__contacts > div {
    display: grid;
    gap: 4px;
}

.eas-service-cta__contacts span {
    color: var(--eas-text);
    font-size: 13px;
    line-height: 1.3;
}

.eas-service-cta__contacts a {
    color: var(--eas-heading);
    font-size: 17px;
    font-weight: 600;
}

.eas-service-cta__contacts a:hover {
    color: var(--eas-red);
}

@media (max-width: 640px) {
    .eas-service-cta__content h2 {
        font-size: 27px;
    }

    .eas-service-cta__contacts {
        display: grid;
        gap: 14px;
    }
}

/* Схема из 4 шагов */

.eas-service-workflow--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .eas-service-workflow--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 45px;
    }

    .eas-service-workflow--four .eas-service-workflow__item:nth-child(2)::before,
    .eas-service-workflow--four .eas-service-workflow__item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .eas-service-workflow--four {
        grid-template-columns: 1fr;
    }
}

/* Карточки в 3 колонки */

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

.eas-service-info-card {
    padding: 30px;
    border: 1px solid var(--eas-border);
    border-radius: var(--eas-radius);
    background: #fff;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.eas-service-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--eas-shadow);
}

.eas-service-info-card h3 {
    margin-bottom: 12px;
    color: var(--eas-heading) !important;
}

.eas-service-info-card p {
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .eas-service-cards--three {
        grid-template-columns: 1fr;
    }
}