@import url("css/bootstrap.min.css");
@import url("css/open-iconic-bootstrap.min.css");
@import url("css/animate.min.css");
@import url("css/jquery.fancybox.min.css");
@import url("css/swiper.min.css");

/*include fonts*/
@font-face {
  font-family: 'montserrat';
  src: url('fonts/montserrat-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'montserrat';
  src: url('fonts/montserrat-semibold-webfont.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'montserrat';
  src: url('fonts/montserrat-extrabold-webfont.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'montserrat';
  src: url('fonts/montserrat-bold-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'montserrat';
  src: url('fonts/montserrat-lightitalic-webfont.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'montserrat';
  src: url('fonts/montserrat-mediumitalic-webfont.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'montserrat';
  src: url('fonts/montserrat-medium-webfont.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --mi-corporate-color: #5a1a2d;
  --mi-color-yellow: #F8C365;
  --mi-container-width: 1500px;
  --mi-section-padding-y: 3rem;
  --mi-section-margin-y: 3rem;
}

body {
  font-family: 'montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--mi-corporate-color);
  background: #F5F5F5;
}

strong {
  font-weight: 700;
}


h1, .h1 {
  font-weight: 700;
  margin: 0 0 1.5rem;
  font-size: 2.25rem;
}

@media(width >= 768px) {
  h1, .h1 {
    font-size: 3.25rem;
  }
}


h2, .h2 {
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mi-corporate-color);
}

@media(width >= 768px) {
  h2, .h2 {
    font-size: 2.25rem;
  }
}

h3, .h3 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.5rem;
}

@media(width >= 768px) {
  h3, .h3 {
    font-size: 1.75rem;
  }
}

p {
  line-height: 1.6;
}

@media (min-width: 900px) {
  .modal-dialog.modal-lg {
    max-width: 1110px;
  }
}

.modal-header {
  border: none;
  padding: 2rem 2rem 1rem 4rem;
}

@media (max-width: 480px) {
  .modal-header {
    padding: 3rem 1rem 1rem 2rem;
  }
h1, .h1 {
    font-size: 1.25rem;
  }
}

.modal-header .close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: url("img/icon/modal_close_button.png") no-repeat;
  padding: 0;
  width: 44px;
  height: 43px;
  margin: 0;
  outline: 0;
}

.modal-header .close span {
  font-size: 3rem;
  color: transparent;
}

@media (max-width: 480px) {
  .modal-header .close {
    right: 10px;
    top: 10px;
  }

  .modal-header .close span {
    border: 2px solid #9f9f9f;
    font-size: 2rem;
    width: 27px;
    line-height: 1.5rem;
    padding: 2px 0 0 0;
  }

}

.modal-body {
  padding: 1rem 4rem 2rem 4rem;
}

@media (max-width: 480px) {
  .modal-body {
    padding: 1rem 2rem 2rem 2rem;
  }
}

.modal-body .picture {
  text-align: justify;
  overflow: hidden;
}

.modal-body .picture img {
  max-width: 100%;
  margin: 10px 0;
}

.modal-title {
  line-height: 2rem;
}

.form-control {
  padding: .8rem .75rem;
  font-size: 1.2rem;
}

.form .form-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 2rem 0 0;
}

.form .form-policy {
  font-size: 0.875rem;
}

.btn {
  border: 2px solid transparent;
  padding: 1.3rem 3.3rem;
  font-size: 1rem;
}

@media (max-width: 480px) {
  .btn {
    padding: .9rem 2.5rem;
  }
}


.btn-primary {
  background-color: #5a1a2d
}

.btn-primary.active, .btn-primary:hover {
  background-color: #4d1726;
  border-color: #4d1726;
}

.btn-outline-primary {
  color: #000;
  background-color: transparent;
  background-image: none;
  border-color: #5a1a2d;
  outline: 0 none
}

.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary.active {
  color: #fff !important;
  background-color: #5a1a2d !important;
  border-color: #5a1a2d !important;
}

.header {
  padding: 1rem 0;
  position: sticky;
  width: 100%;
  background: var(--mi-corporate-color);
  backdrop-filter: blur(10px);
  z-index: 500;
  box-shadow: 0 0 20px rgba(50, 50, 50, 0.3);
  min-width: 320px;
  top: 0;
}

.header__container {
  width: min(var(--mi-container-width), 100% - 2rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 5px 10px;
}


@media (width >= 870px) {
  .header__top {
    flex-direction: row;
  }
}

.header__logo {
  flex-shrink: 0;
}

.header__logo .svg-icon use {
  fill: #fff;
}

.header__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  display: flex;
  gap: 16px;
}

.header__contact a {
  color: #ffffff;
  display: inline-flex;
  position: relative;
  padding: 10px 0;
  line-height: 1;
  align-items: center;
  gap: 8px;
}

.header__contact a:hover {
  color: #ffffff;
  opacity: 0.7;
  text-decoration: none;
}

.header__contact a:hover svg path {
  fill: #FFFFFF;
}

.header__nav {
  display: none;
}

@media (width >= 870px) {
  .header__nav {
    display: block;
  }
}

.main-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2px 20px;
}

.main-menu li {
  font-size: 14px;
}

.main-menu li:last-child {
  padding-right: 0;
}

@media (min-width: 992px) {
  .main-menu li {
    font-size: 14px;
  }
}

.main-menu a {
  color: #ffffff;
  padding: 6px 0;
  display: block;
  text-decoration: none;
  position: relative;
  line-height: 1.4;
}

.main-menu a:after {
  display: block;
  position: absolute;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  content: "";
  transition: width 0.3s ease-out;
}

@media (min-width: 1024px) {
  .main-menu a:hover:after,
  .main-menu a:focus:after {
    width: 100%;
  }
}

.footer .logo svg path {
  fill: #fff;
}

.work-area {
  min-width: 320px;
  min-height: 500px;
}

/*include all styles*/


.section {
  padding: var(--mi-section-padding-y) 0;
  scroll-margin-top: var(--mi-header-computed-height);
}

.section--white {
  background: #fff;
}

.section--ptx2 {
  padding-top: calc(var(--mi-section-padding-y) * 2);
}

.section--mt {
  margin-top: var(--mi-section-margin-y);
}

.section--pb0 {
  padding-bottom: 0;
}

.section__container {
  width: min(var(--mi-container-width), 100% - 1rem);
  margin-inline: auto;  
  background: #F5F5F5;
}

.section__title {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 1024px;
  font-weight: 700;
  text-transform: uppercase;
}

section .subtitle {
  text-align: center;
  margin: 50px 0 30px;
}

@media (max-width: 768px) {
  section .subtitle {
    margin: 20px 0 10px;     
  }
}

section .picture {
  overflow: hidden;
}

section .picture img {
  max-width: 100%;
}

.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature__card {
  background: #C0B6B7;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature__title {
  font-size: 1.25rem;
  margin: 0 0 1.5rem;
}

.feature__icon {
  height: 80px;
  margin: 0 0 2rem;
}

.feature__icon img {
  max-width: 100%;
  max-height: 100%;
}

.feature__description {
  line-height: 1.6;
}

.feature__description p {
  line-height: 1.6;
}

.feature__description p:last-child {
  margin-bottom: 0;
}

.accounting {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  /*margin: 0 10% 0;*/
}

.accounting__card {
  margin-inline: auto;
  display: flex;
  gap: 2rem;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  flex-direction: column;
}

.accounting__card--yellow {
  background: var(--mi-color-yellow);
}

.accounting__icon {
  height: 200px;
  flex-shrink: 0;
  display: none;
}

@media (width >= 768px) {
  .accounting__icon {
    display: block;
  }
}

.accounting__icon img {
  max-width: 100%;
  max-height: 100%
}

.accounting__info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;  
}

.accounting__title {  
  font-size: 1.5rem;
}

.accounting__description {
  line-height: 1.6;
}

.accounting__description p {
  line-height: 1.6;
}

.accounting__description p:last-child {
  margin: 0;
}

.accounting__price {
  font-size: 24px;
  font-weight: 700;  
}

.accounting__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.textmedia {
  display: flex;
  gap: 3rem;
  padding: 3rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  font-size: 20px;
}

@media(width >= 992px) {
  .textmedia {
    flex-direction: row;
  }
}

.textmedia--yellow {
  background: var(--mi-color-yellow);
}

.textmedia__picture {
  width: 100%;
}

@media(width >= 1024px) {
  .textmedia__picture {
    flex: 0 0 30%;
    max-width: 30%;
  }
}

.textmedia__picture img {
  border-radius: 0.5rem;
  max-width: 100%;
}

.textmedia__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.textmedia__text {

}

.textmedia__text h1:first-child {
  margin-top: 0;
}

.textmedia__text h2:first-child {
  margin-top: 0;
}

.textmedia__text h3:first-child {
  margin-top: 0;
}

.service {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.service__card {
  background: #C0B6B7;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service__info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service__title {
  margin: 0;
}

.service__icon {
  width: 80px;
  height: 80px;
}

.service__icon img {
  max-width: 100%;
  max-height: 100%;
}

.service__description {
  line-height: 1.6;
}

.service__description p {
  line-height: 1.6;
}

.service__description p:last-child {
  margin-bottom: 0;
}

.service__price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 0 1.5rem;
  border: 1px solid rgba(90, 26, 45, 0.3);
  padding: 1rem;
  border-radius: 0.3rem;
}

.service__price-value {
  font-size: 22px;
  font-weight: 700;
}

.service__bottom {
  flex-shrink: 0;
}

.service__bottom .btn {
  width: 100%;
}

.partner {
  background: #fff;
}

.partner__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  width: min(var(--mi-container-width), 100% - 2rem);
  margin-inline: auto;
  padding: 4rem 0;
  gap: 1rem;
  background: #F5F5F5;
}

