/* open-sans-regular - latin_cyrillic */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans/open-sans-v18-latin_cyrillic-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
  }
  /* open-sans-600 - latin_cyrillic */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/open-sans/open-sans-v18-latin_cyrillic-600.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-600.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-600.woff') format('woff'), /* Modern Browsers */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-600.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-600.svg#OpenSans') format('svg'); /* Legacy iOS */
  }
  /* open-sans-700 - latin_cyrillic */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans/open-sans-v18-latin_cyrillic-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-700.woff') format('woff'), /* Modern Browsers */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/open-sans/open-sans-v18-latin_cyrillic-700.svg#OpenSans') format('svg'); /* Legacy iOS */
  }
/* playfair-display-700 - latin_cyrillic */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/playfair-display-v22-latin_cyrillic-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/playfair-display/playfair-display-v22-latin_cyrillic-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/playfair-display/playfair-display-v22-latin_cyrillic-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/playfair-display/playfair-display-v22-latin_cyrillic-700.woff') format('woff'), /* Modern Browsers */
         url('../fonts/playfair-display/playfair-display-v22-latin_cyrillic-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/playfair-display/playfair-display-v22-latin_cyrillic-700.svg#PlayfairDisplay') format('svg'); /* Legacy iOS */
}

html {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
*, *::before, *::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    color: #7C6362;
    line-height: 24px;
}

img {
    max-width: 100%;
    height: auto;  
    }

h1, h2, h4 {
    font-family: 'Playfair Display';
    color: #3A3A3C;
}

h1, .h1 {
    font-style: normal;
    font-weight: bold;
    font-size: 40px;
    line-height: 48px;
}

h2, .h2 {
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 48px;
}

h3, .h3 {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 48px;
    color: #3A3A3C;
}



h4, .h4 {
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
}

/* header styles start */

