/*
 * Home page (front-page.php). Sections follow the Figma auto-layout in page order: hero + clients, core values,
 * coaches, schedule, motto, testimonials. Full-bleed layers stretch to the viewport; content stays in .c-container.
 */

.c-home { overflow-x: clip; }
.c-home :where(h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
.c-home :where(ul, ol) { padding: 0; list-style: none; }
.c-home img { height: auto; }
.c-home [hidden] { display: none; }
.c-home-btn, .c-home-hero__cta { font: 400 16px/24px var(--font-display); letter-spacing: .08px; }
.c-home-arrow { display: grid; flex: none; padding: 9px 11px; border: 0; background: none; cursor: pointer; }
.c-home-arrow--prev img { transform: scaleX(-1); }

/* ---------- hero + clients ---------- */
.c-home-hero { padding-block: 139px 23px; }
.c-home-hero__inner { display: flex; flex-direction: column; gap: 12px; }
.c-home-hero__stage { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 377px; }
.c-home-hero__slides { width: 100%; }
.c-home-hero__slide { display: flex; align-items: flex-start; justify-content: space-between; }
.c-home-hero__copy { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; flex: 0 1 618px; height: 251px; }
.c-home-hero__title { font: 500 44px/48px var(--font-display); text-transform: uppercase; }
.c-home-hero__text { font: 400 17px/1.386 var(--font-ui); }
.c-home-hero__side { display: flex; flex: none; flex-direction: column; gap: 20px; width: 446px; }
.c-home-hero__picture { position: relative; height: auto; overflow: hidden; border-radius: var(--r-xs); }
.c-home-hero__picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(59, 3, 3, 0) 60.5%, #3b0303 154%), linear-gradient(10.4deg, rgba(59, 3, 3, 0) 70.9%, rgba(59, 3, 3, .8) 111%); pointer-events: none; }
.c-home-hero__picture img:not(.c-home-hero__logo) { display: block; width: 100%; }
.c-home-hero__logo { position: absolute; top: 15px; left: 7px; z-index: 1; width: 117px; }
.c-home-hero__stats { display: flex; }
.c-home-hero__stats li { display: grid; flex: 1; gap: 4px; text-align: center; }
.c-home-hero__stats strong { height: 25px; font: 500 36px/25px var(--font-display); text-transform: uppercase; }
.c-home-hero__stats span { font: 500 14px/20px var(--font-ui); }
.c-home-hero__dots { display: flex; }
.c-home-hero__dot { padding: 10px; border: 0; background: none; cursor: pointer; }
.c-home-hero__dot::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 14px; background: rgba(255, 255, 255, .5); }
.c-home-hero__dot.is-active::before { background: rgba(255, 255, 255, .8); }
.c-home-hero__trusted { display: grid; gap: 12px; }
.c-home-hero__trusted-label { font: 400 12px/20px var(--font-display); letter-spacing: .96px; text-transform: uppercase; }
.c-home-logos__track li { display: flex; flex: none; align-items: center; height: 68px; padding-inline: 40px; margin-right: 91px; }
.c-home-logos__track img { width: auto; max-width: none; }

/* ---------- core values ---------- */

