/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons ------------------------------------------------------------------ */

.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-out),
    background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg.icon-arrow {
  transform: translateX(4px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--primary {
  --btn-bg: var(--pink-500);
  box-shadow: var(--shadow-pink);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--dur-base);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  border-color: var(--ink-900);
}

.btn--ghost:hover {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--white);
}

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--ink-900);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline-light:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--ink-900);
}

.btn--sm {
  min-height: 42px;
  padding: 0.6rem 1.15rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--pink-600);
}

.link-arrow svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--dur-base) var(--ease-out);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Header ------------------------------------------------------------------- */

.topbar {
  background: var(--ink-900);
  color: var(--ink-300);
  font-size: var(--fs-xs);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-height: 40px;
}

.topbar a {
  color: var(--white);
  transition: color var(--dur-fast);
}

.topbar a:hover { color: var(--pink-200); }

.topbar__info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.topbar__info span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar svg {
  width: 14px;
  height: 14px;
  color: var(--pink-200);
}

.topbar p { margin: 0; }

@media (max-width: 1080px) {
  .topbar__tagline { display: none; }
  .topbar .container { justify-content: center; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-base), border-color var(--dur-base), background var(--dur-base);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(30, 22, 48, 0.35);
  background: rgba(255, 255, 255, 0.96);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: var(--header-h);
  transition: height var(--dur-base) var(--ease-out);
}

.site-header.is-scrolled .site-header__inner {
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 52px;
  transition: height var(--dur-base) var(--ease-out);
}

.site-header.is-scrolled .brand img {
  height: 44px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.85rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
  transition: color var(--dur-fast), background-color var(--dur-fast);
}

.nav__link:hover,
.nav__link[aria-expanded="true"] {
  color: var(--ink-900);
  background: var(--pink-50);
}

.nav__link.is-active {
  color: var(--pink-600);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink-500);
  transform: translateX(-50%);
}

.nav__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav__link[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav__item--dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 360px;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
}

.nav__item--dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (hover: hover) and (min-width: 1081px) {
  .nav__item--dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

.dropdown a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-fast);
}

.dropdown a:hover {
  background: var(--cream);
}

.dropdown__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.dropdown strong {
  display: block;
  font-size: var(--fs-sm);
  line-height: 1.3;
}

.dropdown small {
  color: var(--color-muted);
  font-size: var(--fs-xs);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--ink-900);
}

.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}

.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .site-header,
  .site-header.is-scrolled {
    /* backdrop-filter would trap the fixed mobile menu inside the header */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--white);
  }

  .brand { position: relative; z-index: 2; }
  .brand img { height: 42px; }
  .site-header.is-scrolled .brand img { height: 38px; }

  .nav-toggle { display: block; z-index: 2; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-5);
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    background: var(--white);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    font-size: 1.15rem;
    font-family: var(--font-display);
  }

  .nav__link.is-active::after { display: none; }

  .dropdown {
    position: static;
    width: auto;
    margin-top: 0.25rem;
    border: 0;
    box-shadow: none;
    background: var(--sand);
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .nav__item--dropdown.is-open .dropdown {
    display: block;
    transform: none;
  }

  .nav .btn { width: 100%; }
}

