/* ============================================================
   ЭТрН — landing page (design: Figma «ЭТрН • 1920 • правки 28.10.2026»)
   Все классы с префиксом etrn_, чтобы не пересекаться с темой.
   ============================================================ */

.etrn_page {
    color: var(--black2);
    font-family: var(--font_inter);
}

.etrn_page :where(p) {
    margin: 0;
}

.etrn_section {
    margin-bottom: 64px;
}

.etrn_section_last {
    margin-bottom: 64px;
}

.etrn_blueband {
    background: var(--blue3);
    padding: 40px 0;
}

.etrn_blueband.etrn_section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.etrn_h2_center {
    text-align: center;
}

.etrn_lead {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black2);
}

/* ------------------------------ HERO ------------------------------ */

.etrn_hero {
    position: relative;
    overflow: hidden;
    margin-top: 24px;
    border-radius: 16px;
    background: linear-gradient(90deg, #4c9bf7 0%, #5ea5f8 26%, #78b5fb 52%, #90c3fd 100%);
    color: #fff;
    padding: 32px 24px;
}

.etrn_hero__text {
    position: relative;
    z-index: 2;
}

.etrn_hero__title {
    font-family: var(--font_roboto_slab);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 16px;
}

.etrn_hero__desc {
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    max-width: 559px;
}

.etrn_hero__promo {
    margin-top: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    color: var(--black2);
}

.etrn_hero__promo p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black2);
    margin: 0 0 24px;
}

.etrn_hero__img {
    display: none;
}

@media (max-width: 527px) {
    .etrn_hero {
        margin-left: calc(var(--indent_xs) * -1);
        margin-right: calc(var(--indent_xs) * -1);
        padding-left: var(--indent_xs);
        padding-right: var(--indent_xs);
    }

    .etrn_hero__promo {
        padding: var(--indent_xs);
    }

    .etrn_hero__title {
        font-size: 28px;
    }
}

/* --------------------------- CAPABILITIES -------------------------- */

.etrn_caps {
    position: relative;
}

/* до инициализации слайдера (мобильные) — обычный список */
.etrn_caps__track:not(.slick-initialized) {
    display: grid;
    gap: 24px;
}

.etrn_caps__icon {
    display: block;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
}

.etrn_caps__title {
    font-family: var(--font_roboto_slab);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--black1);
    margin: 0 0 8px;
}

.etrn_caps__text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black2);
}

/* отступы между слайдами, как у остальных слайдеров сайта */
.etrn_caps .slick-list {
    margin: 0 -16px;
}

.etrn_caps .slick-slide {
    padding: 0 16px;
}

/* стрелки в полях контейнера */
.etrn_caps__control {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.etrn_caps__control .slider__arrow {
    pointer-events: auto;
    position: relative;
    z-index: 1;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* тень появляется при наведении — как у стрелок остальных слайдеров сайта */
.etrn_caps__control .slider__arrow:hover {
    box-shadow: 0 4px 8px rgba(32, 34, 37, 0.14);
}

.etrn_caps__control .slider__arrow.slick-prev {
    margin-left: -52px;
}

.etrn_caps__control .slider__arrow.slick-next {
    margin-right: -52px;
}

@media (max-width: 1279px) {
    .etrn_caps__control {
        display: none;
    }
}

/* ------------------------------ TARIFFS ---------------------------- */

.etrn_tariffs__head {
    max-width: 1184px;
}

.etrn_tariffs__head .h2 {
    margin-bottom: 24px;
}

.etrn_tariffs__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
}

.etrn_tariff {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.etrn_tariff__cap {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    color: var(--black4);
    margin: 0 0 24px;
}

.etrn_tariff__name {
    font-family: var(--font_roboto_slab);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.3;
    color: var(--black1);
    margin: 0 0 24px;
}

.etrn_tariff__price {
    font-family: var(--font_roboto_slab);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    color: var(--blue1);
    margin: 0 0 8px;
}

.etrn_tariff__sub {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black3);
    margin: 0;
}

.etrn_tariff .button {
    margin-top: auto;
    width: 100%;
}

.etrn_included {
    margin-top: 80px;
}

.etrn_included h3 {
    font-family: var(--font_roboto_slab);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    color: var(--black1);
}

.etrn_included__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
}

.etrn_included__col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: start;
}

.etrn_included__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--black1);
}

.etrn_included__item img {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

/* Мобильная версия блока тарифов (макет 320px) */
@media (max-width: 699px) {
    .etrn_blueband,
    .etrn_blueband.etrn_section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .etrn_tariffs__head .h2 {
        font-size: 24px;
        font-weight: 500;
        line-height: 1.3;
        margin-bottom: 24px;
    }

    .etrn_tariffs__grid {
        margin-top: 40px;
    }

    .etrn_tariff__name {
        font-size: 20px;
    }

    .etrn_tariff {
        min-height: 279px;
    }

    .etrn_tariff__price {
        font-size: 24px;
        font-weight: 500;
    }

    .etrn_included {
        margin-top: 48px;
    }

    .etrn_included h3 {
        font-size: 16px;
    }
}

.etrn_diff_head {
    max-width: 784px;
    margin-left: auto;
    margin-right: auto;
}

/* ------------------------------- WHY ------------------------------- */
.etrn_why__intro {
    max-width: 1120px;
    margin: 16px auto 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--black2);
    text-align: center;
}

.etrn_why__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

.etrn_why__card {
    border: 1px solid #dfe6ee;
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    column-gap: 20px;
}

.etrn_why__card img {
    display: block;
    width: 64px;
    height: 64px;
}

