@font-face {
  font-family: 'Roboto';
  src:
    url('../fonts/Roboto-Regular.woff') format('woff'),
    url('../fonts/Roboto-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src:
    url('../fonts/Roboto-Bold.woff') format('woff'),
    url('../fonts/Roboto-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

body {
  margin: 0;
  background-color: #cecece;
  color: #212121;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

:root {
  --main-blue: rgb(77, 146, 192);
  --dark-blue: #2b6c8c;
  --main-red: rgb(255 31 31);
  --main-grey: rgb(157 157 157);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: var(--main-blue);
}

a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
  display: block;
  font-family: inherit;
  border: none;
}

input,
textarea {
  font-family: inherit;
  appearance: none;
  outline: none;
}

section {
  padding: 15px 0;
}

.header__title {
  font-size: 30px;
  font-weight: bold;
}

.header a:hover {
  text-decoration: none;
}

@media screen and (min-width: 480px) {
  .header__title {
    font-size: 32px;
  }
}

@media screen and (min-width: 550px) {
  .header__title {
    font-size: 34px;
  }
}

@media screen and (min-width: 640px) {
  .header__title {
    font-size: 35px;
  }
}

@media screen and (min-width: 768px) {
  .header__title {
    font-size: 36px;
  }
}

@media screen and (min-width: 992px) {
  .header__title {
    font-size: 38px;
  }
}

@media screen and (min-width: 1024px) {
  .header__title {
    font-size: 40px;
  }
}

h1 {
  font-size: 27px;
  font-weight: bold;
}

@media screen and (min-width: 480px) {
  h1 {
    font-size: 30px;
  }
}

@media screen and (min-width: 550px) {
  h1 {
    font-size: 32px;
  }
}

@media screen and (min-width: 640px) {
  h1 {
    font-size: 34px;
  }
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 36px;
  }
}

@media screen and (min-width: 992px) {
  h1 {
    font-size: 38px;
  }
}

@media screen and (min-width: 1024px) {
  h1 {
    font-size: 40px;
  }
}

h2 {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  color: var(--main-blue);
}

@media screen and (min-width: 480px) {
  h2 {
    font-size: 27px;
  }
}

@media screen and (min-width: 640px) {
  h2 {
    font-size: 28px;
  }
}

@media screen and (min-width: 768px) {
  h2 {
    font-size: 30px;
  }
}

@media screen and (min-width: 992px) {
  h2 {
    font-size: 32px;
  }
}

h3 {
  font-weight: bold;
  text-align: center;
  font-size: 18px;
  margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
  h3 {
    font-size: 20px;
  }
}

h4 {
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  line-height: 1.3;
}

p {
  font-size: 16px;
  line-height: 1.3;
}

@media screen and (min-width: 768px) {
  p,
  h4,
  body {
    font-size: 18px;
  }
}

.hidden {
  display: none;
}

.no-wrap {
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 15px;
  margin: 0 auto;
  background-color: white;
}

.red-text {
  color: var(--main-red);
}

.bold {
  font-weight: bold;
}

/**HEADER**/

.header {
  padding: 10px 0;
  margin: 0 -15px;
  box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

@media screen and (min-width: 640px) {
  .header {
    padding: 15px 0;
  }
}

@media screen and (min-width: 1024px) {
  .header {
    padding: 20px 0;
  }
}

.header__title {
  color: var(--main-blue);
  text-align: center;
}

/**PROMO**/

.promo {
  padding: 20px 0;
}

.promo__title {
  text-align: center;
}

.promo__subtitle {
  text-align: center;
  position: relative;
  padding-left: 30px;
  width: fit-content;
  margin: 15px auto;
}

.promo__subtitle::before {
  position: absolute;
  content: '';
  background-image: url('../images/fire.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 22px;
  height: 22px;
  left: 0;
  top: -2px;
}

.promo p {
  margin-bottom: 15px;
}

.promo__bordered {
  border: 2px solid #9d9d9d;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}

.promo__bordered p:last-of-type {
  margin-bottom: 0;
}

.promo__accent::before {
  content: '!';
  color: #e30000;
  font-size: 26px;
  font-weight: bold;
  margin-right: 4px;
}

.promo__preview {
  width: 100%;
  max-width: 948px;
  max-height: 533px;
  margin: 0 auto 15px;
  position: relative;
}

.video__wrapper {
  position: relative;
}

.promo__preview-play {
  z-index: 10;
  position: absolute;
  width: 65px;
  height: 65px;
  background-image: url('../images/play.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.promo__preview-play.is-playing {
  display: none;
}

@media screen and (min-width: 480px) {
  .promo__preview-play {
    width: 100px;
    height: 100px;
  }
}

@media screen and (min-width: 640px) {
  .promo__preview-play {
    width: 120px;
    height: 120px;
  }
}

@media screen and (min-width: 992px) {
  .promo__preview-play {
    width: 140px;
    height: 140px;
  }
}

.promo__video {
  display: none;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 948px;
  margin: 0 auto;
}

.promo__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.promo__btn--video {
  margin: 0 auto;
  width: 100%;
  padding: 12px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: bold;
  color: white;
  text-align: center;
  background-color: var(--main-blue);
  border-radius: 10px;
  animation: pulse 1s infinite;
  cursor: pointer;
  max-width: 280px;
}

@media screen and (min-width: 375px) {
  .promo__btn--video {
    max-width: 330px;
  }
}

@media screen and (min-width: 480px) {
  .promo__btn--video {
    padding: 15px 20px;
  }
}

@media screen and (min-width: 640px) {
  .promo__btn--video {
    max-width: 400px;
  }
}

.promo__btn--video:hover,
.promo__btn--video:focus {
  animation: none;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(77, 146, 192, 0.4);
  }

  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(77, 146, 192, 0);
  }

  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(77, 146, 192, 0);
  }
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(77, 146, 192, 0.4);
    box-shadow: 0 0 0 0 rgba(77, 146, 192, 0.4);
  }

  70% {
    -moz-box-shadow: 0 0 0 10px rgba(77, 146, 192, 0);
    box-shadow: 0 0 0 10px rgba(77, 146, 192, 0);
  }

  100% {
    -moz-box-shadow: 0 0 0 0 rgba(77, 146, 192, 0);
    box-shadow: 0 0 0 0 rgba(77, 146, 192, 0);
  }
}

/**SPECIALIST**/

.specialist {
  padding: 0 10px 15px;
}

.specialist__wrapper--outer {
  background-color: rgb(247 237 219);
  border-radius: 10px;
  padding: 10px;
}

.specialist__wrapper--inner {
  padding: 15px;
  border-radius: 8px;
  border: 2px solid goldenrod;
  display: flex;
  flex-direction: column-reverse;
}

.specialist__img-container {
  width: 100%;
  max-width: 180px;
  height: 100%;
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 2px solid goldenrod;
  flex-shrink: 0;
  overflow: hidden;
}

.specialist__info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.specialist__citate {
  position: relative;
}

.specialist__accent {
  color: #474675;
  text-shadow: 1px 1px 2px rgba(73, 73, 73, 0.3);
}

.quotes {
  display: block;
  width: 30px;
  height: 30px;
  fill: #adb2b7;
  margin-bottom: 10px;
}

.quotes.bottom {
  rotate: 180deg;
  margin-left: auto;
  fill: #547191;
}

.specialist__citate p {
  padding: 0 20px;
}

.specialist__info h3 {
  text-align: left;
  margin-bottom: 0;
}

@media screen and (min-width: 540px) {
  .specialist__img-container {
    max-width: 220px;
  }
}

@media screen and (min-width: 768px) {
  .specialist__wrapper--inner {
    flex-direction: row;
  }

  .specialist__img-container {
    margin: 0;
    margin-left: 15px;
    max-width: 250px;
  }

  .quotes {
    width: 40px;
    height: 40px;
  }

  .specialist__citate p {
    text-align: justify;
  }
}

/**REFS**/

.refs__title {
  text-align: center;
  color: var(--main-grey);
  margin-bottom: 15px;
}

.refs__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.refs__list li {
  margin-left: 25px;
  color: #547191;
  line-height: 1.3;
}

@media screen and (min-width: 768px) {
  .refs__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .refs__list li {
    margin-left: 30px;
  }
}

/**VIDEO**/

.video {
  border-bottom: none;
  padding-bottom: 0;
}

.video__subtitle {
  margin: 15px 0;
}

/**TIMER**/

.timer {
  background-color: var(--dark-blue);
  color: white;
  position: relative;
  margin: 30px -15px;
  padding: 15px;
}

.timer:first-of-type {
  margin-top: 0;
}

.timer::after {
  content: '';
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--dark-blue);
}

.timer h2 {
  color: white;
}

@media screen and (max-width: 479px) {
  .timer h2 {
    font-size: 25px;
  }
}

.counter {
  width: fit-content;
  margin: 15px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/**ORDER**/

.order {
  padding-top: 30px;
}

.order h3 {
  margin-bottom: 5px;
}

.order__product {
  position: relative;
  width: fit-content;
  margin: 0 auto 15px;
  filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.5));
}

