* {
    font-family: "Noto Serif", serif;
}
a:link, a:visited {
    color: #630000;
}
p {
    font-size: 16px;
    font-family: "Noto Serif", serif;
    margin-bottom: 10px;
}
.section-content p {
    text-indent: 40px;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 20px;
}
.section-content img {
    max-width: 100%;
    margin: 20px auto 20px;
}
header {
    background-color: #000000;
    position: relative;
}
header::after {
    content: "";
    position: absolute;
    width: calc((100% - 1340px) / 2);
    height: 36px;
    background-color: #b1b1b1;
    right: 0;
    bottom: 1px;
}
.container {
    max-width: 1340px;
    padding: 0 15px;
    margin: 0 auto;
}
header .container {
    display: flex;
    justify-content: space-between;
}
.logo-outer {
    overflow: hidden;
    padding-left: 13px;
    padding-right: 13px;
    z-index: 10;
}
.logo {
    background-color: #fff;
    display: flex;
    font-family: "Noto Serif", serif;
    flex-direction: row;
    width: 235px;
    text-decoration: none;
    padding: 5px 0 5px 10px;
    position: relative;
    transition: all 0.4s;
}
.logo:before, .logo::after {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
}
.logo:before {   
    right: -13px;
    top: 0px;  
    border-width: 97px 14px 0 0;
    border-color: #FFFFFF transparent transparent transparent;
    transform: rotate(0deg);
}
.logo:after {
    top: -3px;
    left: -13px;
    border-width: 0 0 98px 14px;
    border-color: transparent transparent #FFFFFF transparent;
    transform: rotate(0deg);
}
.logo-img {
    height: 84px;
    width: 84px;
    margin: 0 auto;
    transition: all 0.4s;
}
.logo-company {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #000;
    padding-top: 5px;
    transition: all 0.4s;
}
.logo-bureau {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    transition: all 0.4s;
}
.logo-name {
    font-size: 16px;
    font-weight: 400;
    margin-top: 1px;
    transition: all 0.4s;
}
.main-menu {
    background-color: #b1b1b1;
    position: relative;
    margin-top: 8px;
}
.main-menu:after {
    top: -1px;
    left: -13px;
    border-width: 0 0 37px 14px;
    border-color: transparent transparent #b1b1b1 transparent;
    transform: rotate(0deg);
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
}
.main-menu ul {
    display: flex;
}
.main-menu a {
    padding: 10px 20px;
    display: block;
    color: #000000;
    text-decoration: none;
}
.home {
    background-image: url(../img/sections/home.jpg);
    background-color: #18120b;
    padding: 0;
    border-bottom: 40px solid #efefef;
    min-height: 245px;
    background-size: 100% auto;
}
#advantages {
    background-image: url(../img/sections/advantages.jpg);
    background-size: cover;
    background-position: center; 
}
.phone-header {
    font-family: 'Nunito', sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    line-height: 40px;
}
.phone-header:link {
    color: #ffffff;
}
.consult-button {
    padding: 3px 20px 3px 20px;
    transition: background ease 0.5s;
    background-color: #630000;
    color: #fff;
    border: #630000;
    text-transform: uppercase;
    line-height: 39px;
    display: block;
    float: left;
    text-decoration: none;
    height: 40px;
    font-family: "Vollkorn", serif;
    font-size: 16px;
    box-sizing: border-box;
    padding: 3px 20px 3px 20px;
}
.consult-button:visited {
    color: #ffffff;
}
.button-asymmetric {
    position: relative;
    line-height: 37px;
    margin: 0 auto;
    float: none;
}
.button-asymmetric:before, .button-asymmetric:after {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
}
.button-asymmetric:before {
    right: -9px;
    top: 0px;
    border-width: 40px 9px 0 0;
    border-color: #630000 transparent transparent transparent;
    transform: rotate(0deg);
}
.button-asymmetric:after {
    top: 0px;
    left: -9px;
    border-width: 0 0 40px 9px;
    border-color: transparent transparent #630000 transparent;
    transform: rotate(0deg);
}
.consult-button img {
    width: 28px;
    height: 28px;
    margin-top: 3px;
    margin-right: 5px;
    float: left;
}
.right-top {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
}
.lang-menu {
    border: 2px solid #630000;
    height: 40px;
    padding: 5px 19px 5px 38px;
    background-position: 6px 5px;
    background-size: 26px;
    background-repeat: no-repeat;
    box-sizing: border-box;
    line-height: 27px;
    background-image: url(../img/language.svg);
    cursor: pointer;
    position: relative;
    transition: background ease 0.5s;
    z-index: 10;
}
.lang-menu a:link, .lang-menu span {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}
.lang-hidden {
    width: 40px;
    line-height: 40px;
    display: none;
    background: #630000;
    height: 40px;
    position: absolute;
    bottom: -40px;
    left: -2px;
    padding-left: 41px;
    z-index: 3;
}
.search-header {
    background-image: url(../img/search.svg);
    width: 36px;
    height: 36px;
    margin-top: 4px;
}
.home-intro {
    min-width: 30%;
}
.home-intro h1 {
    color: #fff;
    font-size: 32px;
    text-transform: uppercase;
    font-family: "Noto Serif", serif;
    font-weight: 600;
    position: relative;
    text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
}
.home-intro p {
    color: #fff;
    font-size: 20px;
    margin-top: 33px;
    text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
    padding-right: 20px;
}
.home .container {
    display: flex;
    align-items: center;
}
.underline-left:after {
    height: 3px;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 10px auto 10px 0px;
    width: 90px;
    background: #fff;
}
.home-img {
    width: 417px;
}
.home-person {
    padding-bottom: 0px;
    min-width: calc(70% - 30px);
    margin-left: 30px;
    background-color: #efefef;
    position: relative;
    display: flex;
    align-items: center;
}
.home-person:before {
    border-width: 0 0 520px 60px;
    left: -60px;
    border-color: transparent transparent #efefef transparent;
}
.home-person:after {
    border-width: 520px 60px 0 0;
    right: 357px;
    top: 0px;
    border-color: #efefef transparent transparent transparent;
}
.home-person:before, .home-person:after {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-style: solid;
    transform: rotate(0deg);
}
.home-about h2 {
    font-size: 28px;
    color: #000;
    text-shadow: none;
}
section h2 {
    font-weight: 400;
    text-align: center;
    font-size: 36px;
    font-family: "Noto Serif", serif;
    position: relative;
    margin-bottom: 40px;
}
#advantages h2 {
    color: #ffffff;
    text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
}
.white, .gray, .black {
    padding: 60px 0;
}
.white {
    background-color: #efefef;
}
.gray {
    background-color: #919191;
}
.advantage-item h3 {
    color: #cecece;
    text-decoration: underline;
    font-size: 18px;
    text-transform: uppercase;
    font-family: "Noto Serif", serif;
    text-align: center;
    margin-top: 5px;
}
.advantage-item.swiper-slide {
    display: flex;
    flex-direction: column;
    background: #353535;
    margin-bottom: 25px;
    border: 1px solid #252525;
    box-sizing: border-box;
    padding-top: 10px;
}
.advantage-item img {
    width: 55%;
    margin: 0 auto;
}
.advantage-item p {
    text-align: center;
    text-indent: 0px;
    font-size: 14px;
    margin: 10px;
    color: #ffffff;
}
.home-about h2:after, .home-contact h2:after, h2.section-title:after {
    background: #630000;
}
.home-about p {
    text-align: justify;
    font-size: 19px;
}
section h2:after, h1:after, .contacts-subtitle:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 10px auto;
    width: 90px;
    height: 4px;
    background: #fff;
}
.socials-header {
    color: #630000;
    margin-top: 17px;
    text-align: center;
    width: 100%;
    display: block;
}
.home .socials {
    text-align: center;
    margin-top: 10px;
}
.socials li {
    display: inline-block;
    overflow: hidden;
}
.socials li a {
    width: 34px;
    height: 34px;
    display: flex;
    margin-left: 4px;
    margin-right: 4px;
    align-items: center;
    justify-content: center;
    transition: all ease 0.3s;
}
.socials li:first-child a {
    margin-left: 0px;
}
.socials li:last-child a {
    margin-right: 0px;
}
.socials-item-fb {
    background-color: #1877f2;
}
.socials-item-fb::before {
    background-image: url(../img/socials/fb.svg);
    width: 28px;
    height: 28px;
}
.socials-item-ln {
    background-color: #0882bd;
}
.socials-item-ln::before {
    background-image: url(../img/socials/ln.svg);
    width: 26px;
    height: 26px;
}
.socials-item-in {
    background-color: #e14a80;
}
.socials-item-in::before {
    background-image: url(../img/socials/in.svg);
    width: 28px;
    height: 28px;
}
.socials-item-vb {
    background-color: #6c3da5;
}
.socials-item-vb:before {
    background-image: url(../img/socials/vb.svg);
    width: 28px;
    height: 30px;
}
.socials-item-tg {
    background-color: #34ace1;
}
.socials-item-tg:before {
    background-image: url(../img/socials/tg.svg);
    width: 28px;
    height: 28px;
}
.socials-item-wa {
    background-color: #48c355;
}
.socials-item-wa:before {
    background-image: url(../img/socials/wa.svg);
    width: 28px;
    height: 28px;
}
.socials li a::before {
    content: " ";
    display: block;
    background-size: cover;
}
.home-contact {
    background: #b1b1b1;
    padding: 30px 0 40px;
    z-index: 1;
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: -40px auto 0;
    bottom: -40px;
}
.home-links {
    margin-top: 20px;
}
.std-button:link, .std-button:visited {
    color: #fff;
}
.std-button {
    background-color: #630000;
    color: #fff;
    border: #630000;
    text-transform: uppercase;
    line-height: 39px;
    display: block;
    float: left;
    text-decoration: none;
    height: 40px;
    font-family: "Vollkorn", serif;
    font-size: 16px;
    box-sizing: border-box;
    padding: 3px 20px 3px 20px;
}
.trans-button {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #630000;
    transition: all ease 0.5s;
}
.home-links .std-button {
    margin-right: 20px;
}
p.subtitle {
    color: #000000;
    font-size: 16px;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
}
.home-contact-conatainer {
    flex-direction: column;
}
.langing-menu {
    width: 100%;
    height: 40px;
    background: #353535;
    z-index: 1;
    margin: -10px auto 0;
    bottom: -40px;
    position: relative;
}
.langing-menu ul {
    display: flex;
    justify-content: center;
}
.langing-menu a {
    color: #ffffff;
    font-size: 20px;
    line-height: 40px;
    padding: 0 20px;
    text-decoration: none;
}
.first-footer {
    background-color: #353535;
    min-height: 100px;
}
.second-footer {
    background-color: #000000;
    width: 100%;
    height: 49px;
}
.second-footer .container {
    display: flex;
    justify-content: space-between;
}
.copyright {
    color: #ffffff;
    font-family: "Noto Serif", serif;
    font-size: 14px;
    padding: 6px 0px;
    line-height: 17px;
}
.copyright a:link {
    color: #b30000;
}
footer .socials {
    margin-top: 7px;
}
footer .socials li a {
    margin-left: 2px;
    margin-right: 2px;
}
.first-footer .container {
    display: flex;
    gap: 40px;
}
.first-footer h4 {
    position: relative;
    color: #ffffff;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-family: "Vollkorn", serif;
    font-weight: 500;
    letter-spacing: 1px;
}
.first-footer h4:after {
    height: 2px;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 10px auto 10px 0px;
    width: 60px;
    background: #630000;
}
.logo-column {
    max-width: 272px;
    padding-top: 1px;
    padding-bottom: 1px;
    display: flex;
    flex-direction: column;
}
.footer-ideology {
    background-color: #000000;
    margin: 0;
    margin-right: 14px;
    padding: 25px;
    border-top: 1px solid #2f2f2f;
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.footer-ideology p {
    font-family: "Noto Serif", serif;
    font-size: 15px;
    line-height: 17px;
    color: #ffffff;
}
.contacts-column, .important-column, .blog-column, .feedback-column {
    padding-top: 40px;
    padding-bottom: 40px;
}
.blog-column a:link, .blog-column a:visited, .important-column a:link,  .important-column a:visited {
    font-size: 14px;
    font-family: "Noto Serif", serif;
    color: #ffffff;
}
.blog-column li, .important-column li {
    margin-bottom: 8px;
}
.contacts-column {
    min-width: 200px;
}
.first-footer .consult-button {
    text-align: center;
    max-width: 180px;
    float: left;
    margin-left: 10px;
    margin-top: 24px;
}
form input, form textarea, form select {
    font-size: 17px;
    background: #ffffff;
    padding: 6px 8px;
    margin-top: 9px;
    width: 100%;
    font-family: "Noto Serif", serif;
    border: 1px solid #818181;
}
.contacts-column h5 {
    font-size: 17px;
    font-family: "Noto Serif", serif;
    padding-left: 23px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 19px 19px;
    color: #ffffff;
}
.footer-phone h5 {
    background-image: url(../img/footer/phone.svg);
}
.footer-mail h5 {
    background-image: url(../img/footer/mail.svg); 
}
.footer-adress h5 {
    background-image: url(../img/footer/address.svg);
}
.footer-time h5 {
    background-image: url(../img/footer/time.svg);
}
.footer-contact {
    margin-bottom: 5px;
}
.footer-contact a:link, .footer-contact a:visited, .footer-contact span {
    color: #b1b1b1;
    font-family: "Noto Serif", serif;
    text-decoration: none;
}

.news-items {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.news-item {
    background-color: #353535;
}
.news-item p {
    color: #ffffff;
    margin-top: 22px;
    font-size: 14px;
}
.news-item img {
    width: 100%;
    display: block;
    border: 1px solid;
    box-sizing: border-box;
}
.news-header:link, .news-header:visited {
    color: #cecece;
    position: relative;
}
.news-header, .news-item p {
    padding: 0 10px;
    display: block;
}
.news-header h5:after {
    height: 2px;
    content: '';
    position: absolute;
    left: 10px;
    right: 0;
    top: 100%;
    margin: 10px auto 10px 0px;
    width: 60px;
    background: #630000;
}
.news-img {
    position: relative;
}
.news-img span {
    position: absolute;
    right: 1px;
    bottom: 1px;
    font-family: "Noto Serif", serif;
    background-color: #b1b1b1;
    padding: 4px 15px 4px 10px;
}
.news-details {
    padding-top: 10px;
}
.news-img span:after {
    top: -1px;
    left: -10px;
    border-width: 0 0 25px 10px;
    border-color: transparent transparent #b1b1b1 transparent;
    transform: rotate(0deg);
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
}
#home-news .consult-button, #team .consult-button {
    text-align: center;
}
#home-news .consult-button {
    max-width: 150px;
}
#team .consult-button {
    max-width: 200px;
}
.news-details .std-button {
    border-right: 1px solid #353535;
    border-bottom: 1px solid #353535;
    line-height: 30px;
    height: 33px;
    font-size: 14px;
    padding: 3px 10px 3px 15px;
    float: right;
    position: relative;
}
.news-details .std-button::after {
    top: -1px;
    left: -10px;
    border-width: 0 0 33px 10px;
    border-color: transparent transparent #630000 transparent;
    transform: rotate(0deg);
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
}
.team-items {
    display: flex;
    gap: 20px;
}
.team-item {
    background: #353535;
    border: 1px solid #7d7d7d;
    margin-bottom: 25px;
    display: flex;
    width: 33%;
}
.team-items img {
    max-width: 50%;
    display: block;
}
.person-details {
    position: relative;
    width: 50%;
}
.person-details:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-style: solid;
    transform: rotate(0deg);
    border-width: 0 0 316px 37px;
    right: 0px;
    border-color: transparent transparent #efefef transparent;
}
.person-details h5 {
    background-color: #630000;
    color: #ffffff;
    font-family: "Noto Serif", serif;
    font-size: 22px;
    padding: 10px;
}