.header {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.wrapper {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.header-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 98px;
}

.header-logo-name {
    display: flex;
    justify-content: space-between;
    width: 301px;
    align-items: center;
}

.header-list {
    display: flex;
    align-items: center;
}

.header-logo-link {
    
    text-decoration: none;
}

.header-name-link {
    text-decoration: none;
}

.header-item:not(:last-child){ 
    margin-right: 32px;
}

.header-item:last-child {
    padding-right: 0;
}

.header-connect {
    display: flex;
}

.header-link-main {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    text-decoration: none;
    color: black;
}

.header-link {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    text-decoration: none;
    color: #7C6362;
    
}

.header-link:after {
    display: block;
    content: attr(designation);
    font-weight: bold;
    line-height: 90%;
    height: 0;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}

.header-link:hover, .header-link:focus, .header-link:active {
    font-weight: bold;   
}

.header-number-link {
    text-decoration: none;
    color: black;
    font-size: 21px;
}

.header-number-call {
    color: #7C6362;
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;  
}

.header-number-call:hover, .header-number-call:focus, .header-number-call:active {
    text-decoration: none;
}

.header-connect-pic{
    padding-right: 19px;
}

/* Hamburger menu styles start */
.hamb {
    cursor: pointer;
    min-width: 16px;
    left: 0;
    width: 30px;
    height: 25px;
    position: relative;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    display: none;
}
  
.hamb span {
    display: block;
    position: absolute;
    height: 2.5px;
    width: 100%;
    background: #7C6362;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}
  
.hamb span:nth-child(1) {
    top: 0px;
}
  
.hamb span:nth-child(2),
.hamb span:nth-child(3) {
    top: 50%;
    margin-top: -1px;
}
  
.hamb span:nth-child(4) {
    bottom: 0;
}  
  
.menu_open .hamb span:nth-child(1) {
    top: 50%;
    margin-top: -2px;
    width: 0%;
    left: 50%;
}
  
.menu_open .hamb span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
  
.menu_open .hamb span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
  
.menu_open .hamb span:nth-child(4) {
    bottom: 50%;
    margin-top: 2px;
    width: 0%;
    left: 50%;
}
/* Hamburger menu styles end */
/* header styles end */

/* Slider styles start */

.main {
    margin-top: 98px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
}

.navig {
    position: absolute;
    bottom: 0;
    left: calc((100% - 1320px) / 2 );
}

.navig .slick-arrow {
    font-size: 0;
    width: 88px;
    height: 88px;
    border: none;
}

.navig .slick-prev {
    background-color: #E5DBBF;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='10' height='18' viewBox='0 0 10 18' transform='rotate(180)' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.625 2.25L8.375 9L1.625 15.75' stroke='%233A3A3C' stroke-width='3.24886' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e ");
    background-repeat: no-repeat;
    background-position: 50% 54%;
}

.navig .slick-prev:hover {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='10' height='18' transform='rotate(180)' viewBox='0 0 10 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.625 2.25L8.375 9L1.625 15.75' stroke='white' stroke-width='3.24886' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");background-repeat: no-repeat;background-position: center center;
    background-repeat: no-repeat;
    background-color: #7C6362;
    background-position: 50% 54%;
}

.navig .slick-prev.slick-disabled {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0)'%3e%3cg filter='url(%23filter0_d)'%3e%3cpath d='M15.375 5.25L8.625 12L15.375 18.75' stroke='%23E5DBBF' stroke-width='3.24886' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter id='filter0_d' x='3.00058' y='3.62555' width='17.9989' height='24.7489' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0'/%3e%3cfeOffset dy='4'/%3e%3cfeGaussianBlur stdDeviation='2'/%3e%3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0'/%3e%3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow'/%3e%3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow' result='shape'/%3e%3c/filter%3e%3cclipPath id='clip0'%3e%3crect width='24' height='24' fill='white' transform='matrix(-1 0 0 1 24 0)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e ");
    background-repeat: no-repeat;
    background-position: 50% 54%;
    background-color: #F9F6F0;;
}

.navig .slick-next {
    background: #E5DBBF;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8.625 5.25L15.375 12L8.625 18.75' stroke='%233A3A3C' stroke-width='3.24886' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e ");
    background-repeat: no-repeat;
    background-position: 50% 54%;
}

.navig .slick-next:hover {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='10' height='18' viewBox='0 0 10 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.625 2.25L8.375 9L1.625 15.75' stroke='white' stroke-width='3.24886' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");background-repeat: no-repeat;background-position: center center;
    background-repeat: no-repeat;
    background-position: 50% 54%;
    background-color: #7C6362;
}

.navig .slick-next.slick-disabled {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='24' viewBox='0 0 24 24' transform='rotate(180)' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0)'%3e%3cg filter='url(%23filter0_d)'%3e%3cpath d='M15.375 5.25L8.625 12L15.375 18.75' stroke='%23E5DBBF' stroke-width='3.24886' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter id='filter0_d' x='3.00058' y='3.62555' width='17.9989' height='24.7489' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0'/%3e%3cfeOffset dy='4'/%3e%3cfeGaussianBlur stdDeviation='2'/%3e%3cfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0'/%3e%3cfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow'/%3e%3cfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow' result='shape'/%3e%3c/filter%3e%3cclipPath id='clip0'%3e%3crect width='24' height='24' fill='white' transform='matrix(-1 0 0 1 24 0)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e ");
    background-repeat: no-repeat;
    background-position: 50% 54%;
    background-color: #F9F6F0;
}



.slider-background {
    position: absolute;
    z-index: -1;
    height: 100%;
}

.slider-pic {
    height: 100%;
    object-fit: cover;
}

.slider {
    height: 680px;
}

.slider-title {
    color: white;
    padding-top: 240px;
    padding-bottom: 16px;

}

.slider-subtitle {
    color: white;
    padding-bottom: 48px;
    font-size: 18px;
}

.slider-intro-button {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    padding: 16px 24px;
    border: 1px solid #E5DBBF;
    box-sizing: border-box;
    border-radius: 4px;
    transition: all .4s ease;
}