/* ---------- coaches ---------- */
.c-home-coach { position: relative; overflow: hidden; padding-top: 67px; color: #fff; background: linear-gradient(var(--c-crimson) 21.3%, var(--c-crimson-dark) 88.2%); }
.c-home-coach__art { position: absolute; top: -28px; left: 0; width: 100%; min-width: 1439px; max-width: none; mix-blend-mode: multiply; pointer-events: none; }
.c-home-coach__inner { position: relative; }
.c-home-coach__head { display: grid; gap: 2px; width: min(1142px, 100%); }
.c-home-coach__title { display: flex; align-items: center; height: 60px; font: 500 44px/50px var(--font-display); }
.c-home-coach__intro { display: flex; align-items: center; height: 60px; font: 500 22px/32px var(--font-display); }
.c-home-coach__row { display: flex; align-items: center; justify-content: center; gap: 51px; height: 501px; margin-top: 16px; }
.c-home-coach__slides { flex: 1 1 0; min-width: 0; max-width: 946px; }
.c-home-coach__slide { display: flex; align-items: center; justify-content: center; gap: 68px; height: 501px; }
.c-home-coach__photo { align-self: flex-end; flex: 0 1 378px; min-width: 0; margin-left: 22px; }
.c-home-coach__photo img { display: block; width: 100%; }
.c-home-coach__info { display: flex; flex: 0 1 410px; flex-direction: column; align-items: flex-start; gap: 23px; width: 410px; min-width: 0; }
.c-home-coach__who { display: grid; gap: 8px; }
.c-home-coach__name { margin-bottom: 2px; font: 500 32px/48px var(--font-display); }
.c-home-coach__role { font: 500 23px/1.3 var(--font-display); }
.c-home-coach__company { font: 500 17px/21px var(--font-ui); }
.c-home-coach__bio { margin-top: -9px; white-space: nowrap; font: 400 17px/1.386 var(--font-ui); }

/* ---------- motto ---------- */
.c-home-wisdom { display: grid; place-items: center; height: 123px; background: #fff; color: var(--c-crimson); text-align: center; }
.c-home-wisdom p { font: 400 57px/74px "UTM Yen Tu", var(--font-display); white-space: pre; }

/* ---------- testimonials ---------- */
.c-home-testimonials { position: relative; isolation: isolate; overflow: hidden; padding-block: 42px; color: #fff; background: linear-gradient(0deg, #939598 0%, var(--c-crimson-dark) 77.9%); }
.c-home-testimonials__art { position: absolute; bottom: 0; left: calc(50% - 452px); z-index: -1; width: 860px; opacity: .15; pointer-events: none; }
.c-home-testimonials__inner { position: relative; }
.c-home-testimonials .c-home-arrow { position: absolute; top: 130px; right: clamp(20px, calc((100vw - 1152px) / 2), 144px); }
.c-home-testimonials .c-home-arrow--prev { right: auto; left: clamp(20px, calc((100vw - 1152px) / 2), 144px); }
.c-home-testimonials__slide { display: flex; flex-direction: column; gap: 46px; width: 980px; margin-inline: auto; }
.c-home-testimonials__slide blockquote { font: 450 28px/38px var(--font-display); letter-spacing: .14px; }
.c-home-testimonials__slide figcaption { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-top: 20px; border-top: 1px solid #fff; }
.c-home-testimonials__photo { flex: none; width: 114px; border-radius: 50%; }
.c-home-testimonials__who { display: grid; flex: 1; font: 500 20px/21px var(--font-display); }
.c-home-testimonials__who strong { font: 500 32px/48px var(--font-display); }
.c-home-testimonials__logo { flex: none; width: auto; }

@media (max-width: 1279px) {
  .c-home-coach__row { gap: 8px; }
  .c-home-coach__slide { gap: 24px; }
  .c-home-coach__bio { white-space: normal; }
  .c-home-coach__title, .c-home-coach__intro { height: auto; }
  .c-home-coach__intro { margin-top: 8px; }
  .c-home :where(.c-home-coach__intro, .c-home-coach__bio) br { display: none; }
}

/* ---------- below 1024px: stack ---------- */
@media (max-width: 1023px) {
  .c-home-hero { padding-top: 120px; }
  .c-home-hero__slide { flex-direction: column; gap: 24px; }
  .c-home-hero__copy { flex: none; height: auto; gap: 16px; }
  .c-home :where(.c-home-hero__text, .c-home-coach__intro, .c-home-coach__bio, .c-home-testimonials__slide blockquote) br { display: none; }
  .c-home-coach__bio { white-space: normal; }
  .c-home-hero__title { font-size: 32px; line-height: 38px; }
  .c-home-hero__side { width: 100%; }
  .c-home-hero__stage { min-height: 0; }
  .c-home-coach { padding-block: 42px 0; }
  .c-home-coach__title { font-size: 32px; }
  .c-home-coach__head { height: auto; }
  .c-home-coach__title, .c-home-coach__intro { height: auto; }
  .c-home-coach__intro { font-size: 18px; line-height: 28px; }
  .c-home-coach__row { height: auto; gap: 8px; }
  .c-home-coach__slides { width: 100%; }
  .c-home-coach__slide { flex-direction: column; gap: 24px; height: auto; }
  .c-home-coach__photo { align-self: center; width: min(378px, 100%); margin: 0; }
  .c-home-coach__info { width: 100%; padding-inline: 20px; }
  .c-home-wisdom p { font-size: 34px; line-height: 44px; }
  .c-home-testimonials .c-home-arrow { top: auto; bottom: 0; }
  .c-home-testimonials__inner { padding-bottom: 48px; }
  .c-home-testimonials__slide { width: 100%; }
  .c-home-testimonials__slide blockquote { font-size: 20px; line-height: 30px; }
  .c-home-testimonials__slide figcaption { flex-wrap: wrap; }
  .c-home-testimonials__who strong { font-size: 24px; line-height: 32px; }
}
