@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-main: #5c5454;
  --color-rgb: 0,70,117;
  --color-gray: #dadada;
  --color-dark: #3a3a3a;
  --color-light: #ebebeb;
  --color-accent: #0094C6;
}

::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: var(--color-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: #777;
}

*, *::before, *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.33333;
}

button,
a,
a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

button, input {
  border: none;
}

textarea:focus,
input:focus{
  outline: none;
}

ul, ol {
  list-style: none;
  padding: 0;
}

b, strong, .bold {
  font-weight: 700;
}

small, .small {
  font-size: 65%;
  color: #999;
}

.big {
  font-size: 125% !important;
}

.color-main {
  color: var(--color-main);
}

.hidden {
  display: none;
}

.o-hidden {
  overflow: hidden;
}

.container {
  position: relative;
  max-width: 1400px;
  min-width: 320px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  display: block;
  padding: 70px 0 95px;
}

.section__title {
  position: relative;
  padding-bottom: 20px;
  margin: 20px 0 30px;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.1;
  color: #1e1e1e;
}

.section__title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-accent);
}

.section_wrap {
  padding: 30px 0 0;
}

.section__title_page {
  margin: 0 0 55px;
}

.row {
  display: flex;
  gap: 44px;
}

.row__col {
  display: flex;
  flex-basis: 0;
  flex-grow: 1;
  gap: 44px;
  max-width: 100%;
  align-items: center;
  padding: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.grid_3, .grid_3-1 {
  grid-template-columns: repeat(3, 1fr);
}

.grid_4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid__col {
  padding: 0;
}

@media (min-width: 992px) {
  .grid_reverse .grid__col:first-of-type {
    order: 2;
  }
  .grid_reverse .grid__col:last-of-type {
    order: 1;
  }
  .row__col_right {
    justify-content: end;
    text-align: right;
  }
  .columns {
    columns: 2;
    column-gap: 45px;
  }
}

@media (max-width: 991.9px) {
  .section__title {
    text-align: center;
  }
  .section__title::after {
    left: 50%;
    margin-left: -40px;
  }
  .row {
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
  }
  .row__col {
    flex-basis: auto;
  }
  .row_3-1 {
    flex-direction: column;
  }
  .row_3-1 .row__col {
    width: 460px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .grid, .grid_4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid_3-1 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid_3-1 .grid__col {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .row {
    flex-direction: column;
  }
}

.btn {
  position: relative;
  display: inline-block;
  height: 48px;
  min-width: 268px;
  padding: 4px 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  border: none;
  overflow: hidden;
  color: #fff;
  background-color: var(--color-accent);
  border-radius: 100px;
  margin: 20px 0 30px;
  cursor: pointer;
}

.btn_light {
  background-color: rgba(255, 255, 255, 0.3);
}

.btn span {
  position: relative;
  z-index: 20;
}

.btn::after {
  content: "";
  position: absolute;
  width: 0;
  left: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: width 0.2s ease-out;
  z-index: 10;
}

.btn:hover::after {
  width: 100%;
  transition: width 0.2s ease-out;
}


.breadcrumbs {
  padding: 18px 0;
  font-size: 13px;
  font-weight: 400;
  color: #000;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-gray);
}

.breadcrumbs .container {
  position: relative;
}

.breadcrumbs ul {
  margin: 0;
}

.breadcrumbs ul li {
  display: inline-block;
}

.breadcrumbs ul li:not(:last-of-type) {
  padding-right: 13px;
}

.breadcrumbs ul li + li::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  background: transparent url(../img/icons/right-arrow.svg) center no-repeat;
  background-size: cover;
  position: relative;
  margin-right: 11px;
}

.breadcrumbs li a {
  color: #000;
}

.breadcrumbs li a:hover {
  text-decoration: underline;
}

.breadcrumbs ._active {
  color: var(--color-main);
}

.pagination {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 10px -5px 20px;
}

.pagination__item {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  padding: 0 5px;
  line-height: 1.5;
}

.pagination__item a {
  position: relative;
  display: block;
  padding: 5px;
  line-height: 1.25;
  min-height: 32px;
  min-width: 32px;
  color: #000;
  text-align: center;
  background-color: var(--color-light);
}

.pagination__item a:hover {
  color: var(--color-main);
}

.pagination__item._active a,
.pagination__item._active a:hover {
  color: #fff;
  background-color: var(--color-accent);
}

.header {
  background-color: white;
}

.header__top {
  padding: 8px 0;
  font-size: 14px;
  line-height: 20px;
  color:var(--color-main);
  background-color: #edf7ff;
}

.header__top ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  /*padding-bottom: 20px;*/
  /*border-bottom: 1px solid var(--color-gray);*/
}

.header__top a {
  color: var(--color-accent);
}

.header__top-right {
  display: flex;
  align-items: center;
}

.header__top-right a {
  margin-left: 22px;
}

.header__top-right img {
  width: 20px;
  height: 20px;
}

.header__main {
  position: relative;
}

.header__main .row__col_right {
  display: none;
}

.header .logo {
  display: inline-block;
  margin: 5px 0;
}

.header .logo img {
  display: block;
  width: auto;
  max-width: 85%;
  height: 85px;
}

.header__phones {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  padding: 0;
  z-index: 20;
  font-size: 20px;
}

.header__phones-items {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__messengers {
  display: flex;
  align-items: center;
  /*gap: 10px;*/
}

.header__messengers a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: white;
  background-color: var(--color-accent);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: opacity 0.3s;
}

.header__messengers a:hover {
  opacity: 0.9;
}

.header__messengers svg {
  width: 17px;
  height: 17px;
}

.header__phones .header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: var(--color-accent);
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  color: white;
  white-space: nowrap;
}

.header__phones a:hover {
  opacity: 0.9;
}

.header__phones a + a {
  margin-left: 15px;
}

.header__phones .btn {
  font-size: 12px;
  color: #fff;
  padding: 2px 15px;
  height: 28px;
  line-height: 24px;
  margin-top: 8px;
  min-width: 185px;
}

.header__phones .btn:hover {
  opacity: 0.9;
}

.navbar .header__phones {
  display: none;
}

