:root {
  --magenta: #b51263;
  --magenta-soft: #ff7dbc;
  --charcoal: #242424;
  --ink: #111111;
  --soft-gray: #f2f3f5;
  --line: #dedfe3;
  --white: #ffffff;
  --green: #20b35b;
  --shadow: 0 18px 46px rgba(18, 18, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  font-family: "Nunito Sans", Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0 22%, transparent 22% 27%, rgba(238, 239, 242, 0.78) 27% 54%, transparent 54% 58%, rgba(255, 255, 255, 0.96) 58%),
    var(--soft-gray);
}

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

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

.card-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1060px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(222, 223, 227, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(18, 18, 18, 0.08);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 76px;
  height: 56px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  padding: 0;
  background: var(--charcoal);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  margin: 3px 0;
  background: var(--white);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.card-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.card-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.card-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
  display: flex;
  gap: 8px;
  color: var(--charcoal);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--magenta);
  background: rgba(181, 18, 99, 0.08);
  outline: none;
}

.hero-card,
.quick-actions,
.profile-section,
.wenow-section,
.products-section,
.testimonials-section,
.compensation-section,
.contact-section,
.site-footer {
  width: min(1060px, calc(100% - 28px));
  margin: 0 auto;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: end;
  min-height: calc(100vh - 90px);
  padding: clamp(44px, 7vw, 82px) 0 42px;
}

.hero-copy {
  padding-bottom: clamp(16px, 5vw, 70px);
}

.hero-wordmark {
  width: min(150px, 46vw);
  height: auto;
  margin-bottom: 18px;
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--magenta);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.92;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1;
}

h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.hero-copy .role {
  margin-top: 16px;
  color: var(--magenta);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy p:not(.role) {
  max-width: 610px;
  margin-top: 18px;
  color: #3f3f3f;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.primary {
  color: var(--white);
  background: var(--magenta);
  box-shadow: 0 12px 26px rgba(181, 18, 99, 0.28);
}

.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero-photo {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 580px;
  overflow: hidden;
}

.hero-photo::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  width: min(86vw, 500px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(181, 18, 99, 0.22), rgba(181, 18, 99, 0.08) 48%, transparent 49%);
  border-radius: 50%;
}

.hero-photo img {
  position: relative;
  width: min(92vw, 520px);
  margin-left: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(18, 18, 18, 0.22));
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.quick-actions a {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.07);
}

.quick-actions span {
  display: block;
  color: var(--magenta);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-actions strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.08rem;
}

.profile-section,
.wenow-section,
.compensation-section,
.contact-section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.profile-card {
  margin-top: 32px;
  padding: clamp(24px, 5vw, 44px);
  background: var(--white);
  border-left: 6px solid var(--magenta);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-card p {
  color: #3f3f3f;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.75;
}

.profile-card p + p {
  margin-top: 16px;
}

.wenow-section {
  color: var(--white);
  padding-inline: clamp(22px, 5vw, 52px);
  background:
    radial-gradient(circle at 92% 18%, rgba(181, 18, 99, 0.28), transparent 30%),
    linear-gradient(135deg, #080808, #1f2022 64%, #2b1320);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wenow-section h2,
.wenow-section h3 {
  color: var(--white);
}

.wenow-section .eyebrow {
  color: var(--magenta-soft);
}

.wenow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.wenow-grid article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.wenow-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--magenta-soft);
  border: 1px solid rgba(255, 125, 188, 0.55);
  border-radius: 50%;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

.wenow-grid p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.products-section,
.testimonials-section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.product-layout {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.certifications {
  display: grid;
  align-content: start;
  gap: 14px;
}

.certifications img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 9px;
  box-shadow: 0 12px 26px rgba(18, 18, 18, 0.16);
}

.product-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-tag {
  position: relative;
  display: grid;
  min-height: 250px;
  overflow: hidden;
  padding: 18px;
  color: var(--white);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 18, 18, 0.16);
  cursor: pointer;
  isolation: isolate;
}

.product-tag::after {
  content: "";
  position: absolute;
  inset: auto 10% -26% 10%;
  z-index: -1;
  aspect-ratio: 1;
  background: rgba(181, 18, 99, 0.34);
  border-radius: 50%;
}

.product-tag span {
  position: relative;
  z-index: 2;
  align-self: start;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(18, 18, 18, 0.22);
}

.product-tag img {
  align-self: end;
  justify-self: center;
  width: 100%;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.22));
  transition: transform 180ms ease;
}

.product-tag:hover img,
.product-tag:focus-visible img {
  transform: scale(1.04);
}

