/* ==========================================================================
   Thriving Sons — Mentoring for Families (page-specific styles)
   Reuses tokens, base, components (eyebrow, buttons, hero, photo-frame, text-link),
   header and footer. Nothing here changes another page.
   ========================================================================== */

/* --- Section 01: hero (the homepage hero component, sized for a longer headline) --- */
.hero--family { padding-bottom: var(--ts-space-5); }

.hero--family .hero__title {
  font-size: clamp(2.375rem, 1.5rem + 4.2vw, 3.5rem);
  line-height: 1.04;
}

.hero__copy {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--ts-charcoal-soft);
}

.hero__copy p:first-child {
  font-size: var(--ts-text-lead);
  line-height: 1.55;
  color: var(--ts-charcoal);
}

@media (min-width: 64rem) {
  .hero--family { padding-bottom: 5rem; }
  .hero--family .hero__title { font-size: clamp(3rem, 3.9vw, 3.75rem); }
}

/* --- Shared heading style for this page's sections --------------------------------- */
.how__title,
.faq__title,
.apply__title {
  font-family: var(--ts-font-display);
  font-weight: var(--ts-title-weight);
  font-variation-settings: var(--ts-title-variation);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* --- Section 02: Connection. Challenge. Brotherhood. ------------------------------
   Charcoal band. Mobile: stacked. 48rem+: each principle is a row (heading left,
   copy right). 72rem+: three columns with headings and copy aligned across them.   */
.cb {
  padding-block: var(--ts-space-5);
  background: var(--ts-charcoal);
  color: var(--ts-cream);
}

.cb :focus-visible { outline-color: var(--ts-gold-soft); }
.cb .eyebrow { color: var(--ts-gold-soft); }
.cb .eyebrow::before { background: var(--ts-gold-soft); }

.cb__intro {
  display: grid;
  gap: var(--ts-space-3);
  justify-items: start;
}

.cb__title {
  font-family: var(--ts-font-display);
  font-size: clamp(2.5rem, 1.6rem + 4vw, 3.5rem);
  font-weight: var(--ts-title-weight);
  font-variation-settings: var(--ts-title-variation);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ts-cream);
}

.cb__title span { display: block; }

.cb__lede {
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ts-cream-muted);
}

.cb__list {
  display: grid;
  margin: var(--ts-space-4) 0 0;
  padding: 0;
  list-style: none;
}

.cb__list { gap: var(--ts-space-3); }

/* Each principle sits in a thin muted-gold card, matching the Boy–Warrior–King cards */
.cb__item {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: var(--ts-space-3) 1.25rem;
  border: 1px solid rgba(205, 176, 106, 0.55);
  border-radius: 2px;
}

@media (min-width: 40rem) {
  .cb__item { padding: var(--ts-space-4); }
}

.cb__label {
  font-size: var(--ts-text-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ts-gold-soft);
}

.cb__heading {
  font-family: var(--ts-font-display);
  font-size: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
  color: var(--ts-cream);
}

.cb__body {
  display: grid;
  gap: 1rem;
  align-content: start;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ts-cream-muted);
}

@media (min-width: 48rem) {
  .cb { padding-block: 5rem; }
}

@media (min-width: 64rem) {
  .cb__title { font-size: clamp(2.5rem, 4vw, 3.5rem); white-space: nowrap; }
  .cb__title span { display: inline; }
}

@media (min-width: 72rem) {
  .cb { padding-block: 6rem; }

  /* Three equal cards across; labels, headings and copy align from card to card */
  .cb__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    column-gap: var(--ts-space-3);
    margin-top: var(--ts-space-5);
  }

  .cb__item {
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
    padding: var(--ts-space-4);
  }

  .cb__label   { margin-bottom: var(--ts-space-2); }
  .cb__heading { margin-bottom: var(--ts-space-3); }
}

/* --- Section 03: How Mentoring Works ------------------------------------------------ */
.how { padding-block: var(--ts-space-5); }

.how__grid {
  display: grid;
  gap: var(--ts-space-3);
}

.how__title { font-size: clamp(2rem, 1.45rem + 2.6vw, 3.25rem); color: var(--ts-charcoal); }

.how__points {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how__points li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  align-items: baseline;
  padding-block: 1rem;
  border-top: 1px solid rgba(38, 42, 47, 0.16);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ts-charcoal);
}

.how__points li:first-child { border-top: 0; padding-top: 0; }

.how__points li::before {
  content: "";
  width: 1rem;
  height: 2px;
  background: var(--ts-gold);
  transform: translateY(-0.3em);
}

.how__service { margin-top: var(--ts-space-5); }

/* One-to-One Mentoring: a single, wide card (the only family mentoring service) */
.service {
  display: grid;
  gap: var(--ts-space-3);
  padding: var(--ts-space-3);
  background: var(--ts-white);
  border: 1px solid var(--ts-cream-deep);
  border-top: 2px solid var(--ts-gold);
  border-radius: var(--ts-radius);
}

