/* ===== TOKENS ===== */
:root {
  --red: #E50914;
  --red2: #FF2E38;
  --red-glow: rgba(229,9,20,0.5);
  --bg: #050505;
  --surf: #111111;
  --surf2: #1A1A1A;
  --white: #FFFFFF;
  --muted: #A0A0A0;
  --border: rgba(255,255,255,0.07);
  --glass: rgba(17,17,17,0.7);
  --font-d: 'Barlow Condensed', sans-serif;
  --font-b: 'Barlow', sans-serif;
  --font-m: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-b);
  overflow-x: hidden;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--red); }

/* ===== NOISE OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ===== NAV ===== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, padding .4s;
}
#nav.scrolled {
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(24px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-left: 150px;
}
.nav-logo img {
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(229,9,20,0.4));
}
.nav-logo-text {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-enroll {
  padding: 10px 24px;
  background: var(--white);
  color: #000;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all .25s;
}
.nav-enroll:hover {
  background: var(--red);
  color: var(--white);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.98);
  backdrop-filter: blur(24px);
  z-index: 499;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-d);
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--red); }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050505;
}
.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 40%, rgba(229,9,20,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(229,9,20,0.05) 0%, transparent 50%);
  pointer-events: none;
}
/* Scanlines */
.hero-bg-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.04) 2px,
    rgba(0,0,0,0.04) 4px
  );
  pointer-events: none;
}

/* BG TYPOGRAPHY */
.hero-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 2; /* BELOW hero-inner (z-index:10) and robot (z-index:15) — always behind robot */
}
.hero-bg-word {
  font-family: var(--font-d);
  font-size: clamp(72px, 20vw, 340px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 9, 20, 0.5);
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  opacity: 0.5; /* exactly 50% transparency as requested */
}

/* HERO LAYOUT: 3-column */
.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 40px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  align-items: center;
  min-height: 100vh;
  gap: 0;
}

/* LEFT PANEL */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 20;
}
.hero-academy-label {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-academy-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--red);
}
h1.hero-title {
  font-family: var(--font-d);
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
h1.hero-title .line-red { color: var(--red); }
.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 36px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.btn-main {
  padding: 14px 32px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: all .25s;
  box-shadow: 0 0 30px rgba(229,9,20,0.35);
}
.btn-main:hover {
  background: var(--red2);
  box-shadow: 0 0 50px rgba(229,9,20,0.6);
  transform: translateY(-2px);
}
.btn-outline {
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  transition: all .25s;
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}
/* ===== HERO QUICK ENQUIRY FORM ===== */
.hero-form-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.hlf-student-login {
  display: block;
  margin-top: 0.5cm;
  font-family: var(--font-b);
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .2s;
}
.hlf-student-login:hover {
  color: var(--red2);
}
.hero-lead-form {
  margin-top: calc(9px - 2cm);
  padding: 26px;
  width: 100%;
  max-width: 360px;
  background: rgba(17,17,17,0.92);
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: 11px;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.hero-lead-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red2));
}
.hlf-title {
  font-family: var(--font-m);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red2);
  margin-bottom: 16px;
  font-weight: 700;
}
.hlf-row {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 11px;
}
.hero-lead-form input,
.hero-lead-form select {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--white);
  font-family: var(--font-b);
  font-size: 11px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.hero-lead-form select { color: var(--muted); appearance: none; }
.hero-lead-form select:valid { color: var(--white); }
.hero-lead-form input::placeholder { color: var(--muted); }
.hero-lead-form input:focus,
.hero-lead-form select:focus {
  border-color: var(--red);
  background: rgba(255,255,255,0.09);
}
.hlf-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 2px;
  font-size: 11px;
  padding: 13px 24px;
}
.hlf-success {
  display: none;
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.5;
  color: #4ADE80;
  font-family: var(--font-m);
}
.hlf-success.show { display: block; }
@media (max-width: 520px) {
  .hero-lead-form { max-width: 100%; padding: 24px; }
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-icon {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 15px;
  color: var(--muted);
  transition: all .25s;
}
.social-icon:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 14px rgba(229,9,20,0.35);
}
.social-label {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-m);
  letter-spacing: 0.1em;
}

