/* =========================================================
   ПОРЯДОК ЭЛЕКТРОННОГО ОБРАЩЕНИЯ
   ========================================================= */

.electronic-appeal {
    background: #f7f7f9;
    color: #111122;
}


.electronic-appeal__container {
    width: min(calc(100% - 48px), 1520px);
    margin: 0 auto;
}


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

.electronic-appeal-hero {
    position: relative;

    min-height: 330px;

    overflow: hidden;

    border-radius: 24px;

    background-color: #216e68;

    background-image:
            linear-gradient(
                    90deg,
                    rgba(28, 105, 98, .98) 0%,
                    rgba(28, 105, 98, .88) 45%,
                    rgba(28, 105, 98, .68) 100%
            );
}

.electronic-appeal-hero::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: .16;

    background-image:
            radial-gradient(
                    ellipse at center,
                    transparent 0,
                    rgba(0, 0, 0, .45) 100%
            );
}


.electronic-appeal-hero__content {
    position: relative;

    z-index: 2;

    width: 650px;

    padding: 36px 34px;
}


.electronic-appeal-hero__title {
    margin: 0;

    color: #fff;

    font-family: 'Inter', sans-serif;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 700;

    text-transform: uppercase;
}


.electronic-appeal-hero__description {
    max-width: 620px;

    margin-top: 18px;

    color: rgba(255, 255, 255, .82);

    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.45;
}


.electronic-appeal-hero__email {
    display: inline-block;

    margin-top: 16px;

    color: #fff;

    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;

    text-decoration: none;
}


.electronic-appeal-hero__button {
    display: flex;

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

    width: 138px;
    height: 48px;

    margin-top: 30px;

    border-radius: 8px;

    color: #111122;
    background: #fff;

    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;

    text-decoration: none;

    transition:
            background-color .2s ease,
            color .2s ease;
}


.electronic-appeal-hero__button:hover {
    color: #fff;
    background: #173f3b;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.electronic-appeal-section {
    margin-top: 76px;
}


.electronic-appeal-section--documents {
    margin-top: 76px;
}


.electronic-appeal-section__title {
    margin: 0 0 24px;

    color: #111122;

    font-family: 'Inter', sans-serif;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 700;
}


/* =========================================================
   STEPS
   ========================================================= */

.electronic-appeal-steps {
    display: grid;

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

    gap: 10px;
}


.electronic-appeal-step {
    position: relative;

    min-height: 66px;

    display: flex;

    align-items: center;

    padding: 18px 54px 18px 20px;

    box-sizing: border-box;

    overflow: hidden;

    border-radius: 14px;

    background: #e5f0ef;
}


