/* components.css — Kaans v3 */

/* ═══════════════════════════════════
   NAV
═══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.nav.scrolled {
  border-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.nav__logo-box {
  /* Placeholder – replace with <img src="assets/logo.svg"> */
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}
.nav__logo-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-violet);
  margin-left: 2px;
  vertical-align: super;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
}
.nav__links > li > a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-ink-mid);
  transition: color var(--t-fast);
  position: relative;
}
.nav__links > li > a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--c-violet);
  border-radius: 2px;
  transition: width var(--t-base) var(--ease);
}
.nav__links > li > a:hover { color: var(--c-navy); }
.nav__links > li > a:hover::after { width: 100%; }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-ink-mid);
  cursor: pointer;
  transition: color var(--t-fast);
}
.nav__dropdown-toggle:hover { color: var(--c-navy); }
.nav__dropdown-toggle svg {
  transition: transform var(--t-base) var(--ease);
}
.nav__dropdown:hover .nav__dropdown-toggle svg { transform: rotate(180deg); }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: var(--sp-3);
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  list-style: none;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-menu a {
  display: block;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--c-ink-mid);
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__dropdown-menu a:hover {
  background: var(--c-sky-pale);
  color: var(--c-navy);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px; padding: var(--sp-2);
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base);
}

/* Mobile nav overlay */
@media (max-width: 900px) {
  .nav__hamburger { display: flex; }
  .nav__links, .nav__actions .btn--outline { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--c-white);
    padding: var(--sp-8) var(--sp-6);
    gap: var(--sp-6);
    align-items: flex-start;
    border-top: 1px solid var(--c-border);
  }
  .nav__links.open > li > a { font-size: var(--text-xl); }
  .nav__dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    padding-left: var(--sp-4);
    opacity: 1;
    pointer-events: auto;
    background: none;
  }
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  min-height: 100svh;
  background: var(--g-hero-bg);
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 55vw; height: 55vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(122,72,149,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -8%; left: -5%;
  width: 40vw; height: 40vw;
  max-width: 500px; max-height: 500px;
  background: radial-gradient(circle, rgba(26,40,109,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  padding-block: var(--sp-20);
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 6px 16px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-violet);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-xs);
}
.hero__kicker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-violet);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}
.hero__title { margin-bottom: var(--sp-6); }
.hero__sub {
  max-width: 480px;
  margin-bottom: var(--sp-10);
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-12);
}
.hero__social-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.hero__avatars {
  display: flex;
}
.hero__avatars span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__avatars span:nth-child(1) { background: var(--c-navy); }
.hero__avatars span:nth-child(2) { background: var(--c-violet); }
.hero__avatars span:nth-child(3) { background: #60a5fa; }
.hero__avatars span:nth-child(4) { background: #7c3aed; }
.hero__proof-text { font-size: var(--text-sm); color: var(--c-ink-soft); }
.hero__proof-text strong { color: var(--c-ink); }

/* Hero visual side */
.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero__card-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
}
.hero__card-main {
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.hero__card-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--g-card-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__card-img svg { width: 100%; height: 100%; }
.hero__card-body {
  padding: var(--sp-5) var(--sp-6);
}
.hero__card-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-violet);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}
.hero__card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: var(--sp-3);
}
.hero__card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero__card-instructor {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.hero__card-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--g-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.hero__card-name { font-size: var(--text-xs); color: var(--c-ink-soft); }
.hero__card-cta {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-violet);
  display: flex;
  align-items: center;
  gap: 4px;
}
/* Floating badge on card */
.hero__badge {
  position: absolute;
  top: -16px; right: -16px;
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  z-index: 3;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-navy);
  border: 1px solid var(--c-border);
}
.hero__badge-icon { font-size: 1.2rem; }
.hero__badge-label { font-size: var(--text-xs); color: var(--c-ink-soft); font-weight: 400; }
/* Second floating pill */
.hero__pill {
  position: absolute;
  bottom: -18px; left: -20px;
  background: var(--c-navy);
  color: #fff;
  border-radius: var(--r-full);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.hero__pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.3);
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero__visual { justify-content: center; }
  .hero__card-stack { max-width: 360px; }
  .hero__badge { top: -12px; right: -6px; }
}

/* ═══════════════════════════════════
   LOGOS / TRUST BAR
═══════════════════════════════════ */
.trust-bar {
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-6);
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.trust-bar__label {
  font-size: var(--text-sm);
  color: var(--c-ink-muted);
  white-space: nowrap;
}
.trust-bar__logos {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
  flex: 1;
}
.trust-bar__logo {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--c-ink-muted);
  opacity: 0.55;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity var(--t-base);
}
.trust-bar__logo:hover { opacity: 0.85; }

