/* ==========================================================
   PPS NUTRITION — HOME / HEADER
   Cleaned version
========================================================== */

/* ==========================================================
   HEADER
========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  color: var(--header-text);
  border-bottom: 1px solid rgba(46, 47, 121, 0.10);
  box-shadow: 0 10px 30px rgba(31, 25, 84, 0.06);
  backdrop-filter: blur(14px);
}

.site-header__utility {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 13px;
}

.site-header__utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header__utility-left,
.site-header__utility-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header__utility a,
.site-header__utility span {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 700;
}

.site-header__main {
  min-height: 96px;
  display: grid;
  grid-template-columns: 300px minmax(320px, 1fr) auto;
  align-items: center;
  gap: 28px;
}

/*
  The current PNG has transparent padding around the artwork.
  The wrapper crops that padding while the image is enlarged inside it.
*/
.site-header__brand {
  width: 300px;
  display: flex;
  align-items: center;
}

.site-header__logo {
  display: block;
  width: 100%;
  text-decoration: none;
}

.site-header__logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-header__search {
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  padding: 6px;
  display: flex;
  align-items: center;
  background: #f5f6fc;
  border: 1px solid rgba(46, 47, 121, 0.12);
  border-radius: 999px;
}

.site-header__search input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 16px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-main);
  font: inherit;
  font-weight: 600;
}

.site-header__search button {
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__nav-wrap {
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(46, 47, 121, 0.08);
}

.site-header__nav {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-header__nav::-webkit-scrollbar {
  display: none;
}

.site-header__nav a {
  position: relative;
  flex: 0 0 auto;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.site-header__nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
}

/* ==========================================================
   MOBILE DRAWER
========================================================== */

.mobile-drawer[hidden] {
  display: none !important;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 11000;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 14, 36, 0.58);
  backdrop-filter: blur(4px);
}

.mobile-drawer__panel {
  position: absolute;
  inset: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.mobile-drawer__header {
  margin-bottom: 20px;
  padding-bottom: 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  border-bottom: 1px solid var(--border-soft);
}

.mobile-drawer__brand {
  flex: 1;
  min-width: 0;

  display: flex;
  align-items: center;
}

.mobile-drawer__logo-wrap {
  width: 190px;
  max-width: 100%;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  overflow: visible;
}

.mobile-drawer__logo-wrap img {
  display: block;

  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 58px;

  object-fit: contain;
  object-position: left center;

  transform: none;
}

.mobile-drawer__close {
  flex-shrink: 0;
  padding: 12px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--bg-surface);
  color: var(--text-main);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.mobile-drawer__search {
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
}

.mobile-drawer__search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--bg-surface);
  color: var(--text-main);
  font: inherit;
}