.header__mobile-phone {
  display: none;
  position: absolute;
  top: 14px;
  right: 64px;
  width: 38px;
  height: 38px;
  background: var(--color-accent) url(../img/icons/phone.svg) center no-repeat;
  background-size: 26px 26px;
  border-radius: 50%;
}

.header__phone-btn {
  color: white;
  padding: 6px 12px;
  background: var(--color-accent);
  border-radius: 100px;
  margin-top: 10px;
}

.header_contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.navbar {
  position: relative;
  top: 0;
  right: 0;
  padding: 0;
  /*margin: 20px 0 0;*/
  border-top: 1px solid #dadada;
  border-bottom: 1px solid #dadada;
  background-color: white;
  z-index: 20;
}

.navbar .navbar__list {
  position: relative;
  display: flex;
  flex: 1;
  justify-content: start;
  gap: 4%;
  padding: 0;
  margin: 0;
}

.navbar__list > li {
  position: relative;
}

.navbar__list a {
  display: block;
  padding: 15px 25px 15px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-main);
  position: relative;
}

.navbar__list > li.menu-item-has-children > a::after,
.navbar__list > li.has-children > a::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c5454' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.navbar__list > li.menu-item-has-children:hover > a::after,
.navbar__list > li.has-children:hover > a::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230094C6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.navbar__list ._active>a,
.navbar__list a:hover {
  color: var(--color-accent);
}

.mobile-social {
  display: none;
  padding: 10px 10px 0;
}

.navbar .mobile-social a {
  display: inline-block;
  color: #fff;
  margin-right: 20px;
  width: auto;
}

.mobile-social img {
  width: 28px;
  height: 28px;
}

.sub-menu {
  position: absolute;
  left: 0;
  top: 48px;
  min-width: 280px;
  padding: 20px 0;
  background-color: #fff;
  border: 1px solid #dadada;
  border-radius: 8px;
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.2);
  visibility: hidden;
  opacity: 0;
  transform: translate(0, 60px);
}

.sub-menu .sub-menu {
  position: absolute;
  left: 100%;
  top: 0;
  transform: translate(20px, 0);
}

.navbar__list >.navbar__catalog {
  position: static;
}


.sub-menu li {
  padding: 0;
  position: relative;
}

.sub-menu li a {
  color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  font-weight: 500;
  padding: 10px 25px;
}

.navbar__catalog:hover>a,
.navbar__catalog._active>a,
body .sub-menu a:hover,
body .sub-menu ._active a {
  background-color: var(--color-accent);
  color: #fff;
}

body .sub-menu li:hover>a {
  background-color: var(--color-accent);
  color: #fff;
}

.sub-menu li.menu-item-has-children > a::after {
  content: '';
  width: 16px;
  height: 16px;
  margin-left: 10px;
  color: var(--color-main);
  flex-shrink: 0;

  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m9 18 6-6-6-6'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.sub-menu li .menu-item-has-children:hover a::after {
  color: #fff !important;
}

.burger {
  position: relative;
  width: 30px;
  height: 20px;
  display: none;
  border: none;
  padding: 0;
  right: 0;
  background-color: transparent;
  cursor: pointer;
}

.burger__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 3px;
  background-color: var(--color-main);
  transform: translateY(-50%);
  transition: opacity 0.3s ease-in-out;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-main);
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, bottom 0.3s ease-in-out;
}

.burger::before {
  top: 0;
}

.burger::after {
  bottom: 0;
}

.burger._active {
  position: fixed;
}

.burger._active .burger__line {
  opacity: 0;
}

.burger._active::before {
  top: 50%;
  transform: rotate(45deg);
}

.burger._active::after {
  bottom: auto;
  top: 50%;
  transform: rotate(-45deg);
}

.no-scroll {
  overflow: hidden;
}

@media (min-width: 992px) {
  .header__main .row__col_right {
    display: flex;
  }
  .navbar__list>li:hover>.sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(1px);
    transition: all 0.4s ease-in-out;
  }
  .sub-menu>li:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-1px);
    transition: all 0.4s ease-in-out;
  }
  .navbar__list ._active a,
  .navbar__list>li:hover a {
    position: relative;
  }
  .navbar__list>._active>a::after,
  .navbar__list>li:hover>a::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    bottom: 8px;
    left: 50%;
    margin-left: -10px;
    background-color: rgba(250, 250, 250, 0.8);
  }
  /* Исключаем пункты с подменю из подчеркивания */
  .navbar__list > li.menu-item-has-children:hover > a::after,
  .navbar__list > li.has-children:hover > a::after,
  .navbar__list > li.menu-item-has-children._active > a::after,
  .navbar__list > li.has-children._active > a::after {
    width: 24px;
    height: 24px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230094C6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%) rotate(180deg);
  }
  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .menu-item-28 .sub-menu {
    /*columns: 2;*/
    column-gap: 0;
    /*min-width: 510px;*/
  }
  .menu-item .sub-menu{
    height: fit-content;
  }
}

@media (max-width: 991.98px) {
  body {
    padding-top: 66px;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 122;
  }
  .header__main {
    height: 66px;
    border-bottom: 1px solid #dadada;
  }
  .header__top,
  .breadcrumbs::before {
    display: none;
  }
  .breadcrumbs {
    background-color: transparent;
    margin-top: -5px;
  }
  .burger {
    display: block;
    position: fixed;
    top: 22px;
    right: 15px;
    z-index: 125;
  }
  .burger._active {
    top: 22px;
  }
  .navbar {
    position: fixed;
    display: block;
    right: 0;
    top: 0;
    margin: 0;
    overflow-y: auto;
    padding: 20px 0;
    width: 100%;
    height: 100vh;
    background-color: #edf7ff;
    transform: translateX(102%);
    transition: transform 0.6s ease-in-out;
    z-index: 124;
  }
  .navbar__list {
    overflow: hidden;
  }
  .navbar__list a {
    color: var(--color-dark);
    font-weight: 400;
    padding-right: 0;
  }
  .navbar__list > li.menu-item-has-children > a::after,
  .navbar__list > li.has-children > a::after {
    display: none;
  }
  .navbar._visible {
    transform: none;
    transition: transform 0.6s ease-in-out;
  }
  .navbar__list {
    flex-direction: column;
  }
  .navbar__list li {
    width: 90%;
    margin: 3px 0 3px 10px;
  }
  .navbar li:not(:last-child) {
    margin-right: 0;
  }
  .navbar li a {
    display: inline-block;
    width: auto;
    padding: 5px 0;
  }
  .header .logo img {
    width: 60px;
    height: 100%;
    /*margin: 10px 0;*/
  }
  .navbar .header__phones {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
    color: var(--color-dark);
  }
  .header__mobile-phone,
  .mobile-social {
    display: block;
  }

  .header_adress {
    font-size: 18px;
  }
  .header_email_link {
    color: var(--color-accent) !important;
  }

  .slider-big__text-header {
    font-size: 24px !important;
  }

  .slider-big__text {
    font-size: 20px !important;
  }

  .slider-big {
    margin-top: 0 !important;
  }

  .promo {
    margin: 40px 0 !important;
  }
}