/* ═══════════════════════════════════
   SECTION HEADER (centred or left)
═══════════════════════════════════ */
.sec-head { max-width: 640px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .label { justify-content: center; }
.sec-head .label { margin-bottom: var(--sp-4); }
.sec-head .h2   { margin-bottom: var(--sp-4); }
.sec-head .body-lg { color: var(--c-ink-soft); }

/* ═══════════════════════════════════
   COURSE CARDS
═══════════════════════════════════ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.course-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
  cursor: pointer;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.course-card__thumb {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.course-card__thumb svg { width: 100%; height: 100%; }

/* Thumb palette per course */
.thumb--a { background: linear-gradient(135deg, #dceaf9 0%, #ede6f5 100%); }
.thumb--b { background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%); }
.thumb--c { background: linear-gradient(135deg, #fce7f3 0%, #ede9fe 100%); }
.thumb--d { background: linear-gradient(135deg, #d1fae5 0%, #dbeafe 100%); }
.thumb--e { background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 100%); }
.thumb--f { background: linear-gradient(135deg, #e0e7ff 0%, #ede6f5 100%); }

.course-card__body {
  padding: var(--sp-5) var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-card__cat {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-violet);
  margin-bottom: var(--sp-2);
}
.course-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.3;
  margin-bottom: var(--sp-3);
}
.course-card__desc {
  font-size: var(--text-sm);
  color: var(--c-ink-soft);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--sp-4);
}
.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-4);
}
.course-card__level {
  font-size: var(--text-xs);
  color: var(--c-ink-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.course-card__level::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-violet);
  opacity: 0.5;
}
.course-card__cta {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-navy);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast);
}
.course-card:hover .course-card__cta { gap: 8px; }

@media (max-width: 900px) { .courses-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .courses-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════
   VALUE PROPS (why Kaans)
═══════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}
.value-card {
  padding: var(--sp-8);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  transition: box-shadow var(--t-base) var(--ease);
}
.value-card:hover { box-shadow: var(--shadow-md); }
.value-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
}
.value-card__icon--a { background: #e0e7ff; }
.value-card__icon--b { background: #f3e8ff; }
.value-card__icon--c { background: #dbeafe; }
.value-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: var(--sp-3);
}
.value-card__body {
  font-size: var(--text-sm);
  color: var(--c-ink-soft);
  line-height: 1.7;
}
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════
   STATS BAR
═══════════════════════════════════ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.stats-bar__item {
  background: var(--c-white);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}
.stats-bar__num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 900;
  background: var(--g-text-vivid);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stats-bar__label {
  font-size: var(--text-sm);
  color: var(--c-ink-soft);
}
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════
   ABOUT SECTION (two col)
═══════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.about-grid--reverse .about__visual { order: -1; }
.about__visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--g-card-accent);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__visual svg { width: 85%; height: 85%; }
.about__text .label { margin-bottom: var(--sp-4); }
.about__text .h2 { margin-bottom: var(--sp-6); }
.about__text .body-lg { margin-bottom: var(--sp-6); }
.about__text .body-base { margin-bottom: var(--sp-8); }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid--reverse .about__visual { order: 0; }
}

/* ═══════════════════════════════════
   TESTIMONIAL
═══════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.testimonial-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.testimonial-card__quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--c-ink-mid);
  flex: 1;
  position: relative;
}
.testimonial-card__quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.7;
  color: var(--c-sky);
  display: block;
  margin-bottom: var(--sp-4);
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-4);
}
.testimonial-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--c-ink);
}
.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--c-ink-muted);
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════
   CONSULTING CARDS
═══════════════════════════════════ */
.consulting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-12);
}
.consulting-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.consulting-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.consulting-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--g-card-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
}
.consulting-card__icon svg { width: 24px; height: 24px; color: var(--c-navy); }
.consulting-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: var(--sp-3);
}
.consulting-card__body {
  font-size: var(--text-sm);
  color: var(--c-ink-soft);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.consulting-card__tag {
  font-size: var(--text-xs);
  color: var(--c-ink-muted);
}
@media (max-width: 900px) { .consulting-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .consulting-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════
   CTA BAND
═══════════════════════════════════ */
.cta-band {
  background: var(--g-brand);
  border-radius: var(--r-2xl);
  padding: var(--sp-16) var(--sp-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band__text { flex: 1; }
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--sp-3);
  line-height: 1.15;
}
.cta-band__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  max-width: 420px;
}
.cta-band__actions {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .cta-band { flex-direction: column; padding: var(--sp-10) var(--sp-8); }
  .cta-band__text { text-align: center; }
  .cta-band__sub { margin-inline: auto; }
  .cta-band__actions { justify-content: center; }
}

/* ═══════════════════════════════════
   CONTACT FORM
═══════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-ink-mid);
}
.form-input,
.form-select,
.form-textarea {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--c-ink);
  outline: none;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--c-ink-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--c-violet);
  box-shadow: 0 0 0 3px rgba(122,72,149,0.14);
}
.form-select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%236b7a9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-textarea { resize: vertical; min-height: 130px; }
.contact-info { padding-top: var(--sp-4); }
.contact-info .h3 { margin-bottom: var(--sp-6); }
.contact-info .body-base { margin-bottom: var(--sp-8); }
.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--c-sky-pale);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-3);
}
.contact-detail__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail__label { font-size: var(--text-xs); color: var(--c-ink-muted); }
.contact-detail__value { font-size: var(--text-sm); font-weight: 600; color: var(--c-ink); }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.7);
  padding-block: var(--sp-16);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
}
.footer__brand .nav__logo-box { color: #fff; margin-bottom: var(--sp-4); }
.footer__brand .nav__logo-dot { background: var(--c-violet-light); }
.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 260px;
}
.footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-4);
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer__copy { font-size: var(--text-xs); color: rgba(255,255,255,0.35); }
@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════
   CONTACT CTA (WhatsApp)
═══════════════════════════════════ */
.contact-cta-wrap { }
.contact-cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.contact-cta-box__details {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
/* WhatsApp card */
.wa-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-10) var(--sp-8);
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.wa-card__icon { margin-bottom: var(--sp-2); }
.wa-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--c-ink);
}
.wa-card__body {
  font-size: var(--text-base);
  color: var(--c-ink-soft);
  line-height: 1.65;
  max-width: 320px;
}
.btn--wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
  width: 100%;
  justify-content: center;
}
.btn--wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}
.wa-card__note {
  font-size: var(--text-xs);
  color: var(--c-ink-muted);
}
.wa-card__note strong { color: var(--c-ink-mid); }

