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

:root
{
    --white: #fff;
    --black: #000;
    --gray: #EFEFF9;
    --yellow: #F7EA54;

    --px35: 35px;
    --px65: 65px;

    --two-cl: 50%;
    --three-cl: calc(100% / 3);
    --flex-direction: row;
}

@media (max-width: 767px)
{
    :root
    {
        --px35: 15px;
        --px65: 15px;

        --two-cl: 100%;
        --three-cl: 100%;
        --flex-direction: column;
    }
}

body
{
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

img,
iframe
{
    max-width: 100%;
    height: auto;
}

section
{
    padding: var(--px35) 0;
}

p:not([class]),
h2:not([class])
{
	margin-bottom: 15px;
	line-height: 1.5;
}
ul:not([class])
{
    padding-left: 25px;
    margin: 15px 0;
}
li:not([class])
{
    margin-bottom: 10px;
}
li:last-child:not([class])
{
    margin-bottom: 0;
}
a,
button
{
    transition: all .3s;
}
.container
{
    max-width: 1280px;
    margin: 0 auto;
}



/*#region Шапка*/
.header 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 5;
}
.header__wrapper 
{
    display: flex;
    flex-direction: var(--flex-direction);
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px;
}
.header__logo {
}
.header__logo-link {
}

.header__list 
{

}

.header__item
{
    margin-bottom: 10px;
    text-align: right;
}
.header__item:last-child
{
    margin-bottom: 0;
}
.header__mobile {
}
.header__link 
{
    color: var(--white);
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
}
.header__link:hover
{
    color:var(--yellow)
}
/*#endregion*/


.main {
}

/*#region Блоки*/

.title 
{
    line-height: 1.2;
}
.title--h1 
{
    font-size: 36px;
    color: var(--white);
}
.title--h2
{   
    margin-bottom: 10px;
    font-size: 32px;   
}

.list
{
    list-style: none;
}
.button 
{

}
.button__btn
{
    padding: 5px 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.button__btn--red
{
    background: var(--red);
    color: var(--white);
}
.button__btn--yellow
{
    background: var(--yellow);
    color: var(--black);
}
.button__btn--yellow:hover
{
    background: var(--gray);
    color: var(--black);
}
/*#endregion*/


.first-bx 
{
    position: relative;
    background: url(../img/bg-first.jpg) no-repeat center center / cover;
}
.first-bx::before
{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
.first-bx__wrapper
{
    position: relative;
    display: flex;
    align-items: center;
    max-width: 850px;
    min-height: 400px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;

}
/*#endregion*/
.form-bx
{
    padding: var(--px35);
    background: url(../img/form-bg.jpg) no-repeat center center / cover;
    
    
}
.form-bx__wrapper
{
    max-width: 500px;
    margin: 0 auto;
    padding: var(--px65);
    text-align: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.4);
}
.form-bx__title 
{
    margin-bottom: 5;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    
}
.form-bx__sub-title
{
    margin-bottom: var(--px35);
}
.form-bx__form 
{
    display: flex;
    flex-direction: column;
}
.form-bx__field 
{
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--white);
    transition: .3s;
    outline: none;
}
.form-bx__field:active,
.form-bx__field:focus
{
    border: 0;
    border-bottom: 1px solid var(--yellow);
    outline: none;
} 
.form-bx__btn {
}

