* {
  box-sizing: border-box;
}

:root {
  --blue: #303b86;
  --pink: #ee3487;
  --lime: #6dec31;
  --text: #2f3b8b;
  --soft: #fff4fa;
  --orange: #ffb046;
  --purple: #8b63e8;
  --red: #ff6154;
  --lavender: #b49aaf;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

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

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

.site-header,
.site-footer {
  background: var(--blue);
  color: #fff;
}

.site-header {
  min-height: 96px;
}

.header-inner,
.footer-inner,
.page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pink);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 58px;
  height: 48px;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 50%;
  background: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 5vw, 84px);
  font-size: 17px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--lime);
}

.main-nav a.active {
  color: #fff;
}

.section {
  padding: 70px 0;
}

.hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 54px;
}

h1,
h2,
h3 {
  margin: 0 0 24px;
  color: var(--pink);
  line-height: 1.1;
}

h1 {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.2vw, 42px);
  font-weight: 800;
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
}

h3 {
  font-size: 21px;
}

.hero p {
  max-width: 360px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 148px;
  height: 46px;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.star {
  color: var(--pink);
  font-size: 34px;
  line-height: 1;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: end;
}

.value-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: center;
  font-size: 15px;
}

.big-star {
  width: 110px;
  aspect-ratio: 1;
  clip-path: polygon(50% 0,61% 35%,98% 35%,68% 56%,79% 91%,50% 70%,21% 91%,32% 56%,2% 35%,39% 35%);
  background: var(--blue);
  filter: drop-shadow(0 0 0 var(--pink));
  border: 8px solid var(--pink);
}

.big-star.green { background: #81c454; }
.big-star.yellow { background: #fff263; }
.big-star.orange { background: var(--orange); }
.big-star.purple { background: var(--purple); }
.big-star.red { background: var(--red); }
.big-star.lavender { background: var(--lavender); }

.steps-band {
  background: var(--blue);
  color: #fff;
  padding: 42px 0;
}

.steps-band h2 {
  color: var(--pink);
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}

.step-icon {
  width: 126px;
  height: 126px;
  margin-top: 18px;
  border-radius: 50%;
  background: #fff;
  color: #222;
  display: grid;
  place-items: center;
  font-size: 44px;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 72px;
  align-items: start;
}

.social-card {
  padding: 28px;
  background: var(--lime);
}

.social-card.tall {
  grid-row: span 2;
}

.instagram-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 35px;
  color: var(--text);
}

.insta-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 105%, #feda75 0 28%, #fa7e1e 34%, #d62976 58%, #962fbf 78%, #4f5bd5 100%);
}

.site-footer {
  margin-top: 70px;
  padding: 42px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--lime);
  text-align: center;
  font-weight: 700;
}

.about-text {
  position: relative;
  max-width: 940px;
  font-size: clamp(20px, 2vw, 31px);
  line-height: 1.45;
  padding: 80px 0 45px;
}

.about-text::before {
  content: "";
  position: absolute;
  inset: 20px 20px auto 130px;
  width: 620px;
  height: 610px;
  border: 6px solid #f9dce9;
  border-radius: 50% 50% 42% 42%;
  opacity: 0.75;
  z-index: -1;
  max-width: calc(100vw - 80px);
}

.signature {
  color: var(--pink);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
}

.ingredients-intro {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 760px;
  margin-left: 55px;
}

.line-icon {
  font-size: 100px;
  color: #111;
  text-align: center;
}

.fruits-map {
  min-height: 720px;
  position: relative;
  margin-top: 45px;
}

.fruit {
  position: absolute;
  width: 170px;
  text-align: center;
  font-size: 15px;
}

.fruit .big-star {
  width: 150px;
  margin: 0 auto 18px;
  border: 0;
}

.fruit strong {
  display: block;
  color: #252a63;
  margin-top: -92px;
  margin-bottom: 78px;
}

.fruit.apple { left: 43%; top: 0; }
.fruit.apricot { left: 7%; top: 190px; }
.fruit.elder { right: 8%; top: 190px; }
.fruit.grape { left: 8%; top: 450px; }
.fruit.blackberry { right: 8%; top: 450px; }
.fruit.strawberry { left: 43%; top: 610px; }

.center-mouse {
  position: absolute;
  width: 170px;
  left: calc(50% - 85px);
  top: 360px;
}

.products-hero {
  text-align: left;
}

.product-large {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.pill-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin: 40px 0 65px;
}

.fruit-pill {
  border-radius: 999px;
  color: #fff;
  text-align: center;
  padding: 9px 14px;
  font-weight: 700;
}

.set-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

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

.checklist li::before {
  content: "★";
  color: var(--pink);
  margin-right: 15px;
}

.mystery-products,
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 70px;
}

.mystery-card h3,
.shop-card h3 {
  font-size: 16px;
  color: var(--text);
  margin-top: 10px;
  margin-bottom: 5px;
}

.price {
  color: #111;
  font-size: 14px;
}

.bestseller {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  align-items: end;
  margin: 50px 0 70px;
  max-width: 900px;
}

.shop-card img,
.bestseller img,
.mystery-card img {
  background: #fafafa;
}

.legal {
  max-width: 850px;
  padding: 72px 0;
}

.legal h1 {
  color: var(--pink);
  font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 760px) {
  .header-inner,
  .footer-inner,
  .hero,
  .product-large,
  .set-list,
  .ingredients-intro {
    grid-template-columns: 1fr;
    display: grid;
  }

  .header-inner {
    justify-items: center;
    padding: 18px 0;
  }

  .brand {
    font-size: 30px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 24px;
  }

  .hero {
    padding-top: 36px;
  }

  .values-row,
  .steps,
  .social-grid,
  .pill-row,
  .mystery-products,
  .shop-grid,
  .bestseller {
    grid-template-columns: 1fr;
  }

  .about-text {
    font-size: 18px;
  }

  .about-text::before {
    width: 310px;
    height: 310px;
    left: 20px;
  }

  .fruits-map {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .fruit,
  .center-mouse {
    position: static;
    width: auto;
  }

  .center-mouse {
    width: 150px;
    margin: 0 auto;
    grid-column: 1 / -1;
  }
}