/* Hero --------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(4rem, 3rem + 5vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.08fr 1fr; }
}

.hero h1 {
  margin-bottom: var(--space-5);
  font-size: clamp(2.4rem, 1.5rem + 2.8vw, 3.9rem);
}

.hero .lead {
  max-width: 560px;
  margin-bottom: var(--space-6);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-5);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}

.badge svg {
  width: 15px;
  height: 15px;
  color: var(--sage-600);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: -10px;
  border: 3px solid var(--cream);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
}

.avatar-stack span:first-child { margin-left: 0; }

.stars {
  display: flex;
  gap: 2px;
  color: var(--sun-400);
}

.stars svg { width: 16px; height: 16px; }

.hero__visual {
  position: relative;
  max-width: 600px;
  margin-inline: auto;
  width: 100%;
}

.hero__photo {
  position: relative;
  aspect-ratio: 4 / 4.3;
  border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: morph 14s ease-in-out infinite;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__illustration {
  position: absolute;
  inset: auto -6% -10% auto;
  width: 58%;
  filter: drop-shadow(0 18px 30px rgba(30, 22, 48, 0.18));
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
  line-height: 1.25;
}

.float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.float-card small {
  color: var(--color-muted);
  font-size: var(--fs-xs);
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.float-card__icon svg { width: 22px; height: 22px; }

.float-card--a { top: 8%; left: -6%; }
.float-card--b { bottom: 18%; left: -8%; }

@media (max-width: 600px) {
  .float-card--a { left: 0; top: 2%; }
  .float-card--b { left: 0; bottom: 6%; }
  .hero__illustration { right: -4%; }
}

.blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

.blob--pink { width: 480px; height: 480px; background: var(--pink-100); top: -120px; right: -120px; }
.blob--orange { width: 380px; height: 380px; background: var(--orange-100); bottom: -140px; left: -120px; }
.blob--sage { width: 320px; height: 320px; background: var(--sage-100); top: 40%; left: 40%; }

/* Page hero (inner pages) --------------------------------------------------- */

.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 3rem + 4vw, 6rem) clamp(3rem, 2.5rem + 3vw, 5rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--gradient-soft);
}

.page-hero h1 {
  font-size: var(--fs-3xl);
  max-width: 900px;
}

.page-hero .lead {
  max-width: 680px;
}

.page-hero__shape {
  position: absolute;
  right: max(-80px, -6vw);
  bottom: -40px;
  width: clamp(220px, 30vw, 420px);
  z-index: -1;
  opacity: 0.9;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--space-4);
  list-style: none;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--ink-300);
}

.breadcrumb a:hover { color: var(--pink-600); }

/* Cards -------------------------------------------------------------------- */

.card {
  position: relative;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}

.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-700); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: var(--space-5);
  border-radius: 18px;
}

.icon-tile svg {
  width: 28px;
  height: 28px;
}

.tone-pink { background: var(--pink-50); color: var(--pink-600); }
.tone-orange { background: var(--orange-50); color: var(--orange-600); }
.tone-sage { background: var(--sage-50); color: var(--sage-600); }
.tone-sky { background: var(--sky-100); color: var(--sky-500); }
.tone-sun { background: var(--sun-100); color: #a77a00; }

/* Course cards -------------------------------------------------------------- */

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0;
}

.course-card__top {
  position: relative;
  min-height: 96px;
  padding: 1.6rem 1.6rem 1.2rem;
  overflow: hidden;
}

.course-card__level {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-card__art {
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 104px;
  opacity: 0.95;
  transition: transform var(--dur-slow) var(--ease-spring);
}

.course-card:hover .course-card__art {
  transform: rotate(-8deg) scale(1.08);
}

.course-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.6rem 1.6rem;
}

.course-card__body h3 {
  font-size: 1.3rem;
}

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 1.25rem;
  list-style: none;
}

.course-card__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--cream);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-700);
}

.course-card__meta svg {
  width: 14px;
  height: 14px;
  color: var(--pink-500);
}

.course-card__body .link-arrow {
  margin-top: auto;
}

/* Stats -------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--space-4);
}

.stat {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  text-align: left;
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-muted);
}

.section--ink .stat {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.section--ink .stat__label { color: var(--ink-300); }

/* Check list --------------------------------------------------------------- */

.check-list {
  display: grid;
  gap: 0.9rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--ink-700);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--pink-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d92a64' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.section--ink .check-list li { color: var(--ink-300); }
.section--ink .check-list li::before { background-color: rgba(238, 63, 120, 0.18); }

