:root {
  --first-font: 'Gilroy', sans-serif;
  --second-font: 'AvenirNextCyr', sans-serif;

  --accent-color: linear-gradient(348deg, #48769b, #6dabdd);
  --light-color: #ffffff;
  --text-color: #333;
  --subtitle-color: #ffd800;
  --red-color: #ee3737;
  --form-bg-color: linear-gradient(325deg, #55555529, #00000012);

  --border-radius: 20px;
  --btn-radius: 50px;

  --section-gap: 40px;

  --shadow: 0 0 11px #000000cc;
}

@font-face {
  font-family: 'AvenirNextCyr';
  src: url('../fonts/AvenirNextCyr-Regular.woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'AvenirNextCyr';
  src: url('../fonts/AvenirNextCyr-Bold.woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Light.woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Regular.woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-ExtraBold.woff2');
  font-weight: 700;
  font-style: normal;
}

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

html {
  font-family: var(--first-font);
  font-weight: 400;
  font-style: normal;
  min-width: 390px;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--first-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-color);
  gap: var(--section-gap);
  background: #eee;
}

main,
footer {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
}

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

section h2 {
  font-family: var(--first-font);
  font-weight: 700;
  font-size: 30px;
  line-height: 34px;
  text-align: center;
  color: var(--text-color);
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

b {
  font-weight: bold;
}

a {
  text-decoration: none;
}

.btn-reset {
  border: none;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
}

.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 460px;
}

.offer img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.offer-slider {
  overflow: hidden;
}

.offer-slider img {
  box-shadow: none;
}

.offer-price {
  display: flex;
  align-items: flex-end;
}

.offer-price__old,
.offer-price__new {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.offer-price__old span {
  font-size: 14px;
  line-height: 14px;
  color: rgba(32, 32, 32, 0.5);
}

.offer-price__old p {
  font-weight: 700;
  font-size: 40px;
  text-decoration: line-through;
  color: rgba(32, 32, 32, 0.5);
}

.offer-price__new span {
  padding: 6px 14px 4px;
  border-radius: 4px;
  background: var(--red-color);
  color: var(--light-color);
  font-weight: 400;
  line-height: 12px;
}

.offer-price__new p {
  font-weight: 700;
  font-size: 50px;
  color: var(--text-color);
}

.order-btn {
  width: 100%;
  padding: 0 30px;
}

.btn {
  display: block;
  font-family: var(--first-font);
  font-weight: 700;
  font-size: 24px;
  line-height: 80px;
  letter-spacing: 2px;
  text-align: center;
  cursor: pointer;
  border-radius: var(--btn-radius);
  background: var(--accent-color);
  color: var(--light-color);
  text-transform: uppercase;
  box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 43%);
}

.order-date {
  text-align: center;
}

.date {
  font-family: var(--second-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #333;
}

.video {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
}

.video_block {
  width: 100%;
  padding: 0 10px 10px;
  border-radius: var(--border-radius);
}

.youtube {
  border-radius: var(--border-radius);
}

.video_block iframe,
.video_block img {
  width: 100%;
  min-height: 270px;
  border-radius: var(--border-radius);
}

.description {
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.description h2 {
  text-transform: uppercase;
  color: #4a4a4a;
  text-shadow: 0 0 10px #ffffff2e;
  font-size: 23px;
}

.description ul,
.description ul li {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.description ul li img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.description ul li p {
  padding: 0 30px;
  font-size: 20px;
  text-align: center;
}

.advantages {
  margin: 0 10px;
  padding: 30px 10px;
  border-radius: var(--border-radius);
  background: var(--accent-color);
  text-shadow: 0 0 12px #0000007d;
}
.advantages h2 {
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  color: var(--light-color);
}
.advantages ul {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.advantages ul img {
  width: 150px;
  border: 3px solid #fff;
  background: #fff;
  border-radius: 4px;
}

.advantages ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.advantages ul li:nth-child(even) {
  flex-direction: row-reverse;
}

.advantages-text {
  text-align: center;
}

.advantages-text h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--light-color);
}

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

.characteristic {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.characteristic img {
  margin: 0 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.characteristic ul {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.characteristic ul li {
  padding-left: 30px;
  background-repeat: no-repeat;
  background-position: left 5px;
  background-image: url('../images/tick.svg');
}

.reviews {
  margin: 0 10px;
  padding: 30px 10px;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-radius: var(--border-radius);
  background: var(--accent-color);
}

.reviews h2 {
  font-weight: 700;
  line-height: 36px;
  text-transform: uppercase;
  color: var(--light-color);
}

.reviews-rating {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  color: var(--light-color);
}

.reviews-rating__stars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-rating__bar {
  width: 100%;
  max-width: 330px;
  height: 10px;
  border-radius: 5px;
  background: #e6e6e6;
}

.reviews-rating__bar span {
  margin-left: -1px;
  display: block;
  width: 96%;
  height: 10px;
  border-radius: 5px;
  background: #41944b;
}

.reviews-slider {
  overflow: hidden;
}

.reviews-slider img {
  border-radius: var(--border-radius);
}

.delivery {
  width: 100%;
}

.delivery ul {
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.delivery ul li {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent-color);
  border-radius: var(--border-radius);
}
.delivery ul li:nth-child(even) {
  flex-direction: row-reverse;
}

.delivery ul li img {
  border-radius: 0 20px 20px 0;
  height: 100px;
}

.delivery ul li:nth-child(even) img {
  border-radius: 20px 0 0 20px;
}

.delivery-text {
  max-width: 160px;
  margin: 12px 20px;
  color: var(--light-color);
}

.delivery-text h3 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
}

.delivery-text p {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
}

.main-order-form {
  padding: 30px;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--border-radius);
  background: var(--form-bg-color);
}

.main-order-form button {
  border-radius: 25px;
  height: 66px;
  line-height: 0;
}

.main-order-form input {
  padding: 0 20px 0 80px;
  width: 400px;
  height: 66px;
  border: 1px solid #e6e6e6;
  border-radius: 25px;
  background-color: var(--light-color);
  font-weight: 400;
  font-size: 16px;
  color: var(--text-color);
  box-shadow: 0 0 14px #0000000f;
  background-position: 20px center;
  background-repeat: no-repeat;
}

.main-order-form input[name='name'] {
  background-image: url('../images/offer__name_icon.png');
}

.main-order-form input[name='phone'] {
  background-image: url('../images/offer__phone_icon.png');
}

.footer {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
