/* ═══════════════════════════════════════════════
   Toksyto — assets/css/style.css
   Shared across: index, about, courses,
   course-detail, contact
═══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --primary:       #FF6B35;
  --primary-dark:  #E5561D;
  --primary-light: #FFF0EB;
  --ink:           #0F172A;
  --ink-mid:       #475569;
  --ink-muted:     #94A3B8;
  --bg:            #FFFFFF;
  --bg-soft:       #F8FAFC;
  --border:        #E2E8F0;
  --white:         #FFFFFF;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);

  --transition: .22s cubic-bezier(.4,0,.2,1);

  --ff-head: 'Nunito', sans-serif;
  --ff-body: 'Poppins', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--ff-body); cursor: pointer; }
input, textarea, select { font-family: var(--ff-body); font-size: .95rem; outline: none; }

/* ── UTILITIES ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.highlight { color: var(--primary); }

.section-tag {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-sub, .section-desc {
  font-size: 1.05rem;
  color: var(--ink-mid);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 700; font-size: .9rem;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,.35); }
.btn-ghost { background: transparent; color: var(--ink-mid); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--ink-mid); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); font-weight: 800; }
.btn-white:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ═════════ HEADER ═════════ */
#header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow); }
.nav-container { display: flex; align-items: center; height: 68px; gap: 12px; background-color: transparent; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { width: 34px; height: 34px; }
.logo-text { font-family: var(--ff-head); font-weight: 900; font-size: 1.35rem; color: var(--ink); }
.nav-menu { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: .88rem; font-weight: 600; color: var(--ink-mid);
  padding: 6px 12px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 200px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═════════ PAGE HERO (subpages) ═════════ */
.page-hero {
  background: linear-gradient(160deg, #FFFAF8 0%, #F0F7FF 100%);
  padding: 64px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}
.breadcrumb { font-size: .85rem; color: var(--ink-muted); }
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ═════════ HOME HERO ═════════ */
.hero {
  position: relative;
  padding: 80px 0 72px;
  overflow: hidden;
  background: linear-gradient(160deg, #FFFAF8 0%, #F0F7FF 100%);
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.shape-1 { width: 500px; height: 500px; background: #FFDFCC; top: -200px; right: -100px; }
.shape-2 { width: 350px; height: 350px; background: #DBEAFE; bottom: -100px; left: -80px; }
.hero-container {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 99px; padding: 6px 16px 6px 10px;
  font-size: .82rem; font-weight: 600; color: var(--ink-mid);
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,107,53,.4); }
  50%     { box-shadow: 0 0 0 6px rgba(255,107,53,0); }
}
.hero-title {
  font-family: var(--ff-head); font-weight: 900;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.08; margin-bottom: 22px;
}
.hero-desc { font-size: 1.1rem; color: var(--ink-mid); line-height: 1.7; max-width: 480px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats {
  display: flex; align-items: center; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 24px;
  box-shadow: var(--shadow-sm); width: fit-content;
}
.stat { text-align: center; padding: 0 20px; }
.stat strong { display: block; font-family: var(--ff-head); font-size: 1.6rem; font-weight: 900; }
.stat span { font-size: .78rem; color: var(--ink-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }
.hero-visual img { width: 100%; height: auto; border-radius: var(--radius-xl); }

/* ═════════ MARQUEE ═════════ */
.marquee-section { background: var(--primary); padding: 14px 0; overflow: hidden; }
.marquee-track { overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-flex; gap: 32px; animation: marquee 28s linear infinite; white-space: nowrap; }
.marquee-inner span { font-family: var(--ff-head); font-size: .9rem; font-weight: 700; color: white; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-section:hover .marquee-inner { animation-play-state: paused; }

/* ═════════ ABOUT PREVIEW / PAGE ═════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-visual img { width: 100%; height: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.about-points { display: flex; flex-direction: column; gap: 18px; margin: 28px 0 32px; }
.about-point { display: flex; gap: 14px; align-items: flex-start; }
.ap-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.about-point strong { display: block; font-size: .95rem; margin-bottom: 3px; }
.about-point p { font-size: .88rem; color: var(--ink-mid); }

/* Mission / vision cards */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.mv-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  transition: all var(--transition);
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.mv-card .mv-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.mv-card h3 { font-family: var(--ff-head); font-size: 1.25rem; font-weight: 900; margin-bottom: 10px; }
.mv-card p { font-size: .92rem; color: var(--ink-mid); }

/* Timeline */
.timeline { position: relative; max-width: 700px; margin: 48px auto 0; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 3px; background: var(--primary-light); border-radius: 3px;
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -31px; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--primary); border: 3px solid var(--primary-light);
}
.timeline-year { font-family: var(--ff-head); font-weight: 900; color: var(--primary); font-size: 1.05rem; }
.timeline-item h4 { font-family: var(--ff-head); font-weight: 800; margin: 4px 0 6px; }
.timeline-item p { font-size: .9rem; color: var(--ink-mid); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 20px;
  text-align: center; transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card img { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; }
.team-card h4 { font-family: var(--ff-head); font-weight: 800; font-size: 1rem; }
.team-card span { font-size: .8rem; color: var(--primary); font-weight: 600; display: block; margin-bottom: 8px; }
.team-card p { font-size: .8rem; color: var(--ink-mid); }

/* ═════════ COURSES ═════════ */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--ff-head); font-weight: 700; font-size: .85rem;
  padding: 8px 20px; border-radius: 99px;
  border: 2px solid var(--border); background: var(--white); color: var(--ink-mid);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(255,107,53,.3);
}
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-thumb { position: relative; }
.course-thumb img { width: 100%; height: 160px; object-fit: cover; }
.course-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--white); color: var(--primary);
  font-family: var(--ff-head); font-size: .72rem; font-weight: 800;
  padding: 3px 10px; border-radius: 99px;
}
.course-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.course-tags { display: flex; gap: 6px; margin-bottom: 10px; }
.ctag {
  font-size: .72rem; font-weight: 700; font-family: var(--ff-head);
  padding: 3px 10px; border-radius: 99px;
  background: var(--bg-soft); color: var(--ink-mid);
}
.ctag.orange { background: #FFF0EB; color: #FF6B35; }
.ctag.blue   { background: #EBF5FF; color: #3B82F6; }
.ctag.pink   { background: #FDF2F8; color: #EC4899; }
.ctag.purple { background: #F3EBFF; color: #8B5CF6; }
.ctag.green  { background: #EDFFF4; color: #22C55E; }
.ctag.yellow { background: #FFF8EB; color: #F59E0B; }
.course-title-text { font-family: var(--ff-head); font-size: 1rem; font-weight: 800; margin-bottom: 8px; line-height: 1.35; }
.course-title-text a:hover { color: var(--primary); }
.course-desc { font-size: .83rem; color: var(--ink-mid); line-height: 1.55; margin-bottom: 14px; flex: 1; }
.course-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.course-instructor { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--ink-mid); font-weight: 500; }
.course-instructor img { width: 24px; height: 24px; border-radius: 50%; }
.course-rating { font-size: .8rem; color: var(--ink-mid); }
.course-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.course-info { display: flex; gap: 10px; font-size: .75rem; color: var(--ink-muted); }
.course-price s { font-size: .8rem; color: var(--ink-muted); }
.course-price strong { display: block; font-family: var(--ff-head); font-size: 1.05rem; font-weight: 900; color: var(--primary); }
.course-card-actions { display: flex; gap: 8px; margin-top: 14px; }
.course-card-actions .btn { flex: 1; padding: 9px 12px; font-size: .82rem; text-align: center; }
.course-card-actions .btn.added { background: #22C55E; border-color: #22C55E; color: #fff; }
.courses-cta { text-align: center; margin-top: 48px; }

/* Search bar on courses page */
.course-search { max-width: 520px; margin: 0 auto 32px; position: relative; }
.course-search input {
  width: 100%; padding: 14px 20px 14px 48px;
  border: 2px solid var(--border); border-radius: 99px;
  font-size: .95rem; background: var(--white);
  transition: border-color var(--transition);
}
.course-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,107,53,.1); }
.course-search::before {
  content: '🔍'; position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%); font-size: 1rem;
}
.no-results { text-align: center; padding: 48px 0; color: var(--ink-muted); display: none; }

/* ═════════ COURSE DETAIL ═════════ */
.detail-hero { background: linear-gradient(160deg, #FFFAF8 0%, #F0F7FF 100%); padding: 56px 0; border-bottom: 1px solid var(--border); }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.detail-content h1 { font-family: var(--ff-head); font-weight: 900; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; margin: 12px 0 16px; }
.detail-content .lead { font-size: 1.05rem; color: var(--ink-mid); margin-bottom: 24px; }
.detail-meta-row { display: flex; gap: 22px; flex-wrap: wrap; font-size: .85rem; color: var(--ink-mid); margin-bottom: 8px; }
.detail-meta-row strong { color: var(--ink); }

.enroll-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky; top: 92px;
}
.enroll-card img { width: 100%; height: 180px; object-fit: cover; }
.enroll-body { padding: 24px; }
.enroll-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.enroll-price strong { font-family: var(--ff-head); font-size: 2rem; font-weight: 900; color: var(--primary); }
.enroll-price s { color: var(--ink-muted); }
.enroll-price .off { font-size: .78rem; font-weight: 800; color: #22C55E; background: #EDFFF4; padding: 2px 8px; border-radius: 99px; }
.enroll-note { font-size: .78rem; color: var(--ink-muted); margin-bottom: 18px; }
.enroll-list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.enroll-list li { font-size: .85rem; color: var(--ink-mid); display: flex; gap: 8px; }

.detail-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.detail-section h2 { font-family: var(--ff-head); font-weight: 900; font-size: 1.5rem; margin-bottom: 20px; }
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.learn-item { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-mid); }
.learn-item::before { content: '✅'; flex-shrink: 0; }

/* Curriculum accordion */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.acc-item + .acc-item { border-top: 1px solid var(--border); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-soft); border: none;
  padding: 16px 20px; font-family: var(--ff-head);
  font-weight: 800; font-size: .95rem; color: var(--ink);
  text-align: left;
}
.acc-head:hover { background: var(--primary-light); }
.acc-head .acc-arrow { transition: transform var(--transition); font-size: .8rem; color: var(--ink-muted); }
.acc-item.open .acc-arrow { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; background: var(--white); }
.acc-item.open .acc-body { max-height: 400px; }
.acc-body ul { padding: 8px 20px 16px; }
.acc-body li {
  display: flex; justify-content: space-between;
  font-size: .87rem; color: var(--ink-mid);
  padding: 8px 0; border-bottom: 1px dashed var(--border);
}
.acc-body li:last-child { border-bottom: none; }
.acc-body li span:last-child { color: var(--ink-muted); font-size: .8rem; }

.instructor-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.instructor-box img { width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0; }
.instructor-box h3 { font-family: var(--ff-head); font-weight: 900; margin-bottom: 2px; }
.instructor-box .role { font-size: .82rem; color: var(--primary); font-weight: 700; display: block; margin-bottom: 10px; }
.instructor-box p { font-size: .9rem; color: var(--ink-mid); }

/* ═════════ FEATURES ═════════ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 24px;
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 18px;
}
.feature-card h3 { font-family: var(--ff-head); font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: .875rem; color: var(--ink-mid); line-height: 1.6; }

/* ═════════ TESTIMONIALS ═════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  transition: all var(--transition);
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.featured-tcard { background: var(--primary); border-color: var(--primary); }
.tcard-stars { font-size: 1rem; margin-bottom: 14px; }
.tcard-text { font-size: .875rem; line-height: 1.65; color: var(--ink-mid); margin-bottom: 20px; font-style: italic; }
.featured-tcard .tcard-text { color: rgba(255,255,255,.88); }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-author img { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.tcard-author strong { display: block; font-size: .88rem; font-weight: 700; }
.featured-tcard .tcard-author strong { color: white; }
.tcard-author small { font-size: .75rem; color: var(--ink-muted); }
.featured-tcard .tcard-author small { color: rgba(255,255,255,.7); }

/* ═════════ CTA BANNER ═════════ */
.cta-banner {
  background: linear-gradient(135deg, #FF6B35 0%, #E5561D 50%, #FF8C42 100%);
  background-image: url('../images/pattern-dots.svg'), linear-gradient(135deg, #FF6B35 0%, #E5561D 50%, #FF8C42 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2 { font-family: var(--ff-head); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: 14px; }
.cta-banner p { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═════════ ESCALATION / QUICK CONTACT CARDS ═════════ */
.escalation-section { padding-top: 56px; padding-bottom: 56px; }
.escalation-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 24px; align-items: stretch; }
.escalation-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
}
.esc-row { display: flex; align-items: flex-start; gap: 14px; }
.esc-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--primary-light); border-radius: var(--radius);
  display: grid; place-items: center; font-size: 18px;
}
.esc-row strong { display: block; font-size: .9rem; margin-bottom: 3px; }
.esc-row p, .esc-row p a { font-size: .875rem; color: var(--ink-mid); }
.esc-row p a:hover { color: var(--primary); }
.escalation-matrix-card h3 { font-family: var(--ff-head); font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.esc-level { display: flex; align-items: flex-start; gap: 16px; }
.esc-level-tag {
  flex-shrink: 0; font-family: var(--ff-head); font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--primary-dark);
  background: var(--primary-light); padding: 4px 10px; border-radius: 99px; margin-top: 2px;
}
.esc-level-body strong { display: block; font-size: .9rem; margin-bottom: 4px; }
.esc-level-body p { font-size: .82rem; color: var(--ink-mid); line-height: 1.5; }
.esc-level-body p a:hover { color: var(--primary); }
.esc-divider { height: 1px; background: var(--border); }

/* ═════════ CONTACT ═════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 18px; margin: 28px 0 32px; }
.cd-item { display: flex; align-items: flex-start; gap: 14px; }
.cd-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--primary-light); border-radius: var(--radius);
  display: grid; place-items: center; font-size: 18px;
}
.cd-item strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.cd-item p { font-size: .875rem; color: var(--ink-mid); }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  font-size: .82rem; font-weight: 700; font-family: var(--ff-head);
  padding: 8px 16px; border-radius: 99px;
  border: 1.5px solid var(--border); background: var(--white); color: var(--ink-mid);
  transition: all var(--transition);
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.contact-illustration { margin-top: 32px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }

.contact-form-wrap { position: relative; }
.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-family: var(--ff-head); font-size: 1.3rem; font-weight: 900; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: .8rem; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: var(--bg-soft);
  transition: border-color var(--transition); width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(255,107,53,.1);
}
.form-group textarea { resize: vertical; }
.form-note { font-size: .78rem; color: var(--ink-muted); text-align: center; margin-top: 10px; }
.form-success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 60px 36px;
  box-shadow: var(--shadow); gap: 12px;
}
.form-success span { font-size: 48px; }
.form-success h3 { font-family: var(--ff-head); font-size: 1.4rem; font-weight: 900; }
.form-success p { color: var(--ink-mid); }

/* FAQ */
.faq-wrap { max-width: 760px; margin: 0 auto; }

/* ═════════ FOOTER ═════════ */
.footer { background: var(--ink); color: var(--white); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo-text { color: white; }
.footer-address { font-size: .875rem; color: #94A3B8; margin-top: 14px; line-height: 1.75; }
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a { font-size: 20px; transition: transform var(--transition); }
.footer-social a:hover { transform: scale(1.2); }
.footer-col h4 {
  font-family: var(--ff-head); font-weight: 800; font-size: .9rem;
  color: var(--primary); margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: .06em;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .875rem; color: #94A3B8; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-line { margin-bottom: 8px; }
.footer-line a { font-size: .9rem; color: #E2E8F0; transition: color var(--transition); }
.footer-line a:hover { color: var(--primary); }
.footer-hours { font-size: .8rem; color: #94A3B8; margin-top: 14px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid #1E293B; padding: 20px 0;
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 8px; text-align: center;
}
.footer-bottom p { font-size: .8rem; color: #64748B; }

/* ═════════ SCROLL TOP ═════════ */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary); color: white;
  border: none; border-radius: 50%;
  font-size: 1.2rem; font-weight: 900;
  box-shadow: var(--shadow);
  display: none; align-items: center; justify-content: center;
  transition: all var(--transition); z-index: 999;
}
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
.scroll-top.visible { display: flex; }

/* ═════════ AOS ═════════ */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos][data-aos-delay="80"]  { transition-delay: 80ms; }
[data-aos][data-aos-delay="160"] { transition-delay: 160ms; }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"]  { transform: translateX(30px); }
[data-aos="fade-right"].aos-animate, [data-aos="fade-left"].aos-animate { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1; transform: none; transition: none; }
  .marquee-inner { animation: none; }
}

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1024px) {
  .courses-grid, .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .about-grid, .contact-grid, .mv-grid, .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .escalation-grid { grid-template-columns: 1fr; }
  .enroll-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .learn-grid { grid-template-columns: 1fr; }

  .hamburger { display: flex; }
  .nav-menu {
    position: fixed; top: 68px; left: 0; right: 0;
    background: white; flex-direction: column; align-items: flex-start;
    padding: 20px 24px 32px; gap: 0;
    box-shadow: var(--shadow-lg); border-top: 1px solid var(--border);
    transform: translateY(-110%); opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links { flex-direction: column; width: 100%; }
  .nav-link { width: 100%; padding: 12px 4px; font-size: 1rem; }
  .nav-actions { margin-left: 0; margin-top: 14px; width: 100%; }
  .nav-actions .btn { width: 100%; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .hero-stats { flex-direction: column; gap: 16px; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .courses-grid, .features-grid, .testimonials-grid, .footer-grid, .form-row, .team-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