/* Feature (Why SAM'S) tiles ------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--space-4);
}

.feature {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.feature:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.feature .icon-tile {
  width: 46px;
  height: 46px;
  margin: 0;
  flex-shrink: 0;
  border-radius: 14px;
}

.feature .icon-tile svg { width: 22px; height: 22px; }

.feature h3 {
  margin-bottom: 0.3rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
}

.feature p {
  font-size: var(--fs-sm);
  color: var(--ink-300);
}

/* Logo marquee -------------------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.logo-tile {
  display: grid;
  place-items: center;
  width: 180px;
  height: 108px;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  flex-shrink: 0;
}

.logo-tile img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter var(--dur-base), opacity var(--dur-base);
}

.logo-tile:hover img {
  filter: none;
  opacity: 1;
}

.school-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.school-chips li {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
}

/* Photo mosaic ------------------------------------------------------------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: var(--space-3);
}

.mosaic__item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
}

.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.mosaic__item:hover img {
  transform: scale(1.06);
}

.mosaic__item--wide { grid-column: span 2; }
.mosaic__item--tall { grid-row: span 2; }
.mosaic__item--big { grid-column: span 2; grid-row: span 2; }

@media (max-width: 760px) {
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .mosaic__item--big { grid-column: span 2; }
}

/* Testimonials ------------------------------------------------------------- */

.testimonials {
  position: relative;
}

.testimonials__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(88%, 420px);
  gap: var(--space-4);
  padding: 0.5rem 0.25rem 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.testimonials__track::-webkit-scrollbar { display: none; }

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-snap-align: start;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.quote-card__mark {
  width: 36px;
  height: 36px;
  color: var(--pink-200);
}

.quote-card blockquote {
  margin: 0;
  flex: 1;
  color: var(--ink-700);
  font-size: var(--fs-sm);
}

.quote-card footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}

.quote-card__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.quote-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
}

.quote-card small {
  color: var(--color-muted);
  font-size: var(--fs-xs);
}

.quote-card__source {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--fs-xs);
  color: var(--color-muted);
}

.quote-card__source svg { width: 16px; height: 16px; }

.carousel-controls {
  display: flex;
  gap: 0.6rem;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--ink-900);
  border-radius: 50%;
  background: transparent;
  transition: background-color var(--dur-fast), color var(--dur-fast), transform var(--dur-base) var(--ease-spring);
}

.icon-btn svg { width: 20px; height: 20px; }

.icon-btn:hover {
  background: var(--ink-900);
  color: var(--white);
  transform: scale(1.06);
}

.icon-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.head-row .section-head { margin-bottom: 0; }

/* Video ---------------------------------------------------------------------- */

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(30, 22, 48, 0.05), rgba(30, 22, 48, 0.55));
  color: var(--white);
  transition: opacity var(--dur-base);
}

.video-card__play span {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--pink-500);
  box-shadow: var(--shadow-pink);
}

.video-card__play span::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: pulse-ring 2s var(--ease-out) infinite;
}

.video-card__play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

.video-card__label {
  position: absolute;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  left: 1.4rem;
  bottom: 1.2rem;
  font-weight: 700;
  pointer-events: none;
}

.video-card.is-playing .video-card__play,
.video-card.is-playing .video-card__label {
  opacity: 0;
  pointer-events: none;
}

/* CTA band ----------------------------------------------------------------- */

.cta-band {
  position: relative;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-radius: var(--radius-xl);
  background: var(--gradient-brand);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.cta-band .eyebrow::before {
  background: var(--white);
}

.cta-band h2 {
  max-width: 640px;
  font-size: var(--fs-2xl);
}

.cta-band p {
  max-width: 560px;
  margin-bottom: var(--space-6);
  color: rgba(255, 255, 255, 0.9);
}

.cta-band__art {
  position: absolute;
  right: clamp(-60px, -2vw, 0px);
  top: 50%;
  width: clamp(200px, 28vw, 340px);
  transform: translateY(-50%);
  z-index: -1;
  opacity: 0.95;
}

@media (max-width: 800px) {
  .cta-band__art { opacity: 0.25; right: -80px; }
}

/* Spec list (course facts) --------------------------------------------------- */

.spec-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.spec-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.spec-list {
  display: grid;
  margin: 0 0 1.5rem;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: var(--fs-sm);
}

.spec-list dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted);
}

.spec-list dt svg {
  width: 16px;
  height: 16px;
  color: var(--pink-500);
}

.spec-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.spec-card .btn { width: 100%; }
.spec-card .btn + .btn { margin-top: 0.6rem; }

.course-variant {
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.course-variant + .course-variant {
  margin-top: var(--space-5);
}

.course-variant__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.fact {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--cream);
}

.fact span {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fact strong {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--fs-sm);
}

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