.tag-resnad { background: linear-gradient(145deg, #5aa8d6, #1f6d9b); }
.tag-transfactor { background: linear-gradient(145deg, #8964a5, #4b2e64); }
.tag-purebody { background: linear-gradient(145deg, #69aba6, #2e7773); }
.tag-nk { background: linear-gradient(145deg, #4d3028, #1e100d); }
.tag-regenerex { background: linear-gradient(145deg, #8a756f, #443532); }
.tag-bloom { background: linear-gradient(145deg, #c83ab1, #842076); }
.tag-antiox { background: linear-gradient(145deg, #6f4a8c, #332046); }
.tag-greenplus { background: linear-gradient(145deg, #5dab69, #2f6f38); }
.tag-neurochai { background: linear-gradient(145deg, #1688c9, #034f7e); }
.tag-collagenwoman { background: linear-gradient(145deg, #ee83b2, #ad3c76); }
.tag-synergy { background: linear-gradient(145deg, #344b4e, #151f22); }
.tag-collagenman { background: linear-gradient(145deg, #46a9c8, #1a6479); }

.testimonials-slider {
  margin-top: 34px;
}

.testimonials-viewport {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 22%, rgba(181, 18, 99, 0.14), transparent 30%),
    linear-gradient(135deg, #ffffff, #f5f6f8);
  border: 1px solid rgba(18, 18, 18, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  touch-action: pan-y;
}

.testimonials-track {
  display: flex;
  transition: transform 420ms ease;
}

.testimonial-slide {
  display: grid;
  flex: 0 0 100%;
  place-items: center;
  min-height: clamp(320px, 56vw, 590px);
  margin: 0;
  padding: clamp(14px, 3vw, 28px);
}

.testimonial-slide img {
  width: 100%;
  max-width: 920px;
  max-height: 540px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.testimonials-controls {
  display: grid;
  grid-template-columns: 48px auto 1fr 48px;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.compensation-slider {
  margin-top: 34px;
}

.compensation-viewport {
  overflow: hidden;
  background: #0d0e11;
  border: 1px solid rgba(18, 18, 18, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  touch-action: pan-y;
}

.compensation-track {
  display: flex;
  transition: transform 420ms ease;
}

.compensation-slide {
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
}

.compensation-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compensation-controls {
  display: grid;
  grid-template-columns: 48px auto 1fr 48px;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.slider-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--white);
  background: var(--charcoal);
  border: 0;
  border-radius: 6px;
  font-size: 1.45rem;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.slider-button:hover,
.slider-button:focus-visible {
  background: var(--magenta);
  outline: none;
  transform: translateY(-2px);
}

.slider-status {
  min-width: 50px;
  color: #5a5a5a;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.current-slide {
  color: var(--magenta);
  font-size: 1.2rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: #c6c6c8;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.slider-dot.is-active {
  width: 26px;
  background: var(--magenta);
  border-radius: 999px;
}

body.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.product-modal.is-open {
  display: flex;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(10px);
}

.product-modal-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(880px, 100%);
  max-height: min(90vh, 860px);
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.product-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.product-modal-header h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.product-modal-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--charcoal);
  border: 0;
  border-radius: 6px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.product-modal-close:hover,
.product-modal-close:focus-visible {
  background: var(--magenta);
  outline: none;
}

.product-modal-image {
  width: 100%;
  height: 100%;
  max-height: calc(90vh - 78px);
  object-fit: contain;
  background: #f4f4f5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 14px 38px;
  color: #575757;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.site-footer img {
  width: 54px;
  height: 42px;
  object-fit: contain;
}

@media (max-width: 820px) {
  .card-header {
    flex-wrap: wrap;
    padding: 8px 10px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .card-header.menu-open .main-nav {
    display: grid;
  }

  .main-nav a {
    background: rgba(181, 18, 99, 0.06);
    text-align: center;
  }

  .hero-card,
  .section-heading,
  .quick-actions,
  .wenow-grid,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-photo {
    min-height: 460px;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .certifications {
    grid-template-columns: repeat(6, 1fr);
  }

  .certifications img {
    width: 100%;
    height: 64px;
  }

  .product-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compensation-controls {
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
  }

  .testimonials-controls {
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
  }

  .testimonial-dots {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }

  .slider-status {
    display: none;
  }
}

@media (max-width: 540px) {
  .card-header,
  .hero-card,
  .quick-actions,
  .profile-section,
  .wenow-section,
  .products-section,
  .testimonials-section,
  .compensation-section,
  .contact-section,
  .site-footer {
    width: min(100% - 22px, 1060px);
  }

  .brand img {
    width: 62px;
    height: 46px;
  }

  h1 {
    font-size: clamp(2.5rem, 16vw, 4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
  }

  .button {
    width: 100%;
  }

  .hero-photo {
    min-height: 350px;
  }

  .profile-section,
  .wenow-section,
  .products-section,
  .testimonials-section,
  .compensation-section,
  .contact-section {
    padding: 54px 0;
  }

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

  .product-tags {
    grid-template-columns: 1fr;
  }

  .slider-button {
    width: 44px;
    height: 44px;
  }

  .wenow-section {
    padding-inline: 20px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
}