.slider-intro-button:hover, .slider-intro-button:focus, .slider-intro-button:active {
    background-color: #FFFFFF;
    color: #7C6362;
}


/* Slider styles end */

/* Who styles start */

.who {
    padding-bottom: 76px;
}

.who-title {
    padding-top: 88px;
    padding-bottom: 24px;
    position: relative;
    font-size: 40px;
    line-height: 48px;
}

.who-title:after {
    content: '';
    width: 88px;
    position: absolute;
    left: 0;
    bottom: 1px;
    border-width: 0 0 2px;
    border-style: solid;
    color: #5D413D;
}

.who-section-pic-text {
    display: flex;
    padding-top: 40px;
}

.who-photo-pic {
    border-radius: 4px;
    flex-shrink: 0;
}

.who-photo-icon {
    border-radius: 4px;
    box-shadow: 12px 12px #E5DBBF; 
    
    
}

.who-text {
    padding-left: 36px; 
}

.who-text1 {
    padding-top: 24px;
    padding-bottom: 16px;
    font-size: 16px;
    line-height: 24px;
}

.who-text2 {
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 48px;
}

.who-button {
    text-decoration: none;
    padding-left: 24px;
    border: 1px solid #E5DBBF;
    box-sizing: border-box;
    border-radius: 4px; 
    padding: 16px 24px 16px 16px;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    color: #7C6362;
    transition: all .4s ease;
}

.who-button:hover, .who-button:focus, .who-button:active {
    background-color: #7C6362;
    color: #FFFFFF;
}
/* Who styles end */

/* Services styles start */
.services {
    background-color: #F9F6F0;
}

.services-header {
    display: flex;
    justify-content: space-between;
    padding-top: 64px;
}

.kind-services {
    font-size: 40px;
    line-height: 48px;
    padding-bottom: 24px;
    position: relative;
}

.kind-services:after {
    content: '';
    width: 88px;
    position: absolute;
    left: 0;
    bottom: 1px;
    border-width: 0 0 2px;
    border-style: solid;
    color: #5D413D;
}

.all-services-href {
    padding-top: 12px;
}

.all-services {   
    color: #5D413D;
    text-decoration: none;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    transition: all .4s ease;
   
}

.all-services:hover {
    border-bottom: 1px solid #5D413D;
}

/* Grid styles start */
.services-grid {
    padding-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit,424px);
    grid-gap: 24px;
    justify-content: center;
    padding-bottom: 88px;
}

.services-card {
    width: 424px;
    height: 282px;
}

.services-card:hover .text-1  {
    border-bottom: 1px solid #5D413D;
} 

.services-card:hover .text-2  {
    border-bottom: 1px solid #FFFFFF;
} 

.services-card-fiz {
    background: #E5DBBF;
    border-radius: 4px;
    
}

.wrapper-card {
    max-width: 360px;
    margin: 32px 32px auto 32px;
}

.services-card-legal {
    background: #5D413D;
    border-radius: 4px;
}

.services-card-questions {
    background: #FFFFFF;
    border-radius: 4px;
}

.fiz-face {
    text-decoration: none;
    font-size: 12px;
    line-height: 16px;
    font-weight: bold;
    color: #7C6362;
    border: 1px solid #B2A889;
    box-sizing: border-box;
    border-radius: 4px;
    width: 161px;
    padding: 8px 16px;
}

.text-1 {
    color: #3A3A3C;
    text-decoration: none;
}

.text-h4 {
    padding-top: 32px;
}

.text-fiz {
    padding-top: 8px;
}

.text-2 {
    color: #FFFFFF;
    padding-top: 32px;
    text-decoration: none;
}

.legal-face {
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
    color: #B2A889;
    border: 1px solid #7C6362;
    box-sizing: border-box;
    border-radius: 4px;
    width: 170px;
    padding: 8px 16px;
}

.text-legal {
    padding-top: 8px;
    color: #E5DBBF;
}

.text-questions {
   padding-top: 8px;
   padding-bottom: 90px;
}

