:root {
  --pink: #f75e79;
  --pink-dark: #a33d6f;
  --purple: #4b315d;
  --turquoise: #64c6c5;
  --text: #3e3e3e;
  --content: 940px;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.container--narrow { max-width: 780px; text-align: center; }
.container--testimonials { max-width: 720px; text-align: center; }
.section { padding: 64px 0; }

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #fff;
  background: #3d1f17;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(48, 20, 13, .27);
}

.hero__background,
.hero__background img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__background img { object-fit: cover; object-position: center; }
.hero__content { position: relative; z-index: 1; padding: 38px 0 54px; text-align: center; }

.hero h1 {
  max-width: 900px;
  margin: 0 auto 28px;
  font: 900 clamp(29px, 3.2vw, 39px)/1.17 Arial, Helvetica, sans-serif;
  text-shadow: 0 2px 3px rgba(0, 0, 0, .55);
}

.video-facade {
  position: relative;
  display: block;
  width: min(100%, 870px);
  padding: 8px;
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}

.video-facade picture,
.video-facade img { width: 100%; }
.video-player {
  width: min(100%, 870px);
  padding: 8px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}

.video-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

.video-facade__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 78px; height: 54px;
  translate: -50% -50%;
  border-radius: 12px;
  background: rgba(221, 36, 48, .94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.video-facade__play::after {
  content: "";
  position: absolute;
  top: 14px; left: 31px;
  border: 13px solid transparent;
  border-left: 21px solid #fff;
  border-right: 0;
}

.video-facade:focus-visible { outline: 4px solid #fff; outline-offset: 4px; }

.offer { padding: 50px 0 58px; text-align: center; }
.offer h2 { margin: 0; color: #bf1c27; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.offer__warning { margin: 8px 0 16px; color: #505050; font-size: clamp(20px, 2.5vw, 29px); font-weight: 700; }

.countdown { display: flex; justify-content: center; align-items: flex-start; gap: 10px; margin: 6px 0 22px; color: #383838; }
.countdown span { display: grid; }
.countdown strong { font-size: 52px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { margin-top: 5px; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.countdown b { margin-top: -3px; font-size: 50px; line-height: 1; }

.offer__price { width: 342px; margin: 0 auto 14px; }
.image-link { display: inline-block; max-width: 100%; transition: filter .15s ease; }
.image-link:hover { filter: brightness(1.04); }
.image-link:focus-visible { outline: 4px solid var(--purple); outline-offset: 5px; }
.security-strip { width: 697px; margin: 12px auto 0; }

.about__grid { display: grid; grid-template-columns: minmax(300px, 458px) 1fr; gap: 46px; align-items: center; }
.about__photo { border-radius: 2px; }
.about h2 { margin: 0; color: var(--pink-dark); font: 400 clamp(38px, 5vw, 56px)/1.15 Pacifico, "Brush Script MT", cursive; }
.separator { margin: 8px 0 20px; }
.about p { margin: 0 0 18px; }
.about__text { margin-top: 34px; text-align: center; font-size: 19px; }

.learning { color: #fff; background: var(--turquoise); }
.script-title {
  margin: 0 auto 42px;
  text-align: center;
  font: 700 clamp(37px, 5vw, 55px)/1.12 "Lobster Two", Georgia, serif;
}
.script-title--pink { color: var(--pink-dark); }

.check-list { max-width: 850px; padding: 0; margin: 0 auto; list-style: none; }
.check-list li { position: relative; padding-left: 44px; margin: 0 0 23px; font-size: 19px; }
.check-list li::before { content: "✓"; position: absolute; top: -3px; left: 0; color: #fff; font-size: 30px; font-weight: 900; }
.check-list li:last-child { margin-bottom: 0; }

.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery__grid img { width: 100%; border-radius: 2px; }

.testimonials { background: #e9ebee; }
.testimonials img { width: auto; margin: 0 auto 26px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.testimonials img:last-child { margin-bottom: 0; }

.bonuses__intro { max-width: 850px; margin: 0 auto 30px; text-align: center; font-size: 21px; }
.bonuses__title-image { width: min(610px, 100%); margin: 0 auto 35px; }
.bonus { display: grid; grid-template-columns: 276px 1fr; gap: 42px; align-items: center; padding: 34px 0; border-top: 1px solid #e6e6e6; }
.bonus--reverse img { order: 2; }
.bonus span { color: var(--pink-dark); font-size: 20px; font-weight: 900; }
.bonus h3 { margin: 3px 0 12px; color: var(--purple); font-size: clamp(23px, 3vw, 31px); line-height: 1.15; }
.bonus p { margin: 0; }

.guarantee { color: #2d1b26; background: var(--pink); }
.guarantee__grid { display: grid; grid-template-columns: 202px 1fr; gap: 45px; align-items: center; }
.guarantee h2 { margin: 0 0 20px; font: 700 clamp(34px, 4vw, 48px)/1.1 "Lobster Two", Georgia, serif; }
.guarantee p { margin: 0 0 14px; }

.testimonials--more { background: #fff; }

.certificate { background: #f3f1f2; }
.certificate__grid { display: grid; grid-template-columns: 1fr minmax(390px, 600px); gap: 35px; align-items: center; }
.certificate h2 { margin: 0 0 20px; color: var(--pink-dark); font: 700 clamp(36px, 4.6vw, 53px)/1.1 "Lobster Two", Georgia, serif; }
.certificate p { margin: 0; color: var(--purple); font-size: 25px; font-weight: 900; }

.offer--final { padding-top: 62px; }
.offer--final h2 { color: var(--pink-dark); font: 700 clamp(40px, 5vw, 58px)/1.1 "Lobster Two", Georgia, serif; }
.offer--final > .container > p { margin: 5px 0 20px; font-size: clamp(21px, 3vw, 29px); font-weight: 700; }
.offer__price--small { width: 300px; }
.security-strip--wide { width: 772px; margin-top: 18px; }

.footer { padding: 30px 0; color: #fff; background: var(--pink-dark); text-align: center; font-size: 14px; }
.footer p { margin: 3px 0; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__content { padding-top: 32px; }
  .about__grid { grid-template-columns: minmax(260px, .8fr) 1fr; gap: 30px; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .certificate__grid { grid-template-columns: 1fr; text-align: center; }
  .certificate img { margin-inline: auto; }
}

@media (max-width: 680px) {
  body { font-size: 17px; line-height: 1.5; }
  .container { width: min(100% - 28px, var(--content)); }
  .section { padding: 46px 0; }
  .hero__content { padding: 25px 0 34px; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(26px, 8vw, 34px); }
  .video-facade, .video-player { padding: 5px; }
  .video-facade__play { width: 62px; height: 44px; border-radius: 9px; }
  .video-facade__play::after { top: 11px; left: 25px; border-width: 11px; border-left-width: 17px; border-right: 0; }
  .offer { padding: 40px 0 46px; }
  .countdown strong { font-size: 45px; }
  .countdown b { font-size: 44px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { width: min(100%, 458px); margin-inline: auto; }
  .about__grid > div { text-align: center; }
  .separator { margin-inline: auto; }
  .about__text { margin-top: 22px; }
  .script-title { margin-bottom: 31px; }
  .check-list li { padding-left: 36px; font-size: 17px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bonus, .bonus--reverse { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .bonus img, .bonus--reverse img { order: 0; margin-inline: auto; }
  .guarantee__grid { grid-template-columns: 1fr; gap: 23px; text-align: center; }
  .guarantee img { margin-inline: auto; }
  .certificate__grid { grid-template-columns: 1fr; }
  .certificate p { font-size: 20px; }
  .footer { padding: 25px 0; font-size: 13px; }
}

@media (max-width: 380px) {
  .container { width: min(100% - 22px, var(--content)); }
  .gallery__grid { gap: 8px; }
  .countdown strong { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .image-link { transition: none; }
}