/* sliders */


.swiper-slide::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(var(--color-rgb),.4);
  z-index: 2;
}

.slider-big .btn {
  margin: 15px 0;
}

.slider-big .btn::after {
  background-color: var(--color-main);
}

.slider-big {
  max-width: 1400px;
  min-width: 320px;
  margin-top: 30px;
  padding: 0;
  height: 520px;
  border-radius: 30px;
}

.slider-big .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  /*background: var(--color-dark);*/
}

.swiper-button-next, .swiper-button-prev {
  color: transparent;
  background: transparent url(../img/icons/right.svg) center no-repeat;
  background-size: 32px 32px;
}

.swiper-button-prev {
  background-image: url(../img/icons/left.svg);
}

.slider-big .swiper-pagination {
  left: 15px;
  text-align: left;
}

.swiper-pagination-bullet {
  width: 24px;
  height: 4px;
  border-radius: 0;
  opacity: 1;
  margin: 0 5px;
  background: rgba(250, 250, 250, 0.4);
}

.swiper-pagination-bullet-active {
  background: var(--color-main);
}

.swiper-slide img {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-big__text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  text-shadow: 2px 3px 20px rgba(0, 0, 0, 0.4);
  padding: 30px 0;
  z-index: 4;
}

.slider-big__text .container {
  display: flex;
  height: 100%;
  align-items: center;
  text-align: left;
  padding: 0 50px;
}

.slider-big__text .container section {
  max-width: 700px;
}

.slider-big__text-header {
  font-size: 125%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight:700;
}

.slider-carousel {
  height: 280px;
  padding: 50px 43px;
}

.slider-carousel .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 10px 20px;
}

.slider-carousel .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.section_gallery {
  background-color: var(--color-light);
  padding: 50px 0;
}

.section_gallery .swiper-button-next {
  background-image: url(../img/icons/right-black.svg);
}

.section_gallery .swiper-button-prev {
  background-image: url(../img/icons/left-black.svg);
}

.section_gallery .swiper-slide {
  padding: 0;
  overflow: hidden;
}

.section_gallery .swiper-slide a {
  display: block;
}

.section_gallery .swiper-slide img {
  max-width: 120%;
  max-height: 120%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.section_partners {
  background-color: var(--color-main);
}

.section_partners .section__title {
  color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 1520px) {
  .section_partners .section__title {
    margin-left: 43px;
  }
  .section_partners .container {
    width: 1488px;
  }
}

.services {
  width: 100%;
  margin: 0 auto;
  background-color: transparent;
}

.services_main {
  background-color: var(--color-light);
}

.services .grid {
  grid-template-columns: repeat(2, 1fr);
  padding: 0 0 25px;
}
.service-item__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.service-item__tags .service-item__tag{
  font-size: 14px;
  padding: 8px 12px;
  background-color: #fff;
  border-radius: 100px;
  color: black;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
  background-color: #F6F6F6;
  border-radius: 30px;
  padding: 20px;
}
.service__item__title{
  font-size: 28px;
  color: #111111;

}
.service__item__link{
  color: white;
  background-color: var(--color-accent);
  border-radius: 100px;
  padding: 10px 30px;
  text-align: center;
  font-size: 20px;
  display: flex;
  align-items: center;
  margin-top: 32px;
  text-transform: none;
  width: fit-content;
  position: relative;
  gap: 8px;
  transition: all 1s ease-in-out;
}
.service__item__link:hover {
  opacity: 0.9 !important;
  transition: opacity 1s ease-in-out;
}

.service__item__link:after{
  content: url("data:image/svg+xml,%0A%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 4L10 8L6 12' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.service__item p {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  letter-spacing: 0.03em;
  padding: 5px 20px;
}
.service__item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s ease-out;
  position: relative;
  border-radius: 20px;
}






.service__item:hover::after {
  background-color: rgba(var(--color-rgb),.75);
}

@media (max-width: 740px) {
  .services .grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}


.promo {
  margin: 80px 0;
  padding: 0;
  position: relative;
}

.promo .grid {
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.promo .grid__col {
  padding: 0;
  margin: 0;
}

.promo__item {
  text-align: left;
}

.promo .section__title {
  margin: 0 0 35px;
}

.promo__text_main .section__title,
.promo__text_dark .section__title {
  color: #fff;
  margin-bottom: 45px;
}

.promo__img {
  /*position: absolute;*/
  /*left: 50%;*/
  /*top: 0;*/
  /*right: 0;*/
  /*bottom: 0;*/
  background: url(../img/01.jpg) center no-repeat;
  background-size: cover;
  border-radius: 20px;
}

.promo__text {
  display: grid;
  color: #000;
  height: 100%;
  padding: 80px 60px 85px 0;
}

.grid_reverse .promo__item:last-of-type .promo__text {
  justify-content: end;
}

.promo__text_main,
.promo__text_dark {
  color: #fff;
  background-color: var(--color-main);
}

.promo__text_dark {
  background-color: var(--color-dark);
}

.promo__text-wrap {
  max-width: 640px;
}

.promo__text p {
  color: #373737;
  margin: 10px 0 0;
  position: relative;
  font-size: 18px;
}

.promo__text_main p,
.promo__text_dark p {
  margin-top: 10px;
  padding-left: 50px;
  position: relative;
  padding-bottom: 10px;
  font-size: 20px;
}

.promo__text_main p::after,
.promo__text_dark p::after {
  content: '';
  display: block;
  position: absolute;
  width: 26px;
  height: 26px;
  top: 0;
  left: -1px;
  background: url(../img/icons/right.svg) center no-repeat;
  background-size: 24px 24px;
}

.wrapper-video {
  position: relative;
  padding-bottom: 42%;
  padding-top: 25px;
  height: 0;
  margin: 5px 0 35px;
}

.wrapper-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.promo .wrapper-video {
  margin: 65px 0 70px;
}

@media (max-width: 990px) {
  .promo .grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .promo__text {
    padding: 50px 15px;
  }
  .promo__text,
  .grid_reverse .promo__text {
    justify-content: space-around;
  }
  .promo__img {
    display: none;
  }
  .promo .wrapper-video {
    margin: 5px 0 65px;
  }
}


.action__item {
  padding: 0 0 0 30%;
  text-align: left;
  margin: 0 0 30px;
  border-radius: 20px;
  border: 1px solid #dadada;
  color: #000;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.action__text {
  padding: 10px 30px 40px;
}

.action__img {
  display: block;
  overflow: hidden;
  position: absolute;
  z-index: 3;
  width: 30%;
  left: 0;
  top: 0;
  bottom: 0;
}

.action__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-out;
}

.action__img:hover img {
  transform: scale(1.1);
}

.action__title {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-main);
  margin: 25px 0 15px;
}

