/* ==========================================================================
   TM School — 1:1 structure layer (loaded last, wins overrides)
   ========================================================================== */

/* Buttons like the real site — rounded rectangles, not pills */
.btn { border-radius: 12px; }

/* --- Utility top bar --- */
.util { background: #f2f2f2; border-bottom: 1px solid var(--c-line-soft); }
.util__in { max-width: var(--container); margin-inline: auto; padding: 0.45rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.util__q { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c-gray); font-weight: 600; font-size: 0.84rem; }
.util__q svg { width: 16px; height: 16px; }
.util__q:hover { color: var(--c-accent); }
.util__platform { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.42rem 0.95rem; border: 1.5px solid var(--c-line); border-radius: 9px; font-weight: 700; font-size: 0.84rem; color: var(--c-ink); transition: border-color 0.25s, color 0.25s; }
.util__platform svg { width: 15px; height: 15px; }
.util__platform:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* --- Announcement bar --- */
.announce { display: flex; width: 100%; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.62rem 1rem; background: var(--c-accent); color: #fff; font-size: 0.9rem; font-weight: 600; text-align: center; transition: background 0.25s; }
.announce svg { width: 16px; height: 16px; flex: none; }
.announce strong { font-weight: 800; }
.announce:hover { background: var(--c-red-600); }
@media (max-width: 560px) { .announce { font-size: 0.8rem; padding: 0.55rem 0.8rem; } }

/* --- Outline button --- */
.btn--outline { --bg: transparent; --fg: var(--c-accent); border: 1.6px solid var(--c-accent); box-shadow: none; }
.btn--outline:hover { --bg: var(--c-accent); --fg: #fff; }

/* --- HERO (premium two-column) --- */
.hero { padding-top: clamp(0.5rem, 1.4vw, 1.4rem); padding-bottom: clamp(2.4rem, 5vw, 4.5rem); }
.hero__wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__content { max-width: 620px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c-accent); background: var(--c-bg-mint);
  padding: 0.5rem 1rem 0.5rem 0.85rem; border-radius: var(--r-pill);
}
.hero__kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
.hero__title { font-size: clamp(2.2rem, 4.4vw, 3.7rem); letter-spacing: -0.035em; line-height: 1.04; margin-top: 1.3rem; max-width: none; }
.hero__lead { margin-top: 1.4rem; font-size: var(--fs-lead); font-weight: 700; color: var(--c-ink); max-width: none; }
.hero__sub { margin-top: 0.6rem; color: var(--c-gray); max-width: 48ch; font-size: 1.02rem; line-height: 1.55; }
.hero__enroll-label { margin-top: 1.7rem; font-weight: 700; color: var(--c-ink); }
.hero__enroll { margin-top: 1rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero__enroll .btn { min-width: 155px; justify-content: center; }
.hero__extra { margin-top: 1.9rem; display: flex; flex-direction: column; gap: 0.7rem; }
.hero__extra li { position: relative; padding-left: 1.4rem; color: var(--c-gray); font-size: 0.95rem; line-height: 1.5; }
.hero__extra li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); opacity: 0.5; }
.hero__extra a { color: var(--c-accent); font-weight: 700; }
.hero__extra a:hover { text-decoration: underline; }

/* hero premium image card */
.hero__side { position: relative; }
.hero__card { position: relative; border-radius: var(--r-xl); overflow: visible; }
.hero__photo {
  position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(160deg, #f6f6f6, #ececec);
  box-shadow: var(--shadow-lift);
}
.hero__photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 70% 10%, rgba(195,1,1,0.10), transparent 60%); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero__chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1rem; border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-lift); border: 1px solid var(--c-line-soft);
  animation: floaty 6s var(--ease) infinite;
}
.hero__chip strong { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--c-accent); line-height: 1; }
.hero__chip span { font-size: 0.72rem; font-weight: 600; color: var(--c-gray); line-height: 1.15; }
.hero__chip-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--c-accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; }
.hero__chip--tl { top: 1.2rem; left: -1.2rem; }
.hero__chip--br { bottom: 1.4rem; right: -1.2rem; animation-delay: 1.5s; }
@media (max-width: 940px) {
  .hero__wrap { grid-template-columns: 1fr; gap: 2rem; }
  .hero__side { order: -1; max-width: 380px; }
  .hero__chip--tl { left: 0; }
  .hero__chip--br { right: 0; }
}
@media (max-width: 480px) {
  .hero__enroll .btn { flex: 1; min-width: 0; }
}

