:root {
  --white: #ffffff;
  --white-bg: #f7f7f7;
  --text: #3c3c3c;
  --text-title: #121111;
  --sea: #04688f;
  --sea-hover: #057aa8;
  --mint: #8ecccc;
  --transition: all 0.15s ease;
  --transition-sl: all 0.05s ease;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

@font-face {
  font-family: 'Futura New';
  src: url('../fonts/FuturaNewMedium-Obl.woff2') format('woff2'),
    url('../fonts/FuturaNewMedium-Obl.woff') format('woff'),
    url('../fonts/FuturaNewMedium-Obl.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Futura New Book';
  src: url('../fonts/FuturaNewBook-Reg.woff2') format('woff2'),
    url('../fonts/FuturaNewBook-Reg.woff') format('woff'),
    url('../fonts/FuturaNewBook-Reg.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Futura New Demi';
  src: url('../fonts/FuturaNewDemi-Reg.woff2') format('woff2'),
    url('../fonts/FuturaNewDemi-Reg.woff') format('woff'),
    url('../fonts/FuturaNewDemi-Reg.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Futura New';
  src: url('../fonts/FuturaNewMedium-Reg.woff2') format('woff2'),
    url('../fonts/FuturaNewMedium-Reg.woff') format('woff'),
    url('../fonts/FuturaNewMedium-Reg.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Text';
  src: url('../fonts/SFProText-Semibold.woff2') format('woff2'),
    url('../fonts/SFProText-Semibold.woff') format('woff'),
    url('../fonts/SFProText-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Futura New Book', sans-serif;
  font-size: 18px;
  color: var(--text);
  background: var(--white-bg);
}

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

svg path {
  transition: var(--transition);
}

.container {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.default__link {
  padding: 13px 20px;
  font-family: 'Futura New Demi', sans-serif;
  line-height: 1.2;
  color: var(--white);
  background-color: var(--sea);
  transition: var(--transition);
  border: none;
}

.default__link:hover {
  background: var(--mint);
}

.default__image {
  width: 540px;
  position: relative;
  height: auto;
  object-fit: cover;
}

.default__image img {
  object-fit: cover;
}

.default__image-desc {
  width: 260px;
  padding: 21px 16px;
  background: var(--white-bg);
  box-shadow: 4px 4px 9px rgba(18, 17, 17, 0.11);
  position: absolute;
  bottom: -1px;
  right: -20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: 'Futura New';
  font-style: italic;
}

/* header */
.header {
  width: 100%;
  position: fixed;
  padding: 20px 0;
  background: var(--white);
  z-index: 100;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  width: 195px;
  height: auto;
}
.mob {
  color:#009a4a;
  float: right;
  margin-left: 90px;
  display:none;
}

.header__menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--text);
}

.header__menu a {
  transition: var(--transition);
}

.header__menu-mobile {
  display: none;
}

.header__menu a:hover {
  color: var(--mint);
}

.header__menu a.active {
  font-family: 'Futura New Demi', sans-serif;
  color: var(--sea);
}

.header__burger {
  display: none;
}

/* intro */
.intro {
  padding-top: 110px;
}

.intro__wrapper {
  height: 600px;
  position: relative;
}

.intro__image {
  height: 710px;
  width: 720px;
  position: absolute;
right: max(calc((100vw - 1920px) / 2 + 10px), 0px);
  top: -110px;
  object-fit: cover;
}

.intro__content {
  max-width: 650px;
  padding-top: 130px;
  margin-right: 15px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.intro__title {
  color: var(--text-title);
  font-family: 'Futura New', sans-serif;
  font-weight: 450;
  font-size: 50px;
  line-height: 1.25;
}

.intro__desc {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.2;
}

.intro__link {
  display: flex;
  align-items: center;
  gap: 30px;
}

.intro__link a {
  flex-grow: 0;
  flex-shrink: 0;
}

.intro__link a:hover {
  background-color: var(--mint);
}

.intro__link p {
  max-width: 250px;
  font-size: 16px;
  font-weight: 400;
}

/* about */
.about {
  padding: 100px 0;
  position: relative;
}

.about__wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about__title {
  font-family: 'Futura New', sans-serif;
  font-weight: 450;
  font-size: 40px;
  line-height: 1.2;
  color: var(--text-title);
}

.about__content-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.about__links-video {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about__video {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(var(--sea) 0deg 90deg, transparent 90deg 360deg);
  position: relative;
}

.about__video-border {
  width: 49px;
  height: 49px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--mint);
  border-radius: 50%;
  z-index: -1;
}

.about__video-icon {
  width: 47px;
  height: 47px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white-bg);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.about__video svg {
  transition: var(--transition);
}

.about__links-video:hover svg {
  width: 21px;
  height: 21px;
}

.about__signature {
  position: absolute;
  right: 0;
  bottom: 6px;
}

.about__decor {
  position: absolute;
  right: 0;
  bottom: 0;
}

/* metrics */
.metrics {
  padding: 60px 0;
  background: var(--mint);
  color: var(--white);
}

.metrics__wrapper {
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 130px;
  text-align: center;
}

.metrics__item h3 {
  margin-bottom: 10px;
  font-family: 'Futura New', sans-serif;
  font-size: 50px;
  font-weight: 450;
  line-height: 1.1;
}

/* programs */
.programs {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.programs__wrapper {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.programs__info {
  width: 620px;
  flex-grow: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.programs__title {
  font-family: 'Futura New', sans-serif;
  font-weight: 450;
  font-size: 40px;
  line-height: 1.2;
}

.programs__link {
  align-self: flex-start;
  position: relative;
  z-index: 2;
}

.programs__types {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 20px;
}

.programs__item {
  width: 315px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.programs__item h3 {
  margin-bottom: 10px;
  font-family: 'Futura New', sans-serif;
  font-weight: 450px;
  font-size: 22px;
}

.programs__mobile-link {
  display: none;
}

.programs__decor {
  width: 370px;
  height: 120px;
  position: absolute;
  left: 320px;
  bottom: 20px;
  background: url(../img/programs/decor.png) no-repeat center / cover;
}

/* problems */
.problems {
  padding: 100px 0;
}

.problems__title {
  margin-bottom: 30px;
  text-align: center;
  font-family: 'Futura New', sans-serif;
  font-weight: 450;
  font-size: 40px;
  line-height: 1.2;
}

.problems__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 15px;
}

.problems__card {
  width: 430px;
  background: var(--white);
  box-shadow: 4px 4px 9px rgba(18, 17, 17, 0.11);
}

.problems__load-more {
  display: none;
}

#more-problems {
  display: none;
}

.problems__card img {
  width: 430px;
  height: auto;
  margin-bottom: 30px;
  object-fit: cover;
}

.problems__card h3 {
  margin-bottom: 10px;
  padding: 0 20px;
  font-family: 'Futura New Demi';
  font-size: 22px;
  line-height: 1.25;
}

.problems__card p {
  padding: 0 20px 20px 20px;
}

.problems__card ul {
  margin-left: 20px;
  padding: 0 20px 20px 20px;
}

/* offers */
.offers {
  padding: 130px 0;
  background: var(--mint);
  color: var(--white);
  position: relative;
}

.offers__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.offers__item {
  width: 305px;
  position: relative;
  cursor: pointer;
}

.offers__item::after {
  content: '';
  width: 1px;
  height: 140px;
  display: block;
  background: var(--white);
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
}

.offers__item:last-child:after {
  display: none;
}

.offers__item-price {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.offers__item-details {
  display: none;
}

.offers__item-details:hover {
  display: flex;
}

.offers__item-price:hover ~ .offers__item-details,
.offers__item-details:hover {
  width: 305px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  background: var(--white);
  color: var(--text);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: showDetails 0.2s;
  z-index: 10;
}

.offers__item-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.offers__item-details li {
  padding-bottom: 20px;
  font-size: 22px;
  position: relative;
}

.offers__item-details li::after {
  content: '';
  width: 250px;
  height: 1px;
  display: block;
  background: #d1d1d1;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.offers__price-name {
  padding-bottom: 10px;
  font-family: 'Futura New', sans-serif;
  font-weight: 450;
  font-size: 40px;
  line-height: 1.2;
  position: relative;
}

.offers__price-name::after {
  content: '';
  width: 30px;
  height: 1px;
  display: block;
  background: var(--white);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.offers__price {
  font-size: 40px;
  line-height: 1.1;
}

.offers__decor {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
}

/* benefits */
.benefits {
  padding: 100px 0;
}

.benefits__wrapper {
  position: relative;
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.benefits__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.benefits__title {
  font-family: 'Futura New', sans-serif;
  font-weight: 450;
  font-size: 40px;
  line-height: 1.2;
}

.benefits__content-items {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.benefits__item {
  width: 300px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.benefits__item svg {
  flex-shrink: 0;
  flex-grow: 0;
}

.benefits__item h3 {
  margin-bottom: 10px;
  font-family: 'Futura New', sans-serif;
  font-weight: 450px;
  font-size: 22px;
}

.benefits__content-link {
  align-self: flex-start;
}

.benefits__content-signature {
  position: absolute;
  right: 0;
  bottom: 0;
}

/* reviews */
.reviews {
  padding: 110px 0 80px 0;
  background: var(--white);
  position: relative;
}

.reviews__slider {
  max-width: 1320px;
  width: 100%;
  height: 280px;
}

.reviews__decor {
  width: 370px;
  height: 120px;
  background: url(../img/reviews/decor.png) no-repeat center / cover;
  position: absolute;
  top: 0;
  left: 0;
}

.reviews__title {
  margin-bottom: 30px;
  font-family: 'Futura New', sans-serif;
  font-weight: 450;
  font-size: 40px;
  line-height: 1.2;
}

.reviews__wrapper {
  position: relative;
  z-index: 1;
}

.reviews__slider-prev,
.reviews__slider-next {
  width: 65px;
  height: 65px;
  background: var(--mint);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.reviews__slider-prev:hover,
.reviews__slider-next:hover {
  opacity: 0.8;
}

.reviews__slider-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: -20px;
  right: 0;
}

.reviews__slider-pagination.swiper__pagination.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  display: none;
}

.reviews__slider-slide {
  width: 425px;
}

.reviews__slider-slide h3 {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews__slider-slide p {
  height: 110px;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews__slider-slide img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

/* posts */
.posts {
  padding: 100px 0;
}

.posts__title {
  margin-bottom: 30px;
  font-family: 'Futura New', sans-serif;
  font-weight: 450;
  font-size: 40px;
  line-height: 1.2;
  text-align: center;
}

.posts__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 15px;
}

.posts__item {
  width: 430px;
  background: var(--white);
  box-shadow: 4px 4px 9px rgba(18, 17, 17, 0.11);
  position: relative;
	display: flex;
}

.posts__item .item__inner {
	width: 100%;
}

.posts__item .posts__image {
	height: 350px;
}
@media all and (max-width: 575px) {
   .posts__item .posts__image {
	height: 280px;
} 
}
.posts__item .posts__image img {
	object-fit: cover; object-position: 50% 50%; width: 100%; height: 100%;
}

.posts__item:hover .posts__item-title {
  color: var(--sea);
}

.posts__item-category {
  padding: 5px 10px;
  background: var(--white);
  position: absolute;
  top: 220px;
  left: 10px;
}

.posts__item-content {
  padding: 30px 20px 20px 20px;
}

.posts__item-image {
  width: 430px;
  height: 265px;
  object-fit: cover;
}

.posts__item-date {
  margin-bottom: 10px;
  color: var(--mint);
}

.posts__item-title {
  margin-bottom: 10px;
  font-family: 'Futura New', sans-serif;
  font-weight: 450;
  font-size: 22px;
  line-height: 1.2;
  transition: var(--transition);
}

.posts__item-desc {
  height: 65px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.posts__load-more {
  text-align: center;
  margin-top: 20px;
  width: 100%;
  /*display: none;*/
}

.posts__load-more .posts__load-more-unloaded {
  display: inline-block;
  cursor: pointer;
}

#more-posts {
  display: none;
}

/* consultation */
.consultation {
  padding-bottom: 100px;
}

.consultation__wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

.consultation__title {
  margin-bottom: 30px;
  font-family: 'Futura New', sans-serif;
  font-weight: 450;
  font-size: 40px;
  line-height: 1.2;
}

.consultation__form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
	width: 100%;
}

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

.consultation__form-item label {
  font-family: 'Futura New Book', sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.textarea__wrapper {
  width: 100%;
}
.consultation__form-field {
  width: 300px;
  height: 40px;
  padding: 10px 40px 10px 10px;
  font-family: 'Futura New Book', sans-serif;
  font-size: 16px;
  color: var(--text);
  outline: none;
  background: var(--white);
  border: 1px solid #dedede;
}

.consultation__form-field[type='date'] {
  padding: 10px;
}

.consultation__form-filed--text,
.consultation__form-item:last-child {
  max-width: 620px;
  width: 100%;
  flex-grow: 0;
  flex-shrink: 0;
  display: block;
}

.consultation__form-filed--text {
  height: 200px;
  padding: 10px;
  border: 1px solid #dedede;
  resize: none;
  font-family: 'Futura New Book', sans-serif;
  font-size: 16px;
  outline: none;
}

.consultation__content button {
  margin-top: 30px;
  border: none;
  cursor: pointer;
}

/* footer */
.footer {
  padding: 60px 0;
  background: var(--mint);
  color: var(--white);
  font-size: 16px;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 95px;
}

.footer__data {
  max-width: 310px;
}

.footer__info {
  max-width: 260px;
}

.footer__contacts {
  max-width: 160px;
}

.footer__wrapper {
  max-width: 1360px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer a {
  transition: var(--transition);
}

.footer a:hover {
  opacity: 0.8;
}

.footer h3 {
  margin-bottom: 20px;
  font-family: 'Futura New', sans-serif;
  font-weight: 450;
}

/* media */
@media screen and (max-width: 1440px) {
  .intro__image {
    width: auto;
  }
}

@media screen and (max-width: 1370px) {
  .programs__info {
    width: 520px;
  }

  .programs__title {
    font-size: 36px;
  }

  .problems__wrapper {
    justify-content: space-between;
  }

  .problems__card,
  .problems__card img {
    width: 380px;
  }

  .posts__item {
    width: 335px;
    border-radius: 5px;
    overflow: hidden;
  }

  .posts__wrapper {
    max-width: 1100px;
    width: auto;
    margin: 0 auto;
    justify-content: space-between;
    gap: 20px 15px;
  }

  .posts__item-image {
    width: 335px;
    height: auto;
  }

  .posts__item-category {
    top: 160px;
  }
}

@media screen and (max-width: 1330px) {
  .intro__image {
    height: 650px;
    width: 500px;
  }

  .intro__wrapper {
    height: 540px;
  }
}

@media screen and (max-width: 1280px) {
  .programs__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .programs__info {
    width: 100%;
    align-items: center;
  }

  .programs__link {
    align-self: center;
  }

  .programs__types {
    max-width: 800px;
    justify-content: space-between;
  }

  .programs__link {
    display: none;
  }

  .programs__mobile-link {
    margin-top: 30px;
    display: flex;
    justify-content: center;
  }

  .programs__decor {
    left: 0;
  }

  .benefits__content-items {
    flex-direction: column;
    gap: 10px;
  }

  .benefits__item {
    width: 250px;
  }

  .benefits__item h3 {
    font-size: 18px;
  }

  .benefits__item p {
    font-size: 16px;
  }

  .benefits__title {
    font-size: 36px;
  }

  .benefits__text {
    font-size: 16px;
  }

  .benefits__content {
    gap: 20px;
  }

  .consultation__form-field {
    width: 250px;
  }

  .consultation__form-item:last-child {
    width: 520px;
  }
}

@media screen and (max-width: 1240px) {
  .problems__card,
  .problems__card img {
    width: 335px;
  }

  .footer__inner {
    gap: 50px;
  }
}

@media screen and (max-width: 1220px) {
  .about__signature {
    width: 100px;
    height: auto;
    bottom: 35px;
  }

  .metrics__wrapper {
    gap: 30px;
  }
}

@media screen and (max-width: 1200px) {
  .intro__content {
    max-width: 500px;
  }

  .intro__title,
  .reviews__title,
  .posts__title {
    font-size: 36px;
  }

  .intro__link {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 1180px) {
  .offers__wrapper {
    width: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 305px);
    grid-template-rows: repeat(2, 1fr);
    gap: 50px 30px;
  }

  .offers__item:nth-child(even)::after {
    display: none;
  }

  .consultation__form-field {
    width: 200px;
  }

  .consultation__form-item:last-child {
    width: 420px;
  }
}

@media screen and (max-width: 1090px) {
  .about__signature {
    width: 70px;
    height: auto;
    bottom: 100px;
  }

  .about__decor {
    width: 250px;
    height: auto;
  }

  .about__content-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .default__image,
  .default__image img {
    width: 440px;
    height: auto;
  }

  .problems__card,
  .problems__card img {
    width: 440px;
  }

  .footer__inner {
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .posts__wrapper {
    max-width: 690px;
    gap: 20px;
  }
}

@media screen and (max-width: 1010px) {
  .intro__content {
    padding-top: 80px;
    max-width: 500px;
  }

  .intro__image {
    width: 400px;
    height: 550px;
  }

  .intro__wrapper {
    height: 440px;
  }

  .problems__card,
  .problems__card img {
    width: 400px;
  }

  .benefits__content-signature {
    display: none;
  }
}

@media screen and (max-width: 950px) {
  .about {
    padding: 50px 0;
  }

  .about__content-links {
    flex-direction: row;
  }

  .about__signature {
    bottom: 35px;
  }

  .about__wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .about__title,
  .problems__title {
    font-size: 36px;
    text-align: center;
  }

  .consultation__title {
    font-size: 36px;
  }

  .programs__decor {
    width: 120px;
    height: 370px;
    left: initial;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url('../img/programs/decor-mobile.png') no-repeat center / contain;
  }

  .consultation__form-field {
    width: 300px;
  }

  .consultation__form-item:last-child {
    max-width: 300px;
  }
}

@media screen and (max-width: 910px) {
  .intro__content {
    padding-top: 60px;
    max-width: 400px;
    gap: 20px;
  }

  .intro__image {
    width: 400px;
    height: 550px;
  }

  .intro__title {
    font-size: 30px;
  }

  .programs,
  .problems,
  .benefits,
  .reviews,
  .posts {
    padding: 60px 0;
  }

  .consultation {
    padding-bottom: 60px;
  }

  .problems__wrapper {
    width: 700px;
    margin: 0 auto;
  }

  .problems__card,
  .problems__card img {
    width: 335px;
  }
}

@media screen and (max-width: 840px) {
  .footer__inner {
    width: 670px;
    margin: 0 auto;
    gap: 30px 10px;
    justify-content: space-between;
  }

  .footer__data,
  .footer__info,
  .footer__contacts,
  .footer__work-time {
    max-width: 310px;
    width: 100%;
  }

  .benefits__image,
  .benefits__image img {
    height: 375px;
  }

  .benefits__image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .benefits__wrapper {
    width: auto;
    padding-top: 375px;
    position: relative;
  }

  .benefits__content {
    gap: 30px;
  }

  .benefits__text {
    font-size: 18px;
  }

  .benefits__content-items {
    width: 630px;
    margin: 0 auto;
    flex-direction: row;
    gap: 30px;
  }

  .benefits__item {
    width: 300px;
  }

  .benefits__item h3 {
    font-size: 22px;
  }

  .benefits__item p {
    font-size: 18px;
  }

  .benefits__content-link {
    align-self: center;
  }

  .consultation__image,
  .consultation__image img {
    height: 375px;
  }

  .consultation__image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .consultation__wrapper {
    width: auto;
    padding-top: 400px;
    position: relative;
  }

  .consultation__content {
    width: 620px;
    margin: 0 auto;
  }

  .consultation__form-item:last-child {
    max-width: 620px;
    width: 100%;
  }
}

@media screen and (max-width: 820px) {
  .header {
    padding: 15px 0;
  }

  .header__logo img {
    width: 145px;
  }

  .header__burger {
    display: block;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
  }

  .header__menu {
    display: none;
  }
  .mob {
  color:#009a4a;
  float: right;
    display:block;
  margin-left: 90px;
}

  .header__menu-mobile.open {
    width: 100%;
    height: 100vh;
    padding: 85px 35px;
    display: block;
    background: rgba(0, 0, 0, 0.34);
    position: absolute;
    top: 0;
    left: 0;
  }

  .header__menu-mobile ul {
    width: 300px;
    height: 100vh;
    padding: 85px 35px;
    display: block;
    background: var(--white);
    position: absolute;
    top: 0;
    right: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: showMobileMenu 0.2s;
  }

  .header__menu-mobile.hide ul {
    animation: hideMobileMenu 0.2s;
  }

  .header__menu-mobile .header__menu-phone:active {
    background-color: var(--mint);
  }

  .header__menu-mobile__close {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
  }

  .header__menu-mobile__close svg path {
    transition: var(--transition-sl);
  }

  .header__menu-mobile__close:active svg path {
    stroke: var(--white);
  }

  .intro {
    padding-top: 80px;
  }

  .intro__content {
    padding-top: 30px;
    max-width: 100%;
  }

  .intro__desc {
    max-width: 100%;
  }

  .intro__wrapper {
    height: auto;
    position: static;
    display: block;
  }

  .intro__image {
    position: static;
    width: 100%;
    height: 500px;
  }

  .intro__title,
  .problems__title,
  .reviews__title,
  .posts__title,
  .consultation__title {
    font-size: 30px;
  }

  .intro__link {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .metrics__wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 100px;
  }

  .metrics__item {
    width: 135px;
  }
}

@media screen and (max-width: 770px) {
  .problems__wrapper {
    width: auto;
    justify-content: center;
    gap: 0;
  }

  .problems__card {
    margin-bottom: 20px;
  }

  .problems__card,
  .problems__card img {
    width: 440px;
  }

  .problems__wrapper .problems__card:nth-child(1n + 5) {
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
    transition: 0.1s ease-in;
  }
  .problems__load-more {
    margin: 0 auto;
    margin-top: 20px;
    padding: 0 150px;
    z-index: 1;
    display: block;
    cursor: pointer;
  }

  .problems__load-more .problems__load-more-loaded {
    display: none;
  }

  #more-problems:checked ~ .problems__card:nth-child(1n + 5) {
    max-height: 999px;
    opacity: 1;
    transition: 0.2s ease-in;
  }

  #more-problems:checked ~ .problems__load-more .problems__load-more-loaded {
    display: block;
  }

  #more-problems:checked ~ .problems__load-more .problems__load-more-unloaded {
    display: none;
  }

  .reviews {
    background: var(--white-bg);
  }

  .reviews__slider-buttons {
    display: none;
  }

  .reviews__slider {
    padding-bottom: 330px;
  }

  .reviews__slider-pagination.swiper__pagination.swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal {
    display: block;
    bottom: 0;
  }

  .reviews__slider-bullet {
    width: 10px;
    height: 10px;
  }

  .reviews__slider-bullet.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--sea);
  }

  .posts__wrapper {
    max-width: 335px;
    width: auto;
    gap: 0;
  }

  .posts__item {
    margin-bottom: 20px;
  }

  .posts__item-image {
    width: 335px;
  }

  .posts__item:last-child {
    margin-bottom: 0;
  }

  /*.posts__item:nth-child(1n + 5) {
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
    transition: 0.1s ease-in;
  }*/

  .posts__load-more {
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
    z-index: 1;
    display: block;
    cursor: pointer;
  }

  .posts__load-more .posts__load-more-loaded {
    display: none;
  }

  #more-posts:checked ~ .posts__item:nth-child(1n + 5) {
    max-height: 999px;
    opacity: 1;
    transition: 0.2s ease-in;
  }

  #more-posts:checked ~ .posts__load-more .posts__load-more-loaded {
    display: block;
  }

  #more-posts:checked ~ .posts__load-more .posts__load-more-unloaded {
    display: none;
  }
}

@media screen and (max-width: 720px) {
  .intro__image {
    height: 350px;
  }

  .intro__content {
    padding-top: 30px;
    margin: 0;
  }

  .programs__title {
    font-size: 30px;
  }

  .programs__types {
    justify-content: center;
  }
}

@media screen and (max-width: 700px) {
  .footer__inner {
    width: auto;
    flex-direction: column;
    gap: 30px;
  }

  .offers {
    padding: 60px 0;
  }

  .offers__wrapper {
    width: auto;
    grid-template-columns: repeat(1, 305px);
    justify-content: center;
    gap: 20px 0;
  }

  .offers__item-price:hover ~ .offers__item-details {
    gap: 20px;
    padding: 20px;
    z-index: 2;
  }

  .offers__item-details li {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .offers__item::after {
    width: 140px;
    height: 1px;
    top: 0;
    left: 50%;
    bottom: -15px;
    transform: translate(-50%, 0);
    z-index: 0;
  }

  .offers__item:nth-child(even)::after {
    display: block;
  }

  .offers__item:last-child::after {
    display: block;
  }

  .offers__item:first-child::after {
    display: none;
  }

  .offers__decor {
    display: none;
  }
}

@media screen and (max-width: 670px) {
  .consultation__content {
    width: 520px;
  }

  .consultation__form-field {
    width: 250px;
  }
}

@media screen and (max-width: 660px) {
  .benefits__content-items {
    width: auto;
    flex-direction: column;
    align-items: center;
  }

  .reviews__decor {
    width: 120px;
    height: 370px;
    background: url(../img/reviews/decor-mobile.png) no-repeat center;
    left: initial;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media screen and (max-width: 620px) {
  .reviews__slider-slide img {
    margin: 0 auto;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .header {
    padding: 2px 0;
  }

  .intro {
    padding-top: 50px;
  }

  .intro__content {
    text-align: center;
  }

  .intro__link {
    flex-direction: column;
    gap: 20px;
  }

  .default__image-desc {
    max-width: 335px;
    width: 100%;
    padding: 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .about,
  .metrics,
  .programs,
  .problems,
  .footer,
  .benefits,
  .reviews,
  .posts {
    padding: 30px 0;
  }

  .consultation {
    padding-bottom: 30px;
  }

  .about__signature,
  .about__decor {
    display: none;
  }

  .programs__title {
    text-align: center;
  }

  .programs__wrapper {
    gap: 30px;
  }
}

@media screen and (max-width: 570px) {
  .consultation__content {
    width: 400px;
  }

  .consultation__form-field {
    width: 400px;
  }
}

@media screen and (max-width: 530px) {
  .problems__card,
  .problems__card img {
    width: 380px;
  }
}

@media screen and (max-width: 470px) {
  .about {
    padding-top: 425px;
  }

  .default__image {
    width: 100%;
    height: 375px;
    position: absolute;
    top: 30px;
    left: 0;
  }

  .default__image img {
    width: 100%;
    height: 375px;
  }

  .about__content-links {
    justify-content: center;
  }

  .about__video-text {
    display: none;
  }

  .metrics__wrapper {
    gap: 20px 100px;
  }

  .benefits__wrapper {
    padding-top: 450px;
  }

  .benefits__image {
    top: 200px;
    left: -20px;
    transform: translateY(-50%);
  }

  .benefits__image,
  .benefits__image img {
    width: 100vw;
    height: 375px;
  }

  .benefits__image-desc {
    bottom: -50px;
  }

  .consultation__form-field {
    width: 335px;
  }

  .consultation__form-item:last-child {
    max-width: 335px;
  }

  .consultation__content {
    width: 335px;
  }

  .consultation__image {
    top: 200px;
    left: -20px;
    transform: translateY(-50%);
  }

  .consultation__image,
  .consultation__image img {
    width: 100vw;
    height: 375px;
  }

  .consultation__image-desc {
    bottom: -50px;
  }

  .consultation__wrapper {
    padding-top: 450px;
  }
}

@media screen and (max-width: 450px) {
  .intro__image {
    height: 375px;
  }

  .problems__card,
  .problems__card img {
    width: 335px;
  }

  .problems__load-more {
    width: 200px;
    padding: 0;
    text-align: center;
    margin: 0 auto;
    margin-top: 20px;
  }
}

@media screen and (max-width: 360px) {
  .consultation__content {
    width: 300px;
  }

  .consultation__form-field {
    width: 300px;
  }

  .consultation__form-item:last-child {
    width: 300px;
  }
}

@media screen and (max-width: 350px) {
  .problems__card,
  .problems__card img {
    width: 300px;
  }
}

@media screen and (max-width: 340px) {
  .container {
    padding: 0 10px;
  }

  .programs__item {
    width: 300px;
  }
}

@media screen and (max-width: 330px) {
  .intro__image {
    height: 300px;
  }

  .intro__title {
    font-size: 24px;
  }

  .intro__desc {
    font-size: 16px;
  }
}

/* animations */
@keyframes showMobileMenu {
  from {
    opacity: 0;
    right: -300px;
  }

  to {
    opacity: 1;
    right: 0;
  }
}

@keyframes hideMobileMenu {
  from {
    opacity: 1;
    right: 0;
  }
  to {
    opacity: 0;
    right: -300px;
  }
}

@keyframes showDetails {
  from {
    opacity: 0;
    left: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  to {
    opacity: 1;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
  }
}


/*****************  contact form 7 style  *****************/

.wpcf7-validation-errors {
  display: none!important;
}

.wpcf7-form .wpcf7-response-output {
  font-size: 13px;
  line-height: 17px;
  margin: 3px auto 10px auto!important;
}


select.wpcf7-not-valid, input[type=text].wpcf7-not-valid, input[type=date].wpcf7-not-valid, input[type=email].wpcf7-not-valid, input[type=tel].wpcf7-not-valid, textarea.wpcf7-not-valid, #block-7 input[type=text].wpcf7-not-valid, #block-7 input[type=tel].wpcf7-not-valid, #block-15 input[type=tel].wpcf7-not-valid, #block-15 input[type=text].wpcf7-not-valid{
    border: 2px solid #ec3c06!important;
    position:relative;
}

body span.wpcf7-not-valid-tip {
  display: none!important;
  color: #ec3c06;
  border: none;
  background: none;
}
body span.wpcf7-not-valid-tip-no-ajax{
  display:inline-block;
  font-size:18px;
  margin:0 0 0 10px;
}
body div.wpcf7-validation-errors {
    background: #ffe2e2;
    border: 2px solid #ff8a8a;
    color: #ec3c06;
    font-size:18px;
    text-align:center;
    position:relative;
    z-index:12000;
}
.contact-inner-form .wpcf7-response-output{
  width:95%;
}
body div.wpcf7-response-output {
  padding: 6px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  border-radius: 3px;
}

body .wpcf7-mail-sent-ng {
    background: #fff2e2;
    border: 1px solid #ffbc8a;
    color: #e17731;
}

body .wpcf7-mail-sent-ok {
    border: 1px solid transparent;
    color: #ff5805;
    text-align:center;
}

.wa {
  padding-left:5px;
}
.wa.desc {
  float:right;
  font-size:16px;
  margin-top:20px;
  /* padding-right: 10px; */
  padding: 5px 10px;
  border-radius: 5px;
  border: 2px solid #0d5200;
}
i.desc {
   font-size:20px;
   float: left;
   padding-right: 5px;
   margin-top: 4px;
}

.mob {
  color:#009a4a;
  float: right;
  margin-left: 90px;
}