.action__text {
  position: relative;
  z-index: 3;
}

.action__text p {
  margin: 15px 0;
}

.action__text .btn {
  margin: 20px 0 0;
}

@media (max-width: 500px) {
  .action__item {
    padding: 150px 0 0;
  }
  .action__img {
    height: 150px;
    width: 100%;
    right: 0;
    bottom: auto;
  }
  .action__title {
    font-size: 24px;
  }
}

.price {
  margin: 60px 0 0;
}

.price__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-main);
  padding: 0 0 20px;
  margin: 0 !important;
  border-bottom: 1px solid var(--color-gray);
}

.price__subtitle {
  padding: 16px 18px;
  color: #000;
  font-size: 16px;
  background-color: var(--color-light);
}

.price__cta {
  width: 126px;
  text-align: end;
}

.price__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 0;
  gap: 30px;
  font-size: 18px;
  font-weight: 500;
  color: #3a3a3a;
}

.price__item + .price__item {
  border-top: 1px solid var(--color-gray);
}

.price__item_top + .price__item {
  border-top: none;
}

.price__item_top,
.price__code {
  color: #777;
  font-size: 13px;
}

.price__code {
  display: inline-block;
  width: 115px;
}


.price__name .price__code {
  display: block;
}

.price__item .num {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--color-main);
}

.price__item a {
  display: block;
  max-width: 800px;
  padding-left: 15px;
  color: inherit;
}

@media (max-width: 519px) {
  .price__item {
    display: flex;
    font-size: 12px;
    gap: 15px;
    flex-wrap: nowrap;
    flex-direction: row;
  }

  .price__name .price__code {
    font-size: 10px;
    display: flex;
    max-width: 100px;
    flex: 0;
  }
  .price__btn {
    padding: 4px 6px !important;
    font-size: 12px !important;
  }
  .price__actions {
    flex-direction: column;
  }
  .price__item a {
    display: flex;
    flex: 1;
    padding-left: 0;
  }
  .price__name {
    display: flex;
    gap: 15px;
  }
  .price__cta {
    display: none;
  }
}

.price__item a:hover {
  color: var(--color-main);
}

@media (min-width: 520px) {
  .price__item {
    flex-wrap: nowrap;
  }
  .price__name {
    display: inline-block;
    padding-left: 115px;
    position: relative;
  }
  .price__name .price__code {
    position: absolute;
    left: 0;
  }
  .price__fullname {
    padding-left: 15px;
  }
  .price__item .num {
    padding-left: 20px;
  }
}

.text {
  font-size: 16px;
  padding: 0 0 20px;
  text-align: left;
  margin-top: 25px;
}

.text h2, .text h3 {
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 20px;
}

.text h4, .text h5 {
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 12px;
}

.text p {
  font-size: 16px;
  margin: 0 0 22px;
}

.text ul,
.text ol {
  margin: 0 0 22px;
}

.text ul li,
.text ol li {
  position: relative;
  padding: 0 0 10px 24px;
}

.text ul li::before {
  content: '';
  position: absolute;
  display: block;
  left: 0;
  top: 10px;
  width: 12px;
  height: 3px;
  background-color: var(--color-accent);
  opacity: 0.5;
}

.promo__text-wrap ul li,
.promo__text-wrap ol li {
  position: relative;
  padding: 0 0 10px 24px;
}

.promo__text-wrap ul li::before {
  content: '';
  position: absolute;
  display: block;
  left: 0;
  top: 10px;
  width: 12px;
  height: 3px;
  background-color: var(--color-accent);
  opacity: 0.5;
}

.text ol {
  counter-reset: item;
}

.text ol li {
  counter-increment: item;
}

.text ol li:before {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 15px;
  font-weight: 700;
  content: counter(item);
  color: var(--color-accent);
}

.text p a,
.text li a {
  color: #000;
  font-weight: 500;
  text-decoration: underline;
}

.text p a:hover,
.text li a:hover {
  text-decoration: none;
}

.promo .text ul,
.promo .text ol {
  margin-top: 25px;
}

.promo .text ol li:before {
  color: var(--color-light);
}

.promo .text ul li::before {
  background-image: url(../img/icons/right.svg);
}

.text img {
  float: right;
  display: block;
  width: 38%;
  height: auto;
  border-radius: 20px;
  margin: 2px 0 22px 22px;
}

.img-big {
  float: none !important;
  display: block;
  width: 100% !important;
  height: auto;
  margin: 2px 0 30px !important;
}

.img-big + .img-big {
  margin-top: 50px;
}

.docs-list,
.text .docs-list {
  padding: 30px 0 50px;
}

.docs-list__item,
.text .docs-list__item {
  position: relative;
  display: block;
  padding-left: 40px;
  margin-bottom: 25px;
  font-size: 22px;
}

