/* ==========================================================================
   STEPS CME Academy — home.css
   The home page, section by section. Depends on theme.css for tokens,
   buttons, cards and the header/footer.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5.5rem)) 0 clamp(4rem, 3rem + 3vw, 6rem);
  background:
    linear-gradient(135deg,
      oklch(24% 0.11 265 / 0.94) 0%,
      oklch(32% 0.14 265 / 0.88) 48%,
      oklch(40% 0.17 265 / 0.82) 100%),
    var(--brand-900);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}

/* The photograph sits behind the gradient rather than inside it, so the
   overlay can be tuned without touching the artwork. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}
.hero::before {
  top: -22%;
  right: -12%;
  width: min(620px, 70vw);
  aspect-ratio: 1;
  background: var(--accent-600);
  opacity: 0.22;
}
.hero::after {
  bottom: -18%;
  left: -8%;
  width: min(440px, 60vw);
  aspect-ratio: 1;
  background: var(--brand-400);
  opacity: 0.2;
}

.hero-grid { display: grid; align-items: center; gap: 48px; }
.hero-content { position: relative; z-index: 2; max-width: 780px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: var(--r-full);
  background: var(--glass-light);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
}
.hero-eyebrow svg { color: var(--accent-400); }

.hero h1 {
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent-400), oklch(80% 0.14 345));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 0.95rem + 0.8vw, 1.38rem);
  font-weight: 500;
  line-height: 1.55;
  color: oklch(87% 0.012 265);
  max-width: 62ch;
  margin-bottom: 34px;
}

.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: var(--r-full);
  background: var(--glass-light);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur);
  font-size: 0.88rem;
  font-weight: 600;
  color: oklch(92% 0.01 265);
  transition: background var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.hero-stat:hover { background: oklch(100% 0 0 / 0.14); transform: translateY(-2px); }
.hero-stat svg { color: var(--accent-400); flex-shrink: 0; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 6px;
  translate: -50% 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(100% 0 0 / 0.45);
}
.hero-scroll span {
  width: 22px;
  height: 34px;
  border-radius: var(--r-full);
  border: 1.5px solid oklch(100% 0 0 / 0.3);
  position: relative;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-400);
  translate: -50% 0;
  animation: hero-scroll-dot 1.8s var(--ease-out) infinite;
}
@keyframes hero-scroll-dot {
  0%   { opacity: 0; transform: translateY(0); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(11px); }
}

@media (max-width: 900px) {
  .hero { min-height: 480px; text-align: center; }
  .hero-content { margin-inline: auto; }
  .hero-eyebrow, .hero-stats, .hero-btns { justify-content: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-scroll { display: none; }
  .hero::before { width: min(280px, 45vw); opacity: 0.12; }
  .hero::after { width: min(220px, 38vw); opacity: 0.12; }
}
@media (max-width: 520px) {
  .hero-stats { flex-direction: column; align-items: stretch; }
  .hero-stat { justify-content: center; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   2. Stats
   -------------------------------------------------------------------------- */
.stats-section { background: var(--surface-muted); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(0.9rem, 0.6rem + 1vw, 1.5rem);
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
}
.stat-item {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.stat-item::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease-out);
}
.stat-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stat-item:hover::after { transform: scaleX(1); }

.stat-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--brand-100), var(--accent-100));
  color: var(--brand-700);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 1.7rem + 1.6vw, 2.9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--brand-800);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.88rem; font-weight: 600; color: var(--ink-600); }

.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.detail-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.detail-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: oklch(58% 0.22 345 / 0.26);
}
.detail-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--accent-100);
  color: var(--accent-700);
}
.detail-text h4 { margin-bottom: 4px; }
.detail-text p { font-size: 0.87rem; line-height: 1.6; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   3. Why
   -------------------------------------------------------------------------- */
.why-section { background: var(--surface); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1.2rem + 3vw, 4rem); align-items: center; }
.why-grid .section-header { margin-bottom: 0; }

.why-points { display: grid; gap: 14px; }
.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.why-point:hover {
  background: var(--surface-muted);
  border-color: var(--line);
  transform: translateX(5px);
}
.why-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.why-point h4 { margin-bottom: 4px; }
.why-point p { font-size: 0.9rem; line-height: 1.62; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   4. Programs
   -------------------------------------------------------------------------- */
.programs-section { background: var(--surface-brand); overflow: hidden; }
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(1rem, 0.7rem + 1vw, 1.6rem); }

.program-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: oklch(58% 0.22 345 / 0.3);
}
/* A quiet wash that only appears on hover, so the grid stays calm at rest. */
.program-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
              oklch(58% 0.22 345 / 0.07), transparent 62%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-out);
  pointer-events: none;
}
.program-card:hover::before { opacity: 1; }
.program-card > * { position: relative; }

