/* ---- page-specific: compounding ---- */
.comp-hero {
  background: linear-gradient(105deg, #FBF9F6 0%, #FBF9F6 56%, #F4F0FA 100%);
  padding: 48px 0 68px;
  overflow: hidden;
}
.comp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 44px;
  align-items: center;
}
.comp-hero h1 {
  max-width: 620px;
  font-size: 58px;
  line-height: 1.04;
  margin: 10px 0 20px;
}
.comp-hero h1 em { display: block; color: var(--sv-purple); }
.comp-hero p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--sv-ink-soft);
  margin-bottom: 28px;
}
.comp-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.comp-hero__media {
  position: relative;
  min-height: 430px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sv-line);
  box-shadow: 0 26px 60px -34px rgba(42, 10, 62, .45);
}
.comp-hero__media::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(212, 98, 26, .14);
}
.comp-hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: 64% center;
  transform: scale(1.12);
  display: block;
}

.comp-trust {
  margin-top: -36px;
  position: relative;
  z-index: 3;
  padding: 0 0 22px;
}
.comp-trust__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  background: #fff;
  border: 1px solid var(--sv-line);
  border-radius: 14px;
  box-shadow: 0 18px 44px -30px rgba(42, 10, 62, .46);
  overflow: hidden;
}
.comp-trust__grid span {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 12px;
  color: var(--sv-ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  border-right: 1px solid var(--sv-line);
}
.comp-trust__grid span:last-child { border-right: 0; }
.comp-trust__grid i { color: var(--sv-purple); font-size: 18px; }

.comp-section { padding: 74px 0; }
.comp-section--white { background: #fff; }
.comp-section--lav { background: var(--sv-surface); }
.comp-head { max-width: 780px; margin-bottom: 34px; }
.comp-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.comp-head h2 { font-size: 38px; line-height: 1.14; margin-bottom: 12px; }
.comp-head p { color: var(--sv-ink-soft); }

.comp-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.comp-service-card {
  display: block;
  min-height: 230px;
  background: #fff;
  border: 1px solid var(--sv-line);
  border-radius: 14px;
  padding: 22px 16px;
  color: var(--sv-ink);
  box-shadow: 0 12px 30px -28px rgba(42, 10, 62, .5);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.comp-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 63, 160, .32);
  box-shadow: 0 20px 42px -30px rgba(42, 10, 62, .58);
}
.comp-service-card span {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--sv-surface);
  color: var(--sv-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.comp-service-card h3 { font-size: 18px; margin-bottom: 8px; }
.comp-service-card p { font-size: 13px; line-height: 1.62; margin: 0; color: var(--sv-ink-soft); }

.comp-provider {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--sv-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 52px -36px rgba(42, 10, 62, .5);
}
.comp-provider__image img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  display: block;
  object-fit: cover;
}
.comp-provider__copy { padding: 44px 40px; align-self: center; }
.comp-provider__copy h2 { font-size: 34px; margin-bottom: 24px; }
.comp-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.comp-check-grid span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sv-ink-soft);
}
.comp-check-grid i { color: var(--sv-purple); margin-top: 3px; }

.comp-process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.comp-process-card {
  position: relative;
  background: #fff;
  border: 0;
  border-radius: 14px;
  padding: 34px 14px 22px;
  text-align: center;
  min-height: 224px;
}
.comp-process-card::after {
  content: "";
  position: absolute;
  right: -26px;
  top: 50%;
  width: 36px;
  height: 14px;
  background: linear-gradient(90deg, rgba(123, 63, 160, .4), var(--sv-orange));
  clip-path: polygon(0 42%, 68% 42%, 68% 12%, 100% 50%, 68% 88%, 68% 58%, 0 58%);
  transform: translateY(-50%);
  z-index: 2;
}
.comp-process-card:last-child::after { display: none; }
.comp-process-card strong {
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sv-purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  box-shadow: 0 12px 24px -14px rgba(42, 10, 62, .55);
}
.comp-process-card i { color: var(--sv-purple); font-size: 46px; margin-bottom: 18px; line-height: 1; }
.comp-process-card h3 { font-size: 16px; margin-bottom: 8px; }
.comp-process-card p { font-size: 12px; line-height: 1.55; margin: 0; color: var(--sv-ink-soft); }

