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


@font-face {
    font-family: 'Roboto Flex';
    src: url('../fonts/RobotoFlex.woff2') format('woff2'),
        url('../fonts/RobotoFlex.woff') format('woff');
      font-weight: 100 1000;
      font-style: normal;
      font-display: swap;
}

@font-face {
  font-family: 'Roboto Flex';
  src: url('../fonts/RobotoFlex.woff2') format('woff2-variations');
  font-weight: 100 1000;   /* диапазон */
  font-style: normal;
  font-display: swap;
}


body {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 400;
    position: relative;
    color: var(--text-color);
    font-size: 16px;
}


.header-page {
  background-color: rgba(233, 238, 242, 0.3);
  padding-top: 25px;
  padding-bottom: 25px;
}

.header-page--main {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
}

.header-page .header-page__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-left: 0;
  margin-right: 0;
}

.header-page__col--logo {
  flex-shrink: 0;
}

.header-page__logo-link {
  width: 200px;
  height: 90px;
  display: block;
}

.header-page__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.header-page__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  color: var(--text-color);
  flex-shrink: 0;
}

.header-page__burger-line {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background-color: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-page__backdrop {
  display: none;
}

.header-page__menu {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  /* gap: 24px 40px; */
  min-width: 0;
}

.header-page__nav {
  margin-left: auto;
  margin-right: auto;
}

.header-page__nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-page__nav-link {
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  font-size: 20px;
}

.header-page__nav-link.is-active,
.header-page__nav-link:hover {
  color: var(--accent-color);
  transition: color 0.3s ease-in-out;
}

.header-page__menu-extra {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-page__btn {
  font-family: "Alice", serif;
  font-size: 24px;
  color: var(--accent-color);
  text-decoration: none;
  text-align: right;
  display: block;
}

.header-page__address {
  text-align: right;
  font-family: "Roboto Flex", sans-serif;
  font-size: 16px;
  font-weight: 900;
  font-style: normal;
  color: #505050;
}

@media (max-width: 1023px) {
  .header-page__burger {
    display: flex;
    z-index: 1002;
  }

  .header-page__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 43, 75, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .header-page.is-menu-open .header-page__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header-page__menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: min(100%, 400px);
    max-width: 100%;
    padding: 24px 24px 32px;
    background-color: #fff;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
  }

  .header-page.is-menu-open .header-page__menu {
    transform: translateX(0);
    pointer-events: auto;
  }

  .header-page__nav {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .header-page__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header-page__nav-item {
    border-bottom: 1px solid rgba(42, 127, 98, 0.15);
  }

  .header-page__nav-link {
    display: block;
    padding: 16px 0;
    font-size: 18px;
  }

  .header-page__menu-extra {
    margin-top: auto;
    margin-left: 0;
    padding-top: 28px;
    align-items: flex-start;
    border-top: 1px solid rgba(42, 127, 98, 0.15);
  }

  .header-page__btn {
    text-align: left;
    font-size: 22px;
  }

  .header-page__address {
    text-align: left;
  }

  .header-page.is-menu-open .header-page__burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .header-page.is-menu-open .header-page__burger-line:nth-child(2) {
    opacity: 0;
  }

  .header-page.is-menu-open .header-page__burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header-page__logo-link {
    width: 160px;
    height: 72px;
  }

  .hero {
    padding-top: 120px;
  }
}

body.is-menu-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .header-page__logo-link {
    width: 140px;
    height: 64px;
  }
}


/* hero */

.hero {
  box-sizing: border-box;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding-top: 182px;
  padding-bottom: 60px;
  background-color: rgba(233, 238, 242, 0.3);
}

.hero > .container {
  width: 100%;
}

/* .hero__row {
  display: flex;
  align-items: center;
} */

.hero__col {
  width: calc(100% / 12 * 6 - 30px);
}

.hero__col:first-child {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.hero__image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 30px;
}

.hero__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__subtitle {
  font-weight: 500;
  font-size: 16px;
  margin-top: 20%;
}

.hero__title {
  font-size: 48px;
  line-height: 55px;
  font-weight: 400;
  font-family: 'Alice', serif;
  margin-bottom: 22px;
}

.hero__description {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 42px;
  margin-top: 22px;
}


.wrapper-counters {
  display: flex;
  gap: 40px;
  margin-top: auto;
  justify-self: flex-end;
}

.count-box {}

.count-box__title {
  font-weight: 400;
  font-family: 'Alice', serif;
  font-size: 48px;
  line-height: 55px;
  color: var(--accent-color);
}

.count-box__description {
  font-weight: 500;
  font-size: 20px;
}


.expertise__head {
  text-align: center;
}

.expertise__description {
  font-size: 20px;
  font-weight: 500;
  margin-top: 22px;
}

@media(min-width: 1600px) {
  .hero__image {
    padding-bottom: 110%;
  }
}

/* hero end */


/* expertise */

.expertise__list {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 52px;
  align-items: stretch; 
}

.expertise__item {
  width: calc((100% - (13px * 3)) / 4);
  border-radius: 20px;
  border: 1px solid rgba(42, 127, 98, 0.2);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.card__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-family: 'Roboto Flex', sans-serif;
  text-decoration: none;
  padding: 42px 20px;
  color: var(--text-color);
}

@media(min-width: 1024px) {
  .expertise__item:hover {
    box-shadow: 8px 8px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
  }
}

.card__image {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.card__image img {

}

.card__price {
  margin-top: 20px;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 20px;
  font-family: 'Roboto Flex', sans-serif;
}

.card__title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 20px;
  font-family: 'Roboto Flex', sans-serif;
}

.card__description {
  font-size: 12px;
  font-size: 16px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.card__more {
  margin-top: auto;
  display: inline-block;
  color: var(--accent-color);
  font-weight: 700;
}

.expertise__btn {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* expertise  end*/


/* benefits */

.benefits {
  background-color: rgba(233, 238, 242, 0.3);
}

.benefits__list {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  margin-top: 52px;
  align-items: stretch;
  justify-content: center;
}

.benefits__item {
  box-sizing: border-box;
  width: calc((100% - (38px * 2)) / 3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefits__title {
  text-align: center;
}

.benefits__item-icon {
  width: 70px;
  height: 70px;
  border-radius: 100%;
  background-color: rgba(42, 127, 98, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.benefits__item-title {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 700;
}

.benefits__item-description {
  margin-top: 12px;
  max-width: 400px;
}

/* benefits end */

/* clients slider */

.clients {
  padding-top: 0;
}

.clients__title {
  margin-bottom: 52px;
}

.clients-slider__track {
  width: 100%;
}

.clients-slider-shell {
  position: relative;
  overflow: visible;
}

.clients-slider-shell .clients-slider__arrow.swiper-button-prev,
.clients-slider-shell .clients-slider__arrow.swiper-button-next {
  position: absolute;
  z-index: 10;
  top: calc(50% - 24px);
  margin-top: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  color: var(--accent-color);
  --swiper-navigation-color: var(--accent-color);
  background-color: transparent;
  outline: none;
  border: none;
}

.clients-slider-shell .swiper-button-prev {
  left: -50px;
  right: auto;
}

.clients-slider-shell .swiper-button-next {
  right: -50px;
  left: auto;
}

.clients-slider {
  position: relative;
  padding: 0 0 48px;
  --swiper-theme-color: var(--accent-color);
  --swiper-navigation-color: var(--accent-color);
  --swiper-navigation-size: 40px;
  --swiper-pagination-color: var(--accent-color);
  --swiper-pagination-bullet-inactive-color: var(--accent-color);
  --swiper-pagination-bullet-inactive-opacity: 0.25;
  --swiper-pagination-bullet-horizontal-gap: 6px;
}

.clients-slider .swiper-pagination {
  bottom: 0;
}

.clients-slider .swiper-wrapper {
  align-items: stretch;
}

.clients-slider .swiper-slide {
  height: auto;
  align-self: stretch;
  display: flex;
  box-sizing: border-box;
  user-select: none;
}

.clients-slide {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 20px 16px;
  border: 1px solid rgba(42, 127, 98, 0.2);
  border-radius: 12px;
  box-sizing: border-box;
}

.clients-slide__img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

@media (max-width: 479px) {
  .clients-slider {
    padding-bottom: 44px;
  }

  .clients-slider-shell .clients-slider__arrow.swiper-button-prev,
  .clients-slider-shell .clients-slider__arrow.swiper-button-next {
    --swiper-navigation-size: 32px;
    width: 32px;
    height: 32px;
  }
}

/* clients slider end */



/* about section */

.about-section__description {
  margin-top: 20px;
}
.about-section__row {
  align-items: center;
}


.about-section__btn {
  margin-top: 42px;
}


.about-section__col:first-child {
  padding-right: 30px;
}

.about-section__col {
  width: calc(100% / 12 * 6 - 30px);
}

.about-section__col:last-child {
  border-radius: 20px;
  overflow: hidden;
}
.about-section__image {
  /* position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 73%;
  overflow: hidden;
  border-radius: 20px; */
}

.about-section__image img {
  /* position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; */
}

/* about section end */

/* map + contacts */

.map-section__layout {
  position: relative;
}

.map-section__map {
  width: 100%;
}

.map-section__iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  max-height: min(580px, 70vh);
  overflow: hidden;
  border-radius: 20px;
  background-color: rgba(233, 238, 242, 0.5);
}

.map-section__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contacts-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 391px;
  padding: 40px 36px 44px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 8px 8px 50px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(42, 127, 98, 0.12);
}

.contacts-card__title {
  margin: 0;
  padding-bottom: 10px;
  font-family: "Alice", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  color: var(--text-color);
}

.contacts-card__requisites {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
}

.contacts-card .list-contacts.contacts-card__list {
  margin-top: 24px;
  gap: 14px;
}

.contacts-card__list .list-contacts__text {
  font-size: 16px;
  line-height: 1.4;
}

.contacts-card__btn {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 16px 20px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

@media (min-width: 993px) {
  .map-section__layout {
    min-height: 320px;
  }

  .contacts-card {
    position: absolute;
    z-index: 2;
    top: 0px;
    height: 100%;
    right: 120px;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .map-section__inner.container {
    position: relative;
  }
}

@media (max-width: 992px) {
  .map-section__layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .contacts-card {
    position: static;
    z-index: auto;
    max-width: none;
    order: -1;
  }

  .map-section__map {
    order: 1;
  }

  .map-section__iframe-wrap {
    max-height: none;
    min-height: 260px;
  }

  .hero__image img {
    object-fit: contain;
  }
}

/* map + contacts end */

/* footer-page */

.footer-page {
  background-color: #0F2B4B;
  padding-top: 60px;
  padding-bottom: 8px;
}

.footer-page .footer-page__row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-left: 0;
  margin-right: 0;
}

.footer-page .footer-page__col {
  margin-left: 0;
  margin-right: 0;
  min-width: 0;
  flex: 1 1 0;
}

@media (min-width: 993px) {
  .footer-page .footer-page__row {
    flex-wrap: nowrap;
  }

  .footer-page .footer-page__col:first-child {
    flex: 1.5 1 0;
  }

  .footer-page .footer-page__col:nth-child(2),
  .footer-page .footer-page__col:nth-child(3) {
    flex: 1 1 0;
  }

  .footer-page__description {
    max-width: 380px;
  }
}

.footer-page__logo img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
}

.footer-page__description {
  color: #fff;
  margin-top: 24px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.5;
  max-width: 320px;
}

.footer-page__nav {
  padding-top: 4px;
}

.list-contacts--light {
  margin: 0;
}

.list-contacts--light .list-contacts__text {
  color: #fff;
  transition: color 0.22s ease;
}

.list-contacts--light .list-contacts__item {
  transition: transform 0.22s ease;
}

.list-contacts--light .list-contacts__item:hover {
  transform: translateX(5px);
}

.list-contacts--light a.list-contacts__text:hover {
  color: var(--accent-color);
}

.list-contacts--light .list-contacts__item:hover .list-contacts__text:not(a) {
  color: rgba(255, 255, 255, 0.88);
}

.list-contacts--light a.list-contacts__text:focus-visible {
  color: var(--accent-color);
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-page__nav-link {
  display: inline-block;
  position: relative;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-page__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 1px;
  background-color: var(--accent-color);
  transition: width 0.25s ease;
}

.footer-page__nav-link:hover {
  color: var(--accent-color);
}

.footer-page__nav-link:hover::after {
  width: 100%;
}

.footer-page__nav-link:focus-visible {
  color: var(--accent-color);
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer-page__nav-link:focus-visible::after {
  width: 100%;
}

.footer-page__nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-page .list-contacts--light {
  padding-top: 4px;
}

.footer-page .list-contacts--light .list-contacts__item {
  align-items: flex-start;
}

.footer-page .list-contacts--light .list-contacts__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-page__copyright {
  margin-top: 56px;
  font-size: 14px;
  line-height: 1.45;
  padding: 16px 0 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 992px) and (min-width: 577px) {
  .footer-page .footer-page__row {
    flex-wrap: wrap;
    row-gap: 40px;
    column-gap: 28px;
  }

  .footer-page .footer-page__col:first-child {
    flex: 1 1 100%;
  }

  .footer-page .footer-page__col:nth-child(2),
  .footer-page .footer-page__col:nth-child(3) {
    flex: 1 1 calc(50% - 14px);
  }

  .footer-page__description {
    max-width: 42rem;
  }
}

@media (max-width: 576px) {
  .footer-page {
    padding-top: 48px;
    padding-bottom: 4px;
  }

  .footer-page .footer-page__row {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 36px;
  }

  .footer-page .footer-page__col {
    flex: 1 1 auto;
    width: 100%;
  }

  .footer-page__logo img {
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-page__col:first-child {
    text-align: center;
  }

  .footer-page__description {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .footer-page__nav {
    padding-top: 0;
  }

  .footer-page__nav-list {
    align-items: center;
  }

  .footer-page .list-contacts--light {
    padding-top: 0;
    align-items: center;
  }

  .footer-page .list-contacts--light .list-contacts__item {
    justify-content: center;
    text-align: left;
    max-width: 100%;
  }

  .footer-page .list-contacts--light .list-contacts__text {
    flex: 0 1 auto;
  }

  .footer-page__copyright {
    margin-top: 40px;
    font-size: 12px;
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* footer-page end */




/* media queries */

@media (max-width: 1200px) {
	.expertise__item {
    width: calc((100% - 13px) / 2);
  }

  .benefits__item {
    width: calc((100% - 38px) / 2);
  }

  .header-page__nav-list {
    gap: 15px;
  }

  .hero__btn {
    margin-bottom: 30px;
  }


  .hero__col:first-child {
    max-width: 700px;
  }
}


@media (max-width: 992px) {


  .about-section__row {
    flex-direction: column-reverse;
  }

  .about-section__col {
    width: calc(100% / 12 * 12 - 30px);
  }

  .about-section__col:first-child {
    margin-top: 35px;
  }

	.expertise__item {
    width: calc((100% - 13px) / 2);
  }

  .hero {
    position: relative;
  }

  .hero__col:first-child {
    flex: 1 1 100%;
    position: relative;
    z-index: 1;
  }

  .hero__col:last-child {
    position: absolute;
    inset: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    z-index: 0;
    pointer-events: none;
  }

  .hero__col:last-child .hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 0;
    border-radius: 24px;
  }

  .hero__col:last-child .hero__image img {
    opacity: 0.1;
    object-fit: cover;
    object-position: center center;
  }

  .hero__subtitle {
    margin-top: 0;
  }
}


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

  .benefits__item {
    width: 100%;
  }

  .hero__description,
  .count-box__description {
    font-size: 18px;
  }

  .count-box__title{
    font-size: 40px;
  }
}




/* Страница 404 */
.error-404 {
  position: relative;
  padding-top: 80px;
  padding-bottom: 100px;
  background: linear-gradient(
    180deg,
    rgba(233, 238, 242, 0.55) 0%,
    #fefefe 55%
  );
  overflow: hidden;
}

.error-404::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  transform: translate(-50%, -48%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(42, 127, 98, 0.08) 0%,
    rgba(42, 127, 98, 0) 70%
  );
  pointer-events: none;
  z-index: 0;
}

.error-404 .container {
  position: relative;
  z-index: 1;
}

.error-404__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.error-404__code {
  margin: 0;
  font-family: "Alice", serif;
  font-weight: 400;
  font-size: clamp(96px, 20vw, 168px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--accent-color);
  text-shadow: 0 8px 48px rgba(42, 127, 98, 0.22);
}

.error-404__lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  color: #505050;
  max-width: 100%;
}

.error-404__btn {
  margin-top: 12px;
  min-width: 220px;
}

@media (max-width: 992px) {
  .error-404 {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .error-404__lead {
    font-size: 18px;
  }
}

/* Текстовые страницы (согласие на обработку данных и т.п.) */
.legal-page {
  padding-top: 60px;
  padding-bottom: 100px;
  background: linear-gradient(
    180deg,
    rgba(233, 238, 242, 0.45) 0%,
    #fefefe 35%
  );
}

.legal-page__article {
  max-width: 760px;
  margin: 0 auto;
}

.legal-page__title {
  margin-bottom: 16px;
  text-align: left;
}

.legal-page__meta {
  margin: 0 0 40px;
  padding: 16px 20px;
  font-size: 17px;
  line-height: 1.5;
  color: #505050;
  background: rgba(42, 127, 98, 0.06);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 10px 10px 0;
}

.legal-page__subtitle {
  margin: 36px 0 14px;
  font-family: "Alice", serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: var(--text-color);
}

.legal-page__subtitle:first-of-type {
  margin-top: 0;
}

.legal-page__article p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-color);
}

.legal-page__article a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page__article a:hover {
  color: #236b54;
}

.legal-page__article .btn-primary {
  color: #fff;
  text-decoration: none;
}

.legal-page__list {
  margin: 0 0 16px;
  padding: 0 0 0 22px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-color);
}

.legal-page__list li {
  margin-bottom: 8px;
}

.legal-page__list li:last-child {
  margin-bottom: 0;
}

.legal-page__note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(42, 127, 98, 0.2);
  font-size: 15px;
  line-height: 1.55;
  color: #505050;
}

.legal-page__back {
  margin-top: 32px;
  margin-bottom: 0 !important;
}

.legal-page__btn {
  min-width: 200px;
}

@media (max-width: 992px) {
  .legal-page {
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .legal-page__subtitle {
    font-size: 22px;
  }

  .legal-page__article p,
  .legal-page__list {
    font-size: 16px;
  }
}

/* Хлебные крошки */
.breadcrumbs {
  margin: 30px 0 50px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  font-family: "Roboto Flex", sans-serif;
}

.breadcrumbs__item:not(:last-child)::after {
  content: ">";
  margin: 0 10px;
  color: #c5c5c5;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
}

.breadcrumbs__link {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 15px;
  font-weight: 500;
}

.breadcrumbs__link:hover {
  color: #236b54;
}

.breadcrumbs__current {
  color: #9a9a9a;
  font-size: 15px;
  font-weight: 400;
}

/* Страница «Услуги» */
.services-page--intro {
  padding-bottom: 140px;
  background: #fefefe;
}

.services-page__title {
  margin-bottom: 20px;
}

.services-page__lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-color);
}

.services-page__catalog .expertise__head {
  margin-bottom: 0;
}

.services-page__cta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
}

.services-page__cta .btn {
  min-width: 220px;
}

@media (max-width: 992px) {
  .services-page--intro {
    padding-top: 36px;
    padding-bottom: 60px;
  }

  .services-page__lead {
    font-size: 18px;
  }

  .services-page__cta {
    margin-top: 36px;
    flex-direction: column;
  }

  .services-page__cta .btn {
    width: 100%;
    max-width: 320px;
  }
}

.services-page__catalog {
  margin-top: 60px;
}

.services-page-ex-title {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.services-page-ex-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background-color: var(--accent-color);
  margin-right: 12px;
}

.services-page-expertise__list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  align-items: stretch; 
}

.services-page-expertise__list .expertise__item {
  width: calc((100% - (30px * 2)) / 3);
}


.list-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.list-badge li {
  padding: 12px 7px;
  background-color: rgba(0, 76, 96, 0.1);
  border-radius: 50px;
  flex-shrink: 0;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 0;
}

.services-page-expertise__list .card__description {
  margin-top: 20px;
}


@media(max-width: 992px) {
  .services-page-expertise__list .expertise__item {
    width: calc((100% - (30px * 1)) / 2);
  }
}

@media(max-width: 768px) {
  .services-page-expertise__list .expertise__item {
    width: 100%;
  }
}


/* service-detailed */


.service-detailed__title {
  margin-bottom: 20px;
}

.service-detailed__label {
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 32px;
}

.service-detailed__row {
  justify-content: space-between;
}

.service-detailed__col:first-child {
  width: calc(100% / 12 * 6.5 - 30px);
}

.service-detailed__col:last-child {
  width: calc(100% / 12 * 5 - 30px);
}

.service-detailed__subtitle {
  font-weight: 700;
  font-size: 20px;
}

.service-detailed__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.service-detailed__list li {
  font-weight: 500;
  font-size: 16px;
  display: flex;
}

.service-detailed__list li::before {
  content: '';
  width: 24px;
  height: 24px;
  display: inline-block;
  background-image: url('../image//check.svg');
  margin-right: 12px;
  flex-shrink: 0;
}

.service-detailed__list-price {
  margin-top: 12px;
}

.service-detailed__list-price li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  gap: 10px;
  border-bottom: 1px solid #C4C4C4;
}

