:root {
  --navy: #050f54;
  --blue: #0f8cfa;
  --blue-strong: #003dff;
  --ink: #050816;
  --paper: #ffffff;
  --soft: #f4f8ff;
  --line: #dbe5ff;
  --muted: #526078;
  --green: #a3ff00;
  --green-dark: #6eb800;
  --red: #ff2e30;
  --purple: #9433eb;
  --shadow: 0 18px 45px rgba(5, 15, 84, 0.13);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

p {
  color: var(--muted);
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--green);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
}

.Nivelet {
  width: calc(100% - 40px);
  max-width: 900px;
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-tight {
  padding: 68px 0;
}

.section-blue {
  background:
    radial-gradient(circle at 8% 12%, rgba(163, 255, 0, 0.18), transparent 20%),
    linear-gradient(135deg, #eaf7ff 0%, #d9efff 58%, #f2fbff 100%);
}

.section-dark {
  background:
    radial-gradient(circle at 15% 25%, rgba(15, 140, 250, 0.28), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(163, 255, 0, 0.18), transparent 24%),
    var(--navy);
  color: var(--paper);
}

.section-dark p,
.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head.centered {
  display: block;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

/*
.eyebrow::before {
  content: "";
  width: 24px;
  height: 4px;
  border-radius: 0;
  background: var(--green);
  box-shadow: 12px 7px 0 var(--red);
}
*/

.section-title {
  max-width: 760px;
  color: var(--navy);
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 900;
}

.section-dark .section-title,
.hero .section-title {
  color: var(--paper);
}

.section-copy {
  max-width: 650px;
  font-size: 1.05rem;
}

.stack {
  display: grid;
  gap: 18px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(5, 15, 84, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand img {
  width: 164px;
  height: auto;
}

.brand-fallback {
  display: none;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.05;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #172148;
  font-size: 0.94rem;
  font-weight: 760;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: rgba(15, 140, 250, 0.11);
  color: var(--blue-strong) !important;
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--paper) !important;
  padding: 10px 16px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(15, 140, 250, 0.24);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue-strong);
  color: #172148 !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 8% 20%, rgba(15, 140, 250, 0.16), transparent 22%),
    radial-gradient(circle at 92% 80%, rgba(148, 51, 235, 0.18), transparent 24%),
    linear-gradient(135deg, #050f54 0%, #0d1b63 52%, #1d2b72 100%);
}

.hero-home {
  --hero-image: url("../images/lab-student-2.jpg");
}

.hero-about {
  --hero-image: url("../images/classroom-hero.webp");
}

.hero-curriculum {
  --hero-image: url("../images/lab-student-3.jpg");
}

.hero-activities {
  --hero-image: url("../images/activity-ai.jpg");
}

.hero-success {
  --hero-image: url("../images/activity-event.jpg");
}

.hero-register {
  --hero-image: url("../images/lab-student-2.jpg");
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.55;
}

.hero::after {
  z-index: -1;
  inset: auto auto 56px 7%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  gap: 58px;
  align-items: center;
  padding: 92px 0 88px;
}

.hero-content {
  width: 100%;
  min-width: 0;
  max-width: 660px;
}

.hero h1 {
  font-size: 4.1rem;
  line-height: 0.98;
  font-weight: 950;
}

.accent-text {
  color: var(--blue);
}

.hero p {
  max-width: 650px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.2rem;
}

.hero-visual {
  position: relative;
  align-self: center;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
}

.visual-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: var(--radius);
  padding: 8px 12px;
  background: var(--green);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
}

.visual-pill.top {
  top: 16px;
  right: 16px;
}

.visual-pill.bottom {
  left: 16px;
  bottom: 16px;
  background: var(--blue);
  color: var(--paper);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--paper);
  box-shadow: 0 16px 32px rgba(15, 140, 250, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-strong);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
}

.button-light {
  border-color: var(--line);
  background: var(--paper);
  color: var(--navy);
}

.button-dark {
  background: var(--navy);
  color: var(--paper);
}

.button-whatsapp {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(110, 184, 0, 0.22);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: #8ee500;
}

.hero-badges,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges {
  margin-top: 36px;
}

.badge,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 0.86rem;
  font-weight: 820;
}

.badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.chip {
  background: var(--soft);
  color: var(--navy);
}

.chip.blue {
  background: rgba(15, 140, 250, 0.12);
  color: var(--blue-strong);
}

.chip.green {
  background: rgba(163, 255, 0, 0.35);
}

.chip.red {
  background: rgba(255, 46, 48, 0.11);
  color: #bc1014;
}

.chip.purple {
  background: rgba(148, 51, 235, 0.13);
  color: #6f22bf;
}

.hero-code {
  display: none;
  position: absolute;
  right: 6%;
  bottom: 42px;
  gap: 8px;
  width: 210px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 15, 84, 0.58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-code span {
  display: block;
  height: 8px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.26);
}

.hero-code span:nth-child(2) {
  width: 72%;
  background: var(--green);
}

.hero-code span:nth-child(3) {
  width: 54%;
  background: var(--blue);
}

.hero-code span:nth-child(4) {
  width: 86%;
  background: var(--red);
}

.marquee {
  --ribbon-angle: -3.6deg;
  --ribbon-height: clamp(84px, 9vw, 132px);
  --ribbon-box: calc(var(--ribbon-height) + clamp(40px, 4vw, 64px));
  --ribbon-overlap-top: clamp(64px, 5.8vw, 108px);
  --ribbon-overlap-bottom: clamp(38px, 4.5vw, 68px);
  --ribbon-bleed: clamp(42vw, 50vw, 58vw);
  --ribbon-text: clamp(1.16rem, 3.1vw, 2.8rem);
  --ribbon-item-pad: clamp(20px, 3.5vw, 46px);
  position: relative;
  overflow: visible;
  z-index: 4;
  height: var(--ribbon-box);
  margin: calc(var(--ribbon-overlap-top) * -1) 0 calc(var(--ribbon-overlap-bottom) * -1);
  background: transparent;
  color: var(--paper);
  border: 0;
}

.marquee::before {
  content: none;
}

.marquee-lane {
  position: absolute;
  z-index: 0;
  left: calc(var(--ribbon-bleed) * -1);
  right: calc(var(--ribbon-bleed) * -1);
  top: 50%;
  height: var(--ribbon-height);
  background-color: #cf000a;
  background-image: linear-gradient(90deg, #05cf38 0%, #05cf38 24%, #0f8cfa 42%, #9433eb 58%, #cf000a 76%, #cf000a 100%);
  transform: translateY(-50%) rotate(var(--ribbon-angle));
  transform-origin: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.marquee-track {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
  padding: 0;
  animation: marquee 24s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  min-height: calc(var(--ribbon-height) * 0.58);
  padding: 0 var(--ribbon-item-pad);
  border-left: 4px solid rgba(255, 255, 255, 0.72);
  color: var(--paper);
  font-size: var(--ribbon-text);
  font-style: italic;
  font-weight: 950;
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(5, 15, 84, 0.42);
  transform: skew(-7deg);
  white-space: nowrap;
}

/*
.marquee span::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-right: 22px;
  background: var(--green);
  box-shadow: 16px 0 0 var(--red);
  transform: skew(7deg);
}
*/

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(5, 15, 84, 0.08);
  overflow: hidden;
}

.card-pad {
  padding: 24px;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card,
.program-card,
.path-card,
.activity-card,
.achievement-card,
.project-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.path-card {
  position: relative;
  display: grid;
  min-height: 360px;
  padding: 30px;
  border-radius: var(--radius);
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 12%, rgba(15, 140, 250, 0.3), transparent 24%),
    linear-gradient(135deg, #06105a 0%, #071768 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.path-card::before {
  position: absolute;
  top: 24px;
  right: 24px;
  content: attr(data-level);
  color: rgba(255, 255, 255, 0.1);
  font-size: 5.5rem;
  line-height: 0.85;
  font-weight: 950;
}

.path-card > .chip {
  margin: 0 0 34px;
  width: max-content;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
  color: var(--paper);
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 950;
}

.path-card h3 {
  margin-top: auto;
  font-size: 1.7rem;
  line-height: 1.08;
  font-weight: 900;
}

.path-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.path-card ul,
.clean-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.path-card li,
.clean-list li {
  position: relative;
  padding-left: 22px;
  color: inherit;
}

.path-card li + li,
.clean-list li + li {
  margin-top: 8px;
}

.path-card li::before,
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  background: var(--green);
}

.path-card:nth-child(2) {
  background:
    radial-gradient(circle at 82% 12%, rgba(148, 51, 235, 0.4), transparent 25%),
    linear-gradient(135deg, #160640 0%, #4b0a7d 100%);
}

.path-card:nth-child(3) {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 46, 48, 0.42), transparent 25%),
    linear-gradient(135deg, #280101 0%, #860000 100%);
}

.program-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.program-card .media {
  aspect-ratio: 16 / 10;
  background: var(--navy);
  overflow: hidden;
}

.program-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy), var(--blue-strong));
  background-size: 32px 32px, 32px 32px, auto;
}