.order {
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    color: #7C6362;
    border: 1px solid #E5DBBF;
    box-sizing: border-box;
    border-radius: 4px;
    padding: 16px 64px;
    transition: all .4s ease;
}

.order:hover, .order:focus, .order:active {
    background-color: #7C6362;
    color: #FFFFFF;
}
/* Grid styles end */
/* Services styles end */

/* News styles start */
.news {
    background-color: #F9F6F0;
}

.news-header {
    display: flex;
    justify-content: space-between;
}

.news-title {
    font-weight: bold;
    font-size: 40px;
    line-height: 48px;
    position: relative;
    padding-bottom: 24px;
}

.news-title:after {
    content: '';
    width: 88px;
    position: absolute;
    left: 0;
    bottom: 1px;
    border-width: 0 0 2px;
    border-style: solid;
    color: #5D413D;
}

.all-news {
    padding-top: 12px;
}

.all-news-link {
    color: #5D413D;
    text-decoration: none;
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    transition: all .4s ease;
}

.all-news-link:hover {
    border-bottom: 1px solid #5D413D;
}

/* Grid news styles start */
.wrap-card {
    height: 472px;
    position: relative;
}

.grid-news {
    padding-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit,424px);
    justify-content: center;
    grid-gap: 24px;
    padding-bottom: 88px;
}

.new-card-pic {
    border-radius: 4px;
}

.text-card-title {
    padding-top: 16px;
}

.text-card-link {
    text-decoration: none;
    color: #3A3A3C;
}

.text-card-link:hover {
    border-bottom: 1px solid #3A3A3C;
}

.text-card-subtitle {
    padding-top: 8px;
    max-height: 72px;
    max-width: 360px;
}

.read-next {
    position: absolute;
    color: #5D413D;
    left: 0;
    bottom: 0;
    text-decoration: none;
}

.read-next:hover {
    border-bottom: 1px solid #5D413D;
}

/* Grid news styles end */
/* News styles end */

/* Questions style start */
.questions {
    background-color: #FFFFFF;
}

.question-title {
    padding-top: 64px;
    font-weight: bold;
    font-size: 40px;
    line-height: 48px;
    padding-bottom: 24px;
    position: relative;
}

.question-title:after {
    content: '';
    width: 88px;
    position: absolute;
    left: 0;
    bottom: 1px;
    border-width: 0 0 2px;
    border-style: solid;
    color: #5D413D;
}

.question-subtitle {
    padding-top: 32px;
    padding-bottom: 40px;
    font-size: 18px;
}

.questions-application-wrap {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit,424px);
    grid-gap: 24px;
    padding-bottom: 64px;
    justify-content: center;
}

.title-name {
    padding-bottom: 8px;
}

.input-value {
    width: 424px;
    height: 56px;
    background-color: #F9F6F0;
    border-radius: 4px;
    padding-left: 16px;
    border: none;
}

.input-value:focus {
    border: 1px solid #B2A889;
}

.questions-button {
    width: 424px;
    height: 56px;
    margin-top: 32px;
    background-color: white;
    color: #7C6362;
    font-weight: bold;
    font-size: 18px;
    border: 1px solid #E5DBBF;
    box-sizing: border-box;
    border-radius: 4px;
}

.questions-button:hover {
    background-color: #7C6362;
    color: white;
}

/* Questions style end */
/* Main style end */

/* Footer style start */
.footer {
    background-color: #E5DBBF;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer-title-1column {
    max-width: 424px;
    font-family: 'Playfair Display';
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    color: #3A3A3C;
    padding-bottom: 16px;
}

.footer-links {
    padding-bottom: 24px;
}

.footer-link {
    color: #5D413D;
}

.footer-link-1 {
    padding-bottom: 4px;
}

.footer-link-2 {
    padding-bottom: 4px;
}


.pravo {
    font-size: 12px;
    line-height: 16px;
    max-width: 424px;
    padding-top: 48px;
}

.footer-nav-2column {
    padding-left: 24px;
}

