:root {
  --red: #ee2401;
  --teal: #0e5d71;
  --yellow: #fed429;
  --light: #f1f4f1;
  --peach: #fdb8a9;
  --dark-red: #d03b20;
  --pale-yellow: #feefa6;
  --salmon: #e77762;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #444;
  --blue: #006eff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--peach);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  box-shadow: 0 2px 20px rgba(238,36,1,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
  margin-left: auto;
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.25s;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  background: var(--red);
  color: white;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.75rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(14,93,113,0.15);
  min-width: 220px;
  padding: 8px;
  z-index: 999;
  border: 2px solid var(--peach);
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--pale-yellow) !important;
  color: var(--red) !important;
}

.dropdown-menu-brands {
  min-width: 280px;
  max-height: 70vh;
  overflow-y: auto;
}

.dropdown-brand-group + .dropdown-brand-group {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(14, 93, 113, 0.1);
}

.dropdown-brand-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
}

.dropdown-brand-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
}

.dropdown-all-link {
  margin-top: 8px;
  padding-top: 12px !important;
  border-top: 2px solid var(--peach);
  font-weight: 800 !important;
  color: var(--red) !important;
}

.brand-section {
  margin-bottom: 56px;
}

.brand-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand-section-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(14, 93, 113, 0.12);
}

.brand-section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--teal);
  margin: 0;
}

.class-brand {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.9;
  margin-top: 6px;
}

.mobile-nav-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin: 8px 0;
}

.mobile-brand-group {
  padding-left: 12px;
}

.mobile-brand-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
  margin: 8px 0 4px;
}

.mobile-course-link {
  padding-left: 12px !important;
  font-size: 0.92rem !important;
}

.nav-lang {
  margin-left: 8px;
}

.nav-lang-switch {
  display: flex;
  gap: 5px;
  align-items: center;
}

.nav-lang-link {
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nav-lang-link.is-active {
  background: var(--pale-yellow);
  font-weight: 700;
}

.nav-cta {
  background: var(--red) !important;
  color: white !important;
  font-weight: 800 !important;
}

.nav-cta:hover,
.nav-cta.active {
  background: var(--dark-red) !important;
}

.nav-cta:hover {
  transform: scale(1.05);
}

.nav-cta.active {
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--dark-red);
}

.nav-mobile-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}

.hamburger span {
  width: 26px; height: 3px;
  background: var(--red);
  border-radius: 3px;
  transition: 0.3s;
}

/* ===== PAGES ===== */
.page {
  min-height: 100vh;
  padding-top: 72px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #fff5f3 0%, #fff9e6 50%, #e8f4f7 100%);
  padding: 80px 48px 60px;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(238,36,1,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,93,113,0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--pale-yellow);
  color: var(--dark-red);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 50px;
  border: 2px solid var(--yellow);
  margin-bottom: 20px;
  animation: fadeSlideUp 0.6s ease both;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  animation: fadeSlideUp 0.6s 0.1s ease both;
}

.hero-title span { color: var(--red); }

.hero-title .teal { color: var(--teal); }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin: 20px 0 36px;
  line-height: 1.7;
  animation: fadeSlideUp 0.6s 0.2s ease both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.6s 0.3s ease both;
}

.btn-primary {
  background: var(--red);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(238,36,1,0.35);
}

.btn-primary:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(238,36,1,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2.5px solid var(--teal);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  animation: fadeSlideUp 0.6s 0.4s ease both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  animation: fadeSlideUp 0.6s 0.2s ease both;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero-card {
  background: white;
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  border: 2px solid var(--light);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  opacity: 0;
  transition: opacity 0.35s;
}

.hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.18);
  border-color: transparent;
}

.hero-card:hover::before {
  opacity: 1;
}

.hero-card.accent-red { border-color: var(--peach); background: #fff5f3; }
.hero-card.accent-yellow { border-color: var(--yellow); background: var(--pale-yellow); }
.hero-card.accent-teal { border-color: #a8d4de; background: #e8f4f7; }
.hero-card.accent-peach { border-color: var(--peach); }

.hero-card-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero-card-icon {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.8);
}

.hero-card-icon img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
}