.partner__picture {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.partner__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid #e1e1e1;
}

.partner__name {
  text-align: center;
  color: #520b0b;
  text-transform: uppercase;
  font-weight: 700;
}

.partner__picture img {
  max-width: 100%;
}

.about-list {
  margin-bottom: 30px;
}

.about-list .item {
  margin-bottom: 40px;
}

.solutions {
  background: #fbfbfb;
}

.solutions__desc {
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.solutions__desc img {
  max-width: 100%;
}

.solutions__desc-text a {
  color: #5a1a2d;
}

.solutions__desc-text ul {
  padding: 0 0 0 1rem;
}

.solutions__desc-text ul li {
  margin: 0 0 0.5rem;
}

.solutions-list .item {
  width: 100%;
  text-align: center;
  padding: 30px;
  position: relative;
  cursor: pointer;
}

.solutions .solutions-list .item .link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0
}

.solutions .solutions-list .item .link:hover {
  text-decoration: none;
}

.solutions .solutions-list .item .title {
  color: #5a1a2d;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
  height: 30px;
  overflow: hidden;
  margin: 0 0 20px 0;
}

.solutions .solutions-list .item .picture svg {
  max-width: 100px;
}

.solutions .solutions-list .item .picture svg path {
  fill: #5a1a2d;
}

