:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #111318;
  --muted: #657082;
  --line: #e6eaf0;
  --red: #ec1c24;
  --red-dark: #b70f16;
  --black: #050507;
  --charcoal: #171b24;
  --green: #25d366;
  --gold: #f8c14a;
  --blue: #3b82f6;
  --teal: #19b8a8;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 520px),
    var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(230, 234, 240, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(18px);
}

.nav-shell,
.section,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
}

.brand span { letter-spacing: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4d5666;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
  background: rgba(236, 28, 36, 0.07);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--ink);
}

.hero-slider {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  background: #07080c;
}

.hero-slider::before,
.page-hero::before,
.section::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.62;
  background-image:
    radial-gradient(circle, rgba(248, 193, 74, 0.62) 0 1.4px, transparent 2.6px),
    radial-gradient(circle, rgba(236, 28, 36, 0.42) 0 1.3px, transparent 2.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.35) 0 1.2px, transparent 2.4px);
  background-size: 150px 150px, 210px 210px, 280px 280px;
  background-position: 0 0, 60px 120px, 140px 40px;
  animation: sawDustFloat 18s linear infinite;
}

.section::before {
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(236, 28, 36, 0.28) 0 1.2px, transparent 2.3px),
    radial-gradient(circle, rgba(17, 19, 24, 0.18) 0 1.1px, transparent 2.2px);
  background-size: 190px 190px, 300px 300px;
}

.slide {
  position: absolute;
  inset: 0;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.96) 0%, rgba(5, 5, 7, 0.78) 42%, rgba(5, 5, 7, 0.18) 100%),
    linear-gradient(180deg, rgba(236, 28, 36, 0.16), transparent 52%);
  z-index: 1;
}

.slide-art {
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.slide.active .slide-art {
  transform: scale(1);
}

.academy-art,
.software-art,
.online-art,
.courses-hero,
.services-hero,
.about-hero,
.contact-hero {
  background-size: cover;
  background-position: center;
}

.academy-art {
  background-image:
    linear-gradient(110deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.18) 46%, rgba(0,0,0,0) 100%),
    url("assets/slider/training.png");
  background-size: cover, cover;
  background-repeat: no-repeat;
  background-position: center, center;
}

.software-art {
  background-image:
    linear-gradient(110deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.18) 46%, rgba(0,0,0,0) 100%),
    url("assets/slider/software.png");
}

.online-art {
  background-image:
    linear-gradient(110deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.18) 46%, rgba(0,0,0,0) 100%),
    url("assets/slider/online.png");
}

.slide-inner,
.slide-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  color: #fff;
}

.slide-inner {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  gap: 52px;
  padding: 76px 0 104px;
}

.slide-content {
  z-index: 6;
  max-width: 820px;
  padding: 0;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.slide-content h1,
.page-hero h1,
.section-heading h2,
.cta-content h2,
.contact-info h2,
.about-panel h2 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 600;
}

.slide-content h1 {
  font-size: clamp(2.15rem, 3.8vw, 4.15rem);
  max-width: 740px;
  line-height: 1.08;
}

.slide-content p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 1.02rem;
}

.button-row,
.contact-buttons,
.fee-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-row {
  position: relative;
  z-index: 8;
  align-items: center;
  margin-top: 32px;
}

.slide-content .button-row {
  max-width: 520px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 18px 40px rgba(236,28,36,.28);
}

.btn.primary:hover { background: var(--red-dark); }
.btn.glass { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.slide-content .btn {
  min-width: 168px;
  box-shadow: 0 18px 42px rgba(0,0,0,.26);
}
.btn.dark { color: #fff; background: var(--black); }
.btn.light { color: #fff; border-color: rgba(255,255,255,.35); }

.slider-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 46px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}

.slider-dot.active { background: var(--red); }

.hero-visual {
  display: none;
}

.screen-card {
  position: absolute;
  right: 0;
  top: 54px;
  width: min(560px, 100%);
  min-height: 380px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.035)),
    rgba(12, 16, 24, .68);
  box-shadow:
    0 38px 90px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.main-screen,
.dashboard-screen,
.class-screen {
  padding: 32px;
}

.screen-dot {
  width: 11px;
  height: 11px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
}

.screen-dot.red { background: var(--red); }
.screen-dot.gold { background: var(--gold); }
.screen-dot.teal { background: var(--teal); }

.code-line,
.lesson-lines span {
  display: block;
  height: 16px;
  margin-top: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.code-line.wide { width: 78%; margin-top: 52px; }
.code-line { width: 60%; }
.code-line.short { width: 42%; }

.progress-track {
  height: 12px;
  margin-top: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.progress-track span {
  width: 68%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.mini-card {
  position: absolute;
  min-width: 170px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.1);
  box-shadow: 0 22px 52px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
  animation: floatSoft 6.5s ease-in-out infinite;
}

.mini-card strong,
.mini-card span {
  display: block;
}

.mini-card strong {
  font-size: 1.35rem;
  line-height: 1;
}

.mini-card span {
  margin-top: 7px;
  color: rgba(255,255,255,.68);
  font-size: .85rem;
}

.top-card {
  right: 365px;
  top: 10px;
}

.bottom-card {
  right: 26px;
  bottom: 36px;
  animation-delay: 900ms;
}

.dash-header {
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--red), rgba(236,28,36,.32));
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.dash-grid span {
  height: 72px;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
}

.chart-bars {
  height: 132px;
  margin-top: 30px;
  display: flex;
  align-items: end;
  gap: 18px;
}

.chart-bars i {
  flex: 1;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--teal), rgba(25,184,168,.22));
}