.service__intro { display: grid; gap: 0.75rem; align-content: start; }

.service__title {
  font-family: var(--ts-font-display);
  font-size: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem);
  font-weight: var(--ts-title-weight);
  font-variation-settings: var(--ts-title-variation);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ts-charcoal);
}

.service__lead {
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ts-charcoal-soft);
}

.service__detail {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding-top: var(--ts-space-3);
  border-top: 1px solid var(--ts-cream-deep);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ts-charcoal);
}

@media (min-width: 40rem) {
  .service { padding: var(--ts-space-4); }
}

@media (min-width: 48rem) {
  .how { padding-block: 5rem; }
}

@media (min-width: 64rem) {
  .how__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 5vw, 5rem);
    align-items: start;
  }
  .how__service { margin-top: 4rem; }

  /* Wide card: name and description left, the practical detail right */
  .service {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }

  .service__detail {
    padding-top: 0;
    padding-left: clamp(2.5rem, 5vw, 4.5rem);
    border-top: 0;
    border-left: 1px solid var(--ts-cream-deep);
  }
}

@media (min-width: 72rem) {
  .how { padding-block: 6rem; }
}

/* --- Section 04: Questions Parents Often Ask --------------------------------------
   Cream-deep band. Native <details> accordion: works without JavaScript.            */
.faq {
  padding-block: var(--ts-space-5);
  background: var(--ts-cream-deep);
}

.faq__grid {
  display: grid;
  gap: var(--ts-space-3);
}

.faq__title { font-size: clamp(2rem, 1.45rem + 2.6vw, 3.25rem); color: var(--ts-charcoal); }

.faq__list { border-bottom: 1px solid rgba(38, 42, 47, 0.2); }

.faq__item { border-top: 1px solid rgba(38, 42, 47, 0.2); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ts-space-2);
  min-height: 3.5rem;
  padding-block: 1rem;
  font-family: var(--ts-font-display);
  font-size: clamp(1.1875rem, 1.1rem + 0.5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ts-charcoal);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker { display: none; }

/* Plus that turns into a minus when open (decorative) */
.faq__question::after {
  content: "";
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  background:
    linear-gradient(var(--ts-gold), var(--ts-gold)) center / 100% 2px no-repeat,
    linear-gradient(var(--ts-gold), var(--ts-gold)) center / 2px 100% no-repeat;
}

.faq__item[open] .faq__question::after {
  background-size: 100% 2px, 0 100%;
}

.faq__question:hover { color: var(--ts-slate); }

.faq__answer {
  display: grid;
  gap: var(--ts-space-2);
  justify-items: start;
  max-width: 42rem;
  padding-bottom: 1.5rem;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ts-charcoal-soft);
}

@media (min-width: 48rem) {
  .faq { padding-block: 5rem; }
}

@media (min-width: 64rem) {
  .faq__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 5vw, 5rem);
    align-items: start;
  }
}

@media (min-width: 72rem) {
  .faq { padding-block: 6rem; }
}

/* --- Section 05: Apply for Mentoring ----------------------------------------------
   Charcoal band. Copy left, application form (GoHighLevel embed area) right from 64rem. */
.apply {
  padding-block: var(--ts-space-5);
  background: var(--ts-charcoal);
  color: var(--ts-cream);
  scroll-margin-top: 0;
}

.apply :focus-visible { outline-color: var(--ts-gold-soft); }
.apply .eyebrow { color: var(--ts-gold-soft); }
.apply .eyebrow::before { background: var(--ts-gold-soft); }

.apply__grid {
  display: grid;
  gap: var(--ts-space-4);
}

.apply__copy {
  display: grid;
  gap: var(--ts-space-3);
  justify-items: start;
  align-content: start;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ts-cream-muted);
}

.apply__title {
  font-size: clamp(2.25rem, 1.3rem + 4.3vw, 3.75rem);
  line-height: 1.05;
  color: var(--ts-cream);
}

.apply__cta { width: 100%; }

#family-application { scroll-margin-top: 1rem; }

/* GoHighLevel form area. The embed (iframe) fills this container. */
.ghl { min-width: 0; }

.ghl iframe {
  display: block;
  width: 100%;
  min-height: 40rem;
  border: 0;
  border-radius: var(--ts-radius);
  background: var(--ts-white);
}

.ghl__placeholder {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  min-height: 18rem;
  padding: var(--ts-space-4);
  border: 1px dashed var(--ts-gold-soft);
  border-radius: var(--ts-radius);
  background: rgba(245, 239, 227, 0.05);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ts-cream-muted);
}

.ghl__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ts-gold-soft);
}

.ghl__title {
  font-family: var(--ts-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ts-cream);
}

@media (min-width: 40rem) {
  .apply__cta { width: auto; }
}

@media (min-width: 48rem) {
  .apply { padding-block: 5rem; }
}

@media (min-width: 64rem) {
  .apply__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 5vw, 5rem);
    align-items: start;
  }
}

@media (min-width: 72rem) {
  .apply { padding-block: 6rem; }
}
