/* Female Physique Module — loads AFTER /assets/css/j3.css AND /xframe/page.css.
   Only styles new to this page; everything else (tokens, header, footer, hero-x,
   section, darkbox, split, dlist, gtee, offer-center, trust-row, etc.) is shared. */

/* ---- HERO sub-copy (same treatment as the Hourglass page) ---- */
.hero-sub {
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.18rem);
  color: #34373d;
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.6;
  text-align: center;
}

/* ---- small red line icons (What You'll Learn + How It Works cells) ---- */
.ico { width: 34px; height: 34px; color: var(--red); flex-shrink: 0; }
.ico-sm { width: 28px; height: 28px; color: var(--red); }

/* =================================================================
   BAND 2 — "Females can't be Coached Like Men" comparison table
   category band (colored) + rows of problem -> consequence
   ================================================================= */
.compare {
  max-width: 940px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-cat {
  padding: 14px 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  text-align: center;
  letter-spacing: .01em;
}
.cat-bodyfat  { background: #cf6a63; }
.cat-muscle   { background: #74767d; }
.cat-hormonal { background: #6c6885; }
.cat-peds     { background: #2e3450; }

.compare-row {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: center;
  gap: 10px;
}
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-row .cl,
.compare-row .cr { padding: 18px 26px; line-height: 1.45; }
.compare-row .cl { font-family: var(--font-head); font-weight: 600; color: var(--ink); background: #faf6f6; }
.compare-row .cr { color: #34373d; }
.compare-row .arr { display: grid; place-items: center; }
.compare-row .arr svg { width: 24px; height: 24px; color: var(--red); }

@media (max-width: 620px) {
  .compare-row { grid-template-columns: 1fr; gap: 0; }
  .compare-row .cl { background: #faf6f6; padding-bottom: 6px; }
  .compare-row .cr { padding-top: 6px; }
  .compare-row .arr { display: none; }
}

/* =================================================================
   "What You'll Learn" — light card with 5 icon items
   ================================================================= */
/* 5 cards: a row of 3, then the last 2 widen to fill the row evenly (matches source) */
.learn-box { max-width: 1040px; margin: 0 auto; }
.learn-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.learn-card {
  flex: 1 1 300px;
  max-width: 500px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.learn-card h4 { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin: 0; }
.learn-card p { font-size: .95rem; color: #34373d; line-height: 1.55; margin: 0; }
.learn-cta { display: flex; justify-content: center; margin-top: 30px; }

/* =================================================================
   Case study — image + copy (lives in a grey section, light card)
   reuses .split; just the media framing
   ================================================================= */
.case-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px,3vw,42px); }
.case-card .split { align-items: start; }
.case-card .split-media img { box-shadow: var(--shadow-sm); }
.case-eyebrow { color: var(--red); }
.case-card .split-copy h3 { font-size: clamp(1.3rem,1rem+1vw,1.7rem); margin: 4px 0 0; }

/* =================================================================
   Curriculum accordion ("More than 15 hours of video lessons")
   native <details>/<summary>, no JS
   ================================================================= */
.accordion { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.acc-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item > summary .pm {
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  color: var(--red);
  font-size: 1.5rem;
  line-height: 1;
}
.acc-item > summary .pm::before { content: "+"; }
.acc-item[open] > summary .pm::before { content: "\2212"; }  /* minus */
.acc-item[open] > summary { color: var(--ink); }
.acc-body { padding: 0 24px 22px; }
.acc-body ol {
  margin: 0;
  padding-left: 1.5em;
  list-style: lower-alpha;
  display: grid;
  gap: 9px;
}
.acc-body li { color: #34373d; font-size: .98rem; line-height: 1.5; padding-left: 4px; }

/* =================================================================
   "How the Program Works and Features" — 8-cell grid (1px dividers)
   ================================================================= */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.work-cell {
  background: #fff;
  padding: clamp(22px, 2.6vw, 36px) clamp(18px, 2vw, 26px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.work-cell h4 { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0; }
.work-cell p { font-size: .9rem; color: #34373d; line-height: 1.55; margin: 0; }

@media (max-width: 860px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .works-grid { grid-template-columns: 1fr; } }

/* =================================================================
   Testimonial — small contained portrait, text is the focus (Maia)
   ================================================================= */
.testi-box.split { grid-template-columns: auto 1fr; gap: clamp(24px,3vw,44px); align-items: center; }
.testi-box.split .db-media { display: flex; justify-content: center; }
.testi-box.split .db-media img {
  height: 340px;
  width: auto;
  object-fit: contain;          /* show the full portrait, never cropped */
  border-radius: 14px;
}
@media (max-width: 860px) {
  .testi-box.split { grid-template-columns: 1fr; }
  .testi-box.split .db-media { display: block; }
  /* full content width — same left/right edge as the text below it */
  .testi-box.split .db-media img { width: 100%; height: auto; object-fit: contain; }
}
.tquote { margin: 0; }
.tquote .qmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3rem;
  line-height: .6;
  color: var(--red-bright);
  display: block;
  margin-bottom: 10px;
}
.tquote p { color: #e0e2e6; font-size: 1.02rem; line-height: 1.65; font-style: italic; margin: 0 0 18px; }
.tquote cite {
  font-style: normal;
  display: block;
}
.tquote cite b { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1rem; display: block; }
.tquote cite span { color: #9aa1ab; font-size: .9rem; }

/* =================================================================
   "Who Is This Program For?" — image + items inside a DARK box (source)
   ================================================================= */
/* image smaller, dark box wider (~1 : 1.1); BOTH columns equal height — the image
   fills the column (cover) to match the dark box, exactly like the source */
.who-split { grid-template-columns: 1fr 1.1fr; gap: clamp(24px,2.5vw,38px); align-items: stretch; }
.who-split .split-media { height: 100%; }
.who-split .split-media img { height: 100%; object-fit: cover; }
.who-box { display: flex; flex-direction: column; gap: 22px; height: 100%; justify-content: center; }
@media (max-width: 860px) {
  /* must restate: the base .who-split rule out-ranks xframe's mobile .split rule */
  .who-split { grid-template-columns: 1fr; }
  .who-split .split-media img { height: auto; object-fit: cover; }
}
.who-item { display: flex; gap: 12px; align-items: flex-start; }
.who-item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }
.who-item h3 { color: #fff; font-size: 1.1rem; margin: 0 0 6px; }
.who-item p { color: #c2c6cc; font-size: 1.0rem; line-height: 1.55; margin: 0; }
.who-box .btn { align-self: flex-start; margin-top: 4px; }

/* =================================================================
   "What Makes J3U Different" — 2-col: dark heading + light items + dark CTA
   (the source's dark/light color combination, not one flat dark box)
   ================================================================= */
.makes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.makes-col { display: flex; flex-direction: column; gap: 22px; }
.makes-head h2 { font-size: clamp(1.5rem, 1rem + 1.5vw, 2.1rem); }
.makes-head p { margin-top: 4px; }
.mk-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.mk-item svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.mk-item h4 { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin: 0 0 5px; }
.mk-item p { font-size: .96rem; color: #34373d; line-height: 1.55; margin: 0; }
.makes-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.makes-cta p { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; margin: 0; line-height: 1.4; }
@media (max-width: 820px) { .makes-grid { grid-template-columns: 1fr; } }

/* =================================================================
   "Real Results" — 5-photo gallery (tall center + 2 each side)
   ================================================================= */
.results-gallery {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}
.rg-side { display: flex; flex-direction: column; gap: 16px; }
.rg-side img {
  width: 100%;
  border-radius: 16px;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;   /* crop from the feet up so heads are never cut */
  box-shadow: var(--shadow-sm);
}
.rg-center img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow);
}
@media (max-width: 760px) {
  .results-gallery { grid-template-columns: 1fr 1fr; }
  .rg-side { display: contents; }
  .rg-center { grid-column: span 2; }
  .rg-center img { aspect-ratio: 16/11; height: auto; }
}

/* =================================================================
   Centered offer card + trust strip (shared component — kept self
   contained here so this page does not depend on a sibling page.css)
   ================================================================= */
.offer-center { max-width: 600px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(28px,4vw,46px); text-align: center; }
.offer-center .ob-eyebrow { color: var(--red); }
.offer-center .price-now { font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; color: var(--ink); line-height: 1; margin: 14px 0 4px; }
.offer-center .price-now .cur { color: var(--red); font-size: .5em; vertical-align: super; }
.offer-center .price-sub { font-size: .9rem; color: var(--muted); }
.offer-center .dlist { max-width: 460px; margin: 24px auto; text-align: left; gap: 12px; }
.offer-center .dlist li { font-size: .98rem; }
.offer-center .btn { width: 100%; justify-content: center; margin-top: 6px; }
.offer-center .gtee { margin: 14px auto 0; }
.offer-center .trust-row { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; justify-content: center; }
.trust-row .ti { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 500; font-size: .8rem; color: var(--muted); }
.trust-row .ti svg { width: 18px; height: 18px; color: var(--red); }
.trust-row img.cards { height: 26px; width: auto; }
.trust-row img.nasm { height: 30px; width: auto; }
.trust-row img.stars { height: 22px; width: auto; }

/* =================================================================
   Guarantee box copy points
   ================================================================= */
.gb-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.gb-points li { display: flex; gap: 10px; align-items: center; color: #c2c6cc; font-size: .96rem; }
.gb-points li svg { width: 18px; height: 18px; color: var(--red-bright); flex-shrink: 0; }

/* on mobile the guarantee photo stacks below the copy — keep it flush to the
   bottom edge of the dark box (matches desktop, where it is absolute bottom:0) */
@media (max-width: 860px) {
  .gbox { padding-bottom: 0; }
  .gbox .gb-photo { margin-top: 22px; }
  .gbox .gb-photo img { display: block; }
  /* center the in-content CTAs on mobile */
  .who-box .btn,
  .makes-cta .btn { align-self: center; }
  .makes-cta { align-items: center; text-align: center; }
}
