html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

[bg=light] {
  background-color: var(--color-light-grey);
}

[bg=dark] {
  background-color: var(--color-black);
  color: #fff;
}

.page {
  flex: 1 1 auto;
  padding-top: var(--headerHeight);
}

.full-width {
  width: 100%;
}

.text-light {
  color: var(--color-white);
}

.text-dark {
  color: var(--color-black);
}

.banner-sm {
  position: relative;
  overflow: hidden;
  height: 36rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner {
  position: relative;
  overflow: hidden;
  text-wrap: balance;
}

.banner .banner-content {
  display: flex;
  min-height: 55rem;
  height: calc(100vh - 14.8rem);
  align-items: flex-start;
}

.banner .banner-content.center {
  align-items: center;
}

.banner .banner-content.top {
  align-items: flex-start;
}

.banner .banner-content.top .text-group {
  padding-top: 7rem;
}

.banner .banner-content.top.text-center .text-group {
  margin-left: auto;
  margin-right: auto;
}

.banner .banner-content.end {
  align-items: flex-end;
}

.banner .banner-content.end .text-group {
  padding-bottom: 4rem;
}

.banner .title-lg {
  margin-bottom: 2rem;
}

.banner .img {
  -o-object-fit: cover;
     object-fit: cover;
}

.banner .text-group {
  max-width: 75rem;
}

.banner .container {
  position: absolute;
  left: 0;
  right: 0;
  color: #fff;
  z-index: 3;
}

.top-overlay {
  position: relative;
  overflow: hidden;
}

.top-overlay::after {
  content: "";
  background: linear-gradient(180deg, #0F0F10 0%, rgba(15, 15, 16, 0) 100%);
  mix-blend-mode: hard-light;
  position: absolute;
  bottom: 0;
  top: auto;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.swiper-button-prev,
.swiper-button-next {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  color: inherit;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 2.2rem;
}

.swiper-pagination {
  bottom: 0;
  position: relative;
}

.swiper-pagination-bullet {
  background: #e0e0e0;
  opacity: 1;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid #e0e0e0;
}

.swiper-pagination-bullet-active {
  background: #fff;
  border: 2px solid #0066b5;
}

.filter-invert {
  -webkit-filter: invert(1);
          filter: invert(1);
}

.swiper-pagination-bullet {
  width: 1rem;
  height: 1rem;
}

.swiper-controls .swiper-scrollbar {
  height: 2px;
  transition: width 0.5s ease-out;
  flex: 1;
  margin-left: 4rem;
  margin-right: 4rem;
  overflow: hidden;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.swiper-progress {
  z-index: 99;
  position: absolute;
  top: auto;
  left: 0;
  width: 0;
  bottom: 0;
  height: 7px;
  background-color: black;
}

.swiper-progress.full {
  width: 100%;
  transition: width 4.8s;
  transition-timing-function: linear;
}

.swiper-pagination-fraction {
  width: auto;
}

.slider-container:not(.banner) {
  position: relative;
  overflow: hidden;
}

.p-section {
  position: relative;
  height: 100vh;
  min-height: 60rem;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.p-section .text {
  max-width: 64rem;
}

.p-section .btn-group {
  margin-top: 4rem;
}

#main-news .section__header {
  margin-bottom: 5rem;
}

.posts {
  grid-gap: 8rem;
}

.posts .post__title,
.posts .post__announce {
  margin-bottom: 2rem;
}

.post__item {
  display: block;
}

.posts .post__img {
  position: relative;
  overflow: hidden;
  height: 25rem;
  margin-bottom: 3rem;
}

.posts .post__img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.fancybox-slide--html .fancybox-close-small {
  padding: 0;
  right: 1rem;
  top: 1rem;
}

.popup {
  padding: 6rem 10rem;
  max-width: 76rem;
}

form {
  display: grid;
  gap: 4rem 0;
  font-size: 1.6rem;
}

form .form-label {
  display: block;
  text-transform: uppercase;
  padding-bottom: 8px;
}

form .form-field {
  padding: 0 0 1rem;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 0;
  position: relative;
}

.focus-line {
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.focus-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  background-color: var(--color-blue);
  width: 100%;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: left;
          transform-origin: left;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.focus-line.not-empty::after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}

.error .focus-line {
  border-color: var(--color-red);
  color: var(--color-red);
}

.error-message {
  color: var(--color-red);
}

.checkbox {
  display: inline-flex;
  align-items: center;
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.checkbox a {
  text-decoration: underline;
  color: var(--color-blue);
}

.form-checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.form-checkbox + label {
  display: inline-flex;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
}

.form-checkbox + label::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  margin-right: 1.5rem;
  background-repeat: no-repeat;
  background-position: center center;
}

.form-checkbox:not(:disabled):active + label::before {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
}

.form-checkbox:checked + label::before {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='9' viewBox='0 0 11 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.33333L3.76923 7L10 1' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 14px 14px;
}

.form-checkbox:disabled + label::before {
  background-color: #fff;
}

.contact-info {
  display: flex;
  height: calc(100vh - 30rem);
  min-height: 80rem;
}

.contacts {
  width: 56rem;
  padding: 6rem 8rem;
  /* max-height: calc(100vh - var(--headerHeight)); */
  overflow-y: scroll;
}

.contacts .section__header {
  margin-bottom: 3rem;
}

.contact-info .map-container {
  height: 100%;
}

.dealers {
  display: grid;
  grid-gap: 3rem;
  font-size: 1.6rem;
}

.dealers .dealer__item {
  background-color: #F7F7F7;
  padding: 3rem;
}

.dealers .dealer__name::after {
  content: "";
  display: block;
  width: 5rem;
  height: 2px;
  background-color: var(--color-blue);
  margin: 1rem 0;
}

.dealers .btn-group {
  margin-top: 2rem;
}

.map-container {
  flex: 1;
}

#map {
  width: 100%;
  height: 100%;
}

.breadcrumbs {
  font-size: 1.6rem;
}

.breadcrumbs .sep {
  margin: 0 1rem;
}

.share {
  display: flex;
  align-items: center;
  margin-bottom: 6rem;
}

.share p {
  font-size: 1.6rem;
  font-weight: 500;
  margin-right: 2rem;
}

.headerText {
  background: linear-gradient(190deg, #18368E, #2F4CA0, #BEDAF2, #FCF7CD);
  color: #fff;
}

.headerText .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.headerText .col:first-child {
  max-width: 48rem;
}

.headerText .col:last-child {
  flex: 1;
  max-width: 100rem;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel picture,
.carousel video {
  margin-bottom: 3rem;
}

.carousel .slider-controls {
  position: relative;
  width: 12rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.carousel .swiper-button-prev,
.carousel .swiper-button-next {
  border-radius: 50%;
  border: 1px solid;
  position: relative;
  top: auto;
  margin: 0;
}

.carousel .swiper-button-next {
  left: auto;
  right: 0;
}

.carousel .swiper-button-prev {
  left: 0;
  right: auto;
}

.carousel .swiper-pagination-fraction {
  font-size: 2.4rem;
  /* max-width: 10rem; */
  bottom: auto;
  position: relative;
  display: flex;
  gap: 1rem;
  margin-right: 7.3rem;
}

.slider-panel {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 3vw;
}

.slider-panel .container-sm {
  width: 100%;
}

.tab-content {
  display: none;
}

.tab-content picture {
  height: calc(100vh - var(--headerHeight) - 10rem);
  min-height: 55rem;
}

.tab-content picture img {
  -o-object-fit: cover;
     object-fit: cover;
}

.tab-content.active {
  display: block;
}

.tab-buttons {
  display: flex;
  padding: 6rem 0 4rem;
  justify-content: center;
}

.tab-btn {
  cursor: pointer;
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
  border-bottom: 1px solid;
  color: inherit;
  flex: 1;
  padding: 1.6rem 0;
}

.tab-btn.active {
  border-color: var(--color-blue);
}

.tab-content-text {
  padding-bottom: 10rem;
}

.features .col {
  background: linear-gradient(-140deg, #18368E 0%, #2F4CA0 50%, #BEDAF2 120%, #FCF7CD 150%);
  color: #fff;
}

.features .col:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.86666vw;
}

.items .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.icon-items {
  position: relative;
  align-items: center;
  gap: 4rem 10rem;
}

.icon-items .grid {
  grid-gap: 0 6rem;
  position: relative;
}

.icon-items .grid::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.25);
  left: 0;
  right: 0;
  margin: 0 auto;
}

.icon-items .item {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.icon-items .item:nth-last-child(2),
.icon-items .item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.icon-items .icon {
  width: 40px;
  height: 40px;
}

.icon-items .icon img {
  -o-object-fit: contain;
     object-fit: contain;
}


.about_benefits {
  height: 96rem;
}

.about_benefits .icon-items {
  column-gap: 12.7rem;
}

 .popup .back_link {
  width: 100%;
  margin-top: 4rem;
  }

