:root {
  --bg: #070b18;
  --bg2: #0b1533;
  --card: #ffffff;
  --soft: #f3f7ff;
  --text: #0b1020;
  --text2: #334155;
  --muted: #64748b;
  --blue1: #1e3a8a;
  --blue2: #2563eb;
  --danger: #ef4444;
  --line: rgba(2, 6, 23, .10);
  --shadow2: 0 10px 25px rgba(2, 6, 23, .10);
  --radius: 20px;
  --container: 420px;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  width: min(var(--container), calc(100% - 28px));
  margin: 0 auto
}

.sectionTitle {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.2px
}

.sectionTitle--onDark {
  color: #fff;
  text-align: center
}

/* Buttons */
.btn,
button.btn,
button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 14px;
  border-radius: 16px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 15px;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, .22);
  transition: transform .12s ease, box-shadow .18s ease;
}

.btn:active,
button:active {
  transform: scale(.985)
}

.btn--wide {
  margin-top: 14px
}

/* Form */
.orderForm {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 14px;
}

.field {
  display: block;
  margin-bottom: 10px
}

.field__label {
  display: block;
  font-size: 12px;
  font-weight: 850;
  color: var(--muted);
  margin-bottom: 6px
}

.orderForm input, .orderForm select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(2, 6, 23, .16);
  outline: none;
  font-weight: 800;
  font-size: 16px;
  outline: none;;
  height: 48px;
  box-sizing: border-box;
}

.orderForm input:focus {
  border-color: rgba(37, 99, 235, .55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12)
}

/* HERO */
.hero {
  color: #fff;
  padding: 18px 0 18px;
  background:
    linear-gradient(180deg, rgba(7, 11, 24, .82) 0%, rgba(11, 21, 51, .90) 100%),
    url("img/header-bg-mob.jpg") center/cover no-repeat;
}

@media (min-width:768px) {
  :root {
    --container: 980px
  }

  .container {
    width: min(var(--container), calc(100% - 48px))
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(7, 11, 24, .78) 0%, rgba(11, 21, 51, .88) 100%),
      url("img/header-bg.jpg") center/cover no-repeat;
  }
}

.hero__logo {
  font-weight: 1000;
  letter-spacing: 1px;
  text-align: center;
  font-size: 18px;
  margin: 6px 0 12px;
  color: #e8f0ff;
}

.hero__title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.4px
}

.hero__subtitle {
  margin: 0 0 12px;
  text-align: center;
  color: rgba(255, 255, 255, .86);
  font-weight: 750;
  line-height: 1.35
}

.hero__product {
  display: flex;
  justify-content: center;
  margin: 10px 0
}

.hero__product img {
  width: min(270px, 72vw);
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(2, 6, 23, .45));
}

.hero__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 12px
}

.price__old {
  color: rgba(255, 255, 255, .72);
  text-decoration: line-through;
  font-weight: 900;
  font-size: 14px
}

.price__new {
  color: var(--danger);
  font-weight: 1000;
  font-size: 30px
}

.hero__bullets {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px
}

.hero__bullets li {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 12px 12px;
  font-weight: 850;
  line-height: 1.25
}

/* BENEFITS */
.benefits {
  padding: 26px 0;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  color: #fff
}

.benefits__grid {
  display: grid;
  gap: 12px
}

.benefitCard {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 16px 40px rgba(2, 6, 23, .24)
}

.benefitCard img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover
}

.benefitCard h3 {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.1px
}

/* REVIEWS */
.reviews {
  padding: 26px 0;
  background: #fff
}

.reviews__list {
  display: grid;
  gap: 12px
}

.reviewCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 14px
}

.reviewCard__head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px
}

.reviewCard__avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--line)
}

.reviewCard__name {
  font-weight: 1000
}

.reviewCard__stars {
  color: #f59e0b;
  font-weight: 1000;
  letter-spacing: 1px;
  font-size: 12px;
  margin-top: 2px
}

.reviewCard__text {
  color: var(--text2);
  line-height: 1.65;
  font-weight: 650;
  font-size: 14px
}

/* CHECKLIST */
.checklist {
  padding: 26px 0;
  background: linear-gradient(180deg, var(--soft), #fff)
}

.checklist__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px
}