/* --- Hero highlight cards (under hero) --- */
.hilite { padding-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.hilite__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.6vw, 1.4rem); counter-reset: hl; }
.hlcard {
  position: relative; display: flex; flex-direction: column; counter-increment: hl;
  padding: clamp(1.6rem, 2.2vw, 2rem); border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--c-line-soft); box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
/* big ghost index number */
.hlcard::after {
  content: counter(hl, decimal-leading-zero);
  position: absolute; top: 0.7rem; right: 1.3rem; z-index: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1;
  color: var(--c-bg-mint); letter-spacing: -0.04em; transition: color 0.4s var(--ease);
}
.hlcard:hover::after { color: rgba(195,1,1,0.12); }
.hlcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--c-line); }
.hlcard > * { position: relative; z-index: 1; }
.hlcard__tag { align-self: flex-start; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-accent); background: var(--c-bg-mint); padding: 0.4rem 0.8rem; border-radius: var(--r-pill); }
.hlcard__tag--new { background: var(--c-accent); color: #fff; }
.hlcard__title { font-size: 1.22rem; line-height: 1.25; margin-top: 1.4rem; flex: 1; letter-spacing: -0.02em; }
.hlcard__link { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.6rem; font-weight: 700; font-size: 0.9rem; color: var(--c-accent); }
.hlcard__link svg { width: 15px; height: 15px; }
.hlcard__link::after { content: ""; order: 1; }
.hlcard__link svg { width: 30px; height: 30px; padding: 8px; border-radius: 50%; background: var(--c-bg-mint); transition: background 0.3s, transform 0.35s var(--ease), color 0.3s; }
.hlcard:hover .hlcard__link svg { background: var(--c-accent); color: #fff; transform: translateX(4px); }
@media (max-width: 800px) { .hilite__grid { grid-template-columns: 1fr; } }

/* --- Courses as a slider (dots below) on all viewports --- */
.hilite__grid[data-mslider] {
  display: flex; grid-template-columns: none; flex-wrap: nowrap;
  overflow-x: auto; overflow-y: clip; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  gap: 1.2rem; scroll-padding-left: 0; max-width: 100%;
  /* vertical breathing room so the hover-lift isn't clipped by overflow-y */
  padding: 16px 0 18px;
}
.hilite__grid[data-mslider]::-webkit-scrollbar { display: none; }
/* exactly 3 whole cards per view on desktop — no partial/cut card */
.hilite__grid[data-mslider] > .hlcard {
  flex: 0 0 calc((100% - 2.4rem) / 3); min-width: 0; scroll-snap-align: start;
}
@media (max-width: 980px) { .hilite__grid[data-mslider] > .hlcard { flex-basis: calc((100% - 1.2rem) / 2); } }
@media (max-width: 620px) {
  .hilite__grid[data-mslider] { gap: 0.9rem; }
  .hilite__grid[data-mslider] > .hlcard { flex-basis: 84%; }
  .hlcard { padding: 1.5rem 1.4rem; min-height: 210px; }
  .hlcard::after { font-size: 2.5rem; top: 0.9rem; right: 1.1rem; }
  .hlcard__tag { max-width: 74%; white-space: normal; line-height: 1.3; border-radius: 14px; }
  .hlcard__title { font-size: 1.1rem; margin-top: 1.1rem; }
  .hlcard__link { margin-top: 1.3rem; }
}
/* dots visible outside the mobile-only rule for always-on sliders */
.mslider-dots.is-ready { display: flex; }

/* --- Red feature strip --- */
/* full-bleed band: background + top/bottom lines span the viewport, while the
   content stays within the site's container width. */
.fstrip { background: #fff; border-block: 1px solid var(--c-line-soft); padding-block: clamp(1rem, 2vw, 1.6rem); }
.fstrip__grid {
  display: flex; align-items: stretch;
}
.fstrip__item {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.9rem; position: relative;
  padding: clamp(1.15rem, 1.8vw, 1.6rem) clamp(1.3rem, 2.2vw, 2rem);
}
.fstrip__item + .fstrip__item::before {
  content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--c-line-soft);
}
.fstrip__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--c-bg-mint); color: var(--c-accent); }
.fstrip__icon svg { width: 22px; height: 22px; }
.fstrip__text { font-weight: 700; font-size: 1rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--c-ink); white-space: nowrap; }
@media (max-width: 1100px) { .fstrip__text { white-space: normal; } }
@media (max-width: 800px) {
  .fstrip__grid { flex-direction: column; }
  .fstrip__item { justify-content: flex-start; padding-inline: 0.3rem; }
  .fstrip__item + .fstrip__item::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
}

