/*
 * MediBloom home sections: hero, press + categories, expert quote, products,
 * real results, reviews + FAQ, closing band. Also the shared FAQ accordion
 * (faq block, reviews block). Tokens and buttons come from base.css.
 */

/* ------------------------------------------------------------------ hero */
.mb-hero {
  position: relative; display: flex; flex-direction: column;
  min-height: 989px; padding: 0 var(--mb-gutter) 40px;
  background: var(--mb-night) var(--mb-hero-bg) 50% 0 / cover no-repeat;
  color: var(--mb-white);
}
.mb-hero-inner {
  display: flex; flex-direction: column; align-items: flex-start; gap: 90px;
  width: 100%; max-width: var(--mb-shell); margin-inline: auto; padding-top: 325px;
}
.mb-hero-copy { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 565px; }
.mb-hero-title { display: flex; flex-direction: column; padding-bottom: 7px; font-family: var(--mb-font); font-weight: 700; text-transform: uppercase; color: var(--mb-white); }
.mb-hero-eyebrow { font-size: 34px; line-height: 1; }
.mb-hero-brand { font-size: var(--mb-fs-display); line-height: 1.12; }
.mb-hero-lead {
  max-width: 440px; margin-top: 15px;
  font-family: var(--mb-font-alt); font-size: 18px; font-weight: 500; line-height: 1.5;
  letter-spacing: 1px; text-transform: uppercase;
}
.mb-hero-cta { margin-top: 15px; }