.checklist__list li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 12px 12px 44px;
  box-shadow: var(--shadow2);
  font-weight: 850;
  line-height: 1.25
}

.checklist__list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, .12);
  color: var(--blue2);
  font-weight: 1000
}

.checklist__accent {
  border-color: rgba(37, 99, 235, .25)
}

.checklist__accent::before {
  background: rgba(37, 99, 235, .16);
  color: var(--blue1)
}

/* DOCTOR */
.doctor {
  padding: 26px 0;
  background: #fff
}

.doctor__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 14px
}

.doctor__photo {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid var(--line);
  margin: 0 auto 10px
}

.doctor__text {
  color: var(--text2);
  line-height: 1.7;
  font-weight: 650;
  font-size: 14px
}

/* STAGES */
.stages {
  padding: 26px 0;
  background: linear-gradient(180deg, var(--soft), #fff)
}

.stages__list {
  display: grid;
  gap: 12px
}

.stageCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 14px
}

.stageCard img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line)
}

.stageCard h3 {
  margin: 12px 0 6px;
  font-size: 16px;
  color: var(--blue1);
  font-weight: 1000
}

.stageCard p {
  margin: 0;
  color: var(--text2);
  line-height: 1.65;
  font-weight: 650
}

/* FINAL HERO */
.finalHero {
  padding: 26px 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 11, 24, .82) 0%, rgba(11, 21, 51, .90) 100%),
    url("img/header-bg-mob.jpg") center/cover no-repeat;
}

@media (min-width:768px) {
  .finalHero {
    background:
      linear-gradient(180deg, rgba(7, 11, 24, .78) 0%, rgba(11, 21, 51, .88) 100%),
      url("img/header-bg.jpg") center/cover no-repeat;
  }
}

.finalHero__logo {
  text-align: center;
  font-weight: 1000;
  letter-spacing: 1px;
  color: #e8f0ff;
  margin: 0 0 10px
}

.finalHero__title {
  text-align: center;
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.15
}

.finalHero__subtitle {
  text-align: center;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .86);
  font-weight: 750
}

.finalHero__product {
  display: flex;
  justify-content: center;
  margin: 10px 0
}

.finalHero__product img {
  /* width: min(250px, 70vw);
  max-height: 210px; */
  width: 100%;
  max-width: 350px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(2, 6, 23, .45))
}

.finalHero__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 12px
}

/* Desktop polish */
@media (min-width:768px) {
  .hero .container {
    /* display: grid; */
    /* grid-template-columns: 1.2fr .8fr; */
    gap: 22px;
    align-items: start
  }

  .hero__logo,
  .hero__title,
  .hero__subtitle {
    text-align: left
  }

  .hero__price {
    justify-content: center
  }

  .hero__product {
    justify-content: center;
  }

  .hero__product img {
    width: 100%;
    max-height: 350px;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .reviews__list {
    grid-template-columns: repeat(3, 1fr)
  }

  .stages__list {
    grid-template-columns: repeat(3, 1fr)
  }

  .doctor__card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: start
  }

  .doctor__photo {
    margin: 0
  }
}

/* ===== Floating stock widget ===== */
.floatingStock {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 9999;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border: 1px solid rgba(2, 6, 23, .12);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(2, 6, 23, .18);
  padding: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.floatingStock__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.floatingStock__title {
  font-weight: 900;
  color: #0b1020;
  font-size: 13px;
}

.floatingStock__count {
  font-weight: 1000;
  color: var(--danger);
  font-size: 26px;
  line-height: 1;
}

.floatingStock__btn {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  color: #fff;
  font-weight: 1000;
  box-shadow: 0 16px 34px rgba(37, 99, 235, .22);
}

.stockCount {
  display: inline-block;
  will-change: transform, opacity;
}

@keyframes stockBump {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  35% {
    transform: translateY(-3px) scale(1.08);
    opacity: .92;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.stockCount.is-anim {
  animation: stockBump .38s ease;
}

/* Avoid covering content at the bottom */
body {
  padding-bottom: 98px;
}

@media (min-width: 768px) {
  .floatingStock {
    left: auto;
    right: 16px;
    bottom: 16px;
    width: 320px;
  }

  body {
    padding-bottom: 0;
  }
}

.floatingStock__timer {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 900;
  color: #1f2937;
}

.floatingStock__timer span {
  color: var(--danger);
}