.docs-list__item::before,
.text .docs-list__item::before {
  content: '';
  position: absolute;
  display: block;
  left: -1px;
  top: 0;
  width: 29px;
  height: 40px;
  background: url(../img/icons/file.svg) center top no-repeat;
  background-size: 28px 28px;
}

.docs-list__item a,
.text .docs-list__item a {
  color: var(--color-main);
  font-weight: 500;
}

.docs-list__item a:hover,
.text .docs-list__item a:hover {
  color: #000;
  text-decoration: underline;
}


.block-quote {
  text-indent: 25px;
  color: #000;
  font-size: 125%;
  background: var(--color-light);
  padding: 32px 42px 34px;
  position: relative;
  margin: 0 0 20px;
}

.block-quote::before,
.block-quote::after {
  text-indent: 0px;
  content: '“';
  color: #777;
  font-size: 42px;
  position: absolute;
  top: 20px;
  left: 30px;
}

.block-quote::after {
  content: '„';
  top: auto;
  left: auto;
  right: 30px;
  bottom: 20px;
}

.table table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
}

.table tr:nth-of-type(odd) {
  background: var(--color-light);
}

.table th {
  background-color: var(--color-main);
  color: #fff;
  font-weight: 500;
}

.table td, .table th {
  padding: 10px;
  border: 1px solid var(--color-gray);
  text-align: left;
  font-size: inherit;
}

@media (max-width: 990px) {
  .answer__item {
    padding-left: 40px;
  }
  .page,
  .page__main {
    display: block;
    width: 100%;
  }
  .page__aside {
    display: none;
  }
}

.block404 {
  height: 400px;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 2vw;
  padding: 30px 0;
}

.block404 .color-main {
  font-size: 2.75em;
}

@media (max-width: 991.98px) {
  .block404 {
    font-size: 24px;
  }
  .service__item__title{
    font-size: 20px;
  }
  .service-item__tags .service-item__tag{
    padding: 12px;
  }

}

.banner {
  color: #fff;
  text-align: center;
  padding: 90px 0;
  background: var(--color-dark) url(../img/documents.webp) center fixed no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.banner .container {
  position: relative;
  z-index: 3;
}

.banner .section__title {
  color: #fff;
  text-shadow: 0 1px 2px rgba(255, 255, 255, .6);
}

.banner .section__title .bold {
  display: block;
  margin: 0.25em 0;
}

.banner .section__title .small {
  display: block;
  font-size: 60%;
  font-weight: 400;
  margin-top: 1em;
}

.banner__agree {
  display: block;
  margin: 30px 0;
  font-size: 13px;
}

.contacts {
  margin-bottom: -40px;
}

.contacts p {
  display: flex;
  align-items: flex-end;
  width: 100%;
  margin-bottom: 20px;
}

.contacts p a {
  font-weight: 500;
  color: var(--color-main);
}

.contacts p .bold {
  width: 120px;
}

.map {
  height: 500px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .contacts p .bold {
    width: 230px;
  }
}


.cookie_notification {
  position: fixed;
  color: #fff;
  background-color: rgba(0, 0, 0, .5);
  padding: 20px 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  font-size: 14px;
}

.cookie_notification .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie_notification .btn {
  min-width: 120px;
  padding: 0 10px;
  margin: 0;
}

.cookie_notification a.bold {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 500px) {
  .cookie_notification .container {
    flex-direction: column;
    justify-content: center;
    align-items: start;
    font-size: 13px;
  }
}

.form {
  display: grid;
}

.form .btn {
  margin: 0 0 10px;
}

.form_inline .btn {
  margin: 0;
  width: 100%;
}
.form_inline {
  grid-template-columns: repeat(3,1fr);
  gap: 44px;
  padding-bottom: 35px;
}

.form__group {
  margin: 0 0 20px;
}

.form_inline .form__group {
  margin: 0;
}

.banner .form__group_recaptcha {
  margin-bottom: 30px;
}

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

.input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  background-color: #fff;
  background-image: none;
  border: 1px solid #dadada;
  border-radius: 100px;
  transition: all ease-in-out .15s;
}

textarea.input {
  height: auto;
}

.input:focus {
  border-color: var(--color-main);
}

.banner .input {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .5);
}

.banner .input:focus {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 1);
}