.footer-nav-list-link {
    text-decoration: none;
    color: #5D413D;
}

.footer-nav-list-link:after {
    display: block;
    content: attr(designation);
    font-weight: bold;
    line-height: 90%;
    height: 0;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}

.footer-nav-list-link:hover {
    font-weight: bold;
}

.padding-link {
    padding-top: 16px;
}

.footer-3column {
    padding-left: 136px;
}

.footer-legal {
    padding-top: 16px;
}

.footer-fiz-legal {
    text-decoration: none;
    color: #5D413D;
}

.telefone {
    padding-top: 16px;
    font-weight: bold;
}

.email {
    padding-top: 16px;
    max-width: 198px;
    border-bottom: solid 1px;
}

.footer-end {
    background-color: #7C6362;
}

.wrapper-end {
    height: 40px;
}

.text-end {
    text-align: center;
    color: white;
    font-size: 12px;
    line-height: 16px;
    padding-top: 12px;
}

.overlay {
    background: #000000b1;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    pointer-events: none;
    opacity: 0; 
    
}


/* Services-catalog styles start */
.services-catalog {
    padding-top: 40px;
    background-color: #F9F6F0;
}

.services-p {
    color: #3A3A3C;
    font-size: 12px;
    line-height: 16px;
}

.services-catalog-title {
    position: relative;
    padding-bottom: 24px;
    padding-top: 40px;
}

.services-catalog-title:after {
    content: '';
    width: 88px;
    position: absolute;
    left: 0;
    bottom: 1px;
    border-width: 0 0 2px;
    border-style: solid;
    color: #5D413D;
}



.services-fiz-face-link {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    border: 1px solid #E5DBBF;
    border-radius: 4px;
    background-color: #E5DBBF;
    margin-bottom: 8px;
    max-height: 80px;
}

.h4-a {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
    color: #3A3A3C;
    margin-left: 32px;
    margin-top: 24px;
    margin-bottom: 24px;
   
}

.services-fiz-face-link:hover .h4-a {
    border-bottom: 1px solid #3A3A3C;
}

.link {
    color: #5D413D;
    margin: 28px 32px 28px 0;
}

.services-fiz-face-link:hover .link {
    font-weight: bold;
}

.services-catalog-title-fiz {
    padding-top: 40px;
    padding-bottom: 24px;
}

.services-catalog-title-legal {
    padding-top: 88px;
}

.services-legal-face-div {
    padding-top: 24px;
    padding-bottom: 88px;
}

.services-legal-face-link {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    border: 1px solid #5D413D;
    border-radius: 4px;
    background-color: #5D413D;
    margin-bottom: 8px;
    max-height: 80px;
}