/* CENTER: ROBOT */
.hero-robot-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
}

/* HACKWISE text when moved inside robot-wrap on mobile */
.hero-robot-wrap .hero-bg-word-inline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-d);
  font-size: clamp(56px, 26vw, 160px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 9, 20, 0.5);
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  opacity: 0.5;
  z-index: 1;   /* behind #robot-img which is z-index:2 */
  width: max-content;
}
.robot-glow-ring {
  position: absolute;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,9,20,0.25) 0%, transparent 70%);
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(30px);
  pointer-events: none;
}
.robot-shadow {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 30px;
  background: rgba(229,9,20,0.3);
  border-radius: 50%;
  filter: blur(22px);
  pointer-events: none;
}
#robot-img {
  width: 100%;
  max-width: 580px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 40px 80px rgba(229,9,20,0.25)) drop-shadow(0 0 40px rgba(229,9,20,0.1));
  animation: robotFloat 4s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes robotFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-14px) rotate(0.5deg); }
  75% { transform: translateY(-6px) rotate(-0.3deg); }
}

/* RIGHT PANEL: STATS */
.hero-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  z-index: 20;
}
.stat-ring {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
}
.stat-ring svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.stat-ring-track { stroke: rgba(255,255,255,0.07); fill: none; }
.stat-ring-fill {
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(229,9,20,0.8));
  transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-content {
  position: relative;
  text-align: center;
  z-index: 2;
}
.stat-num {
  font-family: var(--font-d);
  font-size: 34px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 4px;
}

/* STATS when placed inline in the LEFT column (moved from the right rail) */
.hero-stats-inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 44px;
}
.hero-stats-inline .stat-ring {
  width: 100px;
  height: 100px;
}
.hero-stats-inline .stat-num { font-size: 26px; }
.hero-stats-inline .stat-label { font-size: 8px; }
@media (max-width: 480px) {
  .hero-stats-inline { justify-content: center; }
}