.mobile-drawer__search button {
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.mobile-drawer__nav {
  min-height: 0;
  margin-top: 8px;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.mobile-drawer__nav a {
  padding: 13px 8px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
  border-radius: 12px;
}

.mobile-drawer__nav a:hover {
  background: var(--accent-soft);
  color: var(--primary);
}

.mobile-drawer__actions {
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid var(--border-soft);
}

/* ==========================================================
   MOBILE DRAWER BUTTONS
========================================================== */

.mobile-drawer__btn {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 18px;

  border-radius: 14px;

  font-size: 14px;
  font-weight: 800;
  text-decoration: none;

  transition: .25s ease;
}

.mobile-drawer__btn:hover {
  transform: translateY(-2px);
}

.mobile-drawer__btn--primary {

  background: linear-gradient(
      135deg,
      var(--primary),
      var(--accent)
  );

  color: #fff;

  box-shadow: 0 14px 28px rgba(31,25,84,.18);

}

.mobile-drawer__btn--primary:hover {

  box-shadow: 0 18px 34px rgba(31,25,84,.28);

}

.mobile-drawer__btn--secondary {

  background: #fff;

  color: var(--primary);

  border: 1px solid var(--border-soft);

}

.mobile-drawer__btn--secondary:hover {

  background: var(--accent-soft);

}

/* ==========================================================
   HOME HERO
========================================================== */

.hero--home {
  padding: 42px 0 72px;
}

.hero-home {
  position: relative;
  min-height: 620px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(46, 47, 121, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 18%, rgba(77, 83, 159, 0.22), transparent 28%),
    radial-gradient(circle at 10% 15%, rgba(46, 47, 121, 0.20), transparent 34%),
    linear-gradient(135deg, #f8f9ff 0%, #eef1ff 48%, #f7f8fc 100%);
  box-shadow: 0 30px 80px rgba(31, 25, 84, 0.16);
}

.hero-home::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(77, 83, 159, 0.14);
  filter: blur(12px);
}

.hero-home__content,
.hero-home__visual {
  position: relative;
  z-index: 2;
}

.hero-home__content {
  max-width: 620px;
}

.hero-home__eyebrow {
  margin-bottom: 18px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(46, 47, 121, 0.10);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-home__title {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--primary-dark);
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-home__fallback {
  max-width: 620px;
  margin-bottom: 30px;
  color: #596078;
  font-size: 17px;
  line-height: 1.8;
}

.hero__actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-home__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-home__product-card {
  width: 100%;
  max-width: 520px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 34px 80px rgba(31, 25, 84, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(14px);
}

.hero-home__product-card img,
.hero-home__media-video {
  width: 100%;
  height: 430px;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}

.hero-home__controls {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-home__arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 25, 84, 0.12);
}

.hero-home__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-home__dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(46, 47, 121, 0.26);
  cursor: pointer;
}

.hero-home__dot.is-active {
  width: 28px;
  background: var(--primary);
}

.hero-home__pdf-preview {
  width: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.hero-home__pdf-icon {
  font-size: 48px;
}

.hero-home__pdf-text {
  color: #111;
  font-size: 16px;
  font-weight: 600;
}

/* ==========================================================
   HOME INTRO
========================================================== */

.home-intro {
  padding: 95px 0 85px;
}

.home-intro__header {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.home-intro__eyebrow,
.pps-benefits__eyebrow {
  margin-bottom: 18px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-intro__header h2 {
  margin: 0 0 20px;
  color: var(--primary-dark);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.home-intro__header p {
  max-width: 680px;
  margin: 0 auto;
  color: #62677f;
  font-size: 18px;
  line-height: 1.8;
}

.home-intro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.intro-card {
  position: relative;
  min-height: 260px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(46, 47, 121, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(77, 83, 159, 0.15), transparent 34%),
    #fff;
  box-shadow: 0 18px 45px rgba(31, 25, 84, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.intro-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 65px rgba(31, 25, 84, 0.14);
}

.intro-card__number {
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.intro-card h3 {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 24px;
  line-height: 1.2;
}

.intro-card p {
  margin: 0;
  color: #62677f;
  font-size: 15px;
  line-height: 1.8;
}

.home-intro__actions {
  margin-top: 42px;
  text-align: center;
}

/* ==========================================================
   BENEFITS
========================================================== */

.pps-benefits {
  padding: 90px 0;
}

.pps-benefits__head {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.pps-benefits__head h2 {
  margin-bottom: 18px;
  color: var(--text-main);
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
}

.pps-benefits__head p {
  color: #667085;
  font-size: 18px;
  line-height: 1.8;
}

.pps-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pps-benefit-card {
  padding: 36px;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(31, 25, 84, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pps-benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(31, 25, 84, 0.12);
}

.pps-benefit-card__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.pps-benefit-card h3 {
  margin-bottom: 14px;
  color: var(--text-main);
  font-size: 24px;
}

.pps-benefit-card p {
  color: #667085;
  line-height: 1.8;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 980px) {
  .site-header__utility {
    display: none;
  }

  .site-header__main {
    min-height: 82px;
    display: flex;
    gap: 14px;
  }

  .site-header__brand {
    width: 205px;
    min-width: 0;
  }

  .site-header__logo {
    width: 205px;
    height: 68px;
  }

  .site-header__logo img {
    transform: scale(1.55);
  }

  .site-header__search,
  .site-header__actions,
  .site-header__nav-wrap {
    display: none;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 14px;
    background: #f4f5fb;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: var(--primary-dark);
  }

  .hero--home {
    padding: 26px 0 52px;
  }

  .hero-home {
    min-height: auto;
    padding: 34px 24px;
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .hero-home__visual {
    order: -1;
  }

  .hero-home__title {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-home__fallback {
    font-size: 16px;
  }

  .hero-home__product-card {
    max-width: 100%;
  }

  .hero-home__product-card img,
  .hero-home__media-video {
    height: 320px;
  }

  .hero-home__controls {
    justify-content: center;
  }

  .home-intro,
  .pps-benefits {
    padding: 72px 0;
  }

  .home-intro__grid,
  .pps-benefits__grid {
    grid-template-columns: 1fr;
  }

  .intro-card {
    min-height: auto;
  }

  .pps-benefits__head h2 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .site-header__main {
    min-height: 74px;
  }

  .site-header__brand {
    width: 165px;
  }

  .site-header__logo {
    width: 100px;
    height: 45px;
    margin-left: 20px;
  }

  .site-header__logo img {
    transform: scale(1.52);
  }

  .mobile-drawer__logo-wrap {
    width: 165px;
    height: 58px;
  }

  .mobile-drawer__actions {
    grid-template-columns: 1fr;
  }

  .mobile-drawer__search input {
    font-size: 16px;
  }

  .hero--home {
    padding: 8px 0 40px;
  }

  .hero-home {
    padding: 18px;
  }
  .hero__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 50px;
    padding: 13px 18px;
    text-align: center;
  }
}