::-webkit-input-placeholder {color: #777 !important; opacity: .8;}
::-moz-placeholder {color: #777 !important; opacity: .8;}
:-moz-placeholder {color: #777 !important; opacity: .8;}
:-ms-input-placeholder {color: #777 !important; opacity: .8;}
.banner ::-webkit-input-placeholder {color: #fff !important; opacity: .8;}
.banner ::-moz-placeholder {color: #fff !important; opacity: .8;}
.banner :-moz-placeholder {color: #fff !important; opacity: .8;}
.banner :-ms-input-placeholder {color: #fff !important; opacity: .8;}
:focus::-webkit-input-placeholder {opacity: 0;}
:focus::-moz-placeholder {opacity: 0;}
:focus:-moz-placeholder {opacity: 0;}
:focus:-ms-input-placeholder {opacity: 0;}

@media (max-width: 991.98px) {
  .form_inline {
    grid-template-columns: repeat(1,1fr);
    gap: 30px;
    max-width: 400px;
    margin: auto;
  }
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 5% 6%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
  z-index: 222;
}

.modal__wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  overflow-y: auto;
  padding: 50px 45px;
  width: 520px;
  max-width: 92%;
  max-height: 95%;
}

.modal__content {
  position: relative;
  color: #000;
  text-align: center;
}

.modal__close-btn {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 36px;
  line-height: 1;
  color: var(--color-dark);
  background: transparent;
  cursor: pointer;
}

.modal__close-btn:hover {
  color: var(--color-main);
}

.modal._show {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.modal__title {
  margin: 0 0 20px;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  color: #000;
}

.form__agree {
  font-size: 13px;
}

.form__agree label {
  padding-left: 22px;
  position: relative;
}

.form__agree label input {
  position: absolute;
  left: 0;
  top: 2px;
}

.form__agree label a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
}

.modal__text {
  font-size: 16px;
}

/* --- Footer --- */
.footer {
  padding: 20px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-main);
  background-color: #f5f6f8;
  border-top: 1px solid #dadada;
  overflow: hidden;
}

.footer .row {
  border-bottom: 1px solid #dadada;
  align-items: flex-start;
}

.footer .row__col {
  padding: 20px 0;
  align-items: flex-start;
}

.footer__logo {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-right: 5px;
}

.footer__social {
  margin: 0 -8px;
  padding: 30px 0;
}

.footer__social a {
  display: inline-block;
  margin: 0 8px;
}

.footer__social img {
  width: 20px;
  height: 20px;
}

.footer .container {
  padding: 25px 15px 10px;
}

.footer__header {
  display: block;
  padding-bottom: 14px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--color-main);
}

.footer__menu {
  display: block;
  margin: 0 0 20px;
  font-size: 14px;
}

.footer__menu li {
  display: block;
  margin-bottom: 7px;
}

.footer a {
  color: var(--color-main);
}

.footer__menu a:hover,
.footer .copyright a {
  text-decoration: underline;
}

.footer__messengers {
  display: flex;
  align-items: end;
  justify-content: end;
  gap: 10px;
}

.footer__messengers .footer__messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: white;
  background-color: var(--color-accent);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: opacity 0.3s;
}

.footer__messengers .footer__messenger:hover {
  opacity: 0.9;
}

.footer__phone {
  margin: 17px 0 0;
  font-size: 18px;
}

.footer__phone a {
  color: white;
  padding: 6px 12px;
  background-color: var(--color-accent);
  border-radius: 100px;
}

.footer__phone + .footer__phone {
  margin-top: 7px;
}

.footer .copyright {
  margin: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.totop {
  position: fixed;
  top: 50%;
  right: -100px;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  background: var(--color-dark) url(../img/icons/arrow-up.svg) center no-repeat;
  background-size: 30px 30px;
  transition: all 0.4s ease;
  opacity: 0.6;
  cursor: pointer;
  z-index: 99;
}

.totop._visible {
  right: 0;
  transition: all 0.4s ease;
}

.totop:hover {
  opacity: 0.8;
}

@media (min-width: 992px) {
  .footer .row__col:last-of-type {
    justify-content: flex-end;
    text-align: right;
  }
  .footer__contacts {
    text-align: right;
  }
}

@media (max-width: 991.98px) {
  .footer .row,
  .footer .row__col {
    display: block;
    align-items: center;
    text-align: center;
  }
  .footer__menu {
    max-width: 600px;
    margin: 0 auto;
  }
  .footer__menu li {
    display: inline-block;
    padding: 3px 5px;
  }
  .footer__contacts .footer__menu li {
    display: block;
  }
  .footer .copyright .row__col {
    padding-bottom: 0;
  }
  .totop {
    width: 40px;
    height: 40px;
    right: -85px;
    margin-top: -20px;
    background-size: 24px 24px;
  }
}


/* === ОСНОВНЫЕ СТИЛИ БЛОКА === */
.fos-block {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 64px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-sizing: border-box;
}

.fos-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(22, 59, 83, 0.64), rgba(22, 59, 83, 0.64));
  z-index: 1;
}

.fos-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Левая колонка */
.fos-content {
  flex: 0 0 574px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 272px;
  padding: 24px 0;
}

.fos-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 0 16px 0;
}

.fos-description {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #FFFFFF;
  margin: 0;
}

/* Правая колонка */
.fos-form-wrapper {
  flex: 1;
  max-width: 650px;
}

.fos-form-container {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 32px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

/* Убираем лишние отступы у всех элементов формы */
.fos-form-container .wpcf7-form {
  margin: 0 !important;
  padding: 0 !important;
}

.fos-form-container .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
}

.fos-form-container .wpcf7-form br {
  display: none !important;
}

/* РЯД ДЛЯ ДВУХ ПОЛЕЙ */
.fos-form-container .form__row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  margin-bottom: 16px;
}

.fos-form-container .form__group_half {
  flex: 1;
  min-width: 0;
  position: relative;
  margin: 0 !important;
}

/* Исправляем обертки полей */
.fos-form-container .form__group_half .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* ПОЛЯ С ИКОНКАМИ */
.fos-form-container .input-with-icon {
  width: 100% !important;
  height: 48px !important;
  padding: 0 16px 0 44px !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 999px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 16px !important;
  color: #FFFFFF !important;
  box-sizing: border-box !important;
  line-height: 48px !important;
  display: block !important;
}

/* Иконки через псевдоэлементы - всегда по центру */
.fos-form-container .form__group_half::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 2;
  pointer-events: none;
}

/* Иконка для имени */
/*.fos-form-container .form__group_half:first-child::before {*/
/*  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="white"><path d="M12 12.253C11.077 12.253 10.1748 11.9817 9.40734 11.4733C8.63991 10.9649 8.04177 10.2424 7.68856 9.397C7.33535 8.55161 7.24294 7.62138 7.423 6.72392C7.60307 5.82647 8.04752 5.0021 8.70017 4.35507C9.35281 3.70805 10.1843 3.26741 11.0896 3.0889C11.9948 2.91038 12.9331 3.002 13.7859 3.35217C14.6386 3.70234 15.3674 4.29533 15.8802 5.05616C16.393 5.81698 16.6667 6.71147 16.6667 7.62651C16.6654 8.85316 16.1734 10.0292 15.2985 10.8966C14.4236 11.764 13.2373 12.2518 12 12.253ZM12 4.54217C11.3847 4.54217 10.7832 4.72306 10.2716 5.06198C9.75994 5.40089 9.36118 5.8826 9.12571 6.44618C8.89023 7.00977 8.82862 7.62993 8.94867 8.22823C9.06871 8.82654 9.36502 9.37611 9.80011 9.80747C10.2352 10.2388 10.7896 10.5326 11.3931 10.6516C11.9965 10.7706 12.6221 10.7095 13.1906 10.4761C13.7591 10.2426 14.2449 9.84729 14.5868 9.34008C14.9286 8.83286 15.1111 8.23653 15.1111 7.62651C15.1111 6.80849 14.7833 6.02398 14.1999 5.44555C13.6164 4.86713 12.8251 4.54217 12 4.54217Z" fill="white"/><path d="M12 13.2892C13.8559 13.2912 15.6352 14.023 16.9475 15.324C18.2598 16.625 18.9979 18.389 19 20.2289C19 20.4334 18.9181 20.6295 18.7722 20.7742C18.6263 20.9188 18.4285 21 18.2222 21C18.0159 21 17.8181 20.9188 17.6723 20.7742C17.5264 20.6295 17.4444 20.4334 17.4444 20.2289C17.4444 18.7974 16.8708 17.4245 15.8498 16.4122C14.8288 15.4 13.444 14.8313 12 14.8313C10.556 14.8313 9.17123 15.4 8.1502 16.4122C7.12917 17.4245 6.55556 18.7974 6.55556 20.2289C6.55556 20.4334 6.47361 20.6295 6.32775 20.7742C6.18189 20.9188 5.98406 21 5.77778 21C5.5715 21 5.37367 20.9188 5.22781 20.7742C5.08194 20.6295 5 20.4334 5 20.2289C5.00206 18.389 5.74022 16.625 7.05253 15.324C8.36483 14.023 10.1441 13.2912 12 13.2892Z" fill="white"/></svg>');*/
/*}*/