/* --- Course section heads (centered) --- */
.csec--soft { background: var(--c-bg-soft); }
.csec__head { text-align: center; max-width: 760px; margin: 0 auto clamp(1.6rem, 3vw, 2.4rem); }
.csec__head .eyebrow { margin-bottom: 0.2rem; }
.csec__head .section__title { margin-top: 1rem; white-space: normal; }
.csec__note { margin-top: 1rem; color: var(--c-gray); font-size: 1rem; }

/* --- Course card grids (per category) --- */
.cgrid { display: grid; gap: clamp(1rem, 1.6vw, 1.4rem); align-items: stretch; grid-template-columns: 1fr; }
.cgrid--2 { grid-template-columns: repeat(2, 1fr); max-width: 960px; margin-inline: auto; }
.cgrid--1 { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }
@media (max-width: 680px) { .cgrid--2 { grid-template-columns: 1fr; } }

/* --- Original "ledger / editorial" course card --- */
.csec .course {
  position: relative; overflow: hidden; border-radius: 20px;
  background: #fff; border: 1px solid var(--c-line-soft); box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.csec .course:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--c-line); }
/* vertical red rail (grows on hover) */
.csec .course::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c-accent); transform: scaleY(0); transform-origin: top; transition: transform 0.55s var(--ease); z-index: 2; }
.csec .course:hover::before { transform: scaleY(1); }
/* folded dog-ear corner */
.csec .course::after { content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0; border-style: solid; border-width: 0 30px 30px 0; border-color: transparent var(--c-bg-mint) transparent transparent; transition: border-color 0.4s; z-index: 2; }
.csec .course:hover::after { border-color: transparent var(--c-accent) transparent transparent; }

.csec .course__body { position: relative; z-index: 1; padding: clamp(1.7rem, 2.6vw, 2.3rem); }
.csec .course__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-right: 1.6rem; }
.csec .course__cat { display: inline-flex; align-items: center; gap: 0.5rem; background: none; padding: 0; border-radius: 0; color: var(--c-accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.csec .course__cat::before { content: ""; width: 8px; height: 8px; background: var(--c-accent); flex: none; }
.csec .course__badge-inline { background: none; border: 1px solid var(--c-line); color: var(--c-gray); font-weight: 700; }
.csec .course__badge-inline--new { background: var(--c-accent); color: #fff; border-color: transparent; }
.csec .course__title { font-size: clamp(1.35rem, 2vw, 1.6rem); margin-top: 1.1rem; line-height: 1.16; letter-spacing: -0.02em; }

/* editorial price */
.csec .course__price--top { display: block; margin-top: 1.2rem; padding: 0; background: none; border-radius: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3rem); line-height: 1; letter-spacing: -0.04em; color: var(--c-ink); }
.csec .course__price--top small { display: block; margin-top: 0.5rem; font-family: var(--font-sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0; color: var(--c-gray); }

/* ledger spec rows (hairlines, no bullets) */
.course__list { margin-top: 1.4rem; padding-top: 0; border-top: none; display: flex; flex-direction: column; gap: 0; flex: 1; }
.course__list li { position: relative; padding: 0.65rem 0; padding-left: 0; border-top: 1px solid var(--c-line-soft); font-size: 0.86rem; line-height: 1.4; color: var(--c-ink-2); font-weight: 500; }
.course__list li::before { content: none; }

/* footer CTA — clean centered button */
.course__cta { margin-top: 1.6rem; width: 100%; justify-content: center; gap: 0.55rem; padding: 0.95rem 1.4rem; border-radius: 12px; font-size: 0.95rem; }
.course__cta .btn__icon { width: auto; height: auto; background: none; border-radius: 0; padding: 0; }
.course__cta .btn__icon svg { width: 17px; height: 17px; }

/* wide single-card sections: two-column ledger to fill the width */
@media (min-width: 700px) {
  .cgrid--1 .course__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.4rem; }
  .cgrid--1 .course__title { font-size: clamp(1.6rem, 2.4vw, 2rem); }
}

/* ==========================================================================
   Catalog — FILTERABLE VARIANT of the course categories
   (Alternative to the sequential category sections. Client picks one.)
   ========================================================================== */
.catalog .csec__head { margin-bottom: clamp(1rem, 1.8vw, 1.4rem); }
.catalog__filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin: 0 auto clamp(1.1rem, 1.8vw, 1.5rem); max-width: 900px;
}
.catalog__filter {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.25rem; border-radius: var(--r-pill);
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink-2);
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 700;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease-soft);
}
.catalog__filter:hover { border-color: var(--c-ink); transform: translateY(-2px); }
.catalog__filter.is-active { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.catalog__filter-count {
  font-size: 0.74rem; font-weight: 800; line-height: 1;
  padding: 0.22rem 0.42rem; border-radius: var(--r-pill);
  background: var(--c-bg-mint); color: var(--c-accent-ink);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.catalog__filter.is-active .catalog__filter-count { background: rgba(255,255,255,0.22); color: #fff; }

/* desktop: page wrappers are transparent — filters flow as a centered wrap */
.catalog__page { display: contents; }

/* mobile: filters become a paged slider — 3 per page, centered, snap by page */
@media (max-width: 767px) {
  .catalog__filters[data-mslider] {
    flex-wrap: nowrap !important; justify-content: flex-start; gap: 0 !important; padding: 2px 0;
  }
  .catalog__filters[data-mslider] > .catalog__page {
    display: flex !important; flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important;
    justify-content: center; align-items: center; gap: 8px;
    scroll-snap-align: center;
  }
  .catalog__page > .catalog__filter {
    padding: 0.55rem 0.85rem; font-size: 0.78rem; gap: 0.35rem;
  }
  .catalog__filter-count { font-size: 0.66rem; padding: 0.2rem 0.34rem; }
  .catalog__filters[data-mslider] + .mslider-dots { margin-top: 1rem; margin-bottom: 1.6rem; }
}

.catalog__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 1.6vw, 1.6rem); align-items: stretch;
}
@media (max-width: 900px) { .catalog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catalog__grid { grid-template-columns: 1fr; } }

/* --- Catalog card — "Clean line" (variant C) --- */
.ccard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line-soft); border-radius: 20px;
  padding: clamp(1.4rem, 1.8vw, 1.7rem); overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.ccard::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--c-accent); transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.ccard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(30,30,30,0.35); border-color: var(--c-line); }
