:root {
  --brand-blue: #1b55b1;
  --brand-blue-dark: #143b7a;
  --brand-orange: #f08a1a;
  --brand-orange-dark: #c46a12;
  --ink: #0f1a2b;
  --muted: #4e5e73;
  --paper: #f1f5fb;
  --card: #ffffff;
  --accent: var(--brand-blue);
  --accent-dark: var(--brand-blue-dark);
  --accent-2: var(--brand-orange);
  --deep: #0f233f;
  --line: #d9e3f2;
  --shadow: 0 18px 40px rgba(15, 34, 63, 0.16);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 40% at 12% 8%, rgba(27, 85, 177, 0.18), transparent 60%),
    radial-gradient(50% 50% at 85% 18%, rgba(240, 138, 26, 0.22), transparent 55%),
    radial-gradient(40% 60% at 75% 90%, rgba(27, 85, 177, 0.12), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

code {
  background: rgba(27, 85, 177, 0.12);
  color: var(--brand-blue-dark);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: #0f233f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(230, 239, 255, 0.9);
}

.header-contact span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.header-contact svg {
  width: 14px;
  height: 14px;
  fill: #eaf1ff;
}

.header-contact .icon-whatsapp {
  fill: #25d366;
}

.header-contact a {
  text-decoration: none;
  color: #f5f8ff;
  font-weight: 600;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-mark {
  width: auto;
  height: 52px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: none;
  box-shadow: none;
  padding: 0;
}

.brand-mark img {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: none;
}

.brand-text span {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.brand-text small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  z-index: 22;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #f3f6ff;
  position: relative;
  display: block;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #f3f6ff;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 20, 32, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 20;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(84vw, 360px);
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid rgba(217, 227, 242, 0.9);
  box-shadow: -10px 0 30px rgba(15, 34, 63, 0.2);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 21;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 18px;
  overflow-y: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mobile-drawer-header h4 {
  margin: 0;
  font-size: 1rem;
}

.menu-close {
  border: none;
  background: #f4f7ff;
  border: 1px solid rgba(217, 227, 242, 0.9);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.85rem;
}

.mobile-links {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.mobile-links a {
  text-decoration: none;
  color: var(--brand-blue-dark);
  font-weight: 600;
}

.mobile-section {
  display: grid;
  gap: 10px;
}

.mobile-section h5 {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.mobile-course {
  border: 1px solid rgba(217, 227, 242, 0.9);
  border-radius: 12px;
  padding: 10px 12px;
  background: #f9fbff;
}

.mobile-course-title {
  font-weight: 600;
  color: var(--brand-blue-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-course-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid rgba(217, 227, 242, 0.9);
  background: #fff;
  flex-shrink: 0;
}

.mobile-course-list {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--ink);
}

.mobile-course-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.mobile-course-item.is-disabled {
  color: var(--muted);
  pointer-events: none;
}

.mobile-course-item-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(217, 227, 242, 0.9);
  background: #fff;
  flex-shrink: 0;
}

.mobile-contact {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.mobile-contact a {
  text-decoration: none;
  color: var(--brand-blue-dark);
  font-weight: 600;
}

.nav-open .mobile-overlay {
  opacity: 1;
  pointer-events: auto;
}

.nav-open .mobile-drawer {
  transform: translateX(0);
}

.nav-open {
  overflow: hidden;
}

html.nav-open,
body.nav-open {
  width: 100%;
  overflow-x: hidden;
}

.mobile-bottom-nav {
  display: flex;
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: calc(8px + env(safe-area-inset-bottom));
  margin: 0;
  width: 100%;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--brand-blue);
  border-top: 1px solid rgba(27, 85, 177, 0.6);
  box-shadow: 0 -10px 24px rgba(15, 34, 63, 0.12);
  z-index: 15;
  justify-content: space-between;
  gap: 8px;
  overflow: hidden;
  max-width: 100vw;
  box-sizing: border-box;
  transform: translateZ(0);
}

.mobile-fab {
  display: grid;
  position: fixed;
  right: 16px;
  bottom: calc(94px + env(safe-area-inset-bottom));
  z-index: 9999;
  gap: 10px;
  transform: translateZ(0);
}

.fab-button {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15, 34, 63, 0.22);
}

.fab-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.fab-button.whatsapp {
  background: #25d366;
}

.fab-button.phone {
  background: var(--brand-blue);
}

.mobile-bottom-nav svg {
  width: 20px;
  height: 20px;
}

.bottom-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #eaf1ff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 10px;
  white-space: nowrap;
  flex: 1;
  text-align: center;
}

.bottom-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.bottom-link[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(230, 239, 255, 0.85);
  padding: 6px 4px;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

.nav-trigger::after {
  content: "▾";
  font-size: 0.75rem;
  margin-left: 6px;
  color: inherit;
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  right: auto;
  width: min(1080px, 92vw);
  min-width: 520px;
  max-width: none;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(217, 227, 242, 0.9);
  box-shadow: 0 22px 40px rgba(15, 34, 63, 0.18);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

@media (min-width: 1200px) {
  .dropdown {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid rgba(217, 227, 242, 0.9);
  border-top: 1px solid rgba(217, 227, 242, 0.9);
  transform: translateX(-50%) rotate(45deg);
}

.dropdown::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.dropdown-group {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(217, 227, 242, 0.9);
  border-left: 4px solid rgba(240, 138, 26, 0.7);
}

.dropdown-title {
  font-weight: 600;
  color: var(--brand-blue-dark);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: "Playfair Display", "Times New Roman", serif;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(27, 85, 177, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dropdown-title-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(217, 227, 242, 0.9);
  background: #fff;
  flex-shrink: 0;
}

.dropdown-links {
  display: grid;
  gap: 6px;
}

.dropdown a {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 4px 6px 20px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown a::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 4px;
  color: var(--brand-orange);
  font-size: 1rem;
  line-height: 1;
}

.dropdown a.has-icon {
  padding-left: 8px;
}

.dropdown a.has-icon::before {
  content: "";
}

.dropdown-course-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid rgba(217, 227, 242, 0.9);
  background: #fff;
  flex-shrink: 0;
}

.dropdown-course.is-disabled {
  color: var(--muted);
  pointer-events: none;
}

.dropdown-muted,
.dropdown-empty {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 4px 6px;
}

.dropdown a:hover {
  background: rgba(27, 85, 177, 0.06);
  color: var(--accent-dark);
  border-color: rgba(27, 85, 177, 0.15);
  transform: translateY(-1px);
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link:focus-visible {
  outline: 2px solid rgba(240, 138, 26, 0.6);
  outline-offset: 4px;
  border-radius: 6px;
}

.hero {
  padding: 24px 0 70px;
}

.hero-image-only .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.hero-image-only .hero-image {
  width: 100%;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 34, 63, 0.2);
  border: 1px solid rgba(217, 227, 242, 0.9);
}

.hero-image-only img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(217, 227, 242, 0.093);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
}

.hero-card h1 {
  margin: 0 0 10px;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(27, 85, 177, 0.2);
  background: rgba(27, 85, 177, 0.06);
  font-size: 0.85rem;
  color: var(--brand-blue-dark);
  font-weight: 600;
}

.hero-actions {
  margin-top: 18px;
}

.hero-panel {
  background: #f7f9ff;
  border-radius: 16px;
  border: 1px solid rgba(217, 227, 242, 0.9);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.hero-panel h3 {
  margin: 0;
  font-size: 1.1rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 30;
}

.modal.is-visible {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 43, 0.55);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  width: min(520px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid rgba(217, 227, 242, 0.9);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 14px;
  z-index: 1;
}

.modal-panel h3 {
  margin: 0;
  font-size: 1.4rem;
}

.modal-subtitle {
  margin: 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(217, 227, 242, 0.9);
  background: #f4f7ff;
  color: var(--brand-blue-dark);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

body.modal-open {
  overflow: hidden;
}

.section {
  padding: 60px 0;
}

.section-alt {
  background: #f7f9ff;
  border-top: 1px solid rgba(217, 227, 242, 0.8);
  border-bottom: 1px solid rgba(217, 227, 242, 0.8);
}

.contact-info {
  padding-top: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(217, 227, 242, 0.9);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 24px rgba(15, 34, 63, 0.08);
}

.contact-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--brand-blue-dark);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(27, 85, 177, 0.1);
  border: 1px solid rgba(27, 85, 177, 0.2);
  display: grid;
  place-items: center;
  color: var(--brand-blue-dark);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.category-section {
  padding: 60px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

.category-card {
  background: var(--card);
  border: 1px solid rgba(217, 227, 242, 0.9);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 12px 22px rgba(15, 34, 63, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 85, 177, 0.3);
  box-shadow: 0 16px 28px rgba(15, 34, 63, 0.12);
}

.category-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(217, 227, 242, 0.9);
  background: #ffffff;
}

.category-header-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.category-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(27, 85, 177, 0.14), rgba(240, 138, 26, 0.14));
  border: 1px solid rgba(217, 227, 242, 0.9);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

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

.category-icon span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-blue-dark);
}

.category-info h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--brand-blue-dark);
}