.sp-icon-wrap {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
}
.sp-icon-wrap.kids   { background: oklch(92% 0.06 80);  color: oklch(48% 0.13 80); }
.sp-icon-wrap.adult  { background: oklch(92% 0.05 200); color: oklch(44% 0.11 200); }
.sp-icon-wrap.senior { background: oklch(92% 0.05 345); color: oklch(45% 0.14 345); }

.sp-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 8px; margin-bottom: 12px; }
.sp-code { font-size: 0.73rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-600); white-space: nowrap; }
.sp-hours {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--brand-100);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-600);
  white-space: nowrap;
  flex-shrink: 0;
}
.program-card h3 { margin-bottom: 8px; }
.sp-subtitle { font-size: 0.93rem; font-weight: 600; font-style: italic; color: var(--accent-700); margin-bottom: 14px; }
.sp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sp-tag {
  padding: 4px 11px;
  border-radius: var(--r-xs);
  background: var(--ink-100);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-600);
}
.program-card > p:last-child { font-size: 0.89rem; line-height: 1.68; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   5. Products
   -------------------------------------------------------------------------- */
.products-section { background: var(--surface); }
.products-slider-wrap { position: relative; }
.products-slider-viewport {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 44px, black calc(100% - 44px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 44px, black calc(100% - 44px), transparent 100%);
}
.products-track { display: flex; gap: 22px; width: max-content; padding: 8px 4px 22px; will-change: transform; }
.products-track .product-card { flex: 0 0 300px; }

.products-nav { display: flex; justify-content: center; gap: 12px; }
.products-nav button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--brand-800);
  transition: background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.products-nav button:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
  color: var(--white);
  transform: translateY(-2px);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: oklch(58% 0.22 345 / 0.26);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  background: var(--grad-soft);
}
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--t-slow) var(--ease-out); }
.product-card:hover .product-media img { transform: scale(1.06); }

.product-body { display: flex; flex-direction: column; gap: 9px; flex: 1; padding: 22px; }
.product-tag { font-size: 0.71rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent-600); }
.product-card h3 { font-size: 1.1rem; line-height: 1.32; }
.product-body p { font-size: 0.87rem; line-height: 1.6; color: var(--ink-500); flex: 1; }

.product-see-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-800);
}
.product-see-more svg { transition: transform var(--t-base) var(--ease-out); }
.product-see-more:hover { color: var(--accent-700); }
.product-see-more:hover svg { transform: translate(3px, -3px); }

.products-see-more { display: flex; justify-content: center; margin-top: 28px; }

/* --------------------------------------------------------------------------
   6. Accreditation
   -------------------------------------------------------------------------- */
.accreditation-section { background: var(--surface); }
.accred-content { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 1.2rem + 3vw, 4rem); align-items: center; }
.accred-content .section-header { margin-bottom: 28px; }

.accred-highlights { display: grid; gap: 16px; }
.accred-highlight { display: flex; gap: 14px; align-items: flex-start; }
.accred-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 9px;
  background: var(--grad-accent);
  color: var(--white);
}
.accred-highlight p { font-size: 0.94rem; line-height: 1.6; color: var(--ink-600); }
.accred-highlight strong { color: var(--brand-800); }

.accred-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.accred-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-800);
  transition: transform var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}
.accred-badge:hover { transform: translateY(-2px); border-color: oklch(58% 0.22 345 / 0.35); }
.accred-badge svg { color: var(--accent-600); }