.service-detailed__list-price__label {
  font-weight: 500;
  font-size: 16px;
}

.service-detailed__list-price__value {
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-color);
  flex-shrink: 0;
}

/* service-detailed end */

/* documents */

.documents {
  margin-top: 30px;
}

.documents__title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}

.documents__description {
  font-size: 16px;
  font-weight: 500;
}

.form-block--service {
  gap: unset;
}

.form-block__title {
  font-size: 20px;
  font-weight: 700;
}

.form-block__label {
  margin-top: 12px;
  margin-bottom: 30px;
}

.form-main__privacy {
	text-align: center;
}


@media(max-width: 1200px) {
  .form-block--service {
    padding: 20px;
  }
}

@media(max-width: 992px) {
  .service-detailed__col:first-child {
    width: calc(100% / 12 * 12 - 30px);
  }
  
  .service-detailed__col:last-child {
    width: calc(100% / 12 * 12 - 30px);
    margin-top: 30px;
  }

  .service-detailed__col .consultation-form {
    width: 100%;
  }

  .service-detailed__col .form-main__privacy {
    text-align: center;
  }

  .form-block--service {
    flex-direction: column;
  }
  
}

@media (max-width: 576px) {
  .service-detailed__list-price li {
    flex-direction: column;
    gap: 5px;
  }
}

/* documents end */


/* modal */

.hystmodal__conten {
  position: relative;
}

.hystmodal__content .form-main__privacy {
    text-align: center;
 }

.hystmodal__content.is-sent .form-popup__intro,
.hystmodal__content.is-error .form-popup__intro {
  display: none;
}

.hystmodal__close--form {
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 20px;
  right: 30px;
  width: 30px;
  height: 30px;
}


/* modal end */

.sub-description {
  margin: 20px 0;
}


@media(max-width:992px) {
  /* Хлебные крошки */
  .breadcrumbs {
    margin: 0px 0 30px;
  }
}