.program-visual::before,
.program-visual::after {
  content: none;
}

.program-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
}

.program-icon svg {
  width: 88px;
  height: 88px;
  fill: none;
  stroke: var(--paper);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
  filter: drop-shadow(0 12px 20px rgba(5, 15, 84, 0.26));
}

.program-tag {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--navy);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 950;
}

.theme-logic .program-visual {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #061468 0%, #0f8cfa 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

.theme-web .program-visual,
.theme-code .program-visual,
.theme-ai .program-visual {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #061468 0%, #0f8cfa 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

.program-card .body {
  padding: 22px;
}

.program-card h3,
.activity-card h3,
.achievement-card h3,
.project-card h3,
.info-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.18;
  font-weight: 900;
}

.program-card p,
.activity-card p,
.achievement-card p,
.project-card p,
.info-card p {
  margin-top: 10px;
}

.achievement-subtitle {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--blue-strong);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.35;
}

.achievement-subtitle span {
  display: block;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.stat {
  padding: 30px 22px;
  background: rgba(5, 15, 84, 0.5);
}

.stat strong {
  display: block;
  color: var(--green);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 950;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 750;
}

.photo-stack {
  position: relative;
  min-height: 560px;
}

.photo-card {
  position: absolute;
  overflow: hidden;
  border: 4px solid var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 24px 45px rgba(5, 15, 84, 0.22);
  background: var(--navy);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card.one {
  top: 0;
  left: 10%;
  width: 56%;
  aspect-ratio: 4 / 5;
}

.photo-card.two {
  right: 0;
  top: 18%;
  width: 45%;
  aspect-ratio: 1;
}

.photo-card.three {
  left: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 5 / 4;
}

.floating-label {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: var(--radius);
  padding: 8px 12px;
  background: var(--green);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(5, 15, 84, 0.2);
  animation: floaty 4s ease-in-out infinite;
}

.floating-label.blue {
  background: var(--blue);
  color: var(--paper);
  animation-delay: 700ms;
}

.floating-label.red {
  background: var(--red);
  color: var(--paper);
  animation-delay: 1400ms;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 54px;
  align-items: center;
}

.image-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 15, 84, 0.32), transparent 48%);
}