/* Иконка для телефона */
.fos-form-container .form__group_half::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="white"><path d="M19.0649 20C17.4021 20 15.7316 19.6134 14.0534 18.8401C12.3753 18.0669 10.8335 16.9762 9.42787 15.5679C8.02243 14.1596 6.93309 12.6176 6.15985 10.9422C5.38662 9.26691 5 7.59787 5 5.93507C5 5.66787 5.08824 5.44522 5.26471 5.26713C5.44118 5.08904 5.66176 5 5.92647 5H8.80426C9.02706 5 9.2236 5.07272 9.3939 5.21816C9.56419 5.36346 9.6725 5.54301 9.71882 5.75684L10.2246 8.35294C10.2596 8.59382 10.2523 8.80081 10.2026 8.9739C10.1527 9.14699 10.0633 9.29235 9.93434 9.41L7.89654 11.3937C8.22449 11.9943 8.59919 12.5625 9.02066 13.0982C9.44199 13.6338 9.89816 14.1454 10.3892 14.6329C10.8733 15.1171 11.388 15.5668 11.9333 15.982C12.4786 16.3971 13.0674 16.7835 13.6998 17.141L15.6798 15.1438C15.8179 15.0001 15.9851 14.8993 16.1814 14.8415C16.3776 14.7839 16.5815 14.7698 16.7931 14.7992L19.2432 15.2982C19.466 15.357 19.6478 15.4707 19.7887 15.6392C19.9296 15.8077 20 15.9989 20 16.2127V19.0735C20 19.3382 19.911 19.5588 19.7329 19.7353C19.5548 19.9118 19.3321 20 19.0649 20ZM7.27029 10.1415L8.84507 8.63463C8.87331 8.61199 8.89169 8.58088 8.90022 8.54132C8.90875 8.50176 8.90735 8.465 8.89603 8.43103L8.51243 6.45919C8.5011 6.41404 8.48132 6.38015 8.45309 6.3575C8.42485 6.33485 8.38809 6.32353 8.34279 6.32353H6.45588C6.42191 6.32353 6.3936 6.33485 6.37096 6.3575C6.34846 6.38015 6.33721 6.40846 6.33721 6.44243C6.38235 7.04537 6.48103 7.65787 6.63324 8.27993C6.78529 8.90213 6.99765 9.52265 7.27029 10.1415ZM14.9468 17.767C15.5316 18.0396 16.1416 18.2481 16.7768 18.3924C17.4121 18.5365 18.0057 18.6221 18.5576 18.6493C18.5915 18.6493 18.6199 18.638 18.6425 18.6154C18.6651 18.5927 18.6765 18.5644 18.6765 18.5304V16.6742C18.6765 16.6289 18.6651 16.5921 18.6425 16.5639C18.6199 16.5357 18.586 16.5159 18.5408 16.5046L16.6879 16.1278C16.6539 16.1165 16.6242 16.1151 16.5988 16.1236C16.5733 16.1321 16.5464 16.1505 16.518 16.1788L14.9468 17.767Z" fill="white"/></svg>');
}

.fos-form-container .input-with-icon::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: 48px !important;
}

/* ===== ЧЕКБОКС ===== */
.fos-form-container .form__agree {
  margin: 16px 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
}

.fos-form-container .form__agree p {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
}

.fos-form-container .checkbox-wrap {
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.fos-form-container .form__agree .wpcf7-list-item {
  margin: 0 !important;
}

/* ПРОЗРАЧНЫЙ ЧЕКБОКС - стилизуем по атрибутам */
.fos-form-container input[type="checkbox"][name="checkbox-910[]"] {
  width: 20px !important;
  height: 20px !important;
  margin: 2px 0 0 0 !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 4px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Галочка для отмеченного чекбокса */
.fos-form-container input[type="checkbox"][name="checkbox-910[]"]:checked::after {
  content: '' !important;
  position: absolute !important;
  left: 6px !important;
  top: 2px !important;
  width: 6px !important;
  height: 10px !important;
  border: solid white !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}

.fos-form-container .agree-text {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #FFFFFF !important;
  flex: 1 !important;
  white-space: normal !important;
}

.fos-form-container .agree-text a {
  color: #FFFFFF !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(255, 255, 255, 0.3) !important;
  text-underline-offset: 2px !important;
}

/* Скрываем стандартный текст */
.fos-form-container .wpcf7-list-item-label {
  display: none !important;
}

/* КРАСНАЯ ОБВОДКА ДЛЯ ВСЕХ ПОЛЕЙ И ЧЕКБОКСА ПРИ ОШИБКЕ */
.fos-form-container .wpcf7-not-valid {
  border-color: #ff3333 !important;
  border-width: 2px !important;
}

/* Скрываем стандартное сообщение об ошибке */
.fos-form-container .wpcf7-not-valid-tip {
  display: none !important;
}

/* КНОПКА - убираем лишние отступы */
.fos-form-container .wpcf7-submit {
  width: 100% !important;
  height: 48px !important;
  line-height: 48px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.24) !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  margin: 0 !important;
  display: block !important;
}

.fos-form-container .wpcf7-submit:hover {
  background: rgba(255, 255, 255, 0.32) !important;
}

/* Убираем отступы у последней группы */
.fos-form-container .form__group:last-of-type {
  margin-bottom: 0 !important;
}

/* Убираем лишние спиннеры */
.fos-form-container .wpcf7-spinner {
  display: none !important;
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 992px) {
  .fos-container {
    flex-direction: column;
    gap: 30px;
  }

  .fos-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    gap: 20px;
  }

  .fos-title {
    font-size: 28px;
  }

  .fos-form-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .fos-form-container {
    padding: 24px 20px;
  }

  .fos-form-container .form__row {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
  }

  .fos-form-container .form__group_half {
    width: 100%;
  }

  /* Иконки на мобилке - точно по центру */
  .fos-form-container .form__group_half::before {
    left: 12px;
    width: 18px;
    height: 18px;
  }

  .fos-form-container .input-with-icon {
    padding-left: 38px !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 15px !important;
  }

  .fos-form-container .input-with-icon::placeholder {
    line-height: 44px !important;
    font-size: 15px !important;
  }

  /* Чекбокс на мобилке */
  .fos-form-container input[type="checkbox"][name="checkbox-910[]"] {
    width: 18px !important;
    height: 18px !important;
  }

  .fos-form-container .agree-text {
    font-size: 13px !important;
  }

  .fos-form-container .agree-text a {
    white-space: normal !important;
  }

  .fos-form-container .form__group {
    margin-bottom: 20px !important;
  }

  /* Кнопка на мобилке */
  .fos-form-container .wpcf7-submit {
    height: 44px !important;
    line-height: 44px !important;
    font-size: 15px !important;
    margin: 0 !important;
  }
}