.ccard:hover::before { transform: scaleY(1); }

.ccard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.9rem; }
.ccard__cat {
  display: inline-flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--c-accent);
  padding-top: 0.3rem;
}
.ccard__new {
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--c-accent); color: #fff; padding: 0.22rem 0.5rem; border-radius: var(--r-pill);
}
.ccard__pill {
  flex: none; text-align: right; background: var(--c-bg-mint); border-radius: 14px;
  padding: 0.5rem 0.8rem; line-height: 1.1;
}
.ccard__pill span { display: block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-accent-ink); opacity: 0.8; margin-bottom: 0.2rem; }
.ccard__pill strong { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--c-accent-ink); }

.ccard__title {
  margin: 1rem 0 0; font-size: 1.18rem; line-height: 1.22; letter-spacing: -0.01em;
  font-family: var(--font-display); font-weight: 700; color: var(--c-ink);
  min-height: 2.7em;
}

.ccard__meta { list-style: none; margin: 1.1rem 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.ccard__meta li {
  position: relative; display: flex; gap: 0.6rem; padding-left: 1.5rem;
  font-size: 0.83rem; line-height: 1.4; color: var(--c-ink-2); font-weight: 500;
}
.ccard__meta li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 16px; height: 16px; flex: none;
  background-color: var(--c-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.ccard__cta {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.2rem; border-radius: 12px; border: 1.5px solid var(--c-line);
  background: #fff; color: var(--c-ink); font-weight: 700; font-size: 0.92rem; text-decoration: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s, gap 0.3s var(--ease);
}
.ccard__cta:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; gap: 0.85rem; }
.ccard__cta svg { width: 17px; height: 17px; }

/* filtering animation */
.catalog__item { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.catalog__item.is-hidden {
  display: none; opacity: 0; transform: scale(0.96) translateY(10px);
}
.catalog__item.is-enter { opacity: 0; transform: scale(0.96) translateY(10px); }

.catalog__empty {
  grid-column: 1 / -1; text-align: center; padding: 3rem 1rem;
  color: var(--c-gray); font-size: 1rem;
}

/* ==========================================================================
   Reviews — light testimonials slider (Swiper, 3-up, autoplay, dots)
   ========================================================================== */
.reviews { background: #fff; }
.reviews__head { text-align: center; max-width: 760px; margin: 0 auto clamp(1.3rem, 1.8vw, 1.6rem); }
.reviews__head .section__title { margin-top: 1rem; white-space: normal; }

.reviews__slider { overflow: hidden; padding: 6px 4px 8px; }
.reviews__slider .swiper-slide { height: auto; display: flex; }

.rcard {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: #fff; border: 1px solid var(--c-line-soft); border-radius: 20px;
  padding: clamp(1.5rem, 2vw, 1.9rem);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.rcard::before {
  content: "”"; position: absolute; top: 0.5rem; right: 1.3rem;
  font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: 1;
  color: var(--c-bg-mint);
}
.rcard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(30,30,30,0.35); border-color: var(--c-line); }

.rcard__stars { display: inline-flex; gap: 3px; color: var(--c-accent); margin-bottom: 1rem; }
.rcard__stars svg { width: 17px; height: 17px; }

.rcard__quote {
  position: relative; z-index: 1; font-size: 0.98rem; line-height: 1.55; color: var(--c-ink-2);
  font-weight: 500; flex: 1;
}

.rcard__attach { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.rchip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.85rem; border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 700; text-decoration: none;
  border: 1px solid var(--c-line); color: var(--c-ink-2);
  transition: transform 0.3s var(--ease-soft), background 0.3s, color 0.3s, border-color 0.3s;
}
.rchip svg { width: 15px; height: 15px; }
.rchip:hover { transform: translateY(-2px); }
.rchip--video { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.rchip--video:hover { background: var(--c-accent-700); border-color: var(--c-accent-700); }
.rchip--ig:hover { background: var(--c-bg-mint); border-color: transparent; color: var(--c-accent-ink); }
.rchip--tg:hover { background: #eaf4fb; border-color: transparent; color: #2b8fd6; }

.rcard__who { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--c-line-soft); }
.rcard__ava { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; object-position: center 22%; flex: none; border: 2px solid var(--c-bg-mint); }
.rcard__who strong { display: block; font-weight: 700; font-size: 0.98rem; color: var(--c-ink); }
.rcard__who span { font-size: 0.8rem; color: var(--c-gray); }

/* pagination dots */
.reviews__dots { position: static; margin-top: clamp(1.4rem, 2.4vw, 2rem); display: flex; justify-content: center; gap: 8px; }
.reviews__dots .swiper-pagination-bullet {
  width: 9px; height: 9px; background: var(--c-line); opacity: 1; margin: 0 !important;
  transition: width 0.35s var(--ease), background 0.35s var(--ease); border-radius: var(--r-pill);
}
.reviews__dots .swiper-pagination-bullet-active { width: 28px; background: var(--c-accent); }

/* --- Founder quote mark --- */
.founder__mark { display: block; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 0.5; color: var(--c-accent); margin: 0.9rem 0 0; }

/* --- Testimonials: stable height (no jump on rotate) --- */
@media (min-width: 821px) {
  .testi__media { min-height: 545px; }
  .testi__content { min-height: 545px; }
}
@media (max-width: 820px) {
  .testi__quote { min-height: 9.5em; }
}
@media (max-width: 560px) {
  .testi__quote { min-height: 11em; }
}

/* --- Exclusive Package modal --- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.2rem; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, 0.55); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; z-index: 1; width: 100%; max-width: 560px;
  background: #fff; border-radius: var(--r-lg); padding: clamp(1.9rem, 4vw, 2.9rem);
  text-align: center; box-shadow: var(--shadow-lift);
  transform: translateY(14px) scale(0.97); transition: transform 0.35s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 0.9rem; right: 0.9rem; width: 36px; height: 36px; border-radius: 50%; background: var(--c-bg-soft); display: grid; place-items: center; color: var(--c-ink); transition: background 0.25s, color 0.25s; }
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { background: var(--c-accent); color: #fff; }
.modal__eyebrow { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-accent); }
.modal__title { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-top: 0.55rem; }
.modal__combo { margin-top: 0.8rem; font-weight: 600; color: var(--c-gray); }
.modal__prices { margin-top: 1.1rem; display: flex; align-items: baseline; justify-content: center; gap: 0.6rem; }
.modal__prices strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 2.8rem); color: var(--c-accent); letter-spacing: -0.03em; }
.modal__prices s { color: var(--c-gray-soft); font-size: 1.2rem; }
.modal__plan { margin-top: 0.5rem; font-size: 0.9rem; color: var(--c-ink-2); }
.modal__plan b { color: var(--c-accent); }
.modal__btn { margin-top: 1.4rem; width: 100%; justify-content: center; }
.modal__note { margin-top: 1rem; font-size: 0.82rem; color: var(--c-gray-soft); }

/* anchor offset helper */
.anchor { display: block; position: relative; top: -110px; visibility: hidden; }

/* --- Utility bar social icons --- */
.util__social { display: inline-flex; gap: 0.4rem; }
.util__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--c-gray); transition: color 0.25s, background 0.25s; }
.util__social svg { width: 17px; height: 17px; }
.util__social a:hover { color: var(--c-accent); background: rgba(195,1,1,0.08); }

/* --- Nav dropdowns --- */
.nav__item { position: relative; }
.nav__item > .nav__link { display: inline-flex; align-items: center; gap: 0.32rem; }
.nav__chev { width: 13px; height: 13px; opacity: 0.65; transition: transform 0.3s var(--ease); }
.nav__item:hover .nav__chev { transform: rotate(180deg); }
.nav__item::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.nav__drop {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 250px; max-width: 340px; padding: 0.5rem;
  background: #fff; border: 1px solid var(--c-line-soft); border-radius: 16px; box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 60;
}
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item:nth-of-type(4) .nav__drop { left: auto; right: 0; }
.nav__drop a { display: block; padding: 0.6rem 0.8rem; border-radius: 10px; font-size: 0.88rem; font-weight: 600; color: var(--c-ink-2); line-height: 1.3; transition: background 0.2s, color 0.2s; }
.nav__drop a:hover { background: var(--c-bg-mint); color: var(--c-accent); }

/* --- Hero group photo (transparent PNG, anchored to the bottom of the hero) ---
   The photo is pinned to the very bottom of the hero section so the team "stands"
   on the section's baseline. The legs meet the edge where the next section begins,
   so no fade or mask is needed — the transition is the section boundary itself. */
.hero__side { position: relative; align-self: stretch; }
.hero__team {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 106%; max-width: 1120px; height: auto; display: block; z-index: 1;
}
/* Horizontal glass card sitting across the bottom of the photo. It overlaps the
   photo's lower edge so the leg-crop / photo-to-background seam is hidden behind
   it — the team reads as standing behind the card. */
.hero__stage {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.5vw, 2rem);
  padding: 1rem clamp(1rem, 2vw, 1.6rem);
  border-radius: 18px;
  background: #ffffff; border: none;
}
.hero__stat { display: flex; align-items: center; gap: 0.75rem; }
.hero__stat-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--c-bg-mint); color: var(--c-accent); }
.hero__stat-icon svg { width: 20px; height: 20px; }
.hero__stat-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.hero__stat-text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--c-ink); }
.hero__stat-text span { font-size: 0.8rem; font-weight: 600; color: var(--c-ink-2); }
.hero__stat-divider { width: 1px; align-self: stretch; margin-block: 0.2rem; background: var(--c-line-soft); }