.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.info-card.highlight {
  border-color: rgba(15, 140, 250, 0.32);
  background: linear-gradient(135deg, rgba(15, 140, 250, 0.09), rgba(163, 255, 0, 0.08));
}

.quote-panel {
  padding: 32px;
  border-left: 6px solid var(--green);
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--radius);
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: linear-gradient(var(--blue), var(--green));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
}

.timeline-index {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--paper);
  font-weight: 950;
}

.timeline-body {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.timeline-body h3 {
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.25;
}

.timeline-body p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline.roadmap {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 18px 0 0;
}

.timeline.roadmap::before {
  z-index: 0;
  top: 40px;
  right: calc(12.5% - 22px);
  bottom: auto;
  left: calc(12.5% - 22px);
  width: auto;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(15, 140, 250, 0.68) 0%,
    rgba(91, 73, 219, 0.62) 36%,
    rgba(213, 54, 78, 0.56) 66%,
    rgba(64, 172, 113, 0.56) 100%
  );
  box-shadow: 0 10px 22px rgba(5, 15, 84, 0.08);
}

.timeline.roadmap .timeline-item {
  z-index: 1;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.timeline.roadmap .timeline-index {
  width: 64px;
  height: 64px;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-strong) 44%, var(--blue) 100%);
  box-shadow: 0 14px 28px rgba(5, 15, 84, 0.16);
}

.timeline.roadmap .timeline-item:nth-child(2) .timeline-index {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-strong) 30%, #6e3fd5 66%, #9433eb 100%);
}

.timeline.roadmap .timeline-item:nth-child(3) .timeline-index {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-strong) 30%, #d83a4a 66%, #ff2e30 100%);
}

.timeline.roadmap .timeline-item:nth-child(4) .timeline-index {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-strong) 30%, #3aaa6f 66%, #6eb800 100%);
  color: var(--paper);
}

.timeline-index span {
  font-size: 1rem;
  line-height: 1;
}

.timeline.roadmap .timeline-body {
  max-width: 230px;
  padding: 0;
  border: 0;
  background: transparent;
}

.timeline-age {
  display: block;
  color: #174fd8;
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.timeline.roadmap .timeline-item:nth-child(2) .timeline-age {
  color: #6e3fd5;
}

.timeline.roadmap .timeline-item:nth-child(3) .timeline-age {
  color: #c9283c;
}

.timeline.roadmap .timeline-item:nth-child(4) .timeline-age {
  color: #25875a;
}

.timeline.roadmap .timeline-body h3 {
  margin-top: 2px;
  color: #174fd8;
  font-size: 1.06rem;
  line-height: 1.1;
  font-weight: 950;
  text-transform: uppercase;
}

.timeline.roadmap .timeline-item:nth-child(2) .timeline-body h3 {
  color: #6e3fd5;
}

.timeline.roadmap .timeline-item:nth-child(3) .timeline-body h3 {
  color: #c9283c;
}

.timeline.roadmap .timeline-item:nth-child(4) .timeline-body h3 {
  color: #25875a;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.course {
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  background: var(--paper);
}

.course strong {
  display: block;
  color: var(--navy);
  line-height: 1.25;
}

.course span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
}

.level-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.level-section-bridge {
  background: var(--paper);
}

.level-content {
  display: contents;
  min-width: 0;
}

.level-card-head {
  display: grid;
  gap: 6px;
  order: 1;
}

.level-label {
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.level-card-head h3 {
  max-width: 720px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
  font-weight: 950;
}

.level-content > .section-title,
.level-content > .section-copy {
  display: none;
}

.level-logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 12px;
  order: 2;
}


.tech-logo-card {
  padding: 20px 0px;
  display: grid;
  min-height: 112px;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: var(--paper);
  box-shadow: 0 16px 30px rgba(15, 140, 250, 0.18);
  overflow: hidden;
}