/* CTA band links pointing to WA */
.btn--wa-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--wa-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-cta-box { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════
   COURSE LANDING PAGE
═══════════════════════════════════ */
.course-hero {
  background: var(--g-hero-bg);
  padding-top: 72px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.course-hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 50vw; height: 50vw;
  max-width: 600px;
  background: radial-gradient(circle, rgba(122,72,149,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.course-hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-12);
  align-items: end;
  padding-top: var(--sp-16);
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}
.course-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--c-ink-soft);
  margin-bottom: var(--sp-6);
}
.course-hero__breadcrumb a { color: var(--c-violet); }
.course-hero__breadcrumb span { color: var(--c-ink-muted); }
.course-hero__cat { margin-bottom: var(--sp-4); }
.course-hero__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: var(--sp-6);
}
.course-hero__desc {
  font-size: var(--text-lg);
  color: var(--c-ink-soft);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: var(--sp-8);
}
.course-hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}
.course-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 6px 14px;
  font-size: var(--text-sm);
  color: var(--c-ink-mid);
  box-shadow: var(--shadow-xs);
}
.course-meta-badge svg { color: var(--c-violet); flex-shrink: 0; }

/* Sticky enroll card */
.course-enroll-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--shadow-lg);
  padding: var(--sp-8);
  position: sticky;
  bottom: 0;
  align-self: end;
}
.course-enroll-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--sp-5);
}
.course-enroll-card__thumb svg { width: 100%; height: 100%; }
.course-enroll-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}
.course-enroll-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: var(--sp-5);
}
.course-enroll-card .btn { width: 100%; justify-content: center; margin-bottom: var(--sp-3); }
.course-enroll-card__note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--c-ink-muted);
}

/* Course body layout */
.course-body {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-12);
  align-items: start;
  padding-top: var(--sp-16);
}
.course-body__sticky {
  position: sticky;
  top: 90px;
}
.course-body__sticky .course-enroll-card {
  border-radius: var(--r-xl);
  position: static;
}

/* Tabs */
.course-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--c-border);
  margin-bottom: var(--sp-10);
}
.course-tab {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-ink-soft);
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
  background: none;
}
.course-tab.active, .course-tab:hover { color: var(--c-navy); }
.course-tab.active { border-bottom-color: var(--c-violet); }

/* Objectives list */
.objectives-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.objectives-list li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--text-base);
  color: var(--c-ink-mid);
  line-height: 1.6;
}
.objectives-list li::before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-navy), var(--c-violet));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-color: var(--c-violet);
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* Curriculum / syllabus */
.syllabus { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-6); }
.module-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.module-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  transition: background var(--t-fast);
  list-style: none;
  user-select: none;
}
.module-header:hover { background: var(--c-sky-pale); }
.module-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--g-brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
}
.module-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--c-ink);
  flex: 1;
}
.module-chevron {
  color: var(--c-ink-muted);
  transition: transform var(--t-base) var(--ease);
}
details[open] .module-chevron { transform: rotate(180deg); }
.module-body {
  padding: 0 var(--sp-6) var(--sp-5);
  border-top: 1px solid var(--c-border);
}
.module-topics {
  list-style: none;
  padding-top: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.module-topics li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--c-ink-mid);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-border);
}
.module-topics li:last-child { border-bottom: none; }
.module-topics li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--c-violet);
  opacity: 0.6;
}

/* Profiles section */
.profiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-6);
}
.profile-card {
  background: var(--c-sky-pale);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.profile-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.profile-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.profile-card ul li {
  font-size: var(--text-sm);
  color: var(--c-ink-mid);
  padding-left: var(--sp-4);
  position: relative;
}
.profile-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--c-violet);
  font-weight: 700;
}

@media (max-width: 900px) {
  .course-hero__inner { grid-template-columns: 1fr; }
  .course-enroll-card { border-radius: var(--r-xl); position: static; }
  .course-body { grid-template-columns: 1fr; }
  .course-body__sticky { position: static; }
  .profiles-grid { grid-template-columns: 1fr; }
}