.chart-bars i:nth-child(1) { height: 44%; }
.chart-bars i:nth-child(2) { height: 74%; }
.chart-bars i:nth-child(3) { height: 56%; }
.chart-bars i:nth-child(4) { height: 92%; background: linear-gradient(180deg, var(--red), rgba(236,28,36,.2)); }
.chart-bars i:nth-child(5) { height: 66%; }

.video-tile {
  height: 180px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(236,28,36,.88), rgba(248,193,74,.72)),
    #222;
}

.lesson-lines span {
  width: 78%;
  margin-top: 18px;
}

.lesson-lines span:nth-child(2) { width: 58%; }
.lesson-lines span:nth-child(3) { width: 68%; }

.class-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.class-actions i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.class-actions i:nth-child(2) { background: var(--red); }

.section { padding: 88px 0; }

.section,
.cta-band {
  position: relative;
  overflow: hidden;
}

.section > *,
.cta-band > * {
  position: relative;
  z-index: 2;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.cta-content h2,
.contact-info h2,
.about-panel h2 {
  font-size: clamp(1.7rem, 2.45vw, 2.75rem);
  line-height: 1.12;
}

.section-heading p:not(.eyebrow),
.cta-content p,
.contact-info p,
.about-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.course-preview-grid,
.course-grid,
.service-grid,
.metric-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.course-preview-grid,
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card,
.course-card,
.service-card,
.about-panel,
.contact-info,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(15,23,42,.055);
}

.feature-card,
.service-card,
.about-panel,
.contact-info,
.contact-form {
  padding: 28px;
}

.feature-card,
.course-card,
.service-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover,
.course-card:hover,
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(236,28,36,.35);
  box-shadow: var(--shadow);
}

.feature-card span,
.service-card span {
  min-width: 68px;
  max-width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 12px;
  color: #fff;
  background: var(--red);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
}

.feature-card h3,
.service-card h3,
.course-card h3 {
  margin: 20px 0 9px;
  line-height: 1.2;
  font-size: 1.24rem;
  font-weight: 600;
}

.feature-card p,
.service-card p,
.course-card p {
  margin: 0;
  color: var(--muted);
}

.dark-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(236,28,36,.16), transparent 36%),
    linear-gradient(135deg, #050507, #1b202b);
}

.dark-section .section-heading p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.dark-section h2 { color: #fff; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 42px;
}

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

.metric-grid div {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  transition: transform 260ms ease-in-out, box-shadow 260ms ease-in-out, border-color 260ms ease-in-out, background 260ms ease-in-out;
}

.metric-grid div:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 28, 36, 0.48);
  background: rgba(255,255,255,.1);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.metric-grid strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.metric-grid span { color: rgba(255,255,255,.68); }

.course-card {
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.course-media {
  position: relative;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  background-color: #111;
  background-position: center;
  isolation: isolate;
  overflow: hidden;
}

.course-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--course-image);
  background-position: center;
  background-size: cover;
  transform: scale(1);
  transition: transform 750ms ease-in-out, filter 750ms ease-in-out;
}

.course-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.66));
}

.course-card:hover .course-media::before {
  transform: scale(1.1);
  filter: saturate(1.08) contrast(1.04);
}

.course-media span {
  position: relative;
  z-index: 1;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 600;
  text-shadow: 0 8px 24px rgba(0,0,0,.28);
}

.media-frontend { --course-image: url("assets/courses/frontend-web-development.png"); }
.media-backend { --course-image: url("assets/courses/backend-development.png"); }
.media-fullstack { --course-image: url("assets/courses/full-stack-web-development.png"); }
.media-mobile { --course-image: url("assets/courses/mobile-app-development.png"); }
.media-data { --course-image: url("assets/courses/data-analysis.png"); }
.media-python { --course-image: url("assets/courses/python-programming.png"); }
.media-ai { --course-image: url("assets/courses/data-science-ai.png"); }
.media-uiux { --course-image: url("assets/courses/ui-ux-design.png"); }
.media-graphics { --course-image: url("assets/courses/graphics-design.png"); }
.media-marketing { --course-image: url("assets/courses/digital-marketing.png"); }
.media-computer { --course-image: url("assets/courses/computer-fundamentals.png"); }
.media-cyber { --course-image: url("assets/courses/cybersecurity-fundamentals.png"); }
.media-cloud { --course-image: url("assets/courses/cloud-devops-basics.png"); }