.category-info p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.category-courses {
  padding: 12px 18px 16px;
  display: grid;
  gap: 10px;
  background: rgba(246, 249, 255, 0.7);
}

.category-course {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink);
}

.category-course-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-course-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid rgba(217, 227, 242, 0.9);
  background: #fff;
}

.course-action {
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--brand-blue-dark);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(27, 85, 177, 0.25);
  background: #fff;
  white-space: nowrap;
}

.course-action.muted {
  color: rgba(78, 94, 115, 0.6);
  border-color: rgba(78, 94, 115, 0.2);
}

.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 0 0 10px;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-section {
  padding: 60px 0;
}

.feature-section-alt {
  background: #f7f9ff;
  border-top: 1px solid rgba(217, 227, 242, 0.8);
  border-bottom: 1px solid rgba(217, 227, 242, 0.8);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.feature-grid-reverse .feature-content {
  order: 2;
}

.feature-grid-reverse .feature-image {
  order: 1;
}

.feature-content h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.feature-content p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-blue-dark);
  background: #eef3ff;
  border: 1px solid rgba(217, 227, 242, 0.9);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 227, 242, 0.9);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--card);
  border: 1px solid rgba(217, 227, 242, 0.9);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.info-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.process-card {
  background: #ffffff;
  border: 1px solid rgba(217, 227, 242, 0.9);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 8px;
}