.solutions .solutions-list .item:hover {
  background: #9f2c19;

}

.solutions .solutions-list .item:hover .title {
  color: #fff;

}

.solutions .solutions-list .item:hover .picture svg path {
  fill: #fff;
}

.projects {
  padding: 0 70px;
  position: relative;
}

@media (max-width: 640px) {
  .projects {
    padding: 0 10px;

  }

}

.projects .item .picture {
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.projects .item .picture img {
  max-width: 100%;
}

.projects .item .description {
  padding: 20px;
}

.projects .item .title {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 10px;
}

.projects .item .text {

}

.projects .swiper-button-prev, .projects .swiper-button-next {
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-color: #e6e6e6;
  background-size: 25px 25px;
  position: absolute;
  top: 50%;
  margin-top: -25px;

}

@media (max-width: 640px) {
  .projects .swiper-button-prev, .projects .swiper-button-next {
    width: 25px;
    height: 25px;
    background-size: 15px 15px;

  }

}

.projects .swiper-button-prev {
  left: 0;

}

@media (max-width: 640px) {
  .projects .swiper-button-prev {
    left: -10px;

  }

}

.projects .swiper-button-next {
  right: 0;

}

@media (max-width: 640px) {
  .projects .swiper-button-next {
    right: -10px;

  }

}


.services-list {
  background-color: #fbfbfb;
  padding: 40px 0 20px;
}

.services-list-description {
  font-weight: 600;
  text-align: center;
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 18px;
}

.services-list .item {
  display: block;
  text-decoration: none;
  color: #000;
  padding: 40px 20px;
  height: 100%;
  cursor: default;
}

@media (min-width: 992px) {
  .services-list .item {
    border-left: 1px solid #e1e1e1;
  }

  .services-list .item-wrap:last-child .item {
    border-right: 1px solid #e1e1e1;
  }
}


.services-list .item:hover {
  background-color: #eeeeee;
}

.services-list .item .name {
  text-align: center;
  color: #520b0b;
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  height: 40px;
  overflow: hidden;
  line-height: 1.1;
  margin: 0 0 10px;
}

.services-list .item .picture {
  text-align: center;

}

.services-list .item .text p {
  line-height: 1.6;
}

.service-detail {
  padding: 0 0 3rem;
}

.service-detail h2 {
  text-transform: uppercase;
  font-size: 2rem;
  color: #000;
  text-align: left;
  letter-spacing: 0;
  margin: 3rem 0 1rem;
}

.service-detail-picture {

}

.service-detail-picture img {
  width: 100%;
}

.service-detail .service-title {
  color: #000;
  text-transform: uppercase;
  font-size: 2rem;
  margin: 2.5rem 0 2rem;
}

.service-detail .table {
  font-size: 1rem;
}

.service-detail .table thead th {
  text-transform: uppercase;
}

.service-detail .table td, .service-detail .table th {
  padding: 1rem .75rem;
}

.service-detail .table tbody th {
  color: #5a1a2d;
}

.service-detail .table p {
  line-height: 1.4;
}

.service-detail .table img {
  max-width: 100%;
}

.service-detail .table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, .03);
}