.comp-dose-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.comp-dose {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--sv-line);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  color: var(--sv-ink);
  font-weight: 800;
  box-shadow: 0 16px 36px -30px rgba(42, 10, 62, .5);
}
.comp-dose img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  padding: 14px;
  background: linear-gradient(160deg, #fff, #F4F0FA);
  display: block;
  border-bottom: 1px solid var(--sv-line);
}
.comp-dose--capsules img {
  padding: 14px;
  object-fit: contain;
  object-position: center;
}
.comp-dose span {
  display: grid;
  min-height: 58px;
  place-items: center;
  margin-top: auto;
  padding: 14px 8px 16px;
  font-size: 14px;
  line-height: 1.25;
}

.comp-two-panels, .comp-quality {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.comp-panel {
  background: #fff;
  border: 1px solid var(--sv-line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 34px -30px rgba(42, 10, 62, .5);
}

.comp-provider-qr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
  gap: 24px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.comp-provider-qr:hover {
  transform: translateY(-3px);
  border-color: rgba(123, 63, 160, .34);
  box-shadow: 0 24px 50px -34px rgba(42, 10, 62, .5);
}

.comp-provider-qr h3 {
  margin: 10px 0 8px;
  font-size: clamp(22px, 2.3vw, 30px);
}

.comp-provider-qr p { margin: 0; }

.comp-provider-qr__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: var(--sv-purple);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.comp-provider-qr__image {
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--sv-line);
  border-radius: 12px;
  background: #fff;
}

.comp-provider-qr__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.comp-mini-grid, .comp-quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--sv-line);
  border-radius: 12px;
  overflow: hidden;
}
.comp-mini-grid span, .comp-quality-grid span {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 14px 10px;
  text-align: center;
  color: var(--sv-ink);
  font-size: 12px;
  font-weight: 800;
  border-right: 1px solid var(--sv-line);
  border-bottom: 1px solid var(--sv-line);
}
.comp-mini-grid span:nth-child(3n), .comp-quality-grid span:nth-child(3n) { border-right: 0; }
.comp-mini-grid span:nth-last-child(-n+3), .comp-quality-grid span:nth-last-child(-n+3) { border-bottom: 0; }
.comp-mini-grid i, .comp-quality-grid i { color: var(--sv-purple); font-size: 22px; }

.comp-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.comp-quote-grid blockquote {
  margin: 0;
  min-height: 190px;
  border: 1px solid var(--sv-line);
  border-radius: 12px;
  padding: 22px;
  color: var(--sv-ink-soft);
  font-size: 14px;
  line-height: 1.7;
}
.comp-quote-grid strong {
  display: block;
  color: var(--sv-purple);
  font-family: "Playfair Display", serif;
  font-size: 40px;
  line-height: .7;
  margin-bottom: 10px;
}

.comp-quote-end {
  display: inline;
  margin-left: 4px;
  color: var(--sv-purple);
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 1;
}

.comp-final-cta {
  background: #fff;
  padding: 76px 0 44px;
}
.comp-final-cta__panel {
  background: var(--sv-grad-brand);
  border-radius: 24px;
  padding: 52px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  gap: 50px;
  align-items: center;
  color: #fff;
  box-shadow: 0 24px 54px -34px rgba(42, 10, 62, .44);
  overflow: hidden;
  position: relative;
}
.comp-final-cta__panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.comp-final-cta .eyebrow { color: rgba(255, 255, 255, .88); }
.comp-final-cta h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 14px;
}
.comp-final-cta p {
  color: #fff;
  max-width: 620px;
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.6;
}
.comp-final-cta__contact {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}
.comp-final-cta__contact span {
  display: grid;
  gap: 7px;
  color: #fff;
  font-weight: 800;
  line-height: 1.4;
}
.comp-final-cta__contact a,
.comp-final-cta__contact a:visited {
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-decoration: none;
}
.comp-final-cta__contact a:hover {
  color: #fff;
  text-decoration: underline;
}
.comp-final-cta__contact strong {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
  color: rgba(255, 255, 255, .88);
}
.comp-final-cta .btn--white { background: #fff; color: var(--sv-purple); border-color: #fff; }
.comp-final-cta .btn--ghostw { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); }