.etrn_why__card h3 {
    font-family: var(--font_roboto_slab);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--black1);
    margin: 6px 0 10px;
}

.etrn_why__body {
    min-width: 0;
}

.etrn_why__card p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black2);
    margin: 0;
}

/* ------------------------------ BENEFITS --------------------------- */

.etrn_ben__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

.etrn_ben__card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(32, 34, 37, 0.12);
    padding: 32px;
}

.etrn_ben__card img {
    display: block;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.etrn_ben__card h3 {
    font-family: var(--font_roboto_slab);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--blue1);
    margin: 0 0 8px;
}

.etrn_ben__card p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black2);
    margin: 0;
}

/* блок «Как это работает» вынесен в assets/css/blocks/how_steps.css */

/* ---------------------------- LOGISTICS ---------------------------- */

.etrn_log__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

.etrn_log__card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(32, 34, 37, 0.12);
    padding: 24px;
}

.etrn_log__card img {
    display: block;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.etrn_log__card h3 {
    font-family: var(--font_roboto_slab);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--black1);
    margin: 0 0 8px;
}

.etrn_log__card p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black2);
    margin: 0;
}

/* ------------------------------ DAILY ------------------------------ */

.etrn_daily__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

.etrn_daily__row {
    background: var(--blue3);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.etrn_daily__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}

.etrn_daily__title {
    font-family: var(--font_roboto_slab);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--black1);
    margin: 0;
}

.etrn_daily__text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black2);
    margin: 0;
}












/* -------------------------------- FAQ ------------------------------ */

.etrn_faq__item .faq__iqtext {
    font-size: 16px;
    line-height: 1.5;
}

/* ------------------------------ RELATED ---------------------------- */

.etrn_rel__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

.etrn_rel__card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(32, 34, 37, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 160px;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.etrn_rel__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px rgba(32, 34, 37, 0.16);
}

.etrn_rel__title {
    font-family: var(--font_roboto_slab);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--blue1);
    margin: 0 0 16px;
}

.etrn_rel__price {
    margin-top: auto;
    font-family: var(--font_roboto_slab);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    color: var(--black1);
}

/* --------------------------- BREAKPOINTS --------------------------- */

@media (min-width: 576px) {
    .etrn_hero {
        padding: 32px 24px;
    }

    .etrn_hero__title {
        font-size: 32px;
    }

    .etrn_included__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .etrn_daily__row {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .etrn_daily__title {
        flex: 0 0 40%;
        padding-right: 8px;
    }

    .etrn_daily__text {
        flex: 1 1 auto;
    }

}

@media (min-width: 700px) {
    .etrn_section {
        margin-bottom: 96px;
    }

    /* планшет: в макете горизонтальные отступы контейнера 32px (контент 704 при ширине 768) */
    .etrn_page .container {
        padding-left: 32px;
        padding-right: 32px;
    }

    /* планшет: в макете вертикальные отступы голубой секции 48px */
    .etrn_blueband,
    .etrn_blueband.etrn_section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    /* планшет: карточка тарифа тоже 295px, как на десктопе */
    .etrn_tariff {
        min-height: 295px;
    }

    /* планшет: отступ между тарифами и «Что входит» 64px */
    .etrn_included {
        margin-top: 64px;
    }

    .etrn_hero {
        margin-top: 32px;
        min-height: 420px;
        display: block;
        padding: 32px 24px;
    }

    .etrn_hero__title {
        font-size: 48px;
        max-width: none;
    }

    .etrn_hero__text {
        max-width: 55%;
    }

    .etrn_hero__promo {
        max-width: none;
    }

    .etrn_hero__img {
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
        width: 44%;
        max-width: 360px;
    }

    .etrn_hero__img img {
        display: block;
        width: 100%;
        height: auto;
    }

    .etrn_tariffs__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .etrn_why__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .etrn_ben__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .etrn_log__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .etrn_rel__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }




}

@media (min-width: 992px) {
    .etrn_blueband,
    .etrn_blueband.etrn_section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .etrn_included {
        margin-top: 80px;
    }

    .etrn_hero {
        display: block;
        padding: 32px 0 32px 32px;
    }

    .etrn_hero__title {
        max-width: 559px;
    }

    .etrn_hero__text {
        max-width: 559px;
    }

    .etrn_hero__img {
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
        width: 51%;
        max-width: 602px;
    }

    .etrn_hero__img img {
        display: block;
        width: 100%;
        height: auto;
    }

    .etrn_tariffs__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .etrn_included__grid {
        grid-template-columns: minmax(0, 484px) minmax(0, 1fr);
        gap: 48px;
    }




    .etrn_tariff {
        min-height: 295px;
    }

    .etrn_rel__card {
        min-height: 180px;
    }

    .etrn_rel__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1180px) {
    .etrn_section {
        margin-bottom: 120px;
    }

    .etrn_hero__title {
        font-size: 48px;
        margin-bottom: 24px;
    }

    .etrn_included {
        margin-top: 80px;
    }

}

/* «Зачем нужны ЭТрН»: планшет и мобилка — иконка над текстом */
@media (max-width: 991px) {
    .etrn_why__card {
        display: block;
        padding: 26px;
    }

    .etrn_why__card img {
        margin-bottom: 16px;
    }

    .etrn_why__card h3 {
        margin: 0 0 16px;
    }

    .etrn_why__intro {
        margin-top: 24px;
    }

    .etrn_why__grid {
        margin-top: 24px;
    }
}

@media (max-width: 699px) {
    .etrn_why__grid {
        gap: 16px;
    }

    .etrn_why__card h3 {
        font-size: 16px;
    }
}