@media (min-width: 700px) {
  .syllabus { grid-template-columns: 1fr 1fr; }
}

.syllabus ol {
  counter-reset: mod;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.syllabus ol li {
  counter-increment: mod;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.syllabus ol li::before {
  content: counter(mod, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-display);
  color: var(--pink-600);
  flex-shrink: 0;
}

/* Comparison table ----------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
}

.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.compare th,
.compare td {
  padding: 1rem 1.2rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  background: var(--sand);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.compare tbody th {
  color: var(--color-muted);
  font-weight: 600;
  white-space: nowrap;
}

.compare tr:last-child td,
.compare tr:last-child th {
  border-bottom: 0;
}

/* Accordion (FAQ) ----------------------------------------------------------- */

.accordion {
  display: grid;
  gap: 0.75rem;
}

.accordion details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: box-shadow var(--dur-base), border-color var(--dur-base);
}

.accordion details[open] {
  border-color: var(--pink-200);
  box-shadow: var(--shadow-md);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pink-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d92a64' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform var(--dur-base) var(--ease-out);
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
}

.accordion__body {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-700);
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-5);
}

/* Chips / filter buttons ---------------------------------------------------- */

.chip {
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
  transition: all var(--dur-fast);
}

.chip:hover { border-color: var(--ink-900); }

.chip[aria-pressed="true"] {
  border-color: var(--ink-900);
  background: var(--ink-900);
  color: var(--white);
}

.chip .count {
  margin-left: 0.35rem;
  opacity: 0.6;
  font-size: 0.85em;
}

/* Timeline ----------------------------------------------------------------- */

.timeline {
  position: relative;
  display: grid;
  gap: var(--space-5);
  list-style: none;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--pink-500), var(--orange-500), var(--sage-400));
}

.timeline li {
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--pink-500);
  box-shadow: 0 0 0 2px var(--pink-200);
}

.timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.timeline p {
  color: var(--ink-700);
  font-size: var(--fs-sm);
}

/* Vision / mission cards ----------------------------------------------------- */

.vm-card {
  height: 100%;
  overflow: hidden;
}

.vm-card__num {
  position: absolute;
  right: 1.4rem;
  top: 1rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
  -webkit-text-stroke: 1.5px var(--line);
}

/* Accreditation list --------------------------------------------------------- */

.accred {
  display: grid;
  gap: var(--space-3);
  list-style: none;
}

.accred li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
}

.accred .icon-tile {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 12px;
  flex-shrink: 0;
}

.accred .icon-tile svg { width: 22px; height: 22px; }

.accred strong { display: block; }

.accred small {
  display: block;
  margin-top: 0.2rem;
  color: var(--color-muted);
  font-size: var(--fs-xs);
  word-break: break-word;
}

.certificate {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
  transition: transform var(--dur-slow) var(--ease-spring);
}

.certificate:hover { transform: rotate(0) scale(1.02); }

/* Branches / contact --------------------------------------------------------- */

.branch-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
}

.branch-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}

.branch-card h3 svg {
  width: 24px;
  height: 24px;
  color: var(--pink-500);
}

.branch-card address {
  font-style: normal;
  color: var(--ink-700);
  font-size: var(--fs-sm);
}

.branch-card__map {
  height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sand);
}

.branch-card__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.8);
}

.branch-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.contact-list {
  display: grid;
  gap: 1rem;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-list .icon-tile {
  width: 50px;
  height: 50px;
  margin: 0;
  border-radius: 14px;
  flex-shrink: 0;
}

.contact-list .icon-tile svg { width: 22px; height: 22px; }

.contact-list small {
  display: block;
  color: var(--color-muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list a {
  font-weight: 700;
}

.contact-list a:hover { color: var(--pink-600); }

/* Forms -------------------------------------------------------------------- */

.form-card {
  padding: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.field label .req { color: var(--pink-600); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink-500);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--pink-50);
}

.field input:user-invalid {
  border-color: var(--pink-600);
}

.form-note {
  margin-top: 1rem;
  font-size: var(--fs-xs);
  color: var(--color-muted);
}

.hp-field {
  position: absolute;
  left: -5000px;
}

/* Gallery ------------------------------------------------------------------ */

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--space-6);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: var(--space-3);
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  break-inside: avoid;
  background: var(--sand);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out), filter var(--dur-base);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(30, 22, 48, 0.55));
  opacity: 0;
  transition: opacity var(--dur-base);
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