.h4-legal {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
    margin-left: 32px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.services-legal-face-link:hover .h4-legal {
    border-bottom: 1px solid #FFFFFF;
}

.link-legal {
    color: #E5DBBF;
    margin: 28px 32px 28px 0;
}

.services-legal-face-link:hover .link-legal {
    font-weight: bold;
}

/* Services-catalog styles end */

/* Main-news styles start */
.main-news {
    padding-top: 40px;
    background-color: #F9F6F0;
}

.main-news-title {
    position: relative;
    padding-bottom: 24px;
    padding-top: 40px;
}    
    
.main-news-title:after {
    content: '';
    width: 88px;
    position: absolute;
    left: 0;
    bottom: 1px;
    border-width: 0 0 2px;
    border-style: solid;
    color: #5D413D;
}

.main-news-grid {
    display: grid;
    padding-top: 40px;
    grid-template-columns: repeat(auto-fit,424px);
    justify-content: center;
    grid-gap: 24px;
}

.download-div {
   text-align: center;
   padding-top: 80px;
   padding-bottom: 104px;
}

.download {
    text-decoration: none;
    font-size: 18px;
    color: #7C6362;
    border: 1px solid #E5DBBF;
    box-sizing: border-box;
    padding: 16px 24px;
    border-radius: 4px;
    font-weight: bold;
    transition: all ease .6s;
}

.download:hover {
    background-color: #7C6362;
    color: #FFFFFF;
}

/* Main-news styles end */

/* Main-about styles start */
.main-about {
    padding-top: 40px;
    background-color: #F9F6F0;
}

.about-p {
    color: #3A3A3C;
}

.main-about-title {
    padding-top: 40px;
    position: relative;
    padding-bottom: 24px;
}

.main-about-title:after {
    content: '';
    width: 88px;
    position: absolute;
    left: 0;
    bottom: 1px;
    border-width: 0 0 2px;
    border-style: solid;
    color: #5D413D;
}

.main-about-pic-text {
    display: flex;
    padding-top: 40px;
}

.about-pic {
    width: 424px;
    height: 552px;
    width: 100%;
}

.about-picture {   
    box-shadow: 16px 16px #E5DBBF;
    border-radius: 4px;     
}

.about-text {
    padding-left: 40px;
}

.about-text-1 {
    padding-top: 24px;
}

.about-text-2, .about-text-3, .about-text-4, .about-text-6 {
    padding-top: 16px;
}

.small {
    width: 856px;
}

.big {
    width: 100%;
}

/* Main-about styles end */

/* Main-contacts styles start */
.main-contacts {
    background-color: #F9F6F0;
}

.contacts-p {
    padding-top: 40px;
    color: #3A3A3C;
}

.main-contacts-title {
    position: relative;
    padding-bottom: 24px;
    padding-top: 40px;
}

.main-contacts-title:after {
    content: '';
    width: 88px;
    position: absolute;
    left: 0;
    bottom: 1px;
    border-width: 0 0 2px;
    border-style: solid;
    color: #5D413D;
}

.main-contacts-map {
    padding-top: 40px;
}

.contacts-grid {
    padding-top: 40px;
    display: grid;
    grid-template-columns: 800px 500px;
    grid-gap: 32px 103px;
}

.contacts-grid h4 {
    padding-top: 16px;
}

.subtitle-grid {
    padding-top: 32px;
    padding-bottom: 88px;
}



/* Main-contacts styles end */

/* Media start */
@media screen and (max-width: 1200px) {

    .hamb {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);   
    }

    .menu_open .hamb {
        transform: translateX(280px) translateY(-50%);   
    }

    .menu_open .hamb span {
        background-color: white;
    }

    .menu_open .overlay {
        transform: translateX(0%);
        opacity: 1;
        pointer-events: all; 
    }

    .menu_open .header-connect {
        left: 0;    
    }

    .menu_open .header {
        background-color: #737373;
        transition: all .3s ease-in-out;
    }

    .header-list {
        display: block;
        position: fixed;
        width: 280px;
        height: 100%;
        top: 70px;
        left: -100%;
        background-color: #F9F6F0;
        transition: all .3s ease-in-out; 
    }

    .menu_open .header-list {
        left: 0;   
    }

    .header-item {
        margin-top: 20px; 
        border-bottom: solid 1px; 
        width: 280px;
        padding-bottom: 20px;
    }

    .header-link, .header-link-main {
        padding-left: 20px; 
    }

    .header-wrapper {
        display: flex;
        height: 100%;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 10px 0;
    }

    .header-logo-name {
        position: relative;
        padding: 0;
        justify-content: center;
        width: auto; 
        transition: all .3s ease-in-out;
    }

    .header-connect {
        position: fixed;
        top: 0;
        left: -100%;
        padding: 10px 0 10px 20px;
        width: 280px;
        background-color: #F9F6F0;
        transition: all .3s ease-in-out;
        z-index: 3;
    }

    .main {
        margin-top: 50px;
       
    }
    
    .footer-3column {
        padding-left: 0;
    }
  
}

@media screen and (max-width: 866px) {
    .services-fiz-face-link {
        display: block;
        max-height: 200px;
    }

    .h4-a {
        margin: 15px 15px 0 20px;
    }

    .link {
        margin: 10px 0 20px 20px;
    }

    .services-legal-face-link {
        display: block;
        max-height: 200px;
    }

    .link-legal {
        margin: 10px 0 20px 20px;
    }

    .h4-legal {
        margin: 15px 0 0 20px;
    }


}