.tech-logo-img {
  width: min(96px, 74%);
  height: 62px;
  object-fit: contain;
}

.tech-logo-img[src$="tech-codeorg.svg"],
.tech-logo-img[src$="tech-scratch.svg"] {
  width: min(136px, 84%);
}

.tech-logo-card span:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
}

.level-side {
  order: 3;
  position: static;
  display: grid;
  align-content: start;
  justify-items: start;
  padding: 0;
  color: var(--navy);
}

.level-side .eyebrow {
  color: var(--blue-strong);
}

.level-side h2 {
  color: var(--navy);
  font-size: 2.3rem;
  line-height: 1.04;
  font-weight: 950;
}

.cert-heading {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cert {
  display: inline-flex;
  margin-top: 8px;
  border-radius: var(--radius);
  background: rgba(15, 140, 250, 0.1);
  color: var(--navy);
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 900;
}

.small-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.level-note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.level-info-grid {
  order: 4;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
}

.level-info-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 16px;
}

.level-focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px;
}

.level-focus-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: var(--radius);
  background: rgba(15, 140, 250, 0.1);
  color: var(--navy);
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 900;
}

.activity-card,
.achievement-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.activity-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.activity-card .body,
.achievement-card,
.project-card {
  padding: 22px;
}

.activity-slider-shell {
  position: relative;
  isolation: isolate;
  margin-top: 6px;
  padding: 0 clamp(58px, 5vw, 76px) 48px;
  background: transparent;
}

.activity-slider-viewport {
  position: relative;
  overflow: hidden;
  padding: 10px 0 18px;
  background: transparent;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.activity-slider-viewport:focus-visible {
  outline: 3px solid rgba(15, 140, 250, 0.34);
  outline-offset: 6px;
}

.activity-slider-viewport.is-dragging {
  cursor: grabbing;
}

.activity-slider-viewport::before,
.activity-slider-viewport::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 82px;
  pointer-events: none;
}

.activity-slider-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(255, 255, 255, 0.66) 42%, rgba(255, 255, 255, 0) 100%);
}

.activity-slider-viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper) 0%, rgba(255, 255, 255, 0.66) 42%, rgba(255, 255, 255, 0) 100%);
}

.activity-slider {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 20px;
  overflow: visible;
  padding: 0;
  background: transparent;
  transform: translate3d(0, 0, 0);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.activity-slider.no-transition {
  transition: none;
}

.activity-slider .activity-card {
  position: relative;
  flex: 0 0 clamp(230px, 23%, 300px);
  border: 0;
  height: 420px;
  min-height: 420px;
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(1, 9, 40, 0.12);
  opacity: 0.82;
  transform: scale(0.94);
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    box-shadow 240ms ease;
}

.activity-slider .activity-card.is-active {
  flex-basis: clamp(440px, 50%, 680px);
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 28px 64px rgba(1, 9, 40, 0.22);
}

.activity-slider .activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 15, 84, 0.06) 0%, rgba(5, 15, 84, 0.2) 42%, rgba(5, 15, 84, 0.88) 100%);
  pointer-events: none;
}

.activity-slider .activity-card:not(.is-active):hover {
  opacity: 0.94;
  transform: translateY(-3px) scale(0.96);
  box-shadow: 0 26px 56px rgba(1, 9, 40, 0.18);
}

.activity-slider .activity-card.is-active:hover {
  transform: translateY(-4px) scale(1);
}

.activity-slider .activity-card img {
  height: 100%;
  min-height: 0;
  transition: transform 500ms ease;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.activity-slider .activity-card:hover img {
  transform: scale(1.045);
}

.activity-slider .activity-card .body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 26px;
  color: var(--paper);
}

.activity-slider .chip {
  background: rgba(255, 255, 255, 0.16);
  color: var(--paper);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.activity-slider .chip.green {
  background: rgba(163, 255, 0, 0.24);
}

.activity-slider .chip.red {
  background: rgba(255, 46, 48, 0.24);
}

.activity-slider .chip.purple {
  background: rgba(148, 51, 235, 0.28);
}

.activity-slider .activity-card h3 {
  color: var(--paper);
  font-size: 1.34rem;
  line-height: 1.12;
}

.activity-slider .activity-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.activity-slider-shell .activity-slider-controls {
  position: absolute;
  z-index: 4;
  top: calc(50% - 28px);
  left: 0;
  right: 0;
  display: flex;
  grid-column: auto;
  justify-content: space-between;
  gap: 0;
  margin: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.activity-slider-controls .project-slider-button {
  position: relative;
  width: 52px;
  height: 64px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: var(--paper);
  font-size: 0;
  box-shadow: 0 18px 36px rgba(1, 9, 40, 0.2);
  pointer-events: auto;
}

.activity-slider-controls .project-slider-button::before {
  content: "";
  width: 17px;
  height: 17px;
  border: solid currentColor;
  border-width: 0 0 4px 4px;
  transform: rotate(45deg);
}

.activity-slider-controls .activity-slider-arrow-next::before {
  transform: rotate(225deg);
}

.activity-slider-controls .project-slider-button:hover,
.activity-slider-controls .project-slider-button:focus-visible {
  background: var(--blue);
  color: var(--paper);
}

.slider-dots {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 4px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  background: transparent;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 140, 250, 0.34);
  cursor: pointer;
  padding: 0;
  transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

.slider-dot:hover,
.slider-dot:focus-visible {
  background: var(--navy);
  transform: translateY(-1px);
}

.slider-dot.active {
  width: 28px;
  background: var(--blue);
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery img:first-child {
  grid-row: span 2;
}

.gallery img:nth-child(4) {
  grid-column: span 2;
}

#galeria .gallery {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 118px;
  grid-auto-flow: row;
}

#galeria .gallery img {
  grid-row: span 2;
  min-height: 0;
}

#galeria .gallery img:first-child {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}

#galeria .gallery img:nth-child(2) {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
}

