html {
  height: 100%;
}

body {
  min-height: 100%;
  font-family: "Montserrat", sans-serif;
  color: #141414;
  line-height: 1.28;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site {
  flex: 1 0 auto;
}

.container {
  max-width: 1232px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.footer {
  flex: 0 0 auto;
}

.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 4;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 50px;
  padding-top: 16px;
  padding-bottom: 16px;
}

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

.header-logo a {
  display: flex;
}

.header-logo img {
  width: 100%;
  max-width: 119px;
  height: auto;
}

.header-text {
  color: #3b3b3b;
}

.header-button {
  flex-shrink: 0;
}

.header-button .button {
  height: 50px;
  font-size: 16px;
  text-transform: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 200px;
  text-transform: uppercase;
  padding: 0 32px;
  height: 70px;
  box-sizing: border-box;
  border: none;
  background: linear-gradient(1turn, rgb(255, 208, 128) 0%, rgb(254, 232, 168) 100%);
  box-shadow: 2px 2px 2px 0px rgb(167, 115, 55);
  color: #3a1300;
  font-size: 15px;
  transition: 0.2s;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: linear-gradient(1turn, rgb(255, 191, 83) 0%, rgb(254, 213, 96) 100%);
  box-shadow: 2px 2px 2px 0px rgba(0, 11, 48, 0.2);
}

.hero {
  background: url(../images/hero-bg.jpg) center/cover no-repeat fixed;
  padding-top: 92px;
}

.hero-inner {
  padding-bottom: 70px;
}

.hero-row {
  display: flex;
  gap: 32px;
}

.hero-content {
  flex-grow: 1;
  padding-top: 40px;
}

.hero-title {
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
  margin: 0;
  font-size: 52px;
  font-weight: 600;
  color: #3b3b3b;
  line-height: 1.16;
}

.hero-title span {
  color: #2d8571;
}

.hero-sub-title {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 600;
}

.hero-sub-title p {
  margin: 0;
}

.hero-button {
  margin-top: 24px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 46px;
}

.hero-features-item {
  background-color: #efecde;
  border-radius: 15px;
  font-size: 14px;
  padding: 8px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 2px 2px 4px 0px rgba(51, 51, 51, 0.18);
}

.hero-features-icon {
  display: flex;
  justify-content: center;
  margin-top: -31px;
}

.hero-features-icon img {
  width: 46px;
  height: 46px;
  -o-object-fit: contain;
     object-fit: contain;
}

.hero-features-title {
  margin-top: 8px;
  font-weight: 700;
}

.hero-features-title span {
  color: #2d8571;
}

.hero-features-text span {
  color: #2d8571;
  font-weight: 700;
}

.hero-media {
  flex-basis: 386px;
  flex-shrink: 0;
  min-width: 0;
}

.hero-slider {
  --swiper-theme-color: #2d8571;
  --swiper-navigation-size: 17px;
}

.hero-slider-button {
  background-color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
}

.hero-slider-image {
  position: relative;
  padding-bottom: 142%;
  border-radius: 20px;
  overflow: hidden;
}

.hero-slider-image img {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.section.section-bg {
  background-color: #f5f8ff;
}

.section-inner {
  padding-top: 70px;
  padding-bottom: 70px;
}

.section-row {
  display: flex;
  gap: 40px;
}

.section-col {
  flex-basis: calc((100% - 40px) / 2);
}

.section-col.section-col-36 {
  flex-basis: calc((100% - 40px) * 0.36);
}

.section-col.section-col-64 {
  flex-basis: calc((100% - 40px) * 0.64);
}

.section-col.section-col-30 {
  flex-basis: calc((100% - 40px) * 0.3);
}

.section-col.section-col-70 {
  flex-basis: calc((100% - 40px) * 0.7);
}

.section-image {
  position: relative;
  padding-bottom: 137%;
  border-radius: 20px;
  overflow: hidden;
}

.section-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
}

/*.section-image::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 200px;
  z-index: 2;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
}*/

.section-image-caption {
  position: absolute;
  z-index: 4;
  text-transform: uppercase;
  padding: 24px;
  box-sizing: border-box;
  width: 100%;
  bottom: 0;
  left: 0;
  font-size: 20px;
  font-weight: 700;
}

.section-image-caption span {
  color: #2d8571;
}

.section-header {
  margin-bottom: 40px;
}

.section-header.section-header-center {
  text-align: center;
}

.section-header.section-header-center .section-sub-title {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin: 0;
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
  font-size: 52px;
  font-weight: 600;
  color: #3b3b3b;
  line-height: 1.16;
}

.section-title span {
  color: #2d8571;
}

.section-sub-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
  text-transform: uppercase;
  max-width: 770px;
}