.process-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(27, 85, 177, 0.1);
  border: 1px solid rgba(27, 85, 177, 0.2);
  display: grid;
  place-items: center;
  color: var(--brand-blue-dark);
}

.process-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.process-step {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brand-orange);
}

.process-card h3 {
  margin: 0;
  font-size: 1rem;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  background: #ffffff;
  border: 1px dashed rgba(27, 85, 177, 0.3);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.cta-section {
  padding-bottom: 80px;
}

.cta-card {
  background: linear-gradient(120deg, var(--brand-blue), var(--brand-orange));
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
}

.cta-card h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.cta-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-button {
  background: #ffffff;
  color: var(--brand-blue-dark);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
}

.admin {
  padding: 70px 0 90px;
}

.admin-header h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.admin-header p {
  color: var(--muted);
  margin: 0 0 28px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.dashboard-card {
  background: #ffffff;
  border: 1px solid rgba(217, 227, 242, 0.9);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 8px;
  box-shadow: 0 12px 24px rgba(15, 34, 63, 0.08);
}

.dashboard-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.form-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(217, 227, 242, 0.9);
  box-shadow: var(--shadow);
  padding: 26px;
  display: grid;
  gap: 16px;
}

.form-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.inline-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}

.input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}

.input-sm {
  padding: 8px 10px;
  font-size: 0.9rem;
}

.input:focus {
  outline: 2px solid rgba(27, 85, 177, 0.25);
  border-color: rgba(27, 85, 177, 0.4);
}

.button {
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  color: #fff;
  background: var(--brand-blue);
  cursor: pointer;
  justify-self: start;
}