@media (max-width: 800px) {
  /* stacked layout: photo returns to normal flow above the copy */
  .hero__side { display: flex; flex-direction: column; max-width: 100%; }
  .hero__team { position: static; transform: none; margin: 0 auto; width: 100%; max-width: 340px; }
  .hero__stage { position: static; border-radius: 16px; border-bottom: 1px solid var(--c-line-soft); margin-top: -1.5rem; flex-wrap: nowrap; gap: 0.4rem; padding: 0.9rem 0.7rem; }
  .hero__stat { flex: 1 1 0; min-width: 0; flex-direction: column; align-items: flex-start; gap: 0.45rem; }
  .hero__stat-icon { width: 30px; height: 30px; border-radius: 9px; }
  .hero__stat-icon svg { width: 15px; height: 15px; }
  .hero__stat-text { white-space: normal; }
  .hero__stat-text strong { font-size: 1rem; }
  .hero__stat-text span { font-size: 0.68rem; }
  .hero__stat-divider { display: none; }

  /* founder stats: keep icon beside text, evenly spaced */
  .founder__stage { justify-content: flex-start; gap: 1.6rem; padding: 1rem 1.1rem; margin-top: -2.2rem; position: relative; z-index: 3; border: 1px solid var(--c-line-soft); border-radius: 16px; box-shadow: var(--shadow-lift); }
  .founder__stage .hero__stat { flex: 0 1 auto; flex-direction: row; align-items: center; gap: 0.7rem; }
  .founder__stage .hero__stat-icon { width: 40px; height: 40px; border-radius: 11px; }
  .founder__stage .hero__stat-icon svg { width: 20px; height: 20px; }
  .founder__stage .hero__stat-text strong { font-size: 1.15rem; }
  .founder__stage .hero__stat-text span { font-size: 0.78rem; }
}