.mb-hero-proof { display: grid; grid-template-columns: auto auto; align-items: end; gap: 24px; max-width: 410px; }
.mb-hero-voice { display: flex; flex-direction: column; gap: 20px; max-width: 236px; }
.mb-hero-avatars { display: flex; }
.mb-hero-avatars img {
  width: 60px; height: 60px; border: 3px solid var(--mb-white); border-radius: 50%; object-fit: cover;
}
.mb-hero-avatars img + img { margin-left: -15px; }
.mb-hero-quote p { font-weight: 300; line-height: 20px; letter-spacing: .5px; }
.mb-hero-rating { display: flex; flex-direction: column; align-items: center; gap: 15px; width: 150px; }
.mb-hero-rating img { width: 138px; height: 22px; }
.mb-hero-rating p { font-family: var(--mb-font-alt); font-size: 60px; font-weight: 600; line-height: 1; color: #00fffc; }
.mb-hero-mobile { display: none; }

@media (max-width: 1024px) {
  .mb-hero { min-height: 0; }
  .mb-hero-inner { padding: 200px 0 80px; }
}
@media (max-width: 767px) {
  .mb-hero { background-image: none; }
  .mb-hero-inner { align-items: center; gap: 24px; padding: 140px 0 0; text-align: center; }
  .mb-hero-copy { align-items: center; max-width: none; }
  .mb-hero-title { align-items: center; width: 100%; }
  .mb-hero-brand { width: 100%; }
  .mb-hero-brand.mb-rule::before { max-width: none; }
  .mb-hero-lead { max-width: none; font-size: 16px; }
  .mb-hero-proof { grid-template-columns: 1fr; max-width: none; justify-items: center; }
  .mb-hero-voice { align-items: center; max-width: none; }
  .mb-hero-avatars img { width: 40px; height: 40px; border-width: 2px; }
  .mb-hero-rating { width: auto; }
  .mb-hero-rating p { font-size: 45px; }
  .mb-hero-mobile { display: block; width: 100%; height: auto; object-fit: cover; }
}

/* ------------------------------------------------------------------ press + categories */
.mb-collections {
  margin-top: -2px; padding: 45px 0 172px;
  background: var(--mb-collections-bg) 50% 0 / 100% auto no-repeat;
}
.mb-press { display: flex; flex-direction: column; gap: 35px; }
.mb-press-title {
  font-family: var(--mb-font-alt); font-size: 18px; font-weight: 500; line-height: 1;
  letter-spacing: 1px; text-transform: uppercase; text-align: center; color: #969797;
}
.mb-press-track { display: flex; justify-content: center; max-width: 842px; margin-inline: auto; overflow: hidden; }
.mb-press-row { display: flex; align-items: center; flex: none; }
.mb-press-row li { display: flex; align-items: center; justify-content: center; width: 120px; height: 50px; }
.mb-press-row img { width: auto; max-height: 44px; }
.mb-press-row--copy { display: none; }

.mb-cats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 48px;
  max-width: 1160px; margin: 56px auto 0;
}
.mb-cat { display: flex; flex-direction: column; align-items: flex-start; padding: 0 15px; }
.mb-cat--2 { margin-top: 60px; }
.mb-cat-photo {
  width: 100%; max-width: 330px; aspect-ratio: 309 / 409; height: auto; margin-bottom: 55px;
  border-radius: 20px; object-fit: cover; transform: rotate(-6.7deg);
}
.mb-cat--2 .mb-cat-photo { transform: rotate(-.67deg); }
.mb-cat--3 .mb-cat-photo { transform: rotate(7deg); margin-bottom: 40px; }
.mb-cat-title {
  display: flex; flex-direction: column; margin-bottom: 34px;
  font-family: var(--mb-font); font-size: 50px; font-weight: 500; line-height: 1.2;
  text-transform: uppercase; color: var(--mb-teal);
}
.mb-cat-title span { font-size: 30px; color: #3f6165; }
.mb-cat-text { margin-bottom: 26px; font-size: 20px; line-height: 1.5; color: #000; }
.mb-cat-btn { padding: 15px 26px; gap: 27px; }

@media (max-width: 1200px) {
  .mb-cat-title { font-size: 40px; }
  .mb-cat-title span { font-size: 26px; }
  .mb-cat-text { font-size: 18px; }
}
@media (max-width: 1024px) {
  .mb-collections { padding-bottom: 100px; }
  .mb-cats { column-gap: 24px; }
  .mb-cat { padding: 0 6px; }
  .mb-cat--2 { margin-top: 36px; }
  .mb-cat-photo { margin-bottom: 40px; }
  .mb-cat-title { margin-bottom: 20px; font-size: 34px; }
  .mb-cat-title span { font-size: 22px; }
  .mb-cat-text { margin-bottom: 22px; font-size: 16px; }
  .mb-cat-btn { padding: 12px 20px; gap: 18px; font-size: 16px; }
}
@media (max-width: 767px) {
  .mb-collections { padding-bottom: 75px; background-size: auto 200px; }
  .mb-press-row li { width: 180px; }
  .mb-press-track { width: 100%; max-width: none; justify-content: flex-start; }
  .mb-press-row { animation: mb-marquee 18s linear infinite; }
  .mb-press-row--copy { display: flex; }
  .mb-cats { grid-template-columns: 1fr; gap: 40px; margin-top: 35px; }
  .mb-cat { align-items: center; padding: 0; text-align: center; }
  .mb-cat + .mb-cat { margin-top: 20px; }
  .mb-cat-photo { width: 309px; max-width: 86%; margin-bottom: 15px; transform: rotate(-2.7deg); }
  .mb-cat--2 .mb-cat-photo { transform: rotate(-.67deg); }
  .mb-cat--3 .mb-cat-photo { transform: rotate(4deg); margin-bottom: 15px; }
  .mb-cat-title { margin-bottom: 10px; font-size: 36px; }
  .mb-cat-title span { font-size: 24px; }
  .mb-cat-text { margin-bottom: 15px; font-size: 20px; }
  .mb-cat-btn { margin-top: 0; padding: 15px 20px; gap: 25px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .mb-press-row { animation: none !important; } }
@keyframes mb-marquee { to { transform: translateX(-100%); } }

/* ------------------------------------------------------------------ expert quote */
.mb-doctor {
  position: relative; overflow: hidden; padding: 0 var(--mb-gutter);
  background: var(--mb-night) var(--mb-doctor-bg) 50% 50% / cover no-repeat;
  color: var(--mb-white);
}
/* The silver strip the band opens with. */
.mb-doctor::before { content: ""; position: absolute; inset: 0 0 auto; height: 32px; background: var(--mb-silver); }
.mb-doctor-inner {
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; column-gap: 50px;
  max-width: var(--mb-shell); margin-inline: auto; padding-top: 80px; min-height: 609px;
}
.mb-doctor-portrait img { width: calc(100% + 100px); max-width: none; margin-left: -100px; height: auto; }
.mb-doctor-copy { display: flex; flex-direction: column; gap: 45px; margin-left: -10px; padding-bottom: 90px; }
.mb-doctor-quote { display: flex; flex-direction: column; gap: 15px; }
.mb-doctor-mark { width: 70px; height: auto; }
.mb-doctor-quote blockquote, .mb-doctor-quote figcaption { font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: .75px; }
.mb-doctor-quote figcaption { font-style: italic; text-align: right; }
.mb-doctor-logo { align-self: flex-end; width: 130px; height: auto; }
.mb-doctor-product { padding-bottom: 50px; }
.mb-doctor-product img { width: calc(100% + 100px); max-width: none; height: auto; }

@media (max-width: 1024px) {
  .mb-doctor-inner { column-gap: 24px; }
  .mb-doctor-copy { padding-bottom: 50px; }
}
@media (max-width: 767px) {
  .mb-doctor-inner { display: flex; flex-direction: column-reverse; align-items: flex-end; min-height: 0; }
  .mb-doctor-copy { width: 100%; margin-left: 0; gap: 20px; padding-bottom: 50px; }
  .mb-doctor-quote { gap: 10px; }
  .mb-doctor-quote blockquote, .mb-doctor-quote figcaption { font-size: 16px; }
  .mb-doctor-logo { width: 120px; }
  .mb-doctor-portrait { align-self: flex-start; width: 200px; margin-top: -100px; }
  .mb-doctor-portrait img { width: 300px; }
  .mb-doctor-product { position: absolute; right: 0; bottom: 0; width: 150px; padding: 0; }
  .mb-doctor-product img { width: 150px; }
}

/* ------------------------------------------------------------------ products */
.mb-home-products { padding: 115px 0; }
.mb-home-products-head { display: flex; flex-direction: column; gap: 25px; margin-bottom: 100px; text-align: center; }
.mb-home-products-title {
  font-family: var(--mb-font); font-size: var(--mb-fs-display); font-weight: 400; line-height: 1.12;
  text-transform: uppercase; color: var(--mb-deep);
}
.mb-home-products-lead { max-width: 1270px; margin-inline: auto; font-size: 26px; font-weight: 600; line-height: 1.5; color: var(--mb-grey); }
.mb-home-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px 50px; }
.mb-home-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--mb-white); border-radius: 20px; box-shadow: 0 0 95px rgba(46, 105, 124, .18);
}
.mb-home-card-link { display: flex; flex-direction: column; align-items: center; width: 100%; }
.mb-home-card-photo {
  position: relative; display: block; width: 100%; aspect-ratio: 445 / 449; padding: 5px; border-radius: 20px;
  background: url("../img/shop/studio-bg.webp") center / cover content-box,
    linear-gradient(to right, #aaaaac 0%, #ebeced 23%, #c5e2e4 47%, #fff 71%, #cccccd 100%);
  background-clip: content-box, border-box;
}
.mb-home-card-photo img {
  position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%);
  width: 62%; height: 71%; object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35));
}
/* Two bottle sizes: the smaller in front on the left, just overlapping the
   larger on the right (same staging as the shop flagships). */