.projects-table strong {
  font-size: 1.3rem;
}

.projects-table td:first-child {
  color: #999;
}

.gladness {
  padding: 70px 0 10px;
}

@media (max-width: 768px) {
  .gladness {
    padding: 50px 0 10px;
  }
}

@media (max-width: 480px) {
  .gladness {
    padding: 10px 0 10px;
  }
}

.blog-section-list-wrap {
  padding: 50px 0 10px;
  background: #fbfbfb;
}

.blog-section-list {

}

.blog-section-list .item {
  height: 100%;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .blog-section-list .item {
    margin-bottom: 50px;


  }
}


.blog-section-list .picture {
  height: 350px;
}


.blog-section-list .info {

}

.blog-section-list .title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin: 15px 0;
  height: 55px;
  overflow: hidden;
}

@media (max-width: 992px) {
  .blog-section-list .title {
    height: auto;
  }
}


.blog-section-list .title a {
  color: #212121;
}

.blog-section-list .title a:hover {
  color: #5a1a2d;
}

.blog-section-list .more-link {
  margin: 6px 0;
}

.blog-section-list .more-link a {
  color: #5a1a2d;
  border-bottom: 1px dashed #5a1a2d;
  line-height: 1.2;
  text-decoration: none;
}


.career {
  padding: 20px 0 50px;
}

