/* ==========================================================================
   CFP Weight Loss — Flagship homepage extensions
   Builds on css/styles.css (shared design system)
   ========================================================================== */

/* Hero duo photos (Russell + Anne-Marie) --------------------------------- */
.hero--flagship .hero__visual--duo {
  min-height: 380px;
  padding-bottom: 1.5rem;
}

.hero-duo {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  min-height: 400px;
}

.hero-duo__frame {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-teal-100) 0%, var(--color-navy-100) 100%);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-white);
}

.hero-duo__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-duo__frame--primary {
  width: 68%;
  aspect-ratio: 4 / 5;
  left: 0;
  top: 0;
  z-index: 1;
}

.hero-duo__frame--secondary {
  width: 48%;
  aspect-ratio: 4 / 5;
  right: 0;
  bottom: 0;
  z-index: 2;
  border-color: var(--color-cream);
}

.hero-duo__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 0.85rem 0.85rem;
  background: linear-gradient(transparent, rgba(11, 28, 44, 0.88));
  color: var(--color-white);
}

.hero-duo__caption strong {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25;
}

.hero-duo__caption span {
  font-size: 0.7rem;
  opacity: 0.85;
}

.hero--flagship .hero__book {
  right: max(0px, calc(50% - 240px));
  bottom: -0.25rem;
  z-index: 3;
  width: 110px;
}

@media (max-width: 520px) {
  .hero-duo {
    min-height: 340px;
  }
  .hero-duo__frame--primary {
    width: 70%;
  }
  .hero-duo__frame--secondary {
    width: 50%;
  }
  .hero--flagship .hero__book {
    width: 96px;
    right: 0;
  }
}

/* Story coaches spacing */
.story-coaches {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* Compact includes above pricing */
.included-grid--compact {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

@media (min-width: 1000px) {
  .included-grid--compact {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Stripe placeholder CTAs */
.btn--ghost-stripe {
  margin-top: 0.5rem;
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
  font-size: 0.875rem;
  padding: 0.7rem 1rem;
  opacity: 0.85;
  cursor: not-allowed;
}

.btn--ghost-stripe:not(:disabled) {
  cursor: pointer;
  opacity: 1;
  color: var(--color-navy-800);
  border-color: #635bff;
  color: #635bff;
}

.btn--ghost-stripe:not(:disabled):hover {
  background: rgba(99, 91, 255, 0.06);
  color: #4f46e5;
  border-color: #4f46e5;
}

.stripe-soon {
  font-weight: 500;
  font-size: 0.8em;
  opacity: 0.75;
}

.price-card__cta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Podcast teaser ---------------------------------------------------------- */
.podcast-teaser {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 800px) {
  .podcast-teaser {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

.podcast-teaser__art {
  width: min(280px, 70vw);
  margin-inline: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-white);
}

.podcast-teaser__art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--color-navy-900);
}

.podcast-latest__heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-navy-900);
  margin-bottom: 1.25rem;
  text-align: center;
}

.podcast-latest {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .podcast-latest {
    grid-template-columns: repeat(3, 1fr);
  }
}

.podcast-latest__loading,
.podcast-latest__error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text-muted);
  padding: 1.5rem;
  font-size: 0.95rem;
}

.ep-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

.ep-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.ep-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-teal-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ep-card__title {
  font-size: 1rem;
  font-weight: 650;
  color: var(--color-navy-900);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.ep-card__cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-teal-700);
  margin-top: 0.25rem;
}

.ep-card:hover .ep-card__cta {
  color: var(--color-teal-900);
}

.deep-link-banner {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--color-teal-50);
  border: 1px solid rgba(13, 115, 119, 0.2);
  border-radius: var(--radius);
  color: var(--color-navy-800);
  font-size: 0.95rem;
  line-height: 1.5;
}

.deep-link-banner a {
  font-weight: 600;
}

.text-link-strong {
  font-weight: 650;
  color: var(--color-teal-700);
}

.text-link-strong:hover {
  color: var(--color-teal-900);
}

/* Why Us ------------------------------------------------------------------ */
.why-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.why-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.why-card__num {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-teal-700);
  margin-bottom: 0.65rem;
}

.why-card h3 {
  font-size: 1.125rem;
  font-weight: 650;
  color: var(--color-navy-900);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.why-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Trust signals row under FAQ */
.trust-signals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.75rem;
}

@media (min-width: 700px) {
  .trust-signals {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-signals__item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-soft);
}

.trust-signals__item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-navy-900);
  margin-bottom: 0.25rem;
}

.trust-signals__item span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.risk-reversal {
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  background: var(--color-teal-50);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 115, 119, 0.15);
  text-align: center;
}

.risk-reversal h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-navy-900);
  margin-bottom: 0.65rem;
}

.risk-reversal p {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  max-width: 40rem;
  margin-inline: auto;
  line-height: 1.65;
}

/* Final CTA */
.final-cta .section__title {
  max-width: 36rem;
  margin-inline: auto;
}

/* Footer — 4-column flagship layout */
.footer__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.footer__tagline {
  margin-top: 0.75rem !important;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 900px) {
  .site-footer .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

/* Footer link as button (Contact Us) */
.footer__linkbtn {
  display: block;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.footer__linkbtn:hover {
  color: var(--color-white);
}

.footer__disclaimer {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 48rem;
  line-height: 1.5;
}

/* Form footnote */
.form-footnote {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-align: center;
  line-height: 1.5;
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .btn-group .btn--lg {
    width: 100%;
  }
}