.mb-home-card-photo--pair .mb-home-card-bottle {
  transform: none; width: auto; max-width: 46%; height: auto;
}
.mb-home-card-photo--pair .mb-home-card-bottle--front { left: 13%; right: auto; bottom: 8%; height: 66%; z-index: 2; }
.mb-home-card-photo--pair .mb-home-card-bottle--back { left: auto; right: 10%; bottom: 10%; height: 72%; z-index: 1; }
.mb-home-card-name {
  padding: 40px 15px 10px; font-family: var(--mb-font); font-size: 30px; font-weight: 800; line-height: 1.2;
  text-transform: uppercase; color: #098c97;
}
.mb-home-card-price { margin-bottom: 10px; font-size: 20px; font-weight: 600; line-height: 1.5; color: #098c97; }
.mb-home-card-cta {
  padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--mb-font);
  margin-bottom: 51px; font-size: 20px; font-weight: 700; line-height: 1;
  text-transform: uppercase; text-decoration: underline; color: #0f1625;
}
.mb-home-card-cta:hover, .mb-home-card-link:hover .mb-home-card-name { color: var(--mb-teal); }
.mb-home-products-foot { display: flex; flex-direction: column; align-items: center; gap: 40px; margin-top: 100px; text-align: center; }
.mb-home-products-foot p { max-width: 1065px; font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: .75px; color: #272626; }

@media (max-width: 1024px) {
  .mb-home-products { padding: 90px 0; }
  .mb-home-products-head { margin-bottom: 60px; }
  .mb-home-products-lead { font-size: 22px; }
  .mb-home-products-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 767px) {
  .mb-home-products { padding: 75px 0; }
  .mb-home-products-head { margin-bottom: 35px; }
  .mb-home-products-title { font-size: var(--mb-fs-display); }
  .mb-home-products-lead { font-size: 20px; line-height: 1.5; }
  .mb-home-products-grid { grid-template-columns: 1fr; gap: 24px; }
  .mb-home-card-name { padding: 25px 10px 10px; font-size: 26px; }
  .mb-home-card-cta { margin-bottom: 40px; }
  .mb-home-products-foot { margin-top: 40px; }
  .mb-home-products-foot p { font-size: 16px; }
}

/* ------------------------------------------------------------------ real results */
.mb-results {
  padding: 0 var(--mb-gutter); overflow: hidden;
  background: var(--mb-night) var(--mb-results-bg) 50% 50% / cover no-repeat;
  color: var(--mb-white);
}
.mb-results-inner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px;
  max-width: var(--mb-shell); margin-inline: auto; padding: 150px 0 120px;
}
.mb-results-media { display: flex; flex-direction: column; gap: 100px; }
.mb-results-head { display: flex; flex-direction: column; gap: 32px; padding-left: 70px; }
.mb-results-title {
  font-family: var(--mb-font); font-size: var(--mb-fs-display); font-weight: 800; line-height: .9;
  text-transform: uppercase; color: var(--mb-teal);
}
.mb-results-sub { font-size: 26px; font-weight: 600; line-height: 1.5; }
.mb-results-photo { width: 100%; height: auto; }
.mb-results-body { display: flex; flex-direction: column; align-items: flex-start; gap: 55px; max-width: 540px; margin: 0 20px 0 84px; }
.mb-results-lead { font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: .75px; }
.mb-results-stats { display: grid; grid-template-columns: repeat(2, 190px); gap: 50px 160px; margin: 0; }
.mb-results-stat dt { margin-bottom: 16px; font-size: 130px; font-weight: 600; line-height: .8; }
.mb-results-stat dd { margin: 0; font-size: 18px; line-height: 1.55; }