@media (max-width: 560px) {
  /* tighter section heads → cards spacing on phones */
  .csec__head, .reviews__head, .catalog .csec__head { margin-bottom: 1rem; }
  .contact__socials { margin-top: 1.1rem; }
  .csec__head .section__title, .reviews__head .section__title { margin-top: 0.7rem; }
  .csec__note { margin-top: 0.7rem; font-size: 0.92rem; }

  /* smaller hero copy + tag on phones */
  .hero__kicker { font-size: 0.55rem; letter-spacing: 0.01em; gap: 0.35rem; padding: 0.4rem 0.7rem 0.4rem 0.6rem; white-space: nowrap; max-width: 100%; }
  .hero__title { font-size: 1.85rem; margin-top: 1rem; }
  .hero__lead { font-size: 1.02rem; margin-top: 1.1rem; }
  .hero__sub { font-size: 0.9rem; margin-top: 0.5rem; }
  .hero__enroll-label { font-size: 0.92rem; margin-top: 1.3rem; }
  .hero__enroll { margin-top: 0.9rem; }
  .hero__enroll .btn { font-size: 0.88rem; padding-block: 0.7rem; }
}

/* --- Mobile menu accordion --- */
.macc { border-bottom: 1px solid var(--c-line-soft); }
.macc__top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 0.2rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 5vw, 1.6rem); letter-spacing: -0.02em; color: var(--c-ink); }
.macc__top svg { width: 22px; height: 22px; color: var(--c-accent); transition: transform 0.3s var(--ease); flex: none; }
.macc.is-open .macc__top svg { transform: rotate(180deg); }
.macc__sub { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.macc.is-open .macc__sub { max-height: 520px; }
.macc__sub a { display: block; padding: 0.5rem 0.2rem 0.5rem 0.9rem; font-size: 0.96rem; font-weight: 600; color: var(--c-gray); border-left: 2px solid var(--c-line); margin-left: 0.2rem; }
.macc__sub a:first-child { margin-top: 0.2rem; }
.macc__sub a:last-child { margin-bottom: 0.9rem; }
.macc__sub a:hover { color: var(--c-accent); }
.macc__link { display: flex; align-items: center; padding: 0.95rem 0.2rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 5vw, 1.6rem); letter-spacing: -0.02em; color: var(--c-ink); border-bottom: 1px solid var(--c-line-soft); }
.macc__link:hover { color: var(--c-accent); }