@media screen and (max-width: 768px) {
    .menu_open .header-logo-name {
        transform: translateX(100px);
        transition: all .3s ease-in-out;
    }

    .all-services-href {
        min-width: 107px;
    }

    .footer-nav-2column {
        padding: 0 0 0 5px;
    }

    .footer-contact-4column {
        padding-left: 10px;
    }

    .who-section-pic-text {
        display: block;
    }

    .who h2 {
        padding-top: 20px;
    }

    .who-photo-pic {
        text-align: center;
    }

    .who-button-link {
        text-align: center;
    }
        
}



@media screen and (max-width: 550px) {
    .menu_open .header-logo-name {
        transform: translateX(350px);
        
    }

    .footer-wrap {
        display: block;
        text-align: center;
    } 

    .footer-nav-list {
        padding-top: 15px;
        padding-bottom: 10px;
    }

    .footer-wrap {
        position: relative;
    }

    .footer-subtitle-1column {
        position: absolute;
        bottom: 10px;
        left: 100px;
    }

    .pravo {
        margin-bottom: 20px;
        padding-top: 20px;
    }

    .footer-contact-4column {
        text-align: center;
    }

    .email {
        display: inline;
    }

    .footer-links {
        padding-bottom: 0;
    }

    .questions-application-wrap {
        grid-template-columns: repeat(auto-fit,390px);
    }

    .questions-button {
        width: 390px;
    }

    .input-value {
        width: 390px;
    }

    .grid-news {
        grid-template-columns: repeat(auto-fit, 390px);
    }

    .wrap-card {
        height: 440px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, 390px);
    }

    .services-card {
        width: 390px;
        height: 290px;
    }

    .text-h4 {
        padding-top: 15px;
    }

    .order {
        padding: 16px 43px;
    }

    .kind-services {
        font-size: 35px;
    }
}


@media screen and (max-width: 376px) {
    .footer-legal {
        padding-bottom: 15px;
    }

    .questions-application-wrap {
        grid-template-columns: repeat(auto-fit,360px);
    }

    .questions-button {
        width: 360px;
    }

    .input-value {
        width: 360px;
    }

    .grid-news {
        grid-template-columns: repeat(auto-fit, 360px);
    }

    .wrap-card {
        height: 430px;
    }

    .grid-news {
        grid-gap: 30px;
    }

    .services-card {
        width: 360px;
        height: 290px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, 360px);
    }

    .kind-services {
        font-size: 32px;
        width: 235px;
    }

    .order {
        padding: 16px 32px;
    }

    .header-logo-name {
        width: 230px;
    }

    .header-list {
       top: 60px;
    }
}

@media screen and (max-width: 321px) {
    .footer-subtitle-1column {
        left: 65px;
        
    }

    .questions-application-wrap {
        grid-template-columns: repeat(auto-fit,310px);
    }

    .input-value {
        width: 310px;
    }

    .questions-button {
        width: 310px;
    }

    .grid-news {
        grid-template-columns: repeat(auto-fit, 310px);
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, 310px);
    }

    .services-card {
        width: 310px;
        height: 300px;
    }


    .services-header {
        display: block;
    }


    .who-text {
        padding-left: 5px;
    }

    .order {
        padding: 16px 6px;
    }

    .text-questions {
        padding-bottom: 50px;
    }

    .text-1 {
        font-size: 22px;
        
    }

    .text-fiz {
        font-size: 14px;
    }

    .news-header {
        display: block;
    }

    .text-card-link {
        font-size: 22px;
    }

    .text-card-subtitle {
        font-size: 14px;
    }

    .grid-news {
        padding-bottom: 40px;
    }

    .question-title {
        padding-top: 40px;
    }

    .question-subtitle {
        font-size: 14px;
    }

    .wrap-card {
        height: 400px;
    }
}
   



/* Media end */