@media (max-width: 1366px) {
  .mb-results-stat dt { font-size: 90px; }
  .mb-results-stats { gap: 50px 80px; }
}
@media (max-width: 1024px) {
  .mb-results-inner { grid-template-columns: 1fr; padding: 100px 0; }
  .mb-results-head { padding-left: 0; }
  .mb-results-body { margin: 0; max-width: none; }
  .mb-results-media { gap: 40px; }
}
@media (max-width: 767px) {
  .mb-results-inner { padding: 75px 0 50px; gap: 24px; }
  .mb-results-media { gap: 35px; }
  .mb-results-head { gap: 24px; }
  .mb-results-title { font-size: 42px; max-width: 360px; }
  .mb-results-sub { font-size: 20px; }
  .mb-results-body { gap: 35px; }
  .mb-results-lead { font-size: 16px; }
  .mb-results-stats { grid-template-columns: 1fr; gap: 24px; }
  .mb-results-stat dt { font-size: 50px; }
}

/* ------------------------------------------------------------------ reviews + FAQ */
.mb-voices { padding: 180px 0 80px; }
.mb-voices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
/* Reviews without the FAQ column (product page): one column. */
.mb-voices-grid--solo { grid-template-columns: minmax(0, 860px); }
.mb-voices-col { display: flex; flex-direction: column; gap: 90px; min-width: 0; }
.mb-voices-head { display: flex; flex-direction: column; gap: 45px; }
.mb-voices-title {
  font-family: var(--mb-font); font-size: 76px; font-weight: 400; line-height: 1.12;
  text-transform: uppercase; color: var(--mb-teal);
}
.mb-voices-sub { font-size: 26px; font-weight: 600; line-height: 1.5; color: var(--mb-grey); }