.chapter {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0;
}
.chapter-bg-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.chapter-bg-word span {
  font-family: var(--font-d);
  font-size: clamp(55px, 16vw, 300px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  white-space: nowrap;
  user-select: none;
  opacity: 0.5;
}
.chapter-num {
  position: absolute;
  top: 40px; left: 40px;
  font-family: var(--font-m);
  font-size: 11px;
  color: rgba(229,9,20,0.6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.chapter-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.3;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  position: relative;
  z-index: 5;
}

/* ===== ABOUT CHAPTER ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-tag {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.chapter-title {
  font-family: var(--font-d);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.chapter-title .red { color: var(--red); }
.body-text {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 16px;
}
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.pillar {
  padding: 24px;
  background: var(--surf);
  border: 1px solid rgba(229,9,20,0.15);
  border-radius: 12px;
  transition: all .3s;
}
.pillar:hover {
  border-color: var(--red);
  background: rgba(229,9,20,0.06);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(229,9,20,0.08);
  border: 1px solid rgba(229,9,20,0.25);
  border-radius: 12px;
  color: var(--red);
  margin-bottom: 14px;
  transition: all .3s;
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar:hover .pillar-icon { background: rgba(229,9,20,0.16); border-color: var(--red); transform: scale(1.05); }
.pillar h4 {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.pillar p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* About visual */
.about-visual {
  position: relative;
}
.about-robot-mini {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(229,9,20,0.2));
  animation: robotFloat 5s ease-in-out infinite;
  animation-delay: .5s;
}
.about-robot-stats {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-robot-stats.left-stats { left: -20px; top: 30%; }
.about-robot-stats.right-stats { right: -20px; top: 20%; }
.mini-stat {
  padding: 10px 16px;
  background: rgba(11,11,11,0.9);
  border: 1px solid rgba(229,9,20,0.25);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.mini-stat .mn { font-family: var(--font-d); font-size: 22px; font-weight: 900; color: var(--red); line-height:1; }
.mini-stat .ml { font-size: 10px; color: var(--muted); font-family: var(--font-m); letter-spacing:.1em; }

/* ===== ROADMAP ===== */
.roadmap-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  padding: 40px 0;
}
.roadmap-flow::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(229,9,20,0.5), var(--red), rgba(229,9,20,0.5), transparent);
  transform: translateX(-50%);
}
.rm-node {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 32px;
}
.rm-node:nth-child(odd) { flex-direction: row; }
.rm-node:nth-child(even) { flex-direction: row-reverse; }
.rm-card {
  flex: 1;
  padding: 28px 32px;
  background: var(--glass);
  border: 1px solid rgba(229,9,20,0.18);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  transition: all .3s;
}
.rm-card:hover {
  border-color: var(--red);
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(229,9,20,0.15);
}
.rm-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--red);
  border-radius: 4px;
  font-family: var(--font-m);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.rm-card h3 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.rm-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.rm-center { width: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rm-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 20px rgba(229,9,20,0.8), 0 0 40px rgba(229,9,20,0.4);
  border: 3px solid var(--bg);
  flex-shrink: 0;
}
.rm-spacer { flex: 1; }
.rm-split {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 800px;
  padding: 24px 0;
}
.rm-split-card {
  flex: 1;
  padding: 22px;
  background: var(--glass);
  border: 1px solid rgba(229,9,20,0.18);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  text-align: center;
  transition: all .3s;
}
.rm-split-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 30px rgba(229,9,20,0.15);
  transform: translateY(-4px);
}
.rm-split-card h3 {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 8px 0 4px;
}
.rm-split-card p { font-size: 12px; color: var(--muted); }
.rm-outcome {
  width: 100%;
  max-width: 800px;
  padding: 36px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(229,9,20,0.18), rgba(229,9,20,0.04));
  border: 1px solid var(--red);
  text-align: center;
  margin-top: 24px;
}
.rm-outcome h3 {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.rm-outcome p { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ===== PROGRAM CARDS ===== */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.prog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.prog-card {
  padding: 36px;
  background: var(--glass);
  border: 1px solid rgba(229,9,20,0.15);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all .35s ease;
}
.prog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.prog-card:hover::before { transform: scaleX(1); }
.prog-card:hover {
  transform: translateY(-10px);
  border-color: rgba(229,9,20,0.4);
  box-shadow: 0 30px 80px rgba(229,9,20,0.15);
}
.prog-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--red);
  border-radius: 4px;
  font-family: var(--font-m);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.prog-name {
  font-family: var(--font-d);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.prog-full { font-size: 12px; color: var(--muted); margin-bottom: 16px; font-style: italic; }
.prog-dur {
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--red);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 6px;
}
.topics-wrap { margin-bottom: 24px; }
.topics-label {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.topic {
  padding: 3px 9px;
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  color: var(--muted);
  transition: all .2s;
}
.topic:hover { border-color: var(--red); color: var(--white); }
.prog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.proj-count { font-family: var(--font-m); font-size: 12px; color: var(--muted); }
.proj-count strong { color: var(--red); font-size: 20px; }

/* ===== PROGRAMS SLIDER ===== */
.prog-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.prog-slider {
  flex: 1;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}
.prog-slider::-webkit-scrollbar { height: 5px; }
.prog-slider::-webkit-scrollbar-track { background: var(--surf2); border-radius: 3px; }
.prog-slider::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
.prog-slider .prog-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.prog-view-btn { margin-top: 14px; width: 100%; text-align: center; }
.prog-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surf2);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.prog-nav:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(229,9,20,0.4);
}
.prog-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.prog-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s;
}
.prog-dot.active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 700px) {
  .prog-slider .prog-card { flex-basis: 280px; }
  .prog-nav { width: 40px; height: 40px; font-size: 17px; }
}

