@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/Unbounded-Bold.woff2') format('woff2'),
        url('../fonts/Unbounded-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/Unbounded-Medium.woff2') format('woff2'),
        url('../fonts/Unbounded-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}



@font-face {
    font-family: 'Ubuntu Sans';
    src: url('../fonts/UbuntuSans-Medium.woff2') format('woff2'),
        url('../fonts/UbuntuSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu Sans';
    src: url('../fonts/UbuntuSans-Bold.woff2') format('woff2'),
        url('../fonts/UbuntuSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}




*,
*::before,
*::after {
	box-sizing: border-box;
}

ul {
    margin: 0;
    padding: 0;
}

html, body {
    font-family: 'Ubuntu Sans';
    font-size: 16px;
    color: #4C4C4C;

}

a {
    transition: .4s;
    color: #4C4C4C; 
}

a:hover {
    opacity: 0.7;
    transition: .2s;
}


:root {
--main-red: #D83B3B;
}

/* UTILITES */
.main-red {
    color: var(--main-red);
}

.container {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    position: relative;
}

.small-container {
    width: 100%;
    max-width: 1126px;
    margin: 0 auto;
    position: relative;
}


h1 {
    font-family: 'Unbounded';
    font-size: 48px;
}

h1 span {}



/* ШАПКА */
#header {}

.header {
    margin: 75px 0;
}

    .header__inner {
        display: flex;
        width: 100%;
        align-items: center;
    }

    .header__logo {
        flex: 0 0 auto;
        display: flex;
        gap: 20px;
        align-items: start;
        }

        .header__logo a {
            display: flex;
            text-decoration:none;
            gap: 20px;
            }

                  .header__logo-image {
                    
                  }

                  .header__logo-image img {
                    width: 100%;
                    }

                    .header__logo-slogan {
                        font-size: 12px;
                        color: #4c4c4cff;
                        font-family: 'Unbounded';
                        }

        .header__menu {
            flex: 1 1 auto;
            display: flex;
            justify-content: center;
        }

            .header__menu ul {
                list-style-type: none;
                display: flex;
                gap: 25px;
                margin: 0;
                padding: 0;
            }

                .header__menu ul li {}

                    .header__menu ul li a {
                        display: block;
                    }

                    .header__contacts {
                        flex: 0 0 auto;
                        margin-left: auto;
                        font-family: 'Unbounded';
                        font-weight:500;
                    }

                    .header__contacts-inner {
                        display: flex;
                        gap: 20px;
                    }

                        .header__contacts-waicon {}

                            .header__contacts-waicon a {}
                            
                        .header__contacts-tgicon {}

                            .header__contacts-tgicon a {}
                            
                        .header__contacts-number {
                            color:#4C4C4C;
                        }

                            .header__contacts-number span {
                                color:#4c4c4c7b;
                            }

                            .header__contacts-number a {
                                text-decoration: none;
                            }



/* ***************** HERO БЛОК ******************* */
.hero_trigger_button {}

    .hero_trigger_button a {}

    a span.button_icon {}

    a.red_button {
        padding: 20px 40px 20px 30px;
        color: #fff;
        border-radius: 50px;
        border: 5px solid #FFDBDB;
        background: #D83B3B;
        display: flex;
        width: fit-content;
        font-size: 18px;
        text-decoration: none;
        gap: 15px;
        }

.ytp_block {}

    .ytp_block h1 {}

    .ytp_block h2 {
        color: #AAAAAA;
        font-size: 28px;
        line-height: 36px;
        font-weight: 400;
    }


/* ***************** ФОРМА ОБРАТНОЙ СВЯЗИ ******************* */

.pum-overlay {
    background: rgba(0, 0, 0, 0.5)!important;
    }

    .pum-container .pum-content+.pum-close {
        top: 30px;
        right: 30px;
        color: #eee;
        }

.fbblock {
    display: flex;
}

.fbblock p {
    margin: 0;
}

    .fbblock_left {
        text-align:right;
    }

    .fbblock_left_pic {
        width: 360px;
        max-width: 360px;
        height: 520px;
        background: url(https://e-rma.ru/wp-content/themes/rma/images/Peace_of_mind-bro.svg) no-repeat #434343 top center;
        background-size: cover;
        border-radius: 50px 0 0 50px;
        }

            .fbblock_left_pic img {}


            .fbblock_left_blog {
                background: #D83B3B;
                padding: 50px;
                border-radius: 0 0 0 50px;
                color: #fff;
                max-width: 275px;
                margin: 0 0 0 auto;
                }

                .fbblock_left_blog h4 {}

                    .fbblock_left_blog h4.fbblock_left_blog_title {
                        margin: 0 0 10px 0;
                        font-weight: 400;
                        font-size: 14px;
                        color: rgba(255, 255, 255, 0.5);
                        }

        .fbblock_left_blog_article {}

            .fbblock_left_blog_article h4 {}

            .fbblock_left_blog_article h4 a {
                color: #fff!important;
                text-decoration:none;
                }

    .fbblock_right {
                    background: #fff;
                    border-radius: 0 50px 50px 50px;
                    padding: 60px 50px 50px 50px;
                    max-width: 520px;
                    }

        .fbblock_right_title {}

        .fbblock_right_title h3 {
            font-family: 'Unbounded';
            font-size: 32px;
            margin: 0 0 20px 0;
            }

            .fbblock_right_title h3 span {
                color: #D83B3B;
                display: block;
                }


            .fbblock_right_subtitle {
                color: #929292;
                font-size: 21px;
                margin: 0 0 40px 0;
                }

        .fbblock_right_formwrap {}

        .fbblock_input_wrap {
            margin-bottom: 25px;
            }

            .fbblock_input_wrap label {
                color: #C0C0C0;
                font-size: 16px;
            }

            .fbblock_input_wrap input {
                border-bottom: 2px solid #E6E6E6;
                padding: 11px 0;
                border-top: none;
                border-left: none;
                border-right: none;
                font-size: 21px;
                width: 100%;
                }

                .fbblock_input_wrap textarea {
                    border-bottom: 2px solid #E6E6E6;
                    padding: 11px 0;
                    border-top: none;
                    border-left: none;
                    border-right: none;
                    font-size: 21px;
                    width: 100%;
                    height: 72px!important;
                    }

            .fbblock_button {}

            .fbblock_button input[type="submit"] {
                padding: 15px 30px 15px 30px;
                color: #fff;
                border-radius: 50px;
                background: #D83B3B;
                display: flex;
                width: fit-content;
                font-size: 21px;
                text-decoration: none;
                border: none;
                }

            .fbblock_right_message {
                background: #F8F8F8;
                padding: 20px 30px;
                border-radius: 10px;
                color: #919191;
                font-weight: 400;
                font-size: 12px;
                }

                
/* ***************** КАТАЛОГ КЕЙСОВ (СЕТКА ПРЕВЬЮ) ******************* */

.cases-preview-grid {
    display: grid;
  gap: 20px;
  /* Автоматически создает колонки шириной минимум 250px. 
     Если места мало — схлопнет в одну. */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.case-preview-item {}
.case-preview-item a {}

.case-preview-item img {
    width: 100%;
    max-width: 600px;
}


/* ***************** СТРАНИЧКА КЕЙСА ******************* */

                .cases_wort_content {
                    text-align: center;
                    line-height: 0;
                    }

                    .cases_wort_content img {
                        width: 100%;
                        max-width: 1920px;
                    }



                    .rek {
                        text-align: center;
                        padding: 50px 0;
                        color: #c2c2c2;
                        }

                        .rek span {
                            font-weight: 700;
                            margin-right: 10px;
                            }