.course-theme-frontend { --course-accent: #ec1c24; }
.course-theme-backend { --course-accent: #3b82f6; }
.course-theme-fullstack { --course-accent: #c88400; }
.course-theme-mobile { --course-accent: #19b8a8; }
.course-theme-data { --course-accent: #d97706; }
.course-theme-python { --course-accent: #2563eb; }
.course-theme-ai { --course-accent: #8b5cf6; }
.course-theme-uiux { --course-accent: #ec4899; }
.course-theme-graphics { --course-accent: #f97316; }
.course-theme-marketing { --course-accent: #0f766e; }
.course-theme-computer { --course-accent: #64748b; }
.course-theme-cyber { --course-accent: #16a34a; }
.course-theme-cloud { --course-accent: #0284c7; }

.course-body { padding: 22px; }

.course-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.course-card ul {
  margin: 10px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.course-card li { margin-top: 8px; }

.course-toggle {
  min-height: 40px;
  margin-top: 16px;
  border: 1px solid color-mix(in srgb, var(--course-accent, var(--red)) 28%, transparent);
  border-radius: 10px;
  color: var(--course-accent, var(--red));
  background: color-mix(in srgb, var(--course-accent, var(--red)) 10%, white);
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.course-toggle:hover,
.course-toggle[aria-expanded="true"] {
  color: #fff;
  border-color: var(--course-accent, var(--red));
  background: var(--course-accent, var(--red));
}

.course-outline[hidden] {
  display: none;
}

.fee-actions {
  margin-top: auto;
  padding-top: 18px;
}

.fee-actions a {
  min-height: 40px;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 12px;
  color: #fff;
  background: var(--red);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.fee-actions a:last-child { background: var(--black); }

.fee-actions .enrol-now {
  background: var(--course-accent, var(--black));
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.logo-showcase {
  padding-top: 74px;
  padding-bottom: 74px;
}

.logo-showcase .eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
}

.logo-showcase .section-heading h2 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  font-weight: 500;
  line-height: 1.18;
}

.client-showcase {
  padding-top: 42px;
}

.logo-carousel {
  overflow: hidden;
  border-radius: 14px;
}

.logo-carousel:hover .logo-track,
.logo-carousel:focus-within .logo-track {
  animation-play-state: paused;
}

.logo-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: logoCarousel 18s linear infinite;
  will-change: transform;
}

.logo-card {
  flex: 0 0 calc((min(1180px, 100vw - 48px) - 54px) / 4);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15,23,42,.055);
  overflow: hidden;
}

.logo-card img,
.logo-card strong {
  transition: transform 520ms ease-in-out, filter 520ms ease-in-out;
}

.logo-card:hover img,
.logo-card:hover strong {
  transform: scale(1.12);
  filter: saturate(1.08) contrast(1.04);
}

.logo-card img {
  width: 92px;
  height: 64px;
  object-fit: contain;
}

.logo-card .partner-logo {
  width: 118px;
  height: 76px;
}

.logo-card .oracle-logo {
  width: 150px;
}

.logo-card .amazon-logo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
}

.logo-card .microsoft-logo {
  width: 138px;
}

.logo-card .nisbec-logo {
  width: 118px;
  height: 86px;
}

.logo-card .client-logo {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.logo-card span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.text-logo strong {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 20px;
  color: #fff;
  background: var(--red);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
}

@keyframes logoCarousel {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.page-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
}

.page-hero-content h1 {
  max-width: 820px;
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  line-height: 1.08;
}

.courses-hero {
  background-image: linear-gradient(90deg, rgba(5,5,7,.94) 0%, rgba(5,5,7,.7) 46%, rgba(5,5,7,.18) 100%), url("assets/page-header.png");
}

.services-hero {
  background-image: linear-gradient(90deg, rgba(5,5,7,.94) 0%, rgba(5,5,7,.7) 46%, rgba(5,5,7,.18) 100%), url("assets/page-header.png");
}

.about-hero {
  background-image: linear-gradient(90deg, rgba(5,5,7,.94) 0%, rgba(5,5,7,.7) 46%, rgba(5,5,7,.18) 100%), url("assets/page-header.png");
}

.contact-hero {
  background-image: linear-gradient(90deg, rgba(5,5,7,.94) 0%, rgba(5,5,7,.7) 46%, rgba(5,5,7,.18) 100%), url("assets/page-header.png");
}

.course-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.course-toolbar h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  line-height: 1.14;
}

.course-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #394150;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.active {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.course-card.is-hidden { display: none; }

.cta-band {
  width: min(1180px, calc(100% - 32px));
  margin-bottom: 88px;
  border-radius: 8px;
  padding: 76px 64px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 20%, rgba(248,193,74,.28), transparent 24%),
    linear-gradient(135deg, var(--red), #08090d 70%);
  box-shadow: var(--shadow);
}

.cta-content { max-width: 820px; }
.cta-content h2 { color: #fff; }
.cta-content p:not(.eyebrow) { color: rgba(255,255,255,.76); }
.cta-content .eyebrow { color: #fff; }

.split-section,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-info,
.contact-form {
  min-height: 430px;
}

.contact-buttons { margin-top: 26px; }

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2d3542;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfe;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  color: #fff;
  background: var(--green);
  font-weight: 600;
  box-shadow: 0 16px 38px rgba(37,211,102,.42);
  animation: pulseWhatsApp 2.4s ease-in-out infinite;
}

.floating-whatsapp::before {
  content: "";
  width: 30px;
  height: 30px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.35 2.13 11.7c0 1.71.46 3.38 1.33 4.85L2 22l5.6-1.42a10.2 10.2 0 0 0 4.44.99c5.46 0 9.91-4.35 9.91-9.7S17.5 2 12.04 2Zm0 17.86c-1.4 0-2.77-.35-3.98-1.02l-.29-.16-3.33.85.87-3.17-.19-.31a8.02 8.02 0 0 1-1.24-4.28c0-4.42 3.66-8.02 8.16-8.02s8.16 3.6 8.16 8.02-3.66 8.09-8.16 8.09Zm4.47-6.02c-.24-.12-1.44-.7-1.66-.78-.22-.08-.38-.12-.54.12-.16.24-.62.78-.76.94-.14.16-.28.18-.52.06-.24-.12-1.02-.37-1.94-1.18-.72-.63-1.2-1.41-1.34-1.65-.14-.24-.01-.37.11-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.27-.74-1.74-.2-.47-.39-.4-.54-.4h-.46c-.16 0-.42.06-.64.3-.22.24-.84.8-.84 1.96 0 1.16.86 2.28.98 2.44.12.16 1.69 2.52 4.1 3.53.57.24 1.02.38 1.37.49.58.18 1.1.15 1.51.09.46-.07 1.44-.58 1.64-1.14.2-.56.2-1.04.14-1.14-.06-.1-.22-.16-.46-.28Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.floating-whatsapp span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #000;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: #4b5563;
  font-weight: 600;
}

.reveal,
.stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.visible,
.stagger > *.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseWhatsApp {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.05); }
}

@keyframes sawDustFloat {
  0% {
    background-position: 0 0, 60px 120px, 140px 40px;
  }
  100% {
    background-position: 180px 260px, -120px 360px, 320px 220px;
  }
}

@keyframes floatSoft {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(-12px, 12px, 0); }
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .hero-slider { min-height: 720px; }
  .slide-inner {
    min-height: 720px;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 58px 0 96px;
  }
  .hero-visual {
    min-height: 360px;
  }
  .screen-card {
    right: 0;
    left: 0;
    top: 0;
    margin: auto;
  }
  .top-card {
    left: 0;
    right: auto;
    top: 210px;
  }
  .bottom-card {
    right: 0;
    bottom: 0;
  }
  .feature-grid,
  .course-preview-grid,
  .course-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .logo-card {
    flex-basis: calc((100vw - 66px) / 2);
  }
  .split,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .course-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .footer-inner,
  .slide-content,
  .slide-inner,
  .page-hero-content,
  .cta-band {
    width: min(100% - 24px, 1180px);
  }
  .section {
    width: min(100% - 24px, 1180px);
  }
  .slide-inner { padding: 48px 0 96px; }
  .brand span {
    max-width: 150px;
    line-height: 1.1;
  }
  .slide-content h1 { font-size: 2.1rem; }
  .hero-visual { display: none; }
  .page-hero-content h1 { font-size: 2rem; }
  .section { padding: 62px 0; }
  .section.dark-section {
    width: 100%;
    padding: 64px 24px;
  }
  .section.cta-band {
    width: calc(100% - 20px);
    padding: 56px 24px;
  }
  .cta-band .button-row {
    gap: 12px;
  }
  .metric-grid div {
    min-height: 118px;
    padding: 22px 24px;
  }
  .feature-grid,
  .course-preview-grid,
  .course-grid,
  .service-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .logo-track {
    animation-duration: 16s;
  }
  .logo-card {
    flex-basis: calc(100vw - 24px);
  }
  .button-row .btn,
  .contact-buttons .btn {
    width: 100%;
  }
  .slide-content .button-row {
    max-width: none;
  }
  .footer-inner {
    padding: 26px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links {
    flex-wrap: wrap;
  }
}