.comp-faq-section {
  background: #fff;
  padding: 54px 0 82px;
}
.comp-faq {
  max-width: 1040px;
  margin: 0 auto;
}
.comp-faq details {
  background: #fff;
  border: 1px solid rgba(123, 63, 160, .22);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px -30px rgba(42, 10, 62, .5);
}
.comp-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  background: var(--sv-surface);
  color: var(--sv-ink);
  font-weight: 800;
  font-size: 17px;
  padding: 18px 24px;
}
.comp-faq summary::-webkit-details-marker { display: none; }
.comp-faq summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--sv-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 20px -16px rgba(42, 10, 62, .55);
}
.comp-faq details[open] summary::after {
  content: "\00d7";
  color: #fff;
  background: var(--sv-purple);
}
.comp-faq details > div {
  border-top: 1px solid var(--sv-line);
  padding: 22px 24px;
}
.comp-faq p {
  color: var(--sv-ink-soft);
  line-height: 1.72;
  margin: 0;
}

@media (max-width: 1180px) {
  .comp-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .comp-process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; }
  .comp-process-card::after { display: none; }
  .comp-dose-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .comp-trust__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .comp-trust__grid span:nth-child(3n) { border-right: 0; }
  .comp-trust__grid span:nth-child(-n+3) { border-bottom: 1px solid var(--sv-line); }
}
@media (max-width: 900px) {
  .comp-hero__grid,
  .comp-provider,
  .comp-two-panels,
  .comp-quality,
  .comp-final-cta__panel { grid-template-columns: 1fr; }
  .comp-hero h1 { font-size: 42px; }
  .comp-hero__media, .comp-hero__media img { min-height: 340px; }
  .comp-provider__copy { padding: 32px 26px; }
  .comp-dose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comp-dose img { height: 150px; }
  .comp-mini-grid, .comp-quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comp-mini-grid span:nth-child(3n), .comp-quality-grid span:nth-child(3n) { border-right: 1px solid var(--sv-line); }
  .comp-mini-grid span:nth-child(2n), .comp-quality-grid span:nth-child(2n) { border-right: 0; }
  .comp-mini-grid span:nth-last-child(-n+3), .comp-quality-grid span:nth-last-child(-n+3) { border-bottom: 1px solid var(--sv-line); }
  .comp-mini-grid span:nth-last-child(-n+2), .comp-quality-grid span:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .comp-hero { padding: 38px 0 56px; }
  .comp-hero h1 { font-size: 34px; }
  .comp-hero__media, .comp-hero__media img { min-height: 260px; }
  .comp-actions .btn { width: 100%; justify-content: center; }
  .comp-trust__grid { grid-template-columns: 1fr; }
  .comp-trust__grid span { border-right: 0; border-bottom: 1px solid var(--sv-line); }
  .comp-trust__grid span:last-child { border-bottom: 0; }
  .comp-service-grid,
  .comp-process,
  .comp-dose-grid,
  .comp-quote-grid { grid-template-columns: 1fr; }
  .comp-dose img { height: 180px; }
  .comp-section { padding: 56px 0; }
  .comp-head h2 { font-size: 30px; }
  .comp-final-cta__panel { padding: 36px 24px; border-radius: 20px; }
  .comp-final-cta h2 { font-size: 31px; }
  .comp-mini-grid, .comp-quality-grid { grid-template-columns: 1fr; }
  .comp-mini-grid span, .comp-quality-grid span { border-right: 0 !important; border-bottom: 1px solid var(--sv-line) !important; }
  .comp-mini-grid span:last-child, .comp-quality-grid span:last-child { border-bottom: 0 !important; }
  .comp-provider-qr { grid-template-columns: 1fr; }
  .comp-provider-qr__image { width: min(220px, 100%); }
  .comp-faq summary { font-size: 15px; padding: 16px 18px; }
}