.order__img {
  max-width: 160px;
}

.sale {
  width: 60px;
  height: 60px;
  background: linear-gradient(to bottom left, #ff4d4d, #e30000, #a00000);
  border-radius: 50%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  rotate: -25deg;
  top: -27px;
  right: -6px;
  font-size: 22px;
}

.order__info-subtext {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.prices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
}

.prices--old {
  position: relative;
  width: fit-content;
}

.old-price {
  color: grey;
}

.prices--new {
  font-size: 22px;
}

.prices--old::before,
.prices--old::after {
  position: absolute;
  content: '';
  height: 1px;
  width: 100%;
  background-color: var(--main-red);
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.prices--old::before {
  rotate: 15deg;
}

.prices--old::after {
  rotate: -15deg;
}

.order__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order__form input,
.order__form-button {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 10px;
  font-size: 16px;
}

.order__form {
  margin-bottom: 15px;
}

.order__form input {
  padding: 8px 12px;
  border: 2px solid var(--main-grey);
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  transition: all 0.3s ease-in-out;
}

.order__form input:hover,
.order__form input:focus {
  border-color: #a9d9f1;
}

.order__form input::placeholder {
  font-size: 16px;
  color: var(--main-grey);
}

.order__form-button {
  padding: 10px 12px;
  background-color: var(--main-red);
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.order__form-button:hover,
.order__form-button:focus,
.order__form-button:active {
  background-color: #a00000;
}

.order__info-footer,
.order__footer--center {
  color: var(--main-grey);
  font-size: 15px;
  text-align: center;
}

.order__footer--center {
  margin-top: 15px;
}

@media screen and (min-width: 480px) {
  .order {
    margin: 0 auto;
  }

  .prices {
    flex-direction: row;
    gap: 20px;
  }

  .prices--new,
  .prices--old {
    height: 29px;
    display: flex;
    align-items: end;
  }

  .old-price,
  .new-price {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
}

@media screen and (min-width: 640px) {
  .order {
    width: fit-content;
    max-width: 600px;
    display: flex;
    padding-top: 105px;
    padding-bottom: 20px;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 25px;
  }

  .order__info-subtext {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
  }

  .order__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 295px;
  }

  .sale {
    width: 70px;
    height: 70px;
    top: -35px;
    font-size: 24px;
  }

  .order__info-subtext {
    width: 100%;
  }

  .order__form input,
  .order__form-button {
    margin: unset;
  }

  .prices,
  .order__form input,
  .order__form-button,
  .order__info-footer {
    width: 100%;
  }

  .order__footer--center {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
}

@media screen and (min-width: 640px) {
  .order__img,
  .order__product {
    max-width: 170px;
  }
  .order__product {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 768px) {
  .order {
    max-width: 700px;
    padding-top: 105px;
    justify-content: space-between;
  }
  .order__info {
    max-width: 320px;
  }
  .order__img,
  .order__product {
    max-width: 180px;
  }
}

/**REVIEWS**/

.reviews__rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.rating,
.rating-full {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.star {
  width: 24px;
  height: 24px;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  background-color: #e0e0e0;
}

.star.filled {
  background-color: #ffcc00;
}

.star.half {
  background: linear-gradient(to right, #ffcc00 70%, #e0e0e0 30%);
}

.reviews__title-large,
.reviews__subtitle-large {
  line-height: 1.2;
  max-width: 700px;
}

.reviews__title-large {
  color: var(--main-blue);
  margin: 15px auto;
}

.reviews__subtitle-large {
  color: white;
  background-color: var(--main-blue);
  padding: 15px;
  border-radius: 10px;
  width: fit-content;
  margin: 0 auto 40px;
}

.reviews__photos {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.reviews__photos li {
  background: white;
  max-width: 140px;
  height: auto;
  padding: 10px 10px 25px 10px;
  rotate: -5deg;
  border: 1px solid rgb(235, 235, 235);
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  transition: transform 0.3s ease-in-out;
}

.reviews__photos li:last-of-type {
  display: none;
}

@media screen and (min-width: 480px) {
  .reviews__photos li {
    padding: 10px 10px 30px 10px;
  }

  .reviews__photos li:last-of-type {
    display: block;
  }
}

@media screen and (min-width: 550px) {
  .reviews__photos li {
    max-width: 150px;
  }
}

.reviews__photos li:hover {
  transform: scale(1.05);
  z-index: 10;
}

.swiper {
  width: 100%;
  margin: 40px auto;
  padding: 0 30px !important;
}

.swiper-slide {
  background: #fff;
  padding: 20px 20px 40px 20px;
  border-radius: 10px;
  text-align: center;
  cursor: grab;
}

.comments__author-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  gap: 5px;
}

.comments__rate {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.comments__ava {
  width: 80px;
  height: 80px;
  object-fit: cover;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 auto 14px;
}

/**COMPONENTS**/

.components-section {
  padding-top: 25px;
}

.components-section h3,
.components__item ul li {
  line-height: 1.3;
}

.components__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

@media screen and (min-width: 490px) and (max-width: 729px) {
  .components__list {
    justify-content: space-evenly;
  }
}

.components__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 220px;
}

.components__item img {
  width: 220px;
  height: auto;
  border-radius: 10px;
  height: 150px;
  object-fit: cover;
}

.components__item ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.components__item ul li {
  position: relative;
  padding-left: 24px;
}

.components__item ul li::before {
  content: '';
  background-image: url('../images/checkmark.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (min-width: 820px) {
  .components__item {
    width: 250px;
  }

  .components__item img {
    width: 250px;
    height: 170px;
  }

  .components__list {
    justify-content: space-between;
  }
}

@media screen and (min-width: 1024px) {
  .components__item {
    width: 316px;
  }

  .components__item img {
    width: 300px;
    height: 195px;
  }
}

/**BENEFITS**/

.benefits__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media screen and (min-width: 640px) {
  .benefits__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.benefits__list li {
  position: relative;
  padding: 10px 10px 10px 44px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.benefits__list li::before {
  position: absolute;
  content: '';
  background-image: url(../images/like.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 30px;
  height: 30px;
  left: 5px;
  top: 5px;
}

/**QA**/

.qa__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qa__list li {
  display: block;
  margin-bottom: 8px;
}

.qa__question {
  cursor: pointer;
  font-weight: bold;
  padding: 15px 15px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.qa__question:hover {
  background: #e0e0e0;
}

.qa__answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s ease-out,
    padding 0.5s ease-out;
  background: #ffffff;

  border-radius: 5px;
  padding: 0 15px;
}

.qa__answer.open {
  padding-top: 15px;
  padding-bottom: 15px;
  border: 1px solid #ddd;
  margin-top: 5px;
}

/**FOOTER**/

footer {
  padding: 20px 0;
  text-align: center;
  color: var(--main-grey);
}

footer a {
  color: #212121;
}

.copy {
  margin-top: 15px;
  color: #212121;
}

.policy {
  color: #212121;
  font-size: 16px;
  margin-bottom: 15px;
}

.statistics-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.statistics-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.statistics-item::before {
  content: '';
  background-color: var(--main-blue);
  width: 10px;
  height: 10px;
  border-radius: 50px;
  flex-shrink: 0;
  margin-top: 5px;
}

.order__title {
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.player-overlay {
  position: absolute;
  top: 0px;
  border: 0px;
  left: 0px;
  height: 52px;
  z-index: 3;
  width: 100%;
}

.player-overlay2 {
  position: absolute;
  bottom: 0px;
  border: 0px;
  left: 0px;
  height: 50px;
  z-index: 3;
  width: 100%;
}

@media screen and (min-width: 424px) {
  .player-overlay2 {
    height: 60px;
  }
}

@media screen and (min-width: 545px) {
  .player-overlay {
    height: 80px;
  }
}