/* ===== LIVE EVENTS — 3D CUBOID CAROUSEL ===== */
.events-cuboid-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.cuboid-stage {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 420px;
  perspective: 1600px;
}
.cuboid {
  position: absolute;
  top: 50%; left: 50%;
  width: 260px;
  height: 360px;
  margin: -180px 0 0 -130px;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.65,0,0.35,1);
}
.cuboid.is-paused-init { transition: none; }
.cuboid-face {
  position: absolute;
  inset: 0;
  width: 260px;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  backface-visibility: hidden;
  background: linear-gradient(160deg, var(--surf2) 0%, var(--surf) 70%);
  border: 1px solid rgba(229,9,20,0.35);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
}
.poster-top {
  position: relative;
  height: 42%;
  background: linear-gradient(135deg, var(--red) 0%, #7a050c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.poster-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 14px);
}
.poster-icon {
  width: 46px;
  height: 46px;
  color: rgba(255,255,255,0.92);
  position: relative;
  z-index: 2;
}
.poster-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 4px 9px;
  border-radius: 20px;
  z-index: 3;
}
.poster-body {
  flex: 1;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
}
.poster-date {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--red2);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.poster-title {
  font-family: var(--font-d);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.poster-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  flex: 1;
}
.poster-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  transition: color .2s;
}
.poster-link:hover { color: var(--red2); }
.cuboid-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surf2);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.cuboid-nav:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(229,9,20,0.4);
}
.cuboid-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.cuboid-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s;
}
.cuboid-dot.active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 700px) {
  .cuboid-stage { height: 360px; max-width: 100%; }
  .cuboid { width: 220px; height: 300px; margin: -150px 0 0 -110px; }
  .cuboid-face { width: 220px; height: 300px; }
  .poster-title { font-size: 20px; }
  .cuboid-nav { width: 40px; height: 40px; font-size: 15px; }
  .events-cuboid-wrap { gap: 12px; }
}

/* ===== LABS SECTION ===== */
.labs-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.labs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lab-card {
  padding: 18px;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all .25s;
  cursor: default;
}
.lab-card:hover {
  border-color: var(--red);
  background: rgba(229,9,20,0.06);
  transform: translateX(4px);
}
.lab-card .lico {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.lab-card .lico svg { width: 100%; height: 100%; }
.lab-card span { font-size: 13px; font-weight: 600; }
.lab-features { display: flex; flex-direction: column; gap: 24px; }
.lab-feat {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.lab-feat-ico {
  width: 50px; height: 50px;
  background: rgba(229,9,20,0.1);
  border: 1px solid rgba(229,9,20,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.lab-feat-ico svg { width: 24px; height: 24px; }
.lab-feat-txt h4 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.lab-feat-txt p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ===== CERTS RADIAL ===== */
.certs-radial {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 60px auto 0;
}
.cert-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--surf);
  border: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(229,9,20,0.4), 0 0 60px rgba(229,9,20,0.15);
  z-index: 10;
}
.cert-center img {
  width: 80px;
  object-fit: contain;
}
.cert-orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(229,9,20,0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 30s linear infinite;
}
.cert-orbit-2 { animation-direction: reverse; animation-duration: 20s; }
@keyframes orbitSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.cert-planet {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--surf);
  border: 1px solid rgba(229,9,20,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  box-shadow: 0 0 15px rgba(229,9,20,0.2);
  animation: counterRotate 30s linear infinite;
  transition: all .25s;
  cursor: default;
}
.cert-planet:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red2);
  box-shadow: 0 0 25px rgba(229,9,20,0.6);
}
.cert-orbit-2 .cert-planet { animation-duration: 20s; animation-direction: reverse; }
@keyframes counterRotate { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

.cert-vendors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 48px;
}
.cert-vendor-tag {
  padding: 8px 20px;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all .25s;
}
.cert-vendor-tag:hover { border-color: var(--red); color: var(--white); background: rgba(229,9,20,0.08); }