.button.secondary {
  background: #fff;
  color: var(--brand-blue-dark);
  border: 1px solid rgba(27, 85, 177, 0.3);
}

.button.small {
  padding: 7px 12px;
  font-size: 0.82rem;
}

.button.danger {
  background: #e14b3b;
}

.button:hover {
  filter: brightness(0.98);
}

.notice {
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.notice.success {
  background: rgba(27, 85, 177, 0.12);
  color: var(--brand-blue-dark);
}

.notice.error {
  background: rgba(240, 138, 26, 0.12);
  color: var(--brand-orange-dark);
}

.list-card {
  margin-top: 10px;
}

.course-lists {
  display: grid;
  gap: 20px;
}

.course-group {
  border-radius: 16px;
  border: 1px solid rgba(217, 227, 242, 0.9);
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(15, 34, 63, 0.08);
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(27, 85, 177, 0.2);
}

.category-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(217, 227, 242, 0.9);
  background: #fff;
}

.category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-group h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--brand-blue-dark);
}

.course-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.course-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(217, 227, 242, 0.9);
  background: #f6f9ff;
}

.course-item.has-icon {
  grid-template-columns: auto 1fr auto;
}

.course-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.course-edit {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr auto;
  gap: 10px;
  align-items: center;
}

.course-actions {
  display: flex;
  gap: 8px;
}

.field-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.pdf-link {
  font-size: 0.82rem;
  color: var(--brand-blue-dark);
  text-decoration: none;
  border-bottom: 1px dashed rgba(27, 85, 177, 0.4);
  padding-bottom: 2px;
}

.pdf-link:hover {
  color: var(--brand-blue);
  border-bottom-color: rgba(27, 85, 177, 0.8);
}

.muted {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid rgba(217, 227, 242, 0.9);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(15, 34, 63, 0.08);
  overflow: hidden;
}

.table th,
.table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(217, 227, 242, 0.8);
  vertical-align: top;
  font-size: 0.92rem;
}

.table th {
  background: #f6f9ff;
  color: var(--brand-blue-dark);
  font-weight: 600;
}

.table tr:last-child td {
  border-bottom: none;
}

.lead-message {
  display: inline-block;
  max-width: 340px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .course-item {
    grid-template-columns: 1fr;
  }

  .course-item.has-icon {
    grid-template-columns: 1fr;
  }

  .course-edit {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #0f233f, #0b1a30);
  color: #f7f1e8;
  padding: 50px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 28px;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-logo {
  width: 190px;
  max-width: 100%;
  height: auto;
}

.footer-contact {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.footer-title {
  font-weight: 600;
  margin: 0 0 12px;
}

.footer-text {
  color: rgba(247, 241, 232, 0.72);
  line-height: 1.7;
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(247, 241, 232, 0.72);
}

.footer-links a:hover {
  color: var(--brand-orange);
}

.footer-course-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-course-group {
  display: grid;
  gap: 6px;
  color: rgba(247, 241, 232, 0.72);
  font-size: 0.92rem;
}

.footer-course-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(247, 241, 232, 0.6);
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    background: #dfe5f0;
  }

  .hero {
    padding: 18px 0 44px;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .header-contact {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .page {
    padding-bottom: 72px;
  }

  .mobile-fab {
    display: grid;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .track-grid {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid-reverse .feature-content,
  .feature-grid-reverse .feature-image {
    order: initial;
  }

  .hero-image-only .hero-image {
    border-radius: 18px;
  }

  .footer-course-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .mobile-bottom-nav {
    display: none;
  }

  .mobile-fab {
    display: none !important;
  }

  .mobile-drawer,
  .mobile-overlay {
    display: none !important;
  }

  body.nav-open {
    overflow: auto;
  }
}

@media (max-width: 720px) {
  .header-inner {
    justify-content: space-between;
  }

  .brand-mark img {
    height: 44px;
  }

  .dropdown {
    left: 0;
    right: 0;
    min-width: 0;
    max-width: 92vw;
  }

  .card-grid,
  .track-grid,
  .process-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    align-items: flex-start;
  }

  .hero-image-only .hero-image {
    border-radius: 16px;
  }
}