.vacancies .description {
  padding: 0 0 40px 0;
}

.vacancies .tab-content {
  padding: 40px 0 40px 0;
}

.vacancies-list .item {
  margin: 0 0 30px;
}

.vacancies-list .item p {
  margin: 0 0 5px;
}

.vacancies-list .item .picture {
  overflow: hidden;
  height: 100%;
  padding: 10px 0;
}

.vacancies-list .item .text {

}

section.contacts {
  background: #f5f5f5;
  padding: 3rem 0;  
}

section.contacts h3 {
  min-height: 60px;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  section.contacts h3 {
    min-height: auto;
    margin: 20px 0;
  }
}

section.contacts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

section.contacts a {
  color: #512232;
  display: inline-block;
  position: relative;
}

section.contacts a:hover {
  color: #5a1a2d;
  text-decoration: none;
}

section.contacts a:hover svg path {
  fill: #5a1a2d;
}

section.contacts .btn {
  margin-top: 20px;
}

@media (max-width: 480px) {
  section.contacts .btn {
    margin-top: 10px;
  }
}

section.contacts .common-contacts ul {
  font-size: 15px;
}

section.contacts .common-contacts ul li {
  margin: 0 0 15px;
}

section.contacts .common-contacts a {
  padding: 10px 10px 10px 60px;

}

section.contacts .common-contacts svg {  
  width: 38px;
  position: absolute;
  left: 0;
  top: 10px;
}

section.contacts .chief-contacts ul {
  font-size: 15px;
}

section.contacts .chief-contacts ul li {
  margin: 0 0 5px;
}

section.contacts .chief-contacts a {
  padding: 5px 5px 5px 35px;
}

section.contacts .chief-contacts svg {
  width: 20px;
  position: absolute;
  left: 0;
  top: 6px;
}

#resumeModal .modal-title {
  text-align: center;
  width: 100%;
}

#resumeModal .btn-wrap {
  margin: 20px 0 20px;
}

.group-span-filestyle {
  text-align: center;
}

.bootstrap-filestyle {
  flex-direction: column-reverse;
}

.bootstrap-filestyle .form-control {
  display: block;
  text-align: center;
  width: 100%;
  background: transparent;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  border: none;
}

.tab-panel {
  position: fixed;
  width: 370px;
  background: #fff;
  top: 15%;
  left: 0;
  padding: 30px 40px;
  box-shadow: 0 0 20px rgba(50, 50, 50, 0.3);
  -webkit-transform: translate3d(-372px, 0, 0);
  transform: translate3d(-372px, 0, 0);
  transition: -webkit-transform .3s;
  transition: transform .3s;
  transition: transform .3s, -webkit-transform .3s;
  z-index: 100;
}

@media (max-width: 768px) {
  .tab-panel {
    top: 20%;
  }
}

@media (max-width: 480px) {
  .tab-panel {
    width: 300px;
    -webkit-transform: translate3d(-300px, 0, 0);
    transform: translate3d(-300px, 0, 0);
  }


}

@media (max-width: 360px) {
  .tab-panel {
    top: 25%;
  }

}

.tab-panel.active {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

}

.tab-panel.active .tab-panel-toggle:before {
  content: "\2039";

}

.tab-panel-header {
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 2rem;

}

@media (max-width: 640px) {
  .tab-panel-header {
    font-size: 18px;
  }
}

.footer {
  color: #fff;
  background: var(--mi-corporate-color);
  padding: 40px 0 20px;
}