.section-sub-title span {
  color: #2d8571;
}

.section-info {
  background-color: #2d8571;
  border-radius: 15px;
  padding: 16px;
  box-sizing: border-box;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding-left: 80px;
  position: relative;
}

.section-info::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 33px;
  background-color: #fff;
}

.section-text {
  font-size: 18px;
  line-height: 1.4;
}

.section-text b {
  color: #2d8571;
}

.section-text ul {
  padding-left: 1.4em;
}

.section-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.section-buttons.section-buttons-center {
  justify-content: center;
}

.section-buttons.section-buttons-stretch {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.section-buttons.section-buttons-stretch .button {
  flex-basis: calc((100% - 32px) / 2);
}

.section-cards {
  display: flex;
  gap: 24px;
  padding-top: 40px;
  flex-wrap: wrap;
}

.section-cards-item {
  flex-basis: calc((100% - 48px) / 3);
  background-color: #fff;
  box-shadow: 2px 2px 2px 0px rgba(45, 133, 113, 0.2);
  border-radius: 20px;
  padding: 32px;
  box-sizing: border-box;
}

.section-cards-item.section-cards-item-wide {
  flex-basis: 100%;
}

.section-cards-item-wide b {
  color: #2d8571;
}

.section-cards-icon {
  display: flex;
  justify-content: center;
  margin-top: -85px;
  margin-bottom: 10px;
}

.section-cards-icon img {
  width: 100px;
  height: 100px;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.section-cards-content {
  font-size: 18px;
}

.section-cards-title {
  font-weight: 700;
  text-transform: uppercase;
  color: #2d8571;
}

.section-cards-text {
  margin-top: 8px;
}

.section-cards-text b {
  font-weight: 600;
}

.section-cards-text p {
  margin: 0;
}

.section-cards-text p:not(:last-child) {
  margin-bottom: 6px;
}

.section-cards-text ul {
  padding-left: 1.4em;
  margin: 0;
}

@media(max-width: 767.98px) {
  .section-cards-text ul {
    padding-top: 0 !important;
  }
  .section-cards-item-wide .section-cards-item-row {
    gap: 0;
  }
  .section-cards-item-wide .section-cards-title {
    margin-bottom: 16px;
  }
  .section-cards-item-wide .section-cards-text {
    margin-top: 6;
  }
}

.section-cards-item-row {
  display: flex;
  gap: 32px;
}

.section-cards-item-col {
  flex-basis: calc((100% - 64px) / 3);
}

.section-center-text {
  text-align: center;
  font-size: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
}

.section-center-text b {
  color: #2d8571;
}

.reviews-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.reviews-item {
  flex-basis: calc((100% - 72px) / 4);
}

.reviews-video {
  display: block;
}

.reviews-video-preview {
  position: relative;
  padding-bottom: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.reviews-video-preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
}

.reviews-video-preview::after {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  background: url(../images/play.svg) left 55% top 50%/24px 24px no-repeat;
  background-color: #2d8571;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.reviews-caption {
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
}

.footer {
  background-color: #333333;
  color: #fff;
  padding: 70px 0;
}

.footer-main {
  display: flex;
  gap: 24px;
}

.footer-content {
  flex-grow: 1;
}

.footer-title {
  font-size: 40px;
  font-weight: 500;
  max-width: 560px;
}

.footer-text {
  font-size: 20px;
  max-width: 560px;
  margin-top: 24px;
}

.footer-button {
  margin-top: 24px;
  max-width: 420px;
}

.footer-button .button {
  width: 100%;
}

.footer-contacts {
  flex-basis: 40%;
  text-align: right;
}

.footer-contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 40px;
  font-weight: 500;
}

.footer-contacts-item a {
  color: currentColor;
  text-decoration: none;
}

.footer-socials {
  margin-top: 50px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-socials-item {
  display: flex;
  text-decoration: none;
  color: currentColor;
  border-radius: 20px;
  overflow: hidden;
}

.footer-socials-item img {
  width: 75px;
  height: 75px;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.footer-bottom {
  font-size: 18px;
}

.footer-bottom a {
  color: currentColor;
}

.footer-bottom {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 32px;
}

.footer-bottom p {
  margin: 0;
}

.footer-col:last-child {
  text-align: right;
}

@media (min-width: 768px) {
  .desktop-hidden {
    display: none;
  }

  .hero-media > .hero-button {
    display: none;
  }

  .hero-media > .hero-features {
    display: none;
  }
}

@media (min-width: 1024px) {
  .header-text {
    flex-grow: 1;
  }
}

@media (max-width: 1240px) {
  .hero-title {
    font-size: 44px;
  }
}

@media (max-width: 1023.98px) {
  .header-button {
    display: none;
  }

  .hero-title {
    font-size: 31px;
  }

  .hero-sub-title {
    font-size: 16px;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .section-image-caption {
    font-size: 16px;
    padding: 16px;
  }

  .section-title {
    font-size: 44px;
  }

  .section-sub-title {
    font-size: 18px;
  }

  .section-info {
    font-size: 16px;
  }

  .section-text {
    font-size: 16px;
  }

  .reviews-item {
    flex-basis: calc((100% - 24px) / 2);
  }

  .reviews-video-preview {
    padding-bottom: 56.25%;
  }
}

@media (max-width: 767.98px) {
  .mobile-hidden {
    display: none;
  }

  .header-inner {
    gap: 10px;
    justify-content: center;
  }

  .header-logo img {
    max-width: 54px;
  }

  .header-text {
    font-size: 10px;
  }

  .button {
    height: 62px;
    font-size: 12px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-row {
    display: block;
  }

  .hero-content > .hero-button {
    display: none;
  }

  .hero-content > .hero-features {
    display: none;
  }

  .hero-title {
    text-align: center;
  }

  .hero-sub-title {
    text-align: center;
  }

  .hero-sub-title br {
    display: none;
  }

  .hero-button {
    text-align: center;
  }

  .hero-features-item {
    font-size: 14px;
  }

  .hero-media {
    margin-top: 24px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-slider {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section-row {
    display: block;
  }

  .section-col:not(:last-child) {
    margin-bottom: 24px;
  }

  .section-image-wrapper {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }

  .section-image-caption {
    font-size: 14px;
  }

  .section-header {
    text-align: center;
    margin-bottom: 24px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-sub-title {
    font-size: 16px;
  }

  .section-info::before {
    left: 10px;
  }

  .section-info {
    font-size: 14px;
    padding-left: 40px;
  }

  .section-text {
    font-size: 14px;
  }

  .section-buttons.section-buttons-stretch .button {
    flex-basis: auto;
  }

  .section-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .section-cards {
    gap: 40px;
  }

  .section-cards-item {
    flex-basis: 100%;
    padding: 24px;
  }

  .section-cards-icon img {
    width: 67px;
    height: 67px;
  }

  .section-cards-icon {
    justify-content: flex-end;
    margin-top: -48px;
  }

  .section-cards-content {
    font-size: 14px;
  }

  .section-cards-item-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .section-cards-item-col {
    flex-basis: 100%;
  }

  .section-center-text {
    margin-top: 32px;
    font-size: 14px;
  }

  .reviews-item {
    flex-basis: 100%;
  }

  .reviews-caption {
    margin-top: 16px;
  }

  .footer-main {
    display: block;
  }

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

  .footer-text {
    font-size: 15px;
  }

  .footer-contacts {
    text-align: left;
    margin-top: 24px;
  }

  .footer-contacts-list {
    font-size: 28px;
  }

  .footer-socials {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .footer-socials-item img {
    width: 45px;
    height: 45px;
  }

  .footer-socials-item {
    border-radius: 10px;
  }

  .footer-bottom {
    display: block;
    font-size: 16px;
  }

  .footer-col:last-child {
    text-align: left;
  }

  .footer-col:not(:last-child) {
    margin-bottom: 16px;
  }
}