#galeria .gallery img:nth-child(3) {
  grid-column: 4 / span 5;
  grid-row: 3 / span 2;
}

#galeria .gallery img:nth-child(4) {
  grid-column: 1 / span 3;
  grid-row: 3 / span 4;
}

#galeria .gallery img:nth-child(5) {
  grid-column: 9 / span 4;
  grid-row: 3 / span 2;
}

#galeria .gallery img:nth-child(6) {
  grid-column: 4 / span 6;
  grid-row: 5 / span 2;
}

#galeria .gallery img:nth-child(7) {
  grid-column: 10 / span 3;
  grid-row: 5 / span 2;
}

#galeria .gallery img:nth-child(8) {
  grid-column: 1 / span 5;
  grid-row: 7 / span 2;
}

#galeria .gallery img:nth-child(9) {
  grid-column: 6 / span 4;
  grid-row: 7 / span 2;
}

#galeria .gallery img:nth-child(10) {
  grid-column: 10 / span 3;
  grid-row: 7 / span 4;
}

#galeria .gallery img:nth-child(11) {
  grid-column: 1 / span 4;
  grid-row: 9 / span 2;
}

#galeria .gallery img:nth-child(12) {
  grid-column: 5 / span 5;
  grid-row: 9 / span 2;
}

@media (min-width: 861px) and (max-width: 1040px) {
  #galeria .gallery {
    grid-auto-rows: 104px;
  }
}

.achievement-card {
  min-height: 260px;
}

.achievement-media {
  margin: -22px -22px 18px;
}

.achievement-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.achievement-year {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--paper);
  padding: 7px 10px;
  font-weight: 950;
}

.project-card {
  background:
    linear-gradient(135deg, rgba(15, 140, 250, 0.08), transparent),
    var(--paper);
}

.project-levels {
  display: grid;
  gap: 34px;
}

.project-level-section {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-width: 0;
}

.project-level-head {
  position: sticky;
  top: 96px;
  grid-row: 1 / span 2;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy), var(--blue));
  background-size: 32px 32px, 32px 32px, auto;
  color: var(--paper);
  padding: 24px;
}

.project-level-head .project-level {
  color: var(--green);
}

.project-level-head h3 {
  margin-top: 10px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.project-level-head p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.project-level-section-template .project-level-head {
  grid-row: 1 / span 2;
}

.project-level-section-template .project-slider-controls {
  grid-row: 1;
}

.project-level-section-template .project-showcase-grid {
  grid-row: 2;
}

.project-showcase-grid {
  display: grid;
  grid-column: 2;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 38%);
  gap: 18px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 2px 12px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
}

@supports (scrollbar-width: thin) {
  .project-showcase-grid {
    scrollbar-width: thin;
  }
}

@supports (scrollbar-color: auto) {
  .project-showcase-grid {
    scrollbar-color: rgba(255, 255, 255, 0.55) rgba(255, 255, 255, 0.14);
  }
}

.project-showcase-grid-wide {
  grid-auto-columns: minmax(250px, 32%);
}

.project-showcase-grid::-webkit-scrollbar {
  height: 9px;
}

.project-showcase-grid::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.project-showcase-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.project-slider-controls {
  display: flex;
  grid-column: 2;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.project-slider-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 7px;
  background: var(--paper);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(1, 9, 40, 0.28);
  font-size: 1.35rem;
  font-weight: 950;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.project-slider-button:hover,
.project-slider-button:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
  box-shadow: 0 18px 38px rgba(1, 9, 40, 0.34);
  transform: translateY(-2px);
}

.project-slider-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.project-slider-button:disabled {
  cursor: default;
  opacity: 0.62;
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  color: rgba(5, 15, 84, 0.58);
  transform: none;
}

.project-template-notice {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 5;
  min-height: 100%;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(1, 9, 40, 0.64);
  color: var(--paper);
  box-shadow: 0 26px 58px rgba(1, 9, 40, 0.34);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.project-template-notice::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(163, 255, 0, 0.22);
}

.student-project-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.student-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(1, 9, 40, 0.2);
}

.project-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--navy);
}

.project-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.project-preview-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: var(--paper);
  text-decoration: none;
}

.project-preview-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.project-preview-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(1, 9, 40, 0.58));
  opacity: 0.82;
  transition: opacity 180ms ease;
}