.accred-visual {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 1.4rem + 2vw, 3rem);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: var(--shadow-xl);
}
.accred-visual::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--accent-500);
  opacity: 0.18;
  filter: blur(20px);
}
/* A faint ring pattern, so the panel is not a flat rectangle of gradient. */
.accred-visual::after {
  content: '';
  position: absolute;
  inset: -40% auto auto -30%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid oklch(100% 0 0 / 0.08);
  box-shadow: 0 0 0 40px oklch(100% 0 0 / 0.04), 0 0 0 90px oklch(100% 0 0 / 0.03);
  pointer-events: none;
}
.accred-visual > * { position: relative; }
.accred-visual-icon { margin-bottom: 16px; color: var(--accent-300); display: flex; justify-content: center; }
.accred-big-num {
  font-family: var(--font-heading);
  font-size: clamp(3.6rem, 2.6rem + 3.4vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(120deg, var(--accent-400), oklch(84% 0.1 345));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.accred-visual h3 { color: var(--white); font-size: var(--fs-h3); margin-bottom: 14px; }
.accred-visual p { font-size: 0.93rem; line-height: 1.7; color: oklch(86% 0.012 265); }

/* --------------------------------------------------------------------------
   7. How it works
   -------------------------------------------------------------------------- */
.how-section { background: var(--surface-muted); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-100), var(--accent-500), var(--accent-100));
  z-index: 0;
}
.step-item { position: relative; z-index: 1; text-align: center; }
.step-circle {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid var(--accent-500);
  background: var(--surface);
  color: var(--accent-700);
  box-shadow: 0 6px 20px oklch(58% 0.22 345 / 0.18);
  transition: transform var(--t-base) var(--ease-spring),
              background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
}
.step-item:hover .step-circle { background: var(--accent-600); color: var(--white); transform: scale(1.08); }
.step-item h4 { margin-bottom: 8px; }
.step-item p { font-size: 0.85rem; line-height: 1.6; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   8. Courses (TebZone-powered)
   -------------------------------------------------------------------------- */
.courses-section { position: relative; background: var(--surface); overflow: hidden; }
.courses-section .orb--accent { top: -10%; right: -8%; width: 460px; height: 460px; }

.courses-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.courses-caption p {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.87rem;
  color: var(--ink-500);
}
.courses-caption svg { color: var(--accent-600); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   9. Speakers
   -------------------------------------------------------------------------- */
.speakers-section { background: var(--surface-brand); }
.speakers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: 20px; }

.speaker-card {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.speaker-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: oklch(58% 0.22 345 / 0.26);
}
.speaker-photo {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent-100), var(--shadow-md);
}
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.speaker-card:hover .speaker-photo img { transform: scale(1.07); }
.speaker-card h4 { font-size: 0.94rem; margin-bottom: 4px; }
.speaker-specialty { font-size: 0.78rem; font-weight: 700; color: var(--accent-600); margin-bottom: 3px; }
.speaker-inst { font-size: 0.75rem; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   10. FAQ
   -------------------------------------------------------------------------- */
.faq-section { background: var(--surface); }
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }

.faq-item {
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--surface-muted);
  border: 1px solid transparent;
  transition: background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.faq-item:hover { background: var(--ink-100); }
.faq-item.is-open {
  background: var(--surface);
  border-color: oklch(58% 0.22 345 / 0.25);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-800);
}
.faq-toggle {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: var(--r-xs);
  background: var(--accent-100);
  color: var(--accent-700);
  transition: transform var(--t-base) var(--ease-spring),
              background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
}
.faq-item.is-open .faq-toggle { transform: rotate(135deg); background: var(--accent-600); color: var(--white); }

/* grid-template-rows animates cleanly to the real height — no max-height
   guess that clips a long answer or lags on a short one. */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease-out);
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 22px 20px; font-size: 0.92rem; line-height: 1.75; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   11. Final CTA
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--grad-brand);
  isolation: isolate;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: var(--accent-500);
  opacity: 0.16;
  filter: blur(70px);
  z-index: -1;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--brand-400);
  opacity: 0.18;
  filter: blur(70px);
  z-index: -1;
}
.cta-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: var(--r-md);
  background: var(--glass-light);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur);
  color: var(--accent-400);
}
.cta-section h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); font-weight: 900; color: var(--white); margin-bottom: 16px; }
.cta-section .section-desc { color: oklch(82% 0.012 265); margin: 0 auto 36px; max-width: 56ch; }

/* --------------------------------------------------------------------------
   12. Floating product widget
   -------------------------------------------------------------------------- */
.float-widget {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 292px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--r-lg);
  background: oklch(99% 0.002 265 / 0.92);
  backdrop-filter: saturate(180%) var(--glass-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xl);
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.float-widget:hover { transform: translateY(-2px); }
.float-widget:active { cursor: grabbing; }
.float-widget[hidden] { display: none; }
.float-widget-img { width: 54px; height: 54px; flex-shrink: 0; border-radius: 13px; object-fit: cover; }
.float-widget-text { display: grid; gap: 2px; min-width: 0; }
.float-widget-eyebrow {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-600);
}
.float-widget-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--brand-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 168px;
}
.float-widget-arrow { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-500); }
.float-widget-close {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--ink-800);
  color: var(--white);
  font-size: 15px;
  line-height: 1;
}
.float-widget-close:hover { background: var(--accent-600); }

.float-mini-btn {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-600);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-base) var(--ease-out), background var(--t-fast);
}
.float-mini-btn.is-shown { display: grid; }
.float-mini-btn:hover { background: var(--accent-700); transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   13. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .why-grid,
  .accred-content { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { gap: 30px; }
  .logo { min-height: 52px; }
  .logo img { height: 74px; min-width: 100px; }
  .is-stuck .logo img { height: 56px; }
  .to-top { right: 18px; bottom: 96px; }
  .float-mini-btn { right: 18px; }
}

@media (max-width: 600px) {
  .float-widget { max-width: 232px; padding: 10px 14px 10px 10px; right: 16px; bottom: 16px; }
  .float-widget-img { width: 44px; height: 44px; }
  .float-widget-title { max-width: 118px; font-size: 0.8rem; }
  .float-mini-btn { right: 16px; bottom: 16px; }
  .to-top { right: 16px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll span::after { animation: none; }
}