::-webkit-input-placeholder {color:#fff;}
::-moz-placeholder          {color:#fff;}
:-moz-placeholder           {color:#fff;}
:-ms-input-placeholder      {color:#fff;}



.benefits 
{

}

.benefits__wrapper 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: var(--flex-direction);
}
.benefits__img 
{
    width: var(--two-cl);
    text-align: center;
}
.benefits__link {
}
.benefits__list-bx 
{
    width: var(--two-cl);
}
.benefits__list {
}
.benefits__item 
{
    position: relative;
    margin-bottom: var(--px35);
    padding-left: 65px;
    padding-right: 15px;
}
.benefits__item::before
{
    position: absolute;
    left: 0;
    top: 10px;
    display: block;
    content: "";
    width: 50px;
    height: 2px;
    background: #333;

}
.benefits__item:last-child
{
    margin-bottom: 0;
}
.benefits__item-bx 
{
    
    line-height: 1.2;
}
.benefits__item-title
{
    
}
.benefits__desc
{
    font-size: 16px;
}
/*#endregion*/

/*#region Этапы*/

.step {
}
.step__list 
{
    display: flex;
    flex-direction: var(--flex-direction);
    flex-wrap: wrap;
}
.step__item 
{
    width: var(--three-cl);
    padding: 15px;
}
.step__bx {
}
.step__title 
{
    display: flex;
    align-items: center;
}
.step__number 
{
    margin-right: 15px;
    font-size: 55px;
    font-weight: 700;
    color: var(--gray);
}
.step__desc {
}

/*#endregion*/

/*#region Призыв*/
.callback 
{
    padding: var(--px65);
    background: var(--gray);
}
.callback__wrapper 
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.callback__text 
{
    margin-bottom: var(--px35);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    
}
/*#endregion*/



/*#region Портфолио*/
.portfolio 
{
    
}
.list {
}
.portfolio__list 
{
    display: flex;
    justify-content: space-between;
    flex-direction: var(--flex-direction);
    flex-wrap: wrap;
}
.portfolio__item 
{
    width: var(--three-cl);
    padding: 5px;
}
.portfolio__wrapper 
{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #000;
    background: #efeff9;
    
    
}
.porfolio__img 
{
    width: 100%;
    object-fit: cover;
}
.portfolio__info-bx 
{
    padding: 10px;
    background: var(--gray);
    transition: all .3s;
}
.portfolio__wrapper:hover,
.portfolio__wrapper:hover .portfolio__info-bx 
{
    background: var(--yellow);
}


.porfolio__time 
{
    margin-bottom: 10px;
    font-size: 14px;
}
.porfolio__item-title 
{
    padding: 10px;
    font-size: 14px;
    line-height: 1;
    text-align: center;
}
.portfolio__char-list {
}
.portfolio__char-item 
{
    font-size: 14px;
}
.portfolio__btn
{
    margin-top: var(--px35);
    text-align: center;
}
.portfolio__btn-link
{
    padding: 20px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 22px;
    
}
/*#endregion*/


/*#region Подвал*/
.footer 
{
    padding: 15px 0;
}
.footer__copyright 
{
    color: var(--black);
    text-align: center;
}
/*#endregion*/


.overlay {

	opacity: 0;
	visibility: hidden;
	
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .5);
	z-index: 20;
	transition: .3s all;
 }
 
 

 
 .modal {
	

	opacity: 0;
	visibility: hidden;
	width: 100%;
	max-width: 400px;
	max-height: 400px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 150;
	overflow: auto;
	box-shadow: 0 3px 10px -.5px rgba(0, 0, 0, .2); 
	text-align: left;
	padding: 30px;
	border-radius: 3px;
	background-color: #333;
	transition: 0.3s all;
 }
 
  .modal.active,
 .overlay.active{
	opacity: 1;
	visibility: visible;
 }
 
 
 .modal__cross {
	width: 15px;
	height: 15px;
	position: absolute;
	top: 20px;
	right: 20px;
	fill: var(--yellow);
	cursor: pointer;
 }
 .modal__cross:hover
 {
    fill: var(--white);
 }

 .modal-bx
{
    text-align: center;
    color: var(--white);
}
.modal-bx__title 
{
    margin-bottom: 5px;
    font-size: 22px;
    font-weight: 600;
    
}
.modal-bx__sub-title
{
    font-size: 14px;
    margin-bottom: 15px;
}
.modal-bx__form 
{
    display: flex;
    flex-direction: column;
}
.modal-bx__field 
{
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--white);
    transition: .3s;
    outline: none;
}
.modal__field:active,
.modal__field:focus
{
    border: 0;
    border-bottom: 1px solid var(--yellow);
    outline: none;
} 
.modal-bx__btn {
}

@media (max-width: 767px)
{
    .container
    {
        padding: 0 15px;
    }
    .title--h1
    {
        font-size: 26px;
    }
    .header__item
    {
        text-align: center;
    }
    .first-bx__wrapper
    {
        align-items: center;
        padding: 0 15px;
        margin-top: 65px;
    }
    .benefits__list-bx
    {
        margin-bottom: 15px;
    }
}