.hero-card-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--teal);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.hero-card-sub {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===== SECTIONS COMMON ===== */
.section {
  padding: 80px 48px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--pale-yellow);
  color: var(--dark-red);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 50px;
  border: 2px solid var(--yellow);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span { color: var(--red); }

.section-subtitle {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
}

/* ===== WHY CERDASH ===== */
.why-section {
  background: linear-gradient(135deg, var(--teal) 0%, #0a4558 100%);
  padding: 80px 48px;
}

.why-section .section-title { color: white; }
.why-section .section-subtitle { color: rgba(255,255,255,0.75); }
.why-section .section-tag { background: rgba(254,212,41,0.2); border-color: var(--yellow); color: var(--yellow); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.3s;
}

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

.feature-icon {
  width: 56px; height: 56px;
  background: var(--yellow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-title {
  color: white;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== CLASSES PAGE ===== */
.page-hero {
  background: linear-gradient(135deg, #fff5f3, #feefa6);
  padding: 60px 48px 40px;
  text-align: center;
}

.page-hero-detail {
  text-align: left;
  padding: 48px 48px 56px;
  background: linear-gradient(160deg, #fff8f6 0%, #fff9e8 42%, #f2fbfb 100%);
  border-bottom: 1px solid rgba(14, 93, 113, 0.08);
}

.page-hero-detail--peach { --hero-accent: var(--peach); }
.page-hero-detail--teal { --hero-accent: var(--teal); }
.page-hero-detail--red { --hero-accent: var(--red); }
.page-hero-detail--blue { --hero-accent: #4a90d9; }
.page-hero-detail--yellow { --hero-accent: var(--yellow); }

.course-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.course-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 40px;
  align-items: start;
}

.course-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.course-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.course-meta-pill--brand {
  background: white;
  color: var(--teal);
  border: 2px solid rgba(14, 93, 113, 0.12);
}

.course-meta-pill--category {
  background: var(--hero-accent, var(--teal));
  color: white;
}

.course-meta-pill--age {
  background: white;
  color: var(--text-dark);
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.course-meta-pill-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
}

.course-hero-headline {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.course-hero-icon-wrap {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: white;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(14, 93, 113, 0.1);
}

.course-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin: 0;
  padding-top: 4px;
}

.course-hero-summary {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 58ch;
  margin: 0 0 28px;
}

.course-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.course-hero-btn-primary {
  min-width: 180px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--teal);
  text-decoration: none;
  border: 2px solid rgba(14, 93, 113, 0.18);
  background: rgba(255, 255, 255, 0.65);
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: white;
  border-color: var(--teal);
  color: var(--teal);
}

.course-hero-panel {
  background: white;
  border-radius: 24px;
  padding: 24px;
  border: 2px solid rgba(14, 93, 113, 0.08);
  box-shadow: 0 12px 40px rgba(14, 93, 113, 0.08);
  position: sticky;
  top: 88px;
}

.page-hero-detail--peach .course-hero-panel { border-top: 4px solid var(--peach); }
.page-hero-detail--teal .course-hero-panel { border-top: 4px solid var(--teal); }
.page-hero-detail--red .course-hero-panel { border-top: 4px solid var(--red); }
.page-hero-detail--blue .course-hero-panel { border-top: 4px solid #4a90d9; }
.page-hero-detail--yellow .course-hero-panel { border-top: 4px solid var(--yellow); }

.course-hero-panel-block + .course-hero-panel-block--divider {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(14, 93, 113, 0.1);
}

.course-hero-panel-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin: 0 0 14px;
}

.course-objectives-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.course-objectives-list--panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-objective-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.course-objective-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 800;
  margin-top: 2px;
}

.course-benefit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-benefit-chip {
  display: inline-block;
  padding: 7px 12px;
  background: var(--pale-yellow);
  border: 1px solid rgba(254, 212, 41, 0.45);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ===== COURSE DETAIL PAGE ===== */
.course-detail-breadcrumb {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  width: 100%;
  height: auto;
  justify-content: flex-start;
  padding: 0;
  margin-bottom: 24px;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
}

.course-detail-breadcrumb a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

.course-detail-breadcrumb a:hover {
  color: var(--red);
}

.course-detail-breadcrumb span[aria-current="page"] {
  color: var(--text-dark);
  max-width: 40ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-detail-nav {
  position: sticky;
  top: 72px;
  left: auto;
  right: auto;
  z-index: 90;
  height: auto;
  justify-content: flex-start;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(14, 93, 113, 0.1);
  border-top: none;
  box-shadow: 0 4px 20px rgba(14, 93, 113, 0.06);
}

.course-detail-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.course-detail-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  border: 2px solid rgba(14, 93, 113, 0.12);
  background: white;
  transition: all 0.2s ease;
}

.course-detail-nav-link:hover {
  border-color: var(--teal);
  background: rgba(14, 93, 113, 0.04);
}

.course-detail-nav-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  background: var(--red);
  transition: all 0.2s ease;
}

.course-detail-nav-cta:hover {
  background: var(--dark-red);
  transform: translateY(-1px);
}

.course-detail-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.course-detail-section--alt {
  background: var(--light);
}

.course-detail-section-header {
  margin-bottom: 32px;
}

.course-detail-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.course-levels-grid,
.course-schedules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.class-card--static {
  cursor: default;
}

.class-card--static:hover {
  transform: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border-color: var(--light);
}

.course-level-objectives {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 2px solid var(--light);
}

.course-level-objectives-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--teal);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.course-level-objectives-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-mid);
  font-size: 0.85rem;
  line-height: 1.6;
}

.course-level-objectives-list li {
  margin-bottom: 4px;
}

.course-schedule-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0 0 10px;
}

.course-schedule-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mid);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.course-schedule-notes {
  margin-bottom: 0;
  margin-top: 12px;
}