/* --- Single merged header --- */
.header__social { margin-right: 0.2rem; }
.header__platform { padding: 0.45rem 0.9rem; }
@media (max-width: 1040px) {
  .header__social, .header__platform { display: none; }
}

/* --- Founder photo taller, floating on bg --- */
.founder__media { min-height: clamp(420px, 38vw, 560px); }
.founder__media img { width: 100%; height: 100%; left: 0; }

/* --- Header: bigger social, language dropdown, red platform button --- */
.header__social { gap: 0.3rem; }
.header__social a { width: 38px; height: 38px; border-radius: 10px; }
.header__social svg { width: 20px; height: 20px; }

.langsel { position: relative; }
.langsel__btn { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.5rem 0.75rem; border-radius: 10px; background: var(--c-bg-soft); font-weight: 700; font-size: 0.85rem; color: var(--c-ink); transition: background 0.2s; }
.langsel__btn:hover { background: #ececec; }
.langsel__chev { width: 14px; height: 14px; color: var(--c-gray); transition: transform 0.3s var(--ease); }
.langsel.is-open .langsel__chev { transform: rotate(180deg); }
.langsel__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px; padding: 0.4rem; background: #fff; border: 1px solid var(--c-line-soft); border-radius: 12px; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s; z-index: 70; }
.langsel.is-open .langsel__menu { opacity: 1; visibility: visible; transform: none; }
.langsel__opt { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.65rem; border-radius: 8px; text-align: left; font-size: 0.86rem; font-weight: 700; color: var(--c-ink); transition: background 0.2s, color 0.2s; }
.langsel__opt span { font-weight: 500; font-size: 0.8rem; color: var(--c-gray); }
.langsel__opt:hover { background: var(--c-bg-soft); }
.langsel__opt.is-active { background: var(--c-bg-mint); color: var(--c-accent); }
.langsel__opt.is-active span { color: var(--c-accent); }

.header__platform { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.62rem 1.15rem; border-radius: 11px; background: var(--c-accent); color: #fff; font-weight: 700; font-size: 0.86rem; box-shadow: none; transition: background 0.25s, transform 0.25s, box-shadow 0.25s; }
.header__platform svg { width: 15px; height: 15px; }
.header__platform:hover { background: var(--c-red-600); transform: translateY(-1px); box-shadow: none; }

@media (max-width: 1040px) {
  /* Mobile header: logo · language switcher · burger only */
  .header__social, .header__platform { display: none !important; }
  .langsel { display: block; }
  .header__actions { gap: 0.5rem; }
}

/* --- Testimonials "View All" link on dark --- */
.outcomes__all { color: var(--c-lime); align-self: flex-end; }
.outcomes__all:hover { color: #fff; }

/* --- Partner logos (recolored to black) --- */
.partner__logo img { height: 42px; width: auto; max-width: 80%; object-fit: contain; object-position: left center; filter: brightness(0); }

/* --- Partner card: no divider line --- */
.partner__logo { border-bottom: none; padding-bottom: 0; margin-bottom: 1.3rem; min-height: 48px; }

/* --- Smaller headings everywhere --- */
:root { --fs-h2: clamp(1.7rem, 3.1vw, 2.6rem); }
.hero__title { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
.section__title--sm { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.contact__title { font-size: clamp(1.7rem, 3.1vw, 2.6rem); }

/* --- Partners heading on one line --- */
#partners .csec__head { max-width: none; }
#partners .section__title { white-space: nowrap; }
@media (max-width: 760px) { #partners .section__title { white-space: normal; } }

/* --- Tighter spacing between sections --- */
:root { --section-y: clamp(1.6rem, 3vw, 2.8rem); }

/* --- Testimonial video + Instagram markers --- */
.testi__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; z-index: 3; box-shadow: none; transition: transform 0.3s var(--ease); }
.testi__play svg { width: 24px; height: 24px; color: var(--c-accent); margin-left: 3px; }
.testi__play:hover { transform: scale(1.08); }
.testi__play[hidden] { display: none; }
.testi__vbadge { position: absolute; top: 1rem; right: 1rem; z-index: 3; padding: 0.38rem 0.8rem; border-radius: 999px; background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); color: #fff; font-size: 0.7rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.4rem; }
.testi__vbadge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
.testi__vbadge[hidden] { display: none; }
.testi__ig { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.08); border: 1px solid var(--c-line-dark); color: #fff; transition: background 0.25s, color 0.25s, transform 0.25s; flex: none; }
.testi__ig svg { width: 19px; height: 19px; }
.testi__ig:hover { background: var(--c-lime); color: var(--c-ink); transform: translateY(-2px); }
.testi__ig[hidden] { display: none; }

/* --- Footer bg = contact block bg --- */
.footer { background: var(--c-green-deep); }

/* --- Footer columns spread full width --- */
.footer__top { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2.5rem clamp(1.6rem, 3.5vw, 3.5rem); }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .footer__top { grid-template-columns: 1fr 1fr; } }

.footer__badges { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.footer__badge { display: inline-flex; transition: transform 0.3s var(--ease); }
.footer__badge:hover { transform: translateY(-3px); }
.footer__badge img { display: block; height: 54px; width: auto; }
.footer__bottom a { color: var(--c-lime); font-weight: 700; }
.footer__bottom a:hover { color: #fff; }

/* --- Contact: left column stretches to form height --- */
.contact__grid { align-items: stretch; }
.contact__copy { display: flex; flex-direction: column; height: 100%; }
.contact__closing { margin-top: auto; }
@media (max-width: 820px) { .contact__closing { margin-top: 1.6rem; } }

/* --- Contact: left text sticky (follows scroll, no forced gap) --- */
.contact__grid { align-items: start; }
.contact__copy { display: block; height: auto; position: sticky; top: 100px; align-self: start; }
.contact__closing { margin-top: 2rem; }
@media (max-width: 820px) {
  .contact__copy { position: static; }
}

/* --- Course section headings on one line --- */
.csec .csec__head { max-width: none; }
.csec .csec__head .section__title { white-space: nowrap; }
@media (max-width: 1024px) { .csec .csec__head .section__title { white-space: normal; } }