.gallery-item__zoom {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-900);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.gallery-item__zoom svg { width: 18px; height: 18px; }

.gallery-item:hover .gallery-item__zoom,
.gallery-item:focus-visible .gallery-item__zoom {
  opacity: 1;
  transform: none;
}

.gallery-item[hidden] { display: none; }

/* Lightbox ----------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(18, 12, 30, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base), visibility var(--dur-base);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: var(--fs-sm);
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 4.5rem;
  min-height: 0;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.lightbox__img.is-loading {
  opacity: 0;
  transform: scale(0.97);
}

.lightbox .icon-btn {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.lightbox .icon-btn:hover {
  background: var(--white);
  color: var(--ink-900);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }

.lightbox__prev:hover,
.lightbox__next:hover { transform: translateY(-50%) scale(1.06); }

.lightbox__thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.25rem 1.25rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.lightbox__thumbs button {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: none;
  opacity: 0.45;
  transition: opacity var(--dur-fast), border-color var(--dur-fast);
}

.lightbox__thumbs button:hover { opacity: 0.8; }

.lightbox__thumbs button[aria-current="true"] {
  opacity: 1;
  border-color: var(--pink-500);
}

.lightbox__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .lightbox__stage { padding: 0 0.75rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -3.75rem; transform: none; }
  .lightbox__prev:hover, .lightbox__next:hover { transform: scale(1.06); }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .lightbox__thumbs { margin-top: 4rem; }
}

/* Footer ------------------------------------------------------------------- */

.site-footer {
  position: relative;
  padding-top: clamp(4rem, 3rem + 4vw, 6rem);
  background: var(--ink-900);
  color: var(--ink-300);
  font-size: var(--fs-sm);
  overflow: hidden;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

@media (min-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
}

.site-footer h2 {
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer ul {
  display: grid;
  gap: 0.6rem;
  list-style: none;
}

.site-footer a {
  transition: color var(--dur-fast);
}

.site-footer a:hover { color: var(--white); }

.footer-brand__logo {
  display: inline-block;
  padding: 0.7rem 1rem;
  margin-bottom: 1.2rem;
  border-radius: var(--radius-md);
  background: var(--white);
}

.footer-brand__logo img {
  height: 46px;
  width: auto;
}

.footer-brand p {
  max-width: 340px;
}

.footer-branches li {
  display: grid;
  gap: 0.1rem;
}

.footer-branches strong { color: var(--white); }

.social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color var(--dur-fast), transform var(--dur-base) var(--ease-spring);
}

.social a:hover {
  background: var(--pink-500);
  transform: translateY(-3px);
}

.social svg { width: 18px; height: 18px; color: var(--white); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
}

.footer-wordmark {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 14vw, 12rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  user-select: none;
  pointer-events: none;
}

/* Floating action buttons ---------------------------------------------------- */

.fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.fab a,
.fab button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-base) var(--ease-spring), opacity var(--dur-base);
}

.fab a:hover,
.fab button:hover { transform: scale(1.08); }

.fab svg { width: 26px; height: 26px; }

.fab__whatsapp { background: #25d366; }
.fab__call { background: var(--pink-500); }
.fab__top {
  background: var(--ink-900);
  opacity: 0;
  pointer-events: none;
}

.fab__top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* 404 ---------------------------------------------------------------------- */

.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found img {
  width: min(360px, 80%);
  margin: 0 auto 2rem;
}

/* Course detail layout ------------------------------------------------------- */

.course-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (min-width: 1000px) {
  .course-layout { grid-template-columns: minmax(0, 1fr) 360px; }
}

.course-layout__main > * + * {
  margin-top: var(--space-6);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 0.6rem;
  list-style: none;
}

.topic-grid li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.topic-grid svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--pink-500);
}

.desc-card {
  position: relative;
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.desc-card p {
  color: var(--ink-700);
}

.next-course {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  border: 1px solid var(--line);
}

.next-course small {
  display: block;
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-xs);
}

.next-course strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}