.course-empty-state {
  grid-column: 1 / -1;
  background: white;
  border-radius: 24px;
  border: 2px solid rgba(14, 93, 113, 0.1);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(14, 93, 113, 0.06);
}

.course-empty-state--inline {
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  flex-wrap: wrap;
  justify-content: center;
}

.course-empty-state-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.course-empty-state-content {
  flex: 1 1 240px;
  min-width: 0;
}

.course-empty-state-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--teal);
  font-size: 1.25rem;
  margin: 0 0 6px;
}

.course-empty-state-desc {
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.class-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 2px solid var(--light);
  transition: all 0.3s;
  cursor: pointer;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(238,36,1,0.12);
  border-color: var(--peach);
}

.class-card-header {
  padding: 28px 28px 20px;
  position: relative;
}

.class-card-header.red { background: linear-gradient(135deg, #fff5f3, #ffe8e3); }
.class-card-header.yellow { background: linear-gradient(135deg, var(--pale-yellow), #fff5cc); }
.class-card-header.teal { background: linear-gradient(135deg, #e8f4f7, #d0eaf2); }
.class-card-header.peach { background: linear-gradient(135deg, #fdeee9, #fdd5cb); }
.class-card-header.blue { background: linear-gradient(135deg, #e6f2ff, #cce5ff); }

.class-icon { font-size: 3rem; margin-bottom: 12px; }
.class-level {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  background: white;
  margin-bottom: 10px;
}

.class-level.red { color: var(--red); border: 2px solid var(--peach); }
.class-level.teal { color: var(--teal); border: 2px solid #a8d4de; }
.class-level.yellow { color: #a07800; border: 2px solid var(--yellow); }
.class-level.blue { color: var(--blue); border: 2px solid #99c2ff; }

.class-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-dark);
}

.class-body { padding: 20px 28px 28px; }

.class-desc {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.class-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.class-tag {
  background: var(--light);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.class-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 2px solid var(--light);
}

.class-age {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
}

.btn-sm {
  background: var(--red);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-sm:hover { background: var(--dark-red); transform: scale(1.04); }

.coming-soon-section {
  background: var(--light);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  margin-top: 40px;
  border: 3px dashed var(--peach);
}

/* ===== EVENTS PAGE ===== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.event-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 2px solid var(--light);
  transition: all 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(238,36,1,0.1);
}

.event-banner {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.event-banner.red { background: linear-gradient(135deg, #fff5f3, #fdb8a9); }
.event-banner.yellow { background: linear-gradient(135deg, var(--pale-yellow), var(--yellow)); }
.event-banner.teal { background: linear-gradient(135deg, #e8f4f7, #a8d4de); }

.event-date-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--red);
  color: white;
  border-radius: 12px;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 0.82rem;
  text-align: center;
}

.event-body { padding: 24px; }

.event-type {
  display: inline-block;
  background: var(--pale-yellow);
  color: var(--dark-red);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.event-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.event-meta span {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ===== CENTERS PAGE ===== */
.centers-intro {
  background: linear-gradient(135deg, var(--teal) 0%, #0a4558 100%);
  padding: 60px 48px;
  text-align: center;
  color: white;
}

.centers-intro .section-title { color: white; }
.centers-intro .section-subtitle { color: rgba(255,255,255,0.8); margin: 0 auto; }
.centers-intro .section-tag { background: rgba(254,212,41,0.2); border-color: var(--yellow); color: var(--yellow); }

.centers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.center-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 2px solid var(--light);
  transition: all 0.3s;
}

.center-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(14,93,113,0.12);
}

.center-map-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

.center-map-placeholder.red { background: linear-gradient(135deg, #fff5f3, var(--peach)); }
.center-map-placeholder.yellow { background: linear-gradient(135deg, var(--pale-yellow), var(--yellow)); }
.center-map-placeholder.teal { background: linear-gradient(135deg, #e8f4f7, #a8d4de); }

.center-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--teal);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
}

.center-body { padding: 24px; }

.center-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.center-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.center-info-row {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 600;
}

.center-info-row .icon { font-size: 1rem; }

.center-classes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.center-class-tag {
  background: var(--pale-yellow);
  color: var(--dark-red);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--teal) 0%, #0a4558 100%);
  border-radius: 28px;
  padding: 40px;
  color: white;
}

.contact-info-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-weight: 800;
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-btn {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.social-btn:hover {
  background: var(--yellow);
  transform: scale(1.1);
}

.contact-form-card {
  background: white;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  border: 2px solid var(--light);
}

.contact-form-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-form-card > p {
  color: var(--text-mid);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light);
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.25s;
  outline: none;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: white;
}

.form-group textarea { height: 120px; resize: vertical; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--light);
  padding: 80px 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 2px solid transparent;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: var(--peach);
  transform: translateY(-3px);
}

.stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 14px; }

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.avatar-red { background: linear-gradient(135deg, var(--red), var(--salmon)); }
.avatar-teal { background: linear-gradient(135deg, var(--teal), #1a8fa8); }
.avatar-yellow { background: linear-gradient(135deg, #d4a000, var(--yellow)); color: var(--text-dark); }

.author-name { font-weight: 800; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: var(--text-mid); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-banner h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.btn-white {
  background: white;
  color: var(--red);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
footer {
  background: var(--text-dark);
  padding: 60px 48px 28px;
  color: rgba(255,255,255,0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-classes {
  min-width: 0;
}

.footer-classes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
}

.footer-classes-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 8px;
  transition: color 0.25s;
}

.footer-classes-col a:hover {
  color: var(--yellow);
}

.footer-classes-col .footer-col-link-all {
  display: block;
  margin-top: 0;
  margin-bottom: 0;
}

.footer-brand img { height: 44px; margin-bottom: 16px; filter: brightness(10); opacity: 0.9; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--yellow); }

.footer-col-link-all {
  margin-top: 4px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.85rem; }

.footer-bottom span { color: var(--red); }

/* ===== FOOTER PARTNERS ===== */
.footer-partners {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  padding-bottom: 28px;
  margin-top: 28px;
}

.footer-partners h4 {
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-align: center;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 32px;
  max-width: 100px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.25s;
}

.partner-logos img:hover {
  opacity: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float { animation: float 3s ease-in-out infinite; }

/* ===== FORM SUCCESS ===== */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show { display: block; }

.success-icon { font-size: 4rem; margin-bottom: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1320px) {
  .nav-links a {
    padding: 8px 11px;
    font-size: 0.88rem;
  }

  .nav-lang {
    margin-left: 4px;
  }
}

@media (max-width: 1240px) {
  nav {
    padding: 0 24px;
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero { padding: 60px 24px 40px; }
  .section { padding: 60px 24px; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero, .centers-intro { padding: 40px 24px; }
  .page-hero-detail { padding: 36px 24px 44px; }
  .course-hero-layout { grid-template-columns: 1fr; gap: 28px; }
  .course-hero-panel { position: static; }
  .course-hero-headline { gap: 14px; }
  .course-hero-icon-wrap { width: 56px; height: 56px; font-size: 1.6rem; border-radius: 16px; }
  .course-hero-summary { max-width: none; font-size: 1rem; }
  .course-hero-actions { flex-direction: column; align-items: stretch; }
  .course-hero-actions .btn-primary,
  .course-hero-actions .btn-secondary,
  .course-hero-actions .btn-ghost { width: 100%; text-align: center; }
  .course-detail-nav-inner { padding: 10px 24px; }
  .course-detail-nav-cta { margin-left: 0; width: 100%; justify-content: center; }
  .course-detail-nav-link { flex: 1 1 auto; justify-content: center; }
  .course-detail-section { padding: 48px 24px; }
  .course-empty-state--inline { flex-direction: column; text-align: center; }
  .why-section { padding: 60px 24px; }
  .testimonials-section, .cta-banner { padding: 60px 24px; }
  footer { padding: 40px 24px 24px; }
}

@media (max-width: 600px) {
  .hero-card-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-classes-grid { grid-template-columns: 1fr; }
  .events-grid, .centers-grid { grid-template-columns: 1fr; }
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: white;
  padding: 16px 24px 24px;
  border-bottom: 2px solid var(--peach);
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--teal);
  font-weight: 700;
  border-radius: 12px;
  margin-bottom: 4px;
}

.mobile-nav a:hover { background: var(--light); }

.mobile-nav a.active:not(.m-cta) {
  background: var(--pale-yellow);
  color: var(--red);
}

.mobile-nav a.m-cta {
  background: var(--red);
  color: white;
  text-align: center;
  margin-top: 12px;
}

.mobile-nav a.m-cta.active {
  background: var(--dark-red);
}

.mobile-nav-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--light);
}

.mobile-nav-lang .nav-lang-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}