.electronic-appeal-step::after {
    content: attr(data-number);

    position: absolute;

    right: -10px;
    bottom: -10px;

    width: 82px;
    height: 82px;

    display: flex;

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

    border-radius: 50%;

    color: rgba(255, 255, 255, .65);
    background: #c6dddd;

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


.electronic-appeal-step__number {
    display: none;
}


.electronic-appeal-step__text {
    position: relative;

    z-index: 2;

    color: #111122;

    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
}


.electronic-appeal-step__text a {
    color: #237c77;

    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   DOCUMENT STEPS
   ========================================================= */

.electronic-appeal-section--documents
.electronic-appeal-step {
    min-height: 114px;

    align-items: flex-start;
}


.electronic-appeal-step__content {
    position: relative;

    z-index: 2;

    width: 100%;
}


.electronic-appeal-step__subtext {
    margin-top: 12px;

    color: #555866;

    font-family: 'Inter', sans-serif;
    font-size: 11px;
    line-height: 1.45;
}


.electronic-appeal-step__text span {
    color: #237c77;
}


.electronic-appeal-step__button {
    display: flex;

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

    width: 155px;
    height: 32px;

    margin-top: 12px;

    border: 1px solid #237c77;
    border-radius: 7px;

    color: #237c77;

    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1;

    text-decoration: none;

    transition:
            color .2s ease,
            background-color .2s ease;
}


.electronic-appeal-step__button:hover {
    color: #fff;
    background: #237c77;
}


/* =========================================================
   NOTE
   ========================================================= */

.electronic-appeal-note {
    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 46px;

    margin-top: 10px;

    padding: 10px 16px;

    box-sizing: border-box;

    border-radius: 14px;

    background: #fff;
}


.electronic-appeal-note__icon {
    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    display: flex;

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

    border: 1px solid #237c77;
    border-radius: 50%;

    color: #237c77;

    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1;
}


.electronic-appeal-note__text {
    color: #303140;

    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.electronic-appeal-hero__text {

    width: 50%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .electronic-appeal__container {
        width: calc(100% - 40px);
    }


    .electronic-appeal-hero__content {
        width: 60%;
    }


    .electronic-appeal-hero__title {
        font-size: 42px;
    }


    .electronic-appeal-section__title {
        font-size: 34px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .electronic-appeal__container {
        width: 100%;
    }


    /* HERO */

    .electronic-appeal-hero {
        min-height: 424px;

        border-radius: 0;

        background-color: #216e68;
    }


    .electronic-appeal-hero__content {
        width: 100%;

        box-sizing: border-box;

        padding: 20px 12px;
    }


    .electronic-appeal-hero__title {
        font-size: 24px;
        line-height: 1.15;
    }


    .electronic-appeal-hero__description {
        margin-top: 14px;

        font-size: 15px;
        line-height: 1.48;
    }


    .electronic-appeal-hero__email {
        margin-top: 22px;

        font-size: 17px;
    }


    .electronic-appeal-hero__button {
        position: absolute;

        left: 12px;
        right: 12px;

        bottom: -132px;

        width: auto;
        height: 36px;

        margin: 0;

        border-radius: 8px;

        font-size: 14px;
    }


    /* SECTIONS */

    .electronic-appeal-section {
        margin-top: 58px;

        padding: 0 12px;
    }


    .electronic-appeal-section--documents {
        margin-top: 66px;
    }


    .electronic-appeal-section__title {
        margin-bottom: 22px;

        font-size: 24px;
        line-height: 1.1;
    }


    .electronic-appeal-desktop {
        display: none;
    }


    /* STEPS */

    .electronic-appeal-steps {
        display: flex;

        flex-direction: column;

        gap: 18px;
    }


    .electronic-appeal-step,
    .electronic-appeal-section--documents
    .electronic-appeal-step {
        min-height: 0;

        padding: 0;

        overflow: visible;

        border-radius: 0;

        background: transparent;
    }


    .electronic-appeal-step__number {
        flex: 0 0 auto;

        width: 24px;
        height: 24px;

        display: flex;

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

        margin-top: 2px;
        margin-right: 12px;

        border-radius: 50%;

        color: #fff;
        background: #237c77;

        font-family: 'Inter', sans-serif;
        font-size: 12px;
        font-weight: 700;
    }


    .electronic-appeal-step__text {
        font-size: 17px;
        line-height: 1.45;
    }


    .electronic-appeal-step::after {
        display: none;
    }


    /* DOCUMENT CONTENT */

    .electronic-appeal-step__content {
        flex: 1;
    }


    .electronic-appeal-step__subtext {
        margin-top: 16px;

        font-size: 13px;
        line-height: 1.45;
    }


    .electronic-appeal-step__button {
        width: 207px;
        height: 36px;

        margin-top: 12px;

        font-size: 13px;
    }


    /* NOTE */

    .electronic-appeal-note {
        align-items: flex-start;

        gap: 8px;

        min-height: 0;

        margin-top: 18px;

        padding: 10px;

        border-radius: 12px;
    }


    .electronic-appeal-note__icon {
        margin-top: 2px;
    }


    .electronic-appeal-note__text {
        font-size: 13px;
        line-height: 1.45;
    }

}