.project-preview-link span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 7px;
  background: var(--green);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-preview-link:hover img,
.project-preview-link:focus-visible img {
  transform: scale(1.04);
}

.project-preview-link:hover::after,
.project-preview-link:focus-visible::after {
  opacity: 1;
}

.student-project-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.project-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 7px;
  background: rgba(163, 255, 0, 0.2);
  color: var(--navy);
  padding: 5px 8px;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.student-project-card h3 {
  font-size: 1.24rem;
  line-height: 1.15;
}

.student-project-card p {
  color: var(--muted);
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 0;
}

.project-meta div {
  border-radius: 7px;
  background: rgba(15, 140, 250, 0.08);
  padding: 9px;
}

.project-meta dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.project-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 7px;
  background: var(--blue);
  color: var(--paper);
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 900;
}

.project-link.is-disabled {
  cursor: default;
  background: rgba(5, 15, 84, 0.1);
  color: rgba(5, 15, 84, 0.58);
  pointer-events: none;
}

.project-card .project-level {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue-strong);
  font-size: 0.88rem;
  font-weight: 950;
}

.cta-section {
  background: var(--blue);
  color: var(--paper);
}

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
  padding: 10px 0;
  color: inherit;
  text-align: center;
}

.cta-band::before,
.cta-band::after {
  content: none;
}

.cta-band h2 {
  max-width: 740px;
  font-size: 2.45rem;
  line-height: 1.1;
}

.cta-band p {
  max-width: 680px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
}

.cta-band .button {
  position: static;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-band .button-primary {
  background: var(--navy);
  box-shadow: 0 16px 30px rgba(5, 15, 84, 0.22);
}

.cta-band .button-primary:hover,
.cta-band .button-primary:focus-visible {
  background: #020832;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 34px;
  align-items: start;
}

.form-card,
.contact-panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(5, 15, 84, 0.08);
}

.form-card .section-title {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
}

.contact-panel .section-title {
  font-size: clamp(1.7rem, 5vw, 2rem);
}

.form-card .section-copy {
  margin: 10px 0 24px;
}

.contact-panel .section-copy {
  margin-top: 10px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field label {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd8f5;
  border-radius: var(--radius);
  background: #fbfdff;
  padding: 12px 13px;
  color: var(--ink);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(15, 140, 250, 0.2);
  border-color: var(--blue);
}

.form-message {
  display: none;
  margin-top: 16px;
  border-radius: var(--radius);
  background: rgba(163, 255, 0, 0.3);
  color: var(--navy);
  padding: 12px;
  font-weight: 800;
}

.form-message.error {
  background: rgba(255, 78, 78, 0.14);
  color: #8f1b1b;
}

.form-message.show {
  display: block;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-list > a {
  display: grid;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  min-width: 0;
}

.contact-list strong {
  color: var(--navy);
  font-size: 0.88rem;
}

.contact-list span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-list .contact-social {
  display: grid;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.contact-list .contact-social strong {
  justify-self: center;
  color: var(--navy);
}

.contact-social-icons {
  display: grid;
  grid-template-columns: repeat(4, 44px);
  justify-content: center;
  gap: 10px;
}

.contact-list .contact-social-icons a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-bottom: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--paper);
  padding: 0;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-list .contact-social-icons a:hover,
.contact-list .contact-social-icons a:focus-visible {
  background: var(--blue);
  color: var(--paper);
  transform: translateY(-2px);
}

.contact-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-social rect,
.contact-social circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-social .icon-cutout {
  fill: var(--navy);
}

.contact-list .contact-social-icons a:hover .icon-cutout,
.contact-list .contact-social-icons a:focus-visible .icon-cutout {
  fill: var(--blue);
}

.map-box {
  margin-top: 22px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  min-height: 250px;
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
}

.map-link {
  display: grid;
  align-content: center;
  min-height: 250px;
  padding: 28px;
  color: var(--paper);
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy), var(--blue));
  background-size: 34px 34px, 34px 34px, auto;
}

.map-link strong {
  color: var(--paper);
  font-size: 1.1rem;
}

.map-link span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.video-section {
  background: var(--paper);
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(620px, 1.28fr);
  gap: 38px;
  align-items: center;
}

.video-embed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
  grid-template-areas:
    "toolbar toolbar"
    "player picker";
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(5, 15, 84, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.video-embed iframe {
  display: block;
  grid-area: player;
  align-self: start;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 390px;
  border: 0;
}

.playlist-toolbar {
  display: flex;
  grid-area: toolbar;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}

.playlist-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--blue);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.playlist-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 7px;
  background: rgba(255, 46, 48, 0.1);
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.playlist-link:hover,
.playlist-link:focus-visible {
  background: var(--red);
  color: var(--paper);
}

.playlist-picker {
  display: flex;
  grid-area: picker;
  flex-direction: column;
  gap: 8px;
  max-height: 390px;
  overflow-y: auto;
  padding: 12px;
  border-left: 1px solid var(--line);
  background: #f7fbff;
}

.playlist-video-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 58px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.playlist-video-button span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(15, 140, 250, 0.12);
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 950;
}

