:root {
  --pink: #ff115f;
  --pink-soft: #ff7a7a;
  --blue: #72c7df;
  --purple: #442d5e;
  --text: #767676;
  --dark: #282c3d;
  --max-width: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font-family: "Roboto", Arial, sans-serif; line-height: 1.45; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.section { padding: 60px 0; }

.hero {
  display: grid;
  min-height: 319px;
  place-items: center;
  background: linear-gradient(rgba(70, 42, 62, .16), rgba(70, 42, 62, .16)), url("assets/bg_04b_home.webp") center 42% / cover no-repeat;
  position: relative;
}
.hero::after, .guarantee::before, .numbers::before, .numbers::after, footer::before {
  content: "";
  position: absolute;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 38px;
  background: #fff;
  clip-path: polygon(0 45%, 7% 17%, 15% 47%, 25% 8%, 36% 43%, 50% 13%, 62% 46%, 74% 10%, 86% 42%, 94% 14%, 100% 35%, 100% 100%, 0 100%);
}
.hero::after { bottom: -1px; }
.hero img { width: 139px; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.split--intro { align-items: start; }
.section-title { margin: 0 0 12px; color: var(--pink); font-family: "Asap Condensed", sans-serif; font-size: 38px; font-weight: 800; line-height: 1.05; }
.section-title--center { text-align: center; }
.separator { width: 189px; margin: 0 0 28px; }
.separator--center { margin-inline: auto; }
.prose { font-size: 17px; }
.prose p { margin: 0 0 18px; }

.gallery { min-width: 0; }
.gallery__stage { overflow: hidden; border-radius: 20px; }
.gallery__stage img { width: 100%; aspect-ratio: 10 / 11; object-fit: cover; }
.gallery__stage img[hidden] { display: none; }
.gallery__controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; min-height: 18px; margin-top: 14px; }
.gallery__controls button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #d7d7d7; cursor: pointer; }
.gallery__controls button[aria-current="true"] { background: #222; }
.gallery--center { width: min(500px, 100%); margin: 0 auto; }
.gallery--planner { width: min(450px, 100%); margin-inline: auto; }
.gallery--planner .gallery__stage img { aspect-ratio: 450 / 636; object-fit: contain; }

.offer { padding: 0 0 30px; text-align: center; }
.offer__inner { display: flex; flex-direction: column; align-items: center; }
.offer h2 { margin: 0 0 15px; color: var(--pink); font-family: Arial, sans-serif; font-size: 39px; font-weight: 600; line-height: 1.7; }
.offer a { display: block; max-width: 100%; }
.offer__price { width: 397px; margin-bottom: 8px; }
.offer__buy { width: 656px; margin-bottom: 8px; }
.offer__security { width: 697px; opacity: .78; }

.about { padding: 0; }
.framed-image { text-align: center; }
.framed-image img, .faq__image { width: 100%; border-radius: 20px; }
.framed-image span, .certificate span { display: block; margin-top: 10px; color: #ffe8ee; font-size: 32px; }

.certificate { text-align: center; }
.certificate__inner { display: flex; flex-direction: column; align-items: center; }
.certificate p { margin: 0 0 30px; color: #f9b516; font-family: "Acme", sans-serif; font-size: 33px; }
.certificate__image { width: min(548px, 100%); }

.guarantee {
  position: relative;
  padding: 70px 20px;
  background: url("assets/bg_garantia.webp") center / cover no-repeat;
}
.guarantee::before { top: -1px; transform: rotate(180deg); }
.guarantee__card { padding: 70px 55px; border-radius: 35px; color: #fff; background: rgba(239, 55, 76, .86); text-align: center; }
.guarantee h2 { margin: 0 0 20px; font-size: 29px; font-weight: 600; }
.guarantee p { margin: 0 auto 24px; max-width: 970px; font-size: 16px; }
.guarantee img { width: 230px; margin: 0 auto; }

.middle-cta { padding: 35px 20px; text-align: center; }
.button { display: inline-flex; min-height: 67px; align-items: center; justify-content: center; padding: 16px 50px; border-radius: 5px; color: #fff; background: var(--pink); font-size: 24px; font-weight: 700; text-decoration: none; }
.button:hover, .button:focus-visible { background: #d90e50; }

.recipes { padding-top: 30px; }
.recipes .section-title { font-size: 33px; }

.bonus { padding-bottom: 75px; }
.bonus .split { align-items: start; }

.numbers { position: relative; padding: 70px 0; background: var(--pink-soft); }
.numbers::before { top: -1px; transform: rotate(180deg); }
.numbers::after { bottom: -1px; }
.numbers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.numbers article { min-height: 235px; padding: 28px 20px; border-radius: 30px; color: #30344b; background: #fff; text-align: center; }
.numbers__icon { display: grid; width: 78px; height: 78px; margin: 0 auto 15px; place-items: center; border-radius: 50%; color: #fff; background: #ef5350; font-size: 40px; }
.numbers strong { display: block; font-family: Georgia, serif; font-size: 58px; font-weight: 400; line-height: 1.1; }
.numbers p { margin: 8px 0 0; font-family: Georgia, serif; font-size: 23px; }

.faq { padding-top: 80px; }
.split--faq { grid-template-columns: 1.55fr .85fr; align-items: start; gap: 35px; }
.faq .section-title { font-size: 39px; }
.faq__list { padding-top: 22px; border-top: 4px dotted #f4cbd1; }
.faq details { padding: 11px 0; }
.faq summary { position: relative; padding-right: 35px; color: var(--blue); cursor: pointer; font-size: 20px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; color: #555; font-size: 24px; line-height: 1; }
.faq details[open] summary { color: var(--dark); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 15px 0 0; font-size: 16px; }

.offer--final { padding: 0 0 30px; }

footer { position: relative; padding: 65px 0 30px; color: rgba(255,255,255,.7); background: var(--purple); }
footer::before { top: -1px; transform: rotate(180deg); }
.footer__inner { display: grid; grid-template-columns: 330px 1fr; align-items: center; gap: 60px; }
.footer__brand { display: grid; justify-items: center; gap: 10px; }
.footer__brand > img { width: 90px; opacity: .75; }
.socials { display: flex; gap: 12px; }
.socials a { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #fff; background: #8c45c6; text-decoration: none; }
.socials svg { width: 25px; height: 25px; overflow: visible; fill: currentColor; stroke: none; }
.socials a[aria-label="Instagram"] svg { fill: none; stroke: currentColor; stroke-width: 1.9; }
.socials a[aria-label="Instagram"] .socials__dot { fill: currentColor; stroke: none; }
.socials .socials__play { fill: #8c45c6; }
.footer__text { font-size: 13px; line-height: 1.7; text-align: center; }
.footer__text a { font-weight: 700; text-decoration: none; }

@media (min-width: 601px) {
  .intro { margin-top: 70px; padding: 10px 0; }
  .about { margin-top: 60px; }
  .certificate { margin-top: 30px; padding: 0; }
  .guarantee { margin-top: 70px; }
  .recipes { padding-top: 78px; }
  .numbers { padding: 30px 0; }
  footer { margin-top: 37px; }
}

@media (max-width: 800px) {
  .section { padding: 50px 0; }
  .split { gap: 35px; }
  .prose { font-size: 16px; }
  .numbers__grid { gap: 18px; }
  .numbers strong { font-size: 45px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 20px), var(--max-width)); }
  .hero { min-height: 229px; background-position: center center; }
  .hero img { width: 145px; }
  .hero::after { height: 28px; }
  .section { padding: 48px 0; }
  .split, .split--faq { grid-template-columns: 1fr; gap: 32px; }
  .section-title { font-size: 34px; text-align: center; }
  .separator { margin-inline: auto; }
  .prose { font-size: 16px; line-height: 1.52; }
  .gallery__stage { border-radius: 16px; }
  .offer { padding: 28px 0 12px; }
  .offer h2 { margin-bottom: 20px; font-size: 29px; line-height: 1.25; }
  .offer__price { width: min(330px, 100%); }
  .offer__buy { width: 100%; }
  .offer__security { width: 100%; }
  .about { padding: 20px 0 0; }
  .certificate p { font-size: 27px; line-height: 1.2; }
  .guarantee { padding: 55px 10px; }
  .guarantee__card { padding: 42px 20px; border-radius: 25px; }
  .guarantee h2 { font-size: 26px; line-height: 1.2; }
  .guarantee p { font-size: 15px; }
  .middle-cta { padding: 33px 10px; }
  .button { width: 100%; min-height: 64px; padding: 14px; font-size: 19px; }
  .recipes .section-title { font-size: 31px; }
  .bonus .split > div:first-child { order: 0; }
  .gallery--planner { order: 1; }
  .numbers { padding: 58px 0; }
  .numbers__grid { grid-template-columns: 1fr; max-width: 310px; }
  .numbers article { min-height: 200px; }
  .faq { padding-top: 65px; }
  .faq .section-title { font-size: 35px; }
  .faq summary { font-size: 19px; line-height: 1.25; }
  .faq details p { font-size: 16px; }
  .faq__image { margin-top: 5px; }
  .offer--final { padding-bottom: 65px; }
  footer { padding-top: 70px; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