/* ===== CAREER TIMELINE ===== */
.career-timeline {
  position: relative;
  padding-left: 48px;
  margin-top: 48px;
}
.career-timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), rgba(229,9,20,0.1));
}
.career-step {
  position: relative;
  padding: 0 0 44px 40px;
}
.career-step::before {
  content: '';
  position: absolute;
  left: -4px; top: 6px;
  width: 14px; height: 14px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(229,9,20,0.7);
}
.career-step h4 {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.career-step p { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 500px; }

/* ===== COMMUNITY ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.comm-card {
  padding: 36px 28px;
  background: var(--glass);
  border: 1px solid rgba(229,9,20,0.12);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  text-align: center;
  transition: all .3s;
}
.comm-card:hover {
  border-color: var(--red);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(229,9,20,0.12);
}
.comm-icon { margin-bottom: 16px; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: rgba(229,9,20,0.08); border: 1px solid rgba(229,9,20,0.2); border-radius: 14px; color: var(--red); transition: all .3s; }
.comm-card:hover .comm-icon { background: rgba(229,9,20,0.16); border-color: var(--red); transform: scale(1.05); }
.comm-icon svg { width: 26px; height: 26px; }
.comm-card h4 {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.comm-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ===== CONTACT CHAPTER ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-robot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-robot img {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 20px 60px rgba(229,9,20,0.3));
  animation: robotFloat 4s ease-in-out infinite;
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.ci {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-icon {
  width: 44px; height: 44px;
  background: rgba(229,9,20,0.1);
  border: 1px solid rgba(229,9,20,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ci-text h5 { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-family: var(--font-m); margin-bottom: 4px; }
.ci-text a, .ci-text p { color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; display: block; }
.ci-text a:hover { color: var(--red); }

/* CONTACT FORM */
.cf { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf label { font-size: 10px; font-family: var(--font-m); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.cf input, .cf select, .cf textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-b);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.cf input:focus, .cf select:focus, .cf textarea:focus { border-color: var(--red); }
.cf select option { background: #111; }
.cf textarea { resize: vertical; min-height: 110px; }
.cf-success {
  display: none;
  padding: 14px;
  background: rgba(39,201,63,0.1);
  border: 1px solid rgba(39,201,63,0.3);
  border-radius: 8px;
  color: #4ade80;
  font-size: 14px;
  text-align: center;
}
.map-card {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(15,15,15,0.9);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    font-weight: 600;
    transition: 0.3s;
}

.map-btn:hover {
    background: #f70d1a;
    border-color: #f70d1a;
}

/* ===== FOOTER ===== */
#footer {
  background: #0A0A0A;
  border-top: 1px solid var(--border);
  padding: 64px 40px 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.foot-logo { margin-bottom: 16px; }
.foot-logo img { height: 44px; object-fit: contain; }
.foot-desc { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; max-width: 280px; }
.foot-socials { display: flex; gap: 10px; }
.fsoc {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surf);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  transition: all .25s;
}
.fsoc:hover { border-color: var(--red); color: var(--red); background: rgba(229,9,20,0.08); }
.foot-col h5 {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col ul li a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.foot-col ul li a:hover { color: var(--white); }
.foot-nl { display: flex; gap: 8px; margin-top: 8px; }
.foot-nl input {
  flex: 1; padding: 10px 14px; background: var(--surf2); border: 1px solid var(--border);
  border-radius: 6px; color: var(--white); font-size: 13px; outline: none; transition: border-color .2s;
}
.foot-nl input:focus { border-color: var(--red); }
.foot-nl button {
  padding: 10px 16px; background: var(--red); border: none; border-radius: 6px;
  color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; transition: all .25s;
}
.foot-nl button:hover { background: var(--red2); }
.foot-bottom {
  max-width: 1280px; margin: 24px auto 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.foot-bottom p { font-size: 12px; color: var(--muted); }
.foot-tagline { font-family: var(--font-m); font-size: 12px; color: var(--red); letter-spacing: .1em; }

/* ===== WHATSAPP ===== */
#wa { position: fixed; bottom: 28px; right: 28px; z-index: 800; }
.wa-fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  font-size: 26px;
  transition: transform .25s;
  animation: floatWa 3s ease-in-out infinite;
}
.wa-fab:hover { transform: scale(1.1); }
@keyframes floatWa { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.wa-popup {
  position: absolute; bottom: 70px; right: 0; width: 300px;
  background: var(--surf);
  border: 1px solid rgba(229,9,20,0.2);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(16px) scale(.95);
  pointer-events: none; transition: all .3s ease;
  transform-origin: bottom right;
}
.wa-popup.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.wa-head { background: #075E54; padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.wa-av { width: 40px; height: 40px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.wa-head-info h5 { font-size: 14px; font-weight: 700; color: #fff; }
.wa-head-info p { font-size: 11px; color: rgba(255,255,255,.7); }
.wa-body { padding: 18px; }
.wa-bubble { background: #1F2C34; border-radius: 10px 10px 10px 0; padding: 12px 14px; margin-bottom: 14px; }
.wa-bubble p { font-size: 13px; color: #E9EBF0; }
.wa-bubble .wt { font-size: 10px; color: #8696A0; margin-top: 4px; }
.wa-opts { display: flex; flex-direction: column; gap: 8px; }
.wa-opt {
  padding: 10px 14px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(37,211,102,0.2); border-radius: 8px;
  font-size: 13px; color: #25D366; cursor: pointer;
  text-decoration: none; display: block; text-align: center;
  font-weight: 500; transition: all .2s;
}
.wa-opt:hover { background: rgba(37,211,102,0.1); border-color: #25D366; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.up { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .8s ease, transform .8s ease; }
.reveal-left.up { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal-right.up { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .8s ease, transform .8s ease; }
.reveal-scale.up { opacity: 1; transform: scale(1); }

/* delay helpers */
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }

/* ===== STICKY MOBILE BOTTOM BAR ===== */
#mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 600;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(5,5,5,0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  gap: 10px;
}
#mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 13px 8px;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: all .2s;
}
#mobile-cta .mcta-enroll { background: var(--red); color: #fff; box-shadow: 0 0 20px rgba(229,9,20,0.4); }
#mobile-cta .mcta-call { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); }

/* ===== RESPONSIVE – LAPTOP (≤1280px) ===== */
@media (max-width: 1280px) {
  .nav-logo { margin-left: 60px; }
  .hero-inner { max-width: 100%; padding: 100px 32px 60px; }
  .container { padding: 0 32px; }
}

/* ===== RESPONSIVE – TABLET LANDSCAPE / SMALL LAPTOP (≤1100px) ===== */
@media (max-width: 1100px) {
  .nav-logo { margin-left: 0; }
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    padding: 100px 28px 60px;
    gap: 24px;
  }
  .hero-form-col { grid-column: 1 / -1; margin-top: 8px; }
  .hero-lead-form { max-width: 360px; margin: 0 auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .prog-grid-3 { grid-template-columns: 1fr 1fr; }
  .certs-radial { width: 380px; height: 380px; }
  .about-grid { gap: 40px; }
  .about-robot-stats.left-stats { left: -10px; }
  .about-robot-stats.right-stats { right: -10px; }
  .contact-layout { gap: 40px; }
}

/* ===== RESPONSIVE – TABLET PORTRAIT (≤860px) ===== */
@media (max-width: 860px) {
  /* Nav */
  .nav-links, .nav-enroll { display: none; }
  .hamburger { display: flex; }
  #nav { padding: 18px 28px; }
  #nav.scrolled { padding: 14px 28px; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 130px 28px 60px;
    text-align: center;
  }
  .hero-left { align-items: center; }
  .hero-academy-label { justify-content: center; }
  .hero-desc { max-width: 560px; margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats-inline { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-form-col { grid-column: auto; }
  .hero-robot-wrap { order: -1; }
  #robot-img { max-width: 300px; }
  /* Hero HACKWISE bg text: visible, 50% opacity, behind robot on mobile */
  .hero-bg-text { display: flex; z-index: 2; }
  .hero-bg-word { font-size: clamp(60px, 22vw, 180px); opacity: 0.5; }

  /* Sections */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: flex; justify-content: center; }
  .about-robot-mini { max-width: 300px; }
  .about-robot-stats { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; }

  /* Programs */
  .prog-grid { grid-template-columns: 1fr 1fr; }
  .prog-grid-3 { grid-template-columns: 1fr; }

  /* Labs */
  .labs-showcase { grid-template-columns: 1fr; gap: 32px; }
  .labs-grid { grid-template-columns: repeat(2, 1fr); }

  /* Certs */
  .certs-radial { width: 300px; height: 300px; }

  /* Community */
  .community-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 0; }
  .contact-robot { display: none; }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* Roadmap */
  .rm-node:nth-child(even) { flex-direction: row; }
  .rm-spacer { display: none; }
  .rm-split { flex-direction: column; gap: 12px; }
  .rm-card { padding: 22px 20px; }
}

/* ===== RESPONSIVE – MOBILE (≤600px) ===== */
@media (max-width: 600px) {
  /* Nav */
  #nav { padding: 14px 16px; }
  #nav.scrolled { padding: 12px 16px; }
  .nav-logo-text { font-size: 17px; }
  .nav-logo img { height: 38px; }

  /* Mobile nav font */
  .mobile-nav a { font-size: 28px; }

  /* Layout */
  .container { padding: 0 16px; }
  .chapter { padding: 72px 0; }
  .chapter-num { left: 16px; top: 28px; }

  /* Hero */
  .hero-inner { padding: 110px 16px 48px; gap: 28px; }
  h1.hero-title { font-size: clamp(38px, 10vw, 54px); }
  .hero-desc { font-size: 14px; }
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-buttons .btn-main,
  .hero-buttons .btn-outline { text-align: center; justify-content: center; padding: 14px 24px; }
  #robot-img { max-width: 240px; }

  /* About */
  .pillars { grid-template-columns: 1fr; gap: 12px; }
  .pillar { padding: 18px; }

  /* Programs */
  .prog-grid { grid-template-columns: 1fr; gap: 16px; }
  .prog-grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .prog-card { padding: 24px 20px; }

  /* Labs */
  .labs-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lab-card { padding: 12px; gap: 8px; }
  .lab-card span { font-size: 11px; }

  /* Certs */
  .certs-radial { width: 230px; height: 230px; margin-top: 32px; }
  .cert-center { width: 90px; height: 90px; }
  .cert-center img { width: 56px; }
  .cert-planet { width: 44px; height: 44px; font-size: 9px; }
  .cert-vendors-row { gap: 8px; margin-top: 28px; }
  .cert-vendor-tag { font-size: 11px; padding: 6px 12px; }

  /* Community */
  .community-grid { grid-template-columns: 1fr; gap: 12px; }
  .comm-card { padding: 28px 20px; }

  /* Chapter titles */
  .chapter-title { font-size: clamp(34px, 9vw, 52px); }
  .chapter-bg-word span { font-size: clamp(60px, 24vw, 220px); opacity: 0.5; }

  /* Contact form */
  .cf-row { grid-template-columns: 1fr; }
  .cf input, .cf select, .cf textarea { font-size: 16px; /* prevent iOS zoom */ }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  #footer { padding: 44px 16px 24px; }
  .foot-nl { flex-direction: column; gap: 10px; }
  .foot-nl input, .foot-nl button { width: 100%; }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }

  /* WhatsApp */
  #wa { bottom: 16px; right: 14px; }
  .wa-popup { width: calc(100vw - 28px); right: -4px; bottom: 68px; }
  .wa-fab { width: 52px; height: 52px; font-size: 22px; }

  /* Roadmap */
  .roadmap-flow::before { left: 18px; }
  .rm-node { padding: 16px 0; gap: 16px; }
  .rm-card { padding: 18px 16px; }
  .rm-card h3 { font-size: 17px; }
  .rm-outcome { padding: 24px 16px; }
  .rm-split-card { padding: 16px; }

  /* Career */
  .career-timeline { padding-left: 32px; }
  .career-step h4 { font-size: 17px; }
}

/* ===== RESPONSIVE – SMALL MOBILE (≤390px) ===== */
@media (max-width: 390px) {
  h1.hero-title { font-size: 34px; }
  .chapter-title { font-size: 30px; }
  .hero-buttons .btn-main,
  .hero-buttons .btn-outline { font-size: 12px; padding: 13px 18px; }
  #robot-img { max-width: 200px; }
  .certs-radial { width: 200px; height: 200px; }
}

/* ===== TOUCH DEVICE ENHANCEMENTS ===== */
@media (hover: none) and (pointer: coarse) {
  /* Make tap targets bigger on touch screens */
  .nav-links a { padding: 8px 0; }
  .btn-main, .btn-outline { padding: 16px 28px; }
  .wa-opt { padding: 14px 16px; }
  .social-icon { width: 46px; height: 46px; }
  .fsoc { width: 44px; height: 44px; font-size: 18px; }
  .topic { padding: 6px 12px; font-size: 12px; }

  /* Remove hover transforms that feel broken on touch */
  .prog-card:hover { transform: none; }
  .pillar:hover { transform: none; }
  .comm-card:hover { transform: none; }
  .rm-card:hover { transform: none; }
  .rm-split-card:hover { transform: none; }
  .lab-card:hover { transform: translateX(0); }
  .cert-vendor-tag:hover { background: var(--surf); color: var(--muted); border-color: var(--border); }

  /* Active states instead */
  .prog-card:active { border-color: rgba(229,9,20,0.5); box-shadow: 0 10px 40px rgba(229,9,20,0.15); }
  .btn-main:active { background: var(--red2); transform: scale(0.97); }
  .btn-outline:active { border-color: var(--red); color: var(--red); }
  .wa-opt:active { background: rgba(37,211,102,0.12); }
}

/* ===== REAL BRAND SVG ICONS ===== */
.icon-svg {
  width: 18px; height: 18px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}
.social-icon .icon-svg { width: 17px; height: 17px; }
.fsoc .icon-svg { width: 18px; height: 18px; }
.ci-icon .icon-svg { width: 22px; height: 22px; }
.wa-fab .icon-svg { width: 28px; height: 28px; fill: #fff; }
.wa-av .icon-svg { width: 22px; height: 22px; fill: #fff; }
.mobile-cta-icon { width: 16px; height: 16px; display: inline-block; vertical-align: middle; margin-right: 5px; fill: currentColor; }

/* ===== TOOLS SLIDER (auto-scrolling belt of tool logos) ===== */
.tools-section { padding: 90px 0; min-height: auto; }
.tools-slider {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.tools-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: toolsScroll 30s linear infinite;
}
.tools-track.tools-track-reverse {
  animation-direction: reverse;
}
.tools-slider:hover .tools-track { animation-play-state: paused; }
.tools-row + .tools-row { margin-top: 20px; }
@keyframes toolsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tool-slot {
  flex: 0 0 auto;
  width: 3cm;
  height: 2cm;
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  position: relative;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.tool-slot:hover {
  border-color: rgba(229,9,20,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(229,9,20,0.15);
}
.tool-slot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.75;
  transition: filter .25s, opacity .25s;
}
.tool-slot:hover img { filter: none; opacity: 1; }
.tool-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.3;
  padding: 4px;
}
.tool-slot:hover .tool-fallback { color: var(--white); }
@media (max-width: 600px) {
  .tools-section { padding: 60px 0; }
  .tool-slot { width: 2.6cm; height: 1.8cm; }
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
}
.faq-item {
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item[open] {
  border-color: rgba(229,9,20,0.4);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-b);
  font-size: 18px;
  color: var(--red);
  transition: transform .3s, background .25s;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.faq-answer {
  padding: 0 24px 22px;
  font-family: var(--font-b);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
@media (max-width: 600px) {
  .faq-item summary { padding: 16px 18px; font-size: 14px; }
  .faq-answer { padding: 0 18px 18px; font-size: 13px; }
}

/* ===== NAV: PROGRAMS DROPDOWN ===== */
.nav-has-dropdown { position: relative; }
.nav-has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid rgba(255,255,255,0.5);
  border-bottom: 1.5px solid rgba(255,255,255,0.5);
  transform: rotate(45deg) translateY(-2px);
  transition: border-color .2s;
}
.nav-has-dropdown:hover > a::after { border-color: var(--red); }
.nav-dropdown {
  list-style: none;
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  background: var(--glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  border-radius: 8px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 50;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 5px;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-dropdown li a:hover {
  background: rgba(229,9,20,0.12);
  color: var(--white);
}