.playlist-video-button strong {
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-video-button small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
}

.playlist-video-button:hover,
.playlist-video-button:focus-visible,
.playlist-video-button.is-active {
  border-color: rgba(15, 140, 250, 0.2);
  background: var(--paper);
  color: var(--navy);
  transform: translateY(-1px);
}

.playlist-video-button.is-active {
  box-shadow: 0 12px 24px rgba(1, 9, 40, 0.08);
}

.playlist-video-button.is-active span {
  background: var(--blue);
  color: var(--paper);
}

.youtube-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #0b3fc9 62%, var(--blue));
  box-shadow: var(--shadow);
}

.youtube-band .eyebrow {
  color: var(--green);
}

.youtube-band .section-title,
.youtube-band .section-copy {
  color: var(--paper);
}

.youtube-band-cta {
  background: transparent;
  box-shadow: none;
}

.youtube-band-cta .eyebrow {
  color: var(--green);
}

.youtube-band-cta .section-title {
  color: var(--paper);
}

.youtube-band-cta .section-copy {
  color: rgba(255, 255, 255, 0.86);
}

.youtube-preview {
  min-height: 190px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--navy);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.youtube-preview:hover,
.youtube-preview:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.youtube-preview strong {
  font-size: 1.05rem;
}

.youtube-preview small {
  color: var(--muted);
  font-weight: 800;
}

.youtube-play {
  width: 76px;
  height: 54px;
  position: relative;
  display: block;
  border-radius: var(--radius);
  background: var(--red);
}

.youtube-play::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 16px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid var(--paper);
}

.site-footer {
  background: #03071f;
  color: var(--paper);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.6fr));
  gap: 34px;
  align-items: start;
}

.footer-logo {
  width: 182px;
  margin-bottom: 20px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--paper);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-mobile-preview {
  display: none;
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #e7eefc;
  color: var(--paper);
  text-decoration: none;
}

.project-mobile-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.project-mobile-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 9, 40, 0.08), rgba(1, 9, 40, 0.58));
}

.project-mobile-preview span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 9px 11px;
  border-radius: 7px;
  background: var(--red);
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 950;
}