.footer__container {
  width: min(var(--mi-container-width), 100% - 2rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 2rem 3rem;
  flex-direction: column;
}

@media (width >= 992px) {
  .footer__top {
    flex-direction: row;
  }
}

.footer__logo {
  max-width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__logo svg {

}

.footer__logo .svg-icon use {
  fill: #fff;
}

.footer__slogan {
  font-size: 13px;
}

.footer__bottom {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-direction: column;
}

@media (width >= 992px) {
  .footer__bottom {
    flex-direction: row;
    align-items: flex-end;
  }
}

.footer-menu {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  font-size: 14px;
  flex-direction: column;
}

@media (width >= 992px) {
  .footer-menu {
    flex-direction: row;
  }
}

.footer-menu a {
  display: block;
  color: #d8dbe8;
}

.policy-links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  display: flex;
  gap: 0.25rem 1rem;
  flex-wrap: wrap;
}

.policy-links li {
  margin-bottom: 5px;
}

.policy-links a {
  color: #d8dbe8;
  display: inline-block;
  padding: 2px 0 0;
  border-bottom: 1px dashed;
  line-height: 1.2;
  white-space: nowrap;
}

.policy-links a:hover {
  text-decoration: none;
}

.footer-text {
  font-size: 12px;
  max-width: 280px;
  margin: 30px 0 25px;
  display: flex;
  flex-direction: row;  
}

@media (max-width: 768px) {
  .footer-text {
    max-width: 100%;
  }
}

.footer-text .pic {
  margin: 0 10px 0 0;
}

.footer-links ul {
  text-align: right;
  list-style: none;
  margin: 0;
  padding: 0;
}


.page-title {
  text-transform: uppercase;
  color: #5a1a2d;
  font-size: 40px;
  margin: 10px 0 30px;
  line-height: 1.2;
}

.picture_p {
  max-width: 10%;
}

.mf-ok-text {
  color: #339048;
  margin-bottom: 10px;
  font-weight: 700;
}

.checked-list {
  padding: 0;
  list-style: none;
}

ul.checked-list {
  padding: 0;
}

ul.checked-list li {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
}

ul.checked-list li::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url("img/icon/check-icon.png") center/cover no-repeat;
}

.footer-links ul li:first-child a {
  font-weight: 600;
}

/* BREADCRUMB */
.bx-breadcrumb-item a {
  color: #8a8a8a;
}

.footer-links ul a {
  color: #fff;
  display: inline-block;
  padding: 10px;
  white-space: nowrap;
}

.footer-links .gray-list a {
  color: #d8dbe8;
}

.footer__copyright {
  font-size: 13px;
  color: #eeeff1;
}

@media (width >= 992px) {
  .footer__copyright {
    text-align: right;
  }
}


.logo img {
  height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}


nav a {
  text-decoration: none;
  color: #512232;
  font-weight: bold;
}

.grid-3 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(4, 1fr); /* Фиксированно 4 колонки */
}

.card {
  background: #F8C365;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service-card-with-image {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #F8C365;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
}

.cta-section {
  background: #F8C365;
  padding: 80px 20px;
  text-align: justify;
}

.guarantee {
  background: #C0B6B7;
  padding: 60px 20px;
  text-align: justify;
}

.services-section {
  background: #D9D9D9;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--mi-color-yellow);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.icon {
  font-size: 40px;
  color: #512232;
  margin-bottom: 20px;
  text-align: center;
}

.service-container {
  display: flex;
  align-items: center; /* Выравнивание по вертикали */
  gap: 20px; /* Расстояние между картинкой и текстом */
}

.image-container {
  flex: 1; /* Картинка занимает 1 часть пространства */
}

.text-container {
  flex: 3; /* Текст занимает 2 части пространства */
}

/* Herro Section */
.herro {
    background: url('/upload/medialibrary/31c/jl6hu73uqe68sa5l9rdh70phj6n94mca.png');
    background-size: cover;
    background-position: center;
    color: #512232;
    padding: 80px 0;
    text-align: center;
    min-height: 60vh;
}

.herro h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.herro-subtitle {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.95;
}

.herro-meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.meta-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.meta-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.meta-label {
    font-size: 16px;
    opacity: 0.9;
}

.meta-value {
    font-size: 22px;
    font-weight: 600;
}