@media (max-width: 480px) {
  .fos-block {
    padding: 40px 0;
  }

  .fos-form-container {
    padding: 20px 16px;
  }

  .fos-form-container .form__group_half::before {
    left: 10px;
    width: 16px;
    height: 16px;
  }

  .fos-form-container .input-with-icon {
    padding-left: 34px !important;
    height: 42px !important;
    line-height: 42px !important;
    font-size: 14px !important;
  }

  .fos-form-container .input-with-icon::placeholder {
    line-height: 42px !important;
    font-size: 14px !important;
  }

  .fos-form-container input[type="checkbox"][name="checkbox-910[]"] {
    width: 16px !important;
    height: 16px !important;
  }

  .fos-form-container .wpcf7-submit {
    height: 42px !important;
    line-height: 42px !important;
    font-size: 14px !important;
  }
}
/* Когда есть ошибка - находим родительский контейнер с классом wpcf7-not-valid и стилизуем чекбокс внутри */
.fos-form-container .wpcf7-form-control.wpcf7-checkbox.wpcf7-not-valid input[type="checkbox"][name="checkbox-910[]"] {
  border-color: #ff3333 !important;
  border-width: 2px !important;
  border-style: solid !important;
}

/* Также на случай, если класс вешается на другой элемент */
.fos-form-container .wpcf7-form-control-wrap[data-name="checkbox-910"] .wpcf7-not-valid input[type="checkbox"][name="checkbox-910[]"] {
  border-color: #ff3333 !important;
  border-width: 2px !important;
  border-style: solid !important;
}

/* Самый надежный селектор - по родительскому контейнеру с классом ошибки */
.fos-form-container .wpcf7-not-valid input[type="checkbox"][name="checkbox-910[]"] {
  border-color: #ff3333 !important;
  border-width: 2px !important;
  border-style: solid !important;
}

/* Еще один вариант - через родительский span */
.fos-form-container span.wpcf7-not-valid input[type="checkbox"][name="checkbox-910[]"] {
  border-color: #ff3333 !important;
  border-width: 2px !important;
}

/* Добавляем анимацию для привлечения внимания (опционально) */
.fos-form-container .wpcf7-not-valid input[type="checkbox"][name="checkbox-910[]"] {
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}
/* УСПЕХ (зеленый) */
.fos-form-container .wpcf7-form.sent .wpcf7-response-output {
  background: rgba(255, 255, 255, 0.1) !important;
  border-left: 4px solid #4CAF50 !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2) !important;
  color: white;
}

.navbar__container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 8px 0;
}

@media (max-width: 768px) {
  .navbar__container {
    flex-direction: column;
    padding: 8px 20px;
  }
}


.booking-modal__form .form__group {
  margin: 0;
}

/* ===== ЧЕКБОКС МОДАЛКИ ===== */
.booking-modal__form .form__agree {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
}

.booking-modal__form .form__agree p {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
}

.booking-modal__form .checkbox-wrap {
  display: flex !important;
  flex-shrink: 0 !important;
}

.booking-modal__form .form__agree .wpcf7-list-item {
  margin: 0 !important;
}

/* ПРОЗРАЧНЫЙ ЧЕКБОКС - стилизуем по атрибутам */
.booking-modal__form input[type="checkbox"][name="checkbox-910[]"] {
  width: 20px !important;
  height: 20px !important;
  margin: 2px 0 0 0 !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  background: transparent !important;
  border: 1px solid #000 !important;
  border-radius: 4px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Галочка для отмеченного чекбокса */
.booking-modal__form input[type="checkbox"][name="checkbox-910[]"]:checked::after {
  content: '' !important;
  position: absolute !important;
  left: 6px !important;
  top: 2px !important;
  width: 6px !important;
  height: 10px !important;
  border: solid var(--color-main) !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}

.booking-modal__form .agree-text {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  flex: 1 !important;
  white-space: normal !important;
}

.booking-modal__form .agree-text a {
  text-decoration: underline !important;
  text-decoration-color: #000 !important;
  text-underline-offset: 2px !important;
}

/* Скрываем стандартный текст */
.booking-modal__form .wpcf7-list-item-label {
  display: none !important;
}

/* КРАСНАЯ ОБВОДКА ДЛЯ ВСЕХ ПОЛЕЙ И ЧЕКБОКСА ПРИ ОШИБКЕ */
.booking-modal__form .wpcf7-not-valid {
  border-color: #ff3333 !important;
  border-width: 2px !important;
}

.price__btn {
  padding: 8px 20px;
  background: #0094C6;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.price__btn:hover {
  opacity: 0.9;
}

.grecaptcha-badge {
  right: -270px !important;
}

@media (max-width: 768px) {
  .navbar__container .price__btn {
    display: none;
  }
}