@media (max-width: 1040px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-level-section {
    grid-template-columns: 1fr;
  }

  .project-level-head {
    position: static;
    grid-row: auto;
  }

  .project-level-section-template .project-level-head {
    grid-row: 1;
  }

  .project-level-section-template .project-slider-controls {
    grid-row: 2;
  }

  .project-level-section-template .project-showcase-grid {
    grid-row: 3;
  }

  .project-template-notice {
    grid-row: 2 / span 2;
    align-self: stretch;
    height: 100%;
  }

  .project-showcase-grid-wide {
    grid-auto-columns: minmax(280px, 42%);
  }

  .activity-slider .activity-card {
    flex-basis: clamp(220px, 25%, 290px);
  }

  .activity-slider .activity-card.is-active {
    flex-basis: clamp(390px, 55%, 560px);
  }

  .activity-slider-shell {
    padding-right: 52px;
    padding-left: 52px;
  }

  .project-slider-controls,
  .project-template-notice,
  .project-showcase-grid {
    grid-column: auto;
  }

  .project-level-section-template .project-slider-controls,
  .project-level-section-template .project-template-notice,
  .project-level-section-template .project-showcase-grid {
    grid-column: 1 / -1;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero-code {
    display: none;
  }

  .level-section,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    gap: 24px;
  }

  .level-side {
    position: static;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 72px 0;
  }

  .section-head,
  .split,
  .video-feature,
  .grid-2,
  .grid-3,
  .footer-grid,
  .cta-band,
  .youtube-band {
    grid-template-columns: 1fr;
  }

  .video-embed {
    grid-template-columns: 1fr;
    grid-template-areas:
      "toolbar"
      "player"
      "picker";
  }

  .video-embed iframe {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .playlist-picker {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px;
    border-top: 1px solid var(--line);
    border-left: 0;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .playlist-video-button {
    flex: 0 0 min(240px, 76vw);
    width: auto;
    scroll-snap-align: start;
  }

  .project-level-section {
    overflow: hidden;
    gap: 16px;
  }

  .project-slider-controls {
    width: 100%;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .project-slider-button {
    width: 44px;
    height: 44px;
  }

  .project-showcase-grid {
    grid-auto-columns: minmax(min(270px, 76vw), min(70%, 360px));
    gap: 14px;
    padding: 2px 18px 12px 2px;
    scroll-padding-inline: 2px 18px;
  }

  .project-level-section-template {
    content-visibility: auto;
    contain-intrinsic-size: 620px;
  }

  .project-mobile-preview:not([hidden]) {
    display: block;
  }

  .section-title {
    font-size: 2.35rem;
  }

  .timeline.roadmap {
    grid-template-columns: 1fr;
    gap: 26px;
    overflow: visible;
    padding: 8px 0 0;
    scroll-snap-type: none;
  }

  .timeline.roadmap .timeline-item {
    grid-template-columns: 72px minmax(0, 1fr);
    justify-items: start;
    align-items: start;
    gap: 16px;
    text-align: left;
    scroll-snap-align: none;
  }

  .timeline.roadmap::before {
    top: 8px;
    right: auto;
    bottom: 8px;
    left: 30px;
    width: 5px;
    height: auto;
    min-width: 0;
    background: linear-gradient(
      180deg,
      rgba(15, 140, 250, 0.68) 0%,
      rgba(91, 73, 219, 0.62) 36%,
      rgba(213, 54, 78, 0.56) 66%,
      rgba(64, 172, 113, 0.56) 100%
    );
  }

  .timeline.roadmap .timeline-body {
    max-width: none;
    padding-top: 7px;
  }

  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    display: none;
    min-height: calc(100vh - 78px);
    padding: 24px 20px;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
    font-size: 1.08rem;
  }

  .nav-cta {
    width: 100%;
    margin-top: 8px;
    color: var(--paper);
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 72px 0;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-visual {
    max-width: 620px;
  }

  .marquee {
    --ribbon-angle: -3.2deg;
    --ribbon-height: 98px;
    --ribbon-overlap-top: 46px;
    --ribbon-overlap-bottom: 46px;
    --ribbon-bleed: 58vw;
    --ribbon-text: clamp(1.25rem, 4vw, 2rem);
    --ribbon-item-pad: 28px;
  }

  .marquee span {
    border-left-width: 3px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-stack {
    min-height: 480px;
  }

  .course-grid,
  .field-grid,
  .level-info-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img:first-child,
  .gallery img:nth-child(4) {
    grid-row: auto;
    grid-column: auto;
  }

  #galeria .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  #galeria .gallery img:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .project-showcase-grid {
    grid-auto-columns: minmax(min(248px, 78vw), 86%);
  }

  .activity-slider-shell {
    padding: 0 42px 50px;
  }

  .activity-slider-viewport {
    padding-top: 6px;
  }

  .activity-slider-viewport::before,
  .activity-slider-viewport::after {
    width: 34px;
  }

  .activity-slider-shell .activity-slider-controls {
    top: 45%;
  }

  .activity-slider-controls .project-slider-button {
    width: 46px;
    height: 46px;
  }

  .activity-slider .activity-card {
    flex-basis: min(58vw, 290px);
    height: 390px;
    min-height: 390px;
  }

  .activity-slider .activity-card.is-active {
    flex-basis: min(92vw, 470px);
  }

  .activity-slider .activity-card img {
    height: 100%;
  }

  .activity-slider .activity-card .body {
    padding: 22px;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 140px;
  }

  .hero::after {
    display: none;
  }

  .hero-inner {
    padding: 64px 0 58px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.05rem;
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .hero p,
  .section-title,
  .section-copy {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-visual img {
    aspect-ratio: 16 / 11;
  }

  .marquee {
    --ribbon-angle: -3deg;
    --ribbon-height: 74px;
    --ribbon-overlap-top: 34px;
    --ribbon-overlap-bottom: 34px;
    --ribbon-bleed: 76vw;
    --ribbon-text: clamp(1rem, 5.2vw, 1.28rem);
    --ribbon-item-pad: 18px;
  }

  .marquee span {
    border-left-width: 2px;
    text-shadow: 2px 2px 0 rgba(5, 15, 84, 0.42);
  }

  .marquee span::before {
    width: 8px;
    height: 8px;
    margin-right: 16px;
    box-shadow: 12px 0 0 var(--red);
  }

  .visual-pill {
    font-size: 0.75rem;
    min-height: 30px;
    padding: 6px 9px;
  }

  .button {
    width: 100%;
  }

  .youtube-band {
    padding: 24px;
  }

  .section-title {
    font-size: 2rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 280px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .photo-stack {
    display: grid;
    min-height: 0;
    gap: 12px;
  }

  .photo-card {
    position: static;
    width: 100% !important;
    aspect-ratio: 16 / 11 !important;
  }

  .activity-slider-viewport::before,
  .activity-slider-viewport::after {
    display: none;
  }

  .activity-slider-shell {
    padding-right: 0;
    padding-left: 0;
  }

  .activity-slider-shell .activity-slider-controls {
    display: none;
  }

  .floating-label {
    display: none;
  }

  .level-section,
  .form-card,
  .contact-panel {
    padding: 22px;
  }

  #forma {
    padding: 56px 0;
  }

  .form-grid {
    gap: 18px;
  }

  .form-card,
  .contact-panel {
    padding: 18px;
  }

  .form-card .section-copy,
  .contact-panel .section-copy {
    font-size: 0.98rem;
  }

  .field-grid {
    gap: 12px;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 11px;
  }

  .contact-social-icons {
    grid-template-columns: repeat(4, 42px);
    gap: 8px;
  }

  .contact-list .contact-social-icons a {
    width: 42px;
    height: 42px;
  }

  .map-box {
    min-height: 220px;
  }

  .map-box iframe {
    height: 220px;
  }

  .level-logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .logo-strip-single {
    grid-template-columns: minmax(0, 1fr);
  }

  .tech-logo-card {
    min-height: 104px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