.mb-slider-track { min-height: 248px; }
.mb-voice { display: grid; grid-template-columns: 170px 1fr; }
.mb-voice[hidden] { display: none; }
.mb-voice-side { display: flex; flex-direction: column; gap: 34px; padding-right: 20px; }
.mb-voice-mark { width: 70px; height: auto; }
.mb-voice-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 135px; height: 135px; border-radius: 50%; object-fit: cover;
  background: var(--mb-sky); color: var(--mb-deep); font-size: 36px; font-weight: 600;
}
.mb-voice-body { display: flex; flex-direction: column; gap: 25px; }
.mb-voice-body blockquote, .mb-voice-body figcaption { font-size: 21px; line-height: 1.5; color: #16293c; }
.mb-slider-dots { display: flex; gap: 10px; margin-top: 42px; padding-left: 170px; }
.mb-slider-dots button {
  width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: #b4e0ed;
}
.mb-slider-dots button[aria-current="true"] { background: #2098c5; }

.mb-voices-faq { display: flex; flex-direction: column; gap: 36px; min-width: 0; max-width: 710px; }

@media (max-width: 1366px) { .mb-voices-title { font-size: 60px; } }
@media (max-width: 1024px) {
  .mb-voices { padding: 100px 0 60px; }
  .mb-voices-grid { grid-template-columns: 1fr; gap: 80px; }
  .mb-voices-col { gap: 50px; }
}
@media (max-width: 767px) {
  .mb-voices { padding: 75px 0 50px; }
  .mb-voices-grid { gap: 24px; }
  .mb-voices-col { gap: 24px; }
  .mb-voices-head { gap: 24px; }
  .mb-voices-title { font-size: 38px; }
  .mb-voices-sub { font-size: 20px; }
  .mb-voice { grid-template-columns: 80px 1fr; }
  .mb-voice-side { gap: 24px; }
  .mb-voice-mark { width: 50px; }
  .mb-voice-avatar { width: 60px; height: 60px; font-size: 20px; }
  .mb-voice-body blockquote, .mb-voice-body figcaption { font-size: 18px; }
  .mb-slider-track { min-height: 0; }
  .mb-slider-dots { gap: 10px; margin-top: 24px; padding-left: 80px; }
  .mb-slider-dots button { width: 14px; height: 14px; }
  .mb-voices-faq { gap: 10px; margin-top: 24px; }
}

/* ------------------------------------------------------------------ FAQ (block + accordion) */
.mb-faq { padding: 120px 0; }
.mb-faq--more { padding-top: 0; }
.mb-faq-grid { display: flex; flex-direction: column; gap: 36px; max-width: 710px; }
.mb-faq-intro { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.mb-faq-eyebrow {
  font-family: var(--mb-font-alt); font-size: 18px; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; color: #969797;
}
.mb-faq-heading {
  font-family: var(--mb-font); font-size: var(--mb-fs-display); font-weight: 400; line-height: 1.12;
  text-transform: uppercase; color: var(--mb-deep);
}
.mb-faq-lead { font-size: 18px; line-height: 1.55; color: var(--mb-grey); }

.mb-accordion-item + .mb-accordion-item { border-top: 1px solid #bcdcbe; }
.mb-accordion-item-head { margin: 0; font: inherit; }
.mb-accordion-trigger {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; width: 100%;
  padding: 30px 0; border: 0; background: none; text-align: left;
  font-family: var(--mb-font); font-size: 26px; font-weight: 600; line-height: 1.5; color: var(--mb-teal);
}
.mb-accordion-icon { position: relative; flex: none; width: 13px; height: 13px; margin-top: 14px; }
.mb-accordion-icon::before, .mb-accordion-icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 13px; height: 3px; margin-top: -1.5px;
  background: currentColor; transition: transform .2s ease;
}
.mb-accordion-icon::after { transform: rotate(90deg); }
.mb-accordion-trigger[aria-expanded="true"] .mb-accordion-icon::after { transform: rotate(0deg); }
.mb-accordion-panel { padding: 0 0 30px; font-size: 18px; line-height: 1.55; color: #28303d; }
.mb-accordion-panel[hidden] { display: none; }

@media (max-width: 1024px) { .mb-accordion-trigger { font-size: 22px; } }
@media (max-width: 767px) {
  .mb-faq { padding: 75px 0; }
  .mb-faq-heading { font-size: 38px; }
  .mb-accordion-trigger { padding: 20px 0; font-size: 18px; }
  .mb-accordion-icon { margin-top: 7px; }
  .mb-accordion-panel { padding-bottom: 20px; font-size: 16px; }
}

/* ------------------------------------------------------------------ closing band */
.mb-cta-band {
  position: relative; padding: 0 var(--mb-gutter);
  background: var(--mb-night) var(--mb-cta-bg) 50% 50% / cover no-repeat;
  color: var(--mb-white);
}
.mb-cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .3) 25%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, 0) 100%);
}
.mb-cta-band-inner {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 90px;
  max-width: var(--mb-shell); margin-inline: auto; padding: 110px 0 168px;
}
.mb-cta-band-grid { display: grid; grid-template-columns: 445px 141px; align-items: center; column-gap: 160px; }
.mb-cta-band-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 35px; }
.mb-cta-band-logo { width: 176px; height: auto; }
.mb-cta-band-text { font-family: var(--mb-font-alt); font-size: 18px; font-weight: 500; line-height: 1.5; }
.mb-cta-band-seal { width: 141px; height: auto; }
.mb-cta-band-badges { width: 473px; max-width: 100%; height: auto; }

@media (max-width: 1024px) {
  .mb-cta-band-grid { column-gap: 60px; }
}
@media (max-width: 767px) {
  /* Darker, even veil on phones: the copy sits right over the waterfall. */
  .mb-cta-band::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .3) 100%);
  }
  /* A smaller mark and a tighter top lift the line clear of the bottle's cap,
     and narrower badges keep "Privacy protected" off the bottle below. */
  .mb-cta-band-inner { gap: 55px; padding: 48px 0 100px; }
  .mb-cta-band-grid { grid-template-columns: 1fr; row-gap: 24px; }
  .mb-cta-band-copy { gap: 24px; }
  .mb-cta-band-logo { width: 84px; }
  .mb-cta-band-seal { width: 120px; }
  .mb-cta-band-badges { width: 260px; }
}
