:root {
  --paper: #f4f8f8;
  --paper-2: #e8f2f2;
  --ink: #163d59;
  --ink-soft: #48687b;
  --muted: #718694;
  --line: #cfe1df;
  --blue: #2e7da6;
  --blue-2: #5ca8c5;
  --teal: #2d8b84;
  --green: #8fbd5f;
  --coral: #c64b36;
  --yellow: #f0b429;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(30, 57, 87, 0.12);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --width: 1180px;
  --robotedu-admin-offset: 0px;
  --robotedu-header-height: 102px;
  --robotedu-subnav-height: 54px;
  --robotedu-sticky-offset: var(--robotedu-header-height);
  --robotedu-anchor-offset: calc(var(--robotedu-header-height) + var(--robotedu-subnav-height) + 28px);
  --surface: var(--white);
  --surface-soft: var(--paper-2);
  --page-accent: var(--teal);
  --page-accent-2: var(--blue-2);
  --page-accent-rgb: 45, 139, 132;
  --page-soft-rgb: 92, 168, 197;
}

:root[data-robotedu-theme="dark"] {
  color-scheme: dark;
  --paper: #0b1720;
  --paper-2: #102431;
  --ink: #e8f5fb;
  --ink-soft: #b8ccd6;
  --muted: #8fafbc;
  --line: #25475a;
  --blue: #63b8e1;
  --blue-2: #8ad3e6;
  --teal: #6ed7c8;
  --green: #acd876;
  --coral: #f07e65;
  --yellow: #ffd36d;
  --surface: #102431;
  --surface-soft: #142f3f;
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 180ms ease, color 180ms ease;
  overflow-x: clip;
}

body.nav-open,
body.modal-open,
html.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 14px;
  left: 14px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.env {
  width: min(100% - 48px, var(--width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px 0 10px;
  background: linear-gradient(180deg, rgba(244, 248, 248, 0.98), rgba(232, 242, 242, 0.84));
  backdrop-filter: blur(16px);
  transform: translateY(0);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
  will-change: transform;
  overflow-anchor: none;
}

.site-header--hidden {
  transform: translateY(calc(-100% - 12px));
}

.admin-bar .site-header {
  top: var(--robotedu-admin-offset);
}

.site-header__inner {
  display: grid;
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
  row-gap: 0;
  min-height: 68px;
  padding: 9px 12px;
  border: 1px solid rgba(185, 209, 208, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(143, 189, 95, 0.14), rgba(92, 168, 197, 0.1) 44%, transparent 72%),
    linear-gradient(135deg, #123852 0%, #1f6687 58%, #287d82 100%);
  box-shadow: 0 18px 42px rgba(22, 61, 89, 0.24);
}

.header-brands {
  display: flex;
  min-width: 0;
  min-height: 48px;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  align-items: center;
  box-shadow: inset 0 0 0 1px rgba(143, 189, 95, 0.18);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 6px 10px;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  isolation: isolate;
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.brand::before {
  content: "";
  position: absolute;
  inset: 5px auto 5px 7px;
  z-index: -1;
  width: 48px;
  border: 1px solid rgba(92, 168, 197, 0.3);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.74);
  transition: opacity 180ms ease, transform 180ms ease;
}

.brand::after {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -44%;
  z-index: 1;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: translateX(0) rotate(18deg);
  opacity: 0;
  pointer-events: none;
}

.brand img {
  position: relative;
  z-index: 0;
  display: block;
  width: 160px;
  max-height: 38px;
  height: auto;
  object-fit: contain;
  transform-origin: 20% 76%;
  transition: transform 220ms ease, filter 220ms ease;
}

.header-brands .brand {
  min-height: 38px;
  padding: 3px 6px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.header-brands .brand:hover,
.header-brands .brand:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(172, 216, 118, 0.28);
}

.header-brands .brand--robotedu img {
  width: 116px;
  max-height: 35px;
}

.brand__spark {
  position: absolute;
  left: 46px;
  top: 13px;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow:
    14px 6px 0 -2px var(--green),
    30px -2px 0 -2px var(--blue-2),
    46px 10px 0 -3px var(--coral);
  opacity: 0;
  transform: translateY(4px) scale(0.62);
  pointer-events: none;
}

.brand:hover,
.brand:focus-visible {
  background: var(--white);
  box-shadow:
    inset 0 0 0 1px rgba(143, 189, 95, 0.28),
    0 12px 28px rgba(46, 125, 166, 0.2);
  transform: translateY(-1px);
}

.brand:hover::before,
.brand:focus-visible::before {
  opacity: 1;
  transform: scale(1);
  animation: brandRobotHalo 1200ms ease-out;
}

.brand:hover::after,
.brand:focus-visible::after {
  opacity: 1;
  animation: brandLogoSheen 860ms ease-out;
}

.brand:hover img,
.brand:focus-visible img {
  filter: saturate(1.08) drop-shadow(0 8px 12px rgba(46, 125, 166, 0.16));
  animation: brandLogoLift 820ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand:hover .brand__spark,
.brand:focus-visible .brand__spark {
  animation: brandSparkPop 760ms ease-out both;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(143, 189, 95, 0.08);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-1px);
}

.theme-toggle__icon-wrap {
  position: relative;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
}

.theme-toggle__icon {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  color: currentColor;
  filter: drop-shadow(0 6px 10px rgba(15, 31, 46, 0.18));
  transition: opacity 180ms ease, transform 180ms ease, color 180ms ease;
}

.theme-toggle__icon--moon {
  color: #dff6ff;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-toggle__icon--sun {
  color: var(--yellow);
  opacity: 0;
  transform: scale(0.68) rotate(-42deg);
}

.theme-toggle[aria-pressed="true"] .theme-toggle__icon--moon {
  opacity: 0;
  transform: scale(0.68) rotate(42deg);
}

.theme-toggle[aria-pressed="true"] .theme-toggle__icon--sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.brand--footer img {
  width: 190px;
  max-height: none;
}

.brand--footer {
  overflow: visible;
}

.brand--footer::before,
.brand--footer::after,
.brand--footer .brand__spark {
  display: none;
}

.brand--footer:hover,
.brand--footer:focus-visible {
  transform: none;
}

.brand--footer:hover img,
.brand--footer:focus-visible img {
  animation: none;
}

.primary-nav {
  display: flex;
  position: relative;
  justify-content: center;
  gap: 6px 14px;
  margin-left: 0;
  font-size: 14px;
  font-weight: 600;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.78);
  padding: 10px 8px;
  border-radius: 8px;
  line-height: 1.2;
  transition: background 160ms ease, color 160ms ease;
}

.primary-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-dropdown {
  display: inline-flex;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: 8px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 8px;
  border-radius: 8px;
  line-height: 1.2;
  transition: background 160ms ease, color 160ms ease;
}

.nav-dropdown__toggle:hover,
.nav-dropdown.is-open .nav-dropdown__toggle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-dropdown__toggle span {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-dropdown.is-open .nav-dropdown__toggle span {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown__panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  max-height: 0;
  margin-top: 0;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid rgba(207, 225, 223, 0.78);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(30, 57, 87, 0.1);
  transform: translateY(-4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-height 220ms ease, padding 220ms ease, margin 220ms ease, opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown__panel.is-open {
  max-height: 132px;
  margin-top: 10px;
  padding: 10px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(244, 248, 248, 0.1);
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown__panel--compact {
  grid-column: 2 / 3;
  justify-self: center;
  width: fit-content;
  max-width: min(100%, 560px);
}

.nav-dropdown__panel--compact.is-open {
  max-height: 96px;
  padding: 8px;
  transform: translateY(0);
}

.nav-dropdown__panel--compact .nav-dropdown__links {
  grid-template-columns: repeat(2, 240px);
  justify-content: center;
  gap: 8px;
  margin-inline: auto;
}

.nav-dropdown__panel--compact .nav-dropdown__links a {
  min-height: 56px;
  padding: 10px 30px 10px 14px;
  align-content: center;
}

.nav-dropdown__panel--mobile {
  display: none;
}

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

.nav-dropdown__links a {
  position: relative;
  display: grid;
  align-content: center;
  align-items: center;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 68px;
  padding: 12px 34px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px transparent;
  text-align: center;
  transition: opacity 160ms ease, filter 160ms ease, transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-dropdown__icon {
  display: none;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(92, 168, 197, 0.34), rgba(143, 189, 95, 0.24));
  color: rgba(232, 245, 251, 0.92);
  place-items: center;
}

.nav-dropdown__icon svg {
  width: 18px;
  height: 18px;
}

.nav-dropdown__links a::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: rgba(255, 255, 255, 0.58);
  content: "";
  transform: translateY(-50%) rotate(45deg);
  transition: color 160ms ease, transform 160ms ease;
}

.nav-dropdown__links a:hover,
.nav-dropdown__links a:focus-visible {
  border-color: rgba(143, 189, 95, 0.56);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(143, 189, 95, 0.22), 0 10px 24px rgba(7, 28, 42, 0.18);
  outline: 0;
  transform: translateY(-1px);
}

.nav-dropdown__links a:hover::after,
.nav-dropdown__links a:focus-visible::after {
  color: var(--green);
  transform: translate(2px, -50%) rotate(45deg);
}

.nav-dropdown__links strong,
.nav-dropdown__links small {
  display: block;
}

.nav-dropdown__links strong {
  color: var(--white);
  font-size: 15px;
  line-height: 1.18;
  max-width: 18ch;
}

.nav-dropdown__links small {
  display: none;
}

.nav-mobile-action,
.nav-mobile-tools {
  display: none;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-actions .btn {
  min-height: 40px;
  padding: 9px 16px;
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.header-actions .btn:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.header-actions .btn--secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
}

.header-actions .btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
}

.btn--secondary:hover {
  background: var(--paper-2);
  border-color: var(--blue);
  color: var(--blue);
}

.btn--outline {
  background: var(--white);
  border-color: var(--blue);
  color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.ext::after {
  content: "↗";
  margin-left: 6px;
  font-size: 12px;
}

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

.menu-toggle span:not(.screen-reader-text) {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 62px 0 46px;
  background:
    linear-gradient(120deg, rgba(46, 125, 166, 0.12), rgba(45, 139, 132, 0.1)),
    var(--paper);
}

.page-shell {
  --page-accent: var(--teal);
  --page-accent-2: var(--blue-2);
  --page-accent-rgb: 45, 139, 132;
  --page-soft-rgb: 92, 168, 197;
}

.page-shell--lab {
  --page-accent: #2e7da6;
  --page-accent-2: #8fbd5f;
  --page-accent-rgb: 46, 125, 166;
  --page-soft-rgb: 143, 189, 95;
}

.page-shell--field,
.page-shell--impact {
  --page-accent: #2d8b84;
  --page-accent-2: #f0b429;
  --page-accent-rgb: 45, 139, 132;
  --page-soft-rgb: 240, 180, 41;
}

.page-shell--studio,
.page-shell--maker {
  --page-accent: #435f9d;
  --page-accent-2: #2d8b84;
  --page-accent-rgb: 67, 95, 157;
  --page-soft-rgb: 45, 139, 132;
}

.page-shell--play {
  --page-accent: #c64b36;
  --page-accent-2: #8fbd5f;
  --page-accent-rgb: 198, 75, 54;
  --page-soft-rgb: 143, 189, 95;
}

.page-shell--digital {
  --page-accent: #1f6687;
  --page-accent-2: #6aa84f;
  --page-accent-rgb: 31, 102, 135;
  --page-soft-rgb: 106, 168, 79;
}

.page-shell--evidence,
.page-shell--about {
  --page-accent: #163d59;
  --page-accent-2: #2d8b84;
  --page-accent-rgb: 22, 61, 89;
  --page-soft-rgb: 45, 139, 132;
}

.page-shell--contact {
  --page-accent: #2e7da6;
  --page-accent-2: #f0b429;
  --page-accent-rgb: 46, 125, 166;
  --page-soft-rgb: 240, 180, 41;
}

.page-shell--local {
  --page-accent: #2d8b84;
  --page-accent-2: #5ca8c5;
  --page-accent-rgb: 45, 139, 132;
  --page-soft-rgb: 92, 168, 197;
}

.hero--page {
  background:
    linear-gradient(120deg, rgba(var(--page-accent-rgb), 0.16), rgba(var(--page-soft-rgb), 0.1) 52%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 72%),
    var(--paper);
}

.hero--lab .hero__grid,
.hero--evidence .hero__grid {
  grid-template-columns: minmax(480px, 1.08fr) minmax(360px, 0.92fr);
}

.hero--field .hero__grid,
.hero--impact .hero__grid,
.hero--local .hero__grid {
  grid-template-columns: minmax(480px, 1.08fr) minmax(360px, 0.92fr);
}

.hero--studio,
.hero--maker {
  background:
    linear-gradient(135deg, rgba(var(--page-accent-rgb), 0.14), rgba(var(--page-soft-rgb), 0.12)),
    var(--paper-2);
}

.hero--studio .hero__grid,
.hero--maker .hero__grid {
  grid-template-columns: minmax(480px, 1.1fr) minmax(340px, 0.9fr);
}

.hero--play .media-card,
.hero--digital .media-card {
  transform: rotate(-1.2deg);
}

.hero--digital .hero__grid {
  grid-template-columns: minmax(500px, 1.15fr) minmax(340px, 0.85fr);
}

.hero--contact .hero__grid,
.hero--legal .hero__grid {
  grid-template-columns: minmax(0, 1fr);
}

.hero--compact {
  padding: 54px 0 42px;
}

.hero--home {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(46, 125, 166, 0.14), rgba(143, 189, 95, 0.16) 48%, rgba(240, 180, 41, 0.08)),
    var(--paper);
}

.hero--home .hero__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.hero--home h1 {
  max-width: 22ch;
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.07;
}

.hero--home .lead {
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.62;
}

.hero--home .media-card {
  transform: rotate(0.6deg);
}

.hero--home .media-card img {
  height: clamp(260px, 28vw, 380px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(500px, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__copy {
  max-width: 780px;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--page-accent, var(--teal));
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  font-size: clamp(42px, 5.1vw, 64px);
  text-wrap: pretty;
}

h2 {
  font-size: clamp(30px, 3vw, 38px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
}

.lead {
  max-width: 68ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.6;
}

.hero__actions,
.section-actions,
.form-actions,
.cta-band__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__actions {
  margin-top: 30px;
}

.hero__copy,
.section__intro,
.section__body,
.card,
.card__body,
.media-card,
.cta-band__inner > *,
.site-footer__grid > * {
  min-width: 0;
}

.media-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.media-card img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  background: rgba(var(--page-accent-rgb), 0.08);
}

.media-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 2px);
  background: #07141e;
}

.media-card figcaption,
.card__image figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
}

.subnav {
  position: sticky;
  top: var(--robotedu-sticky-offset);
  z-index: 80;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--page-accent, var(--blue)) 22%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--page-accent, var(--blue)) 18%, #ffffff), color-mix(in srgb, var(--green) 14%, #ffffff));
  border-block: 1px solid color-mix(in srgb, var(--page-accent, var(--blue)) 28%, var(--line));
  box-shadow: 0 14px 30px rgba(30, 57, 87, 0.1);
  backdrop-filter: blur(14px);
}

.admin-bar .subnav {
  top: var(--robotedu-sticky-offset);
}

.site-header-is-hidden .subnav {
  top: var(--robotedu-admin-offset);
}

.subnav__inner {
  display: flex;
  gap: 10px;
  min-height: 66px;
  align-items: center;
  overflow-x: auto;
  padding-block: 10px;
  scrollbar-width: thin;
}

.subnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: color-mix(in srgb, var(--ink-soft) 88%, var(--page-accent, var(--blue)));
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.subnav a::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 6px;
  left: 15px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--page-accent, var(--blue)), var(--page-accent-2, var(--green)));
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.subnav a:hover,
.subnav a:focus-visible,
.subnav a.is-active {
  border-color: color-mix(in srgb, var(--page-accent, var(--blue)) 28%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--page-accent, var(--blue)) 18%, #ffffff), rgba(255, 255, 255, 0.96)),
    var(--surface);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(30, 57, 87, 0.12);
  transform: translateY(-1px);
}

.subnav a:hover::after,
.subnav a:focus-visible::after,
.subnav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.section {
  padding: 62px 0;
  scroll-margin-top: var(--robotedu-anchor-offset);
}

.section--page {
  position: relative;
}

.section--page::before {
  content: "";
  position: absolute;
  left: max(24px, calc((100vw - var(--width)) / 2 - 34px));
  top: 58px;
  width: 4px;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--page-accent), var(--page-accent-2));
}

.section--step-2 {
  background:
    linear-gradient(90deg, rgba(var(--page-accent-rgb), 0.05), transparent 42%),
    var(--paper);
}

.section--step-3 {
  background:
    linear-gradient(90deg, transparent, rgba(var(--page-soft-rgb), 0.08)),
    var(--paper-2);
}

.page-shell--studio .section__grid,
.page-shell--maker .section__grid {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
}

.page-shell--studio .section__body,
.page-shell--maker .section__body,
.page-shell--play .section__body,
.page-shell--digital .section__body {
  padding: 24px;
  border: 1px solid rgba(var(--page-accent-rgb), 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 40px rgba(30, 57, 87, 0.08);
}

.page-shell--field .section--step-2 .section__grid,
.page-shell--impact .section--step-2 .section__grid,
.page-shell--studio .section--step-2 .section__grid,
.page-shell--maker .section--step-2 .section__grid {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
}

.page-shell--play .section__grid,
.page-shell--contact .section__grid--form {
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 0.64fr);
}

.page-shell--digital .feature-list,
.page-shell--studio .feature-list,
.page-shell--maker .feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-shell--evidence .section__grid--cases .section__intro {
  padding: 24px 0 0;
  border-top: 3px solid var(--page-accent);
}

.section--muted {
  background: var(--paper-2);
}

.section__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: start;
}

.section__intro {
  order: initial;
  position: sticky;
  top: 150px;
  max-width: 620px;
}

.section__intro .lead {
  font-size: 18px;
}

.section__body {
  order: initial;
  display: grid;
  gap: 20px;
  min-width: 0;
}

.section__body > p,
.section__body > .lead,
.section__body > .feature-list {
  max-width: 78ch;
}

.section-media {
  width: min(100%, 620px);
  margin: 6px 0 0;
  overflow: hidden;
  border: 1px solid rgba(var(--page-accent-rgb), 0.18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(30, 57, 87, 0.08);
}

.section__intro .section-media {
  width: 100%;
  max-width: 500px;
  margin-top: 22px;
}

.section-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: rgba(var(--page-accent-rgb), 0.08);
}

.section-media figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
}

.section__body > .btn {
  justify-self: start;
  max-width: 100%;
}

.section__body :where(img, figure, .wp-block-image) {
  max-width: 100%;
}

.section__body :where(img) {
  height: auto;
}

.section__body :where(.aligncenter, .has-text-align-center, .wp-block-image.aligncenter),
.section__body :where(.is-style-robotedu-centered) {
  clear: both;
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section__body :where(img.aligncenter),
.section__body :where(.aligncenter img),
.section__body :where(.is-style-robotedu-centered img) {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.section__body :where(.alignleft) {
  float: left;
  margin: 6px 24px 18px 0;
}

.section__body :where(.alignright) {
  float: right;
  margin: 6px 0 18px 24px;
}

.section__body :where(.alignwide, .is-style-robotedu-wide-media) {
  width: min(100%, 760px);
  max-width: 100%;
}

.section__body :where(.alignfull) {
  width: 100%;
  max-width: 100%;
}

.section__body :where(.is-style-robotedu-framed, .is-style-robotedu-wide-media) {
  overflow: hidden;
  border: 1px solid rgba(var(--page-accent-rgb), 0.2);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(30, 57, 87, 0.08);
}

.section__body :where(.is-style-robotedu-framed img, .is-style-robotedu-wide-media img) {
  display: block;
  width: 100%;
}

.section__grid--cases {
  grid-template-columns: 1fr;
  gap: 34px;
}

.section__grid--cases .section__intro {
  order: initial;
  position: static;
  max-width: 780px;
}

.section__grid--cases .section__body {
  order: initial;
  min-width: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.cases-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: stretch;
}

.card {
  display: flex;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  flex-direction: column;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card h2,
.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.card p {
  color: var(--ink-soft);
  font-size: 15px;
}

.section-card-grid {
  align-items: stretch;
}

.section-card {
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(143, 189, 95, 0.12), rgba(92, 168, 197, 0.08) 52%, rgba(255, 255, 255, 0) 82%),
    var(--white);
}

.section-card .eyebrow {
  margin-bottom: 10px;
}

.section-card p {
  line-height: 1.58;
}

.section-card .card__actions {
  margin-top: auto;
  padding-top: 20px;
}

.page-shell--formacion-al-profesorado #recursos .section-card-grid > .section-card:only-child {
  grid-column: 1 / -1;
}

.page-shell--formacion-al-profesorado #recursos .section-card .card__actions,
.page-shell--creacion-de-contenido-y-consultoria #servicios .section-actions {
  justify-content: center;
}

.page-shell--creacion-de-contenido-y-consultoria #servicios .section-actions {
  margin-top: 28px;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__intro .maker-logo-orbit {
  min-height: clamp(334px, 29vw, 388px);
  margin: clamp(34px, 4.4vw, 50px) 0 0;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__intro .maker-logo-orbit__core {
  width: clamp(132px, 12vw, 158px);
  min-height: clamp(132px, 12vw, 158px);
  padding: 16px;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__intro .maker-logo-orbit__item {
  width: clamp(86px, 8.5vw, 112px);
  min-height: 74px;
  padding: 10px 12px 9px;
  transform: translate(-50%, -50%) rotate(var(--logo-angle)) translateX(clamp(118px, 12.4vw, 148px)) rotate(calc(var(--logo-angle) * -1));
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__intro .maker-logo-orbit__item img {
  width: min(100%, 76px);
  height: 30px;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__intro .maker-logo-orbit__item figcaption {
  font-size: 9px;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__grid {
  align-items: start;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__intro {
  position: static;
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__intro .lead {
  margin-bottom: 0;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__body .section-media {
  justify-self: center;
  width: min(100%, 540px);
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__body .maker-logo-orbit {
  width: min(100%, 560px);
  min-height: clamp(260px, 25vw, 318px);
  margin: 0 auto 22px;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__body .maker-logo-orbit::before {
  inset: 8%;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__body .maker-logo-orbit::after {
  inset: 25%;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__body .maker-logo-orbit__core {
  width: clamp(106px, 10vw, 132px);
  min-height: clamp(106px, 10vw, 132px);
  padding: 14px;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__body .maker-logo-orbit__core img {
  width: min(100%, 98px);
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__body .maker-logo-orbit__item {
  width: clamp(82px, 8vw, 104px);
  min-height: 70px;
  padding: 9px 10px 8px;
  transform: translate(-50%, -50%) rotate(var(--logo-angle)) translateX(clamp(104px, 10.8vw, 132px)) rotate(calc(var(--logo-angle) * -1));
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__body .maker-logo-orbit__item img {
  width: min(100%, 72px);
  height: 28px;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__body .maker-logo-orbit__item figcaption {
  font-size: 8.5px;
}

.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__body > .btn {
  justify-self: center;
  text-align: center;
}

.page-shell--creacion-de-contenido-y-consultoria #servicios .section-media,
.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section-media,
.page-shell--creacion-de-contenido-y-consultoria #autoridad .section-media,
.page-shell--creacion-de-contenido-y-consultoria #proyecto .section-media {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 4px;
}

.page-shell--creacion-de-contenido-y-consultoria #servicios .section-media img,
.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section-media img,
.page-shell--creacion-de-contenido-y-consultoria #autoridad .section-media img,
.page-shell--creacion-de-contenido-y-consultoria #proyecto .section-media img {
  aspect-ratio: auto;
  background: transparent;
  object-fit: contain;
}

.page-shell--creacion-de-contenido-y-consultoria #servicios .section-media figcaption,
.page-shell--creacion-de-contenido-y-consultoria #fabricantes .section-media figcaption,
.page-shell--creacion-de-contenido-y-consultoria #autoridad .section-media figcaption,
.page-shell--creacion-de-contenido-y-consultoria #proyecto .section-media figcaption {
  margin-top: 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  color: var(--ink-soft);
}

:root[data-robotedu-theme="dark"] .page-shell--creacion-de-contenido-y-consultoria #servicios .section-media figcaption,
:root[data-robotedu-theme="dark"] .page-shell--creacion-de-contenido-y-consultoria #fabricantes .section-media figcaption,
:root[data-robotedu-theme="dark"] .page-shell--creacion-de-contenido-y-consultoria #autoridad .section-media figcaption,
:root[data-robotedu-theme="dark"] .page-shell--creacion-de-contenido-y-consultoria #proyecto .section-media figcaption {
  background: rgba(7, 20, 30, 0.72);
  color: #e8f5fb;
  box-shadow: inset 0 0 0 1px rgba(138, 211, 230, 0.18);
}

.page-shell--formacion-al-profesorado #cep .section-media,
.page-shell--formacion-al-profesorado #puntos-vuela .section-media {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 16px;
}

.page-shell--formacion-al-profesorado #cep .section-media img,
.page-shell--formacion-al-profesorado #puntos-vuela .section-media img {
  aspect-ratio: auto;
  background: transparent;
  object-fit: contain;
}

.page-shell--formacion-al-profesorado #cep .section-media figcaption,
.page-shell--formacion-al-profesorado #puntos-vuela .section-media figcaption {
  margin-top: 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  color: var(--ink-soft);
}

:root[data-robotedu-theme="dark"] .page-shell--formacion-al-profesorado #cep .section-media figcaption,
:root[data-robotedu-theme="dark"] .page-shell--formacion-al-profesorado #puntos-vuela .section-media figcaption {
  background: rgba(7, 20, 30, 0.72);
  color: #e8f5fb;
  box-shadow: inset 0 0 0 1px rgba(138, 211, 230, 0.18);
}

.maker-logo-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 42vw, 520px);
  margin: clamp(10px, 2vw, 24px) auto 28px;
  isolation: isolate;
}

.maker-logo-orbit::before,
.maker-logo-orbit::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid color-mix(in srgb, var(--blue) 28%, transparent);
  border-radius: 999px;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--green) 11%, transparent), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 7%, transparent), color-mix(in srgb, var(--yellow) 8%, transparent));
  box-shadow: inset 0 0 42px color-mix(in srgb, var(--blue) 10%, transparent);
  pointer-events: none;
}

.maker-logo-orbit::after {
  inset: 24%;
  border-style: dashed;
  border-color: color-mix(in srgb, var(--green) 35%, transparent);
  animation: makerOrbitSpin 20s linear infinite, makerOrbitBreathe 5.8s ease-in-out infinite;
}

.maker-logo-orbit__core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(148px, 16vw, 190px);
  min-height: clamp(148px, 16vw, 190px);
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--line));
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.96), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), color-mix(in srgb, var(--paper-2) 86%, #ffffff));
  box-shadow: 0 24px 70px rgba(30, 57, 87, 0.14);
  text-align: center;
  animation: makerCoreFloat 6.5s ease-in-out infinite;
}

.maker-logo-orbit__core::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--green) 70%, transparent), transparent 34%);
  opacity: 0.64;
  animation: makerOrbitSpin 7s linear infinite;
}

.maker-logo-orbit__core img {
  display: block;
  width: min(100%, 138px);
  height: auto;
  object-fit: contain;
}

.maker-logo-orbit__ring {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.maker-logo-orbit__item {
  --logo-angle: 0deg;
  --logo-delay: 0s;
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  gap: 8px;
  place-items: center;
  width: clamp(112px, 12vw, 148px);
  min-height: 94px;
  margin: 0;
  padding: 14px 16px 12px;
  border: 1px solid color-mix(in srgb, var(--blue) 18%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), color-mix(in srgb, var(--paper) 82%, #ffffff));
  box-shadow: 0 18px 46px rgba(30, 57, 87, 0.13);
  transform: translate(-50%, -50%) rotate(var(--logo-angle)) translateX(clamp(150px, 19vw, 230px)) rotate(calc(var(--logo-angle) * -1));
  animation: makerLogoFocus 12s ease-in-out infinite, makerLogoDrift 7s ease-in-out infinite;
  animation-delay: var(--logo-delay);
}

.maker-logo-orbit__item img {
  width: min(100%, 98px);
  height: 42px;
  object-fit: contain;
}

.maker-logo-orbit__item figcaption {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.maker-logo-orbit__item--1 { --logo-angle: -90deg; --logo-delay: 0s; }
.maker-logo-orbit__item--2 { --logo-angle: -30deg; --logo-delay: -10s; }
.maker-logo-orbit__item--3 { --logo-angle: 30deg; --logo-delay: -8s; }
.maker-logo-orbit__item--4 { --logo-angle: 90deg; --logo-delay: -6s; }
.maker-logo-orbit__item--5 { --logo-angle: 150deg; --logo-delay: -4s; }
.maker-logo-orbit__item--6 { --logo-angle: 210deg; --logo-delay: -2s; }

@keyframes makerOrbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes makerOrbitBreathe {
  0%,
  100% {
    opacity: 0.56;
    scale: 0.98;
  }

  50% {
    opacity: 0.9;
    scale: 1.03;
  }
}

@keyframes makerCoreFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}

@keyframes makerLogoDrift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

@keyframes makerLogoFocus {
  0%,
  11%,
  100% {
    filter: saturate(0.9);
    opacity: 0.74;
    scale: 0.94;
  }

  16%,
  27% {
    border-color: color-mix(in srgb, var(--green) 54%, var(--line));
    filter: saturate(1.08);
    opacity: 1;
    scale: 1.08;
    box-shadow: 0 22px 58px color-mix(in srgb, var(--green) 20%, rgba(30, 57, 87, 0.16));
  }
}

.section--retention {
  --retention-band-a: #e6f4f8;
  --retention-band-b: #eef8f4;
  --retention-band-c: #fff6e7;
  --retention-glow-a: rgba(47, 125, 181, 0.2);
  --retention-glow-b: rgba(45, 139, 132, 0.16);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 14%, var(--retention-glow-a), transparent 32%),
    radial-gradient(circle at 88% 12%, var(--retention-glow-b), transparent 30%),
    linear-gradient(135deg, var(--retention-band-a) 0%, var(--retention-band-b) 54%, var(--retention-band-c) 100%);
  border-block: 1px solid rgba(47, 125, 181, 0.14);
}

.section--retention::before {
  background: linear-gradient(180deg, rgba(47, 125, 181, 0.54), rgba(45, 139, 132, 0.5));
}

.section--retention .section__grid {
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 38px);
}

.section--retention .section__intro {
  order: initial;
  position: static;
  max-width: 920px;
}

.section--retention .section__intro h2,
.section--retention .section__intro .lead,
.section--retention .section__intro .eyebrow {
  color: var(--ink);
}

.section--retention .section__intro .lead {
  color: var(--ink-soft);
}

.section--retention .section__body {
  order: initial;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.section--retention .section-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 18px;
}

.section--retention .section-card {
  --retention-color: var(--blue);
  min-height: 260px;
  border-color: color-mix(in srgb, var(--retention-color) 28%, var(--line));
  border-top: 4px solid var(--retention-color);
  box-shadow: 0 18px 38px rgba(30, 57, 87, 0.1);
  background:
    radial-gradient(circle at 96% 8%, color-mix(in srgb, var(--retention-color) 18%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--retention-color) 11%, #ffffff), rgba(255, 255, 255, 0.97) 62%),
    var(--white);
}

.section--retention .section-card .eyebrow {
  color: color-mix(in srgb, var(--retention-color) 82%, #12324f);
}

.section--retention .section-card:hover {
  border-color: color-mix(in srgb, var(--retention-color) 78%, var(--blue));
}

.section--retention .section-card .btn {
  border-color: color-mix(in srgb, var(--retention-color) 82%, #12324f);
  background: var(--retention-color);
  color: #ffffff;
}

.section--retention .section-card .btn:hover {
  border-color: color-mix(in srgb, var(--retention-color) 70%, #07141e);
  background: color-mix(in srgb, var(--retention-color) 84%, #07141e);
  color: #ffffff;
}

.section-card--case { --retention-color: #2f7db5; }
.section-card--store { --retention-color: #d49528; }
.section-card--academy { --retention-color: #7067d6; }
.section-card--blog { --retention-color: #2d8b84; }
.section-card--training { --retention-color: #2f7db5; }
.section-card--content { --retention-color: #2d8b84; }
.section-card--contact { --retention-color: #d96c4a; }
.section-card--proa { --retention-color: #d96c4a; }
.section-card--workshop { --retention-color: #2f7db5; }

.page-shell--puntos-vuela,
.page-shell--fabricantes-robotica,
.page-shell--programas-proa {
  --landing-primary: var(--blue);
  --landing-secondary: var(--green);
  --landing-contrast: #123f59;
  background:
    radial-gradient(circle at 8% 10%, color-mix(in srgb, var(--landing-primary) 18%, transparent), transparent 32%),
    radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--landing-secondary) 18%, transparent), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--landing-primary) 8%, #ffffff), transparent 620px),
    var(--paper);
}

.page-shell--puntos-vuela {
  --landing-primary: #2d8b84;
  --landing-secondary: #8fbd5f;
  --landing-contrast: #0f5f62;
}

.page-shell--fabricantes-robotica {
  --landing-primary: #6b63d9;
  --landing-secondary: #5ca8c5;
  --landing-contrast: #443ba8;
}

.page-shell--programas-proa {
  --landing-primary: #ef6b4a;
  --landing-secondary: #f4b942;
  --landing-contrast: #9d4b24;
}

.page-shell--puntos-vuela .hero,
.page-shell--fabricantes-robotica .hero,
.page-shell--programas-proa .hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(76px, 8vw, 118px);
  padding-bottom: clamp(58px, 7vw, 92px);
  border-bottom: 1px solid color-mix(in srgb, var(--landing-primary) 38%, var(--line));
  background:
    radial-gradient(circle at 78% 12%, color-mix(in srgb, var(--landing-secondary) 28%, transparent), transparent 30%),
    linear-gradient(122deg, color-mix(in srgb, var(--landing-primary) 24%, #ffffff) 0%, color-mix(in srgb, var(--landing-secondary) 18%, #ffffff) 52%, #ffffff 100%),
    var(--paper);
}

.page-shell--puntos-vuela .hero::before,
.page-shell--fabricantes-robotica .hero::before,
.page-shell--programas-proa .hero::before {
  content: "Programa especializado";
  position: absolute;
  top: 28px;
  left: max(24px, calc((100vw - var(--width)) / 2));
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--landing-primary) 34%, rgba(255, 255, 255, 0.7));
  border-radius: 999px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--landing-primary) 88%, #ffffff), color-mix(in srgb, var(--landing-secondary) 76%, #ffffff));
  color: #ffffff;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--landing-primary) 20%, transparent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-shell--puntos-vuela .hero::after,
.page-shell--fabricantes-robotica .hero::after,
.page-shell--programas-proa .hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -34% 46%;
  height: 58%;
  border-radius: 999px 0 0 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--landing-primary) 16%, transparent), color-mix(in srgb, var(--landing-secondary) 16%, transparent));
  transform: rotate(-7deg);
  pointer-events: none;
}

.page-shell--puntos-vuela .hero__grid,
.page-shell--fabricantes-robotica .hero__grid,
.page-shell--programas-proa .hero__grid {
  position: relative;
  z-index: 1;
}

.page-shell--puntos-vuela .hero h1,
.page-shell--fabricantes-robotica .hero h1,
.page-shell--programas-proa .hero h1 {
  max-width: 16ch;
}

.page-shell--puntos-vuela .hero .media-card,
.page-shell--fabricantes-robotica .hero .media-card,
.page-shell--programas-proa .hero .media-card {
  border-color: color-mix(in srgb, var(--landing-primary) 38%, var(--line));
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--landing-secondary) 16%, transparent), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38));
  box-shadow: 0 22px 58px color-mix(in srgb, var(--landing-primary) 18%, rgba(30, 57, 87, 0.1));
}

.page-shell--puntos-vuela .hero .media-card img,
.page-shell--fabricantes-robotica .hero .media-card img,
.page-shell--programas-proa .hero .media-card img {
  min-height: clamp(300px, 34vw, 430px);
  object-fit: contain;
  padding: clamp(16px, 2.8vw, 30px);
}

.page-shell--puntos-vuela .subnav,
.page-shell--fabricantes-robotica .subnav,
.page-shell--programas-proa .subnav {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--landing-primary) 20%, #ffffff), color-mix(in srgb, var(--landing-secondary) 16%, #ffffff));
  border-block-color: color-mix(in srgb, var(--landing-primary) 32%, var(--line));
}

.page-shell--puntos-vuela .section--page,
.page-shell--fabricantes-robotica .section--page,
.page-shell--programas-proa .section--page {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--landing-primary) 7%, transparent), transparent 40%),
    var(--paper);
}

.page-shell--puntos-vuela .section--page::before,
.page-shell--fabricantes-robotica .section--page::before,
.page-shell--programas-proa .section--page::before {
  width: 6px;
  height: 92px;
  background: linear-gradient(180deg, var(--landing-primary), var(--landing-secondary));
}

.page-shell--puntos-vuela .section__grid,
.page-shell--fabricantes-robotica .section__grid,
.page-shell--programas-proa .section__grid {
  gap: clamp(34px, 5vw, 84px);
}

.page-shell--puntos-vuela .section__intro,
.page-shell--fabricantes-robotica .section__intro,
.page-shell--programas-proa .section__intro {
  position: relative;
}

.page-shell--puntos-vuela .section__intro h2,
.page-shell--fabricantes-robotica .section__intro h2,
.page-shell--programas-proa .section__intro h2 {
  max-width: 13ch;
  text-wrap: balance;
}

.page-shell--puntos-vuela .section__body,
.page-shell--fabricantes-robotica .section__body,
.page-shell--programas-proa .section__body {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.page-shell--puntos-vuela .feature-list,
.page-shell--fabricantes-robotica .feature-list,
.page-shell--programas-proa .feature-list {
  margin: 0;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid color-mix(in srgb, var(--landing-primary) 20%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  box-shadow: 0 16px 38px rgba(18, 50, 79, 0.08);
}

.page-shell--puntos-vuela .section-media,
.page-shell--fabricantes-robotica .section-media,
.page-shell--programas-proa .section-media {
  margin: 0;
  border-color: color-mix(in srgb, var(--landing-primary) 28%, var(--line));
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 44%, color-mix(in srgb, var(--landing-secondary) 13%, transparent), transparent 58%),
    color-mix(in srgb, var(--paper) 88%, transparent);
  box-shadow: 0 20px 52px color-mix(in srgb, var(--landing-primary) 14%, transparent);
}

.page-shell--puntos-vuela .section-media img,
.page-shell--fabricantes-robotica .section-media img,
.page-shell--programas-proa .section-media img {
  min-height: clamp(240px, 28vw, 360px);
  object-fit: contain;
  padding: clamp(12px, 2vw, 24px);
}

.page-shell--puntos-vuela .media-slot-grid,
.page-shell--fabricantes-robotica .media-slot-grid,
.page-shell--programas-proa .media-slot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-shell--puntos-vuela .media-slot,
.page-shell--fabricantes-robotica .media-slot,
.page-shell--programas-proa .media-slot {
  align-items: flex-start;
  border-color: color-mix(in srgb, var(--landing-primary) 22%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--landing-primary) 6%, var(--paper)), var(--paper));
}

.page-shell--puntos-vuela .media-slot__icon,
.page-shell--fabricantes-robotica .media-slot__icon,
.page-shell--programas-proa .media-slot__icon {
  background: linear-gradient(135deg, var(--landing-primary), var(--landing-secondary));
  color: #ffffff;
}

.page-shell--puntos-vuela .section-card,
.page-shell--fabricantes-robotica .section-card,
.page-shell--programas-proa .section-card {
  border-color: color-mix(in srgb, var(--landing-primary) 22%, var(--line));
}

.page-shell--puntos-vuela .facts,
.page-shell--fabricantes-robotica .facts,
.page-shell--programas-proa .facts {
  border-color: color-mix(in srgb, var(--landing-primary) 24%, var(--line));
}

.page-shell--puntos-vuela .section--highlight,
.page-shell--fabricantes-robotica .section--highlight,
.page-shell--programas-proa .section--highlight {
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--landing-secondary) 18%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--landing-primary) 18%, #ffffff), color-mix(in srgb, var(--landing-secondary) 15%, #ffffff)),
    var(--paper);
}

.page-shell--extraescolares-robotica .hero {
  background:
    linear-gradient(135deg, rgba(143, 189, 95, 0.18), rgba(92, 168, 197, 0.12) 42%, rgba(255, 255, 255, 0.32)),
    var(--paper);
}

.page-shell--extraescolares-robotica .hero h1 {
  max-width: 18ch;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.page-shell--extraescolares-robotica .hero .lead {
  max-width: 58ch;
  text-wrap: pretty;
}

.page-shell--extraescolares-robotica .media-card img {
  min-height: 360px;
  object-fit: cover;
}

.section--levels .section__grid,
.section--highlight .section__grid,
.section--family-form .section__grid {
  align-items: start;
}

.page-shell--extraescolares-robotica .section__intro,
.page-shell--extraescolares-robotica .section__body,
.page-shell--extraescolares-robotica .section__body > *,
.page-shell--extraescolares-robotica .icon-card,
.page-shell--extraescolares-robotica .fact,
.page-shell--extraescolares-robotica label {
  min-width: 0;
}

.page-shell--extraescolares-robotica h2,
.page-shell--extraescolares-robotica h3,
.page-shell--extraescolares-robotica p,
.page-shell--extraescolares-robotica li,
.page-shell--extraescolares-robotica dd,
.page-shell--extraescolares-robotica summary,
.page-shell--extraescolares-robotica .btn,
.page-shell--extraescolares-robotica .card__more {
  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.section--levels .section__grid {
  grid-template-columns: minmax(250px, 0.32fr) minmax(0, 0.68fr);
}

.section--levels .section__body {
  padding: 30px;
}

.levels-table {
  display: grid;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--page-accent) 24%, var(--line));
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(30, 57, 87, 0.08);
}

.levels-table__row {
  display: grid;
  grid-template-columns: minmax(126px, 0.78fr) minmax(76px, 0.38fr) minmax(140px, 0.88fr) minmax(0, 1.44fr);
  gap: 22px;
  align-items: start;
  padding: 22px 26px;
  border-top: 1px solid var(--line);
}

.levels-table__row > * {
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.levels-table__row:first-child {
  border-top: 0;
}

.levels-table__head {
  background: linear-gradient(135deg, rgba(var(--page-accent-rgb), 0.15), rgba(var(--page-soft-rgb), 0.1));
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.levels-table__row strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.levels-table__row span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.58;
}

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

.icon-card-grid:has(> .icon-card:nth-child(3):last-child),
.section-card-grid:has(> .section-card:nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-card-grid:has(> .icon-card:nth-child(3):last-child) .icon-card {
  grid-template-columns: 1fr;
}

.section--highlight {
  background:
    radial-gradient(circle at 12% 16%, rgba(143, 189, 95, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(12, 89, 112, 0.09), rgba(143, 189, 95, 0.08)),
    var(--paper-2);
}

.section--highlight .section__body {
  border: 1px solid color-mix(in srgb, var(--green) 35%, var(--line));
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(238, 248, 247, 0.92)),
    var(--surface);
}

.icon-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.icon-card:hover {
  border-color: color-mix(in srgb, var(--page-accent) 55%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.icon-card__mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(92, 168, 197, 0.17), rgba(143, 189, 95, 0.18)),
    var(--paper-2);
  color: var(--page-accent);
}

.icon-card__mark svg {
  width: 27px;
  height: 27px;
}

.icon-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.icon-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.58;
}

.icon-card .card__more {
  display: inline-flex;
  align-items: center;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.media-slot-grid {
  display: grid;
  gap: 16px;
}

.media-slot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 180px;
  padding: 22px;
  border: 1px dashed color-mix(in srgb, var(--page-accent) 42%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--page-accent-rgb), 0.07), rgba(var(--page-soft-rgb), 0.08)),
    var(--surface);
  color: var(--ink);
}

.media-slot:has(img) {
  grid-template-columns: 1fr;
  justify-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  border-style: solid;
  background: transparent;
}

.media-slot:has(img) .media-slot__icon {
  display: none;
}

.media-slot :where(img, figure, .wp-block-image) {
  float: none;
  display: block;
  width: auto;
  max-width: min(100%, 680px);
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.media-slot :where(figure, .wp-block-image) {
  width: fit-content;
}

.media-slot :where(img.alignleft, img.alignright, img.aligncenter) {
  float: none;
  margin-right: auto;
  margin-left: auto;
}

.media-slot :where(.alignleft, .alignright, .aligncenter) {
  float: none;
  margin-right: auto;
  margin-left: auto;
}

.media-slot :where(.wp-caption, figcaption) {
  max-width: min(100%, 620px);
  text-align: center;
}

.media-slot__icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--page-accent);
  box-shadow: inset 0 0 0 1px rgba(var(--page-accent-rgb), 0.14);
}

.media-slot__icon svg {
  width: 32px;
  height: 32px;
}

.media-slot__copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.media-slot__copy .eyebrow {
  margin-bottom: 0;
}

.media-slot__copy strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.22;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.media-slot__copy span:last-child {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.family-form {
  border: 1px solid color-mix(in srgb, var(--page-accent) 28%, var(--line));
  box-shadow: 0 16px 38px rgba(30, 57, 87, 0.08);
}

.page-shell--academia-online {
  --page-accent: #33c3d8;
  --page-accent-2: #9bd765;
  --page-accent-rgb: 51, 195, 216;
  --page-soft-rgb: 155, 215, 101;
  background:
    linear-gradient(180deg, rgba(51, 195, 216, 0.08) 0, rgba(155, 215, 101, 0.08) 46%, var(--paper) 100%);
  color: var(--ink);
}

.page-shell--academia-online .hero {
  position: relative;
  min-height: min(680px, calc(100dvh - var(--robotedu-header-height)));
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--paper-2) 94%, transparent), color-mix(in srgb, var(--surface) 70%, transparent)),
    var(--paper);
  color: var(--ink);
  isolation: isolate;
}

.page-shell--academia-online .hero__video-slot {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(51, 195, 216, 0.16), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(155, 215, 101, 0.18), transparent 32%),
    var(--hero-poster, none) center / cover no-repeat,
    linear-gradient(135deg, #eaf6f6 0%, #f6fbf8 52%, #eef6e8 100%);
}

.page-shell--academia-online .hero__video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.page-shell--academia-online .hero__video-slot::before,
.page-shell--academia-online .hero__video-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-shell--academia-online .hero__video-slot::before {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--paper) 96%, transparent), color-mix(in srgb, var(--paper) 68%, transparent) 45%, color-mix(in srgb, var(--paper) 90%, transparent)),
    linear-gradient(180deg, rgba(244, 248, 248, 0.14), var(--paper) 100%);
}

.page-shell--academia-online .hero__video-slot::after {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(46, 125, 166, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 125, 166, 0.14) 1px, transparent 1px);
  background-size: 70px 70px;
  animation: academy-grid-pan 16s linear infinite;
}

.page-shell--academia-online .hero__video-screen {
  position: absolute;
  right: max(24px, calc((100vw - var(--width)) / 2));
  bottom: 74px;
  width: min(40vw, 460px);
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(111, 220, 232, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(51, 195, 216, 0.2), rgba(155, 215, 101, 0.12)),
    color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: 0 34px 90px rgba(30, 57, 87, 0.16);
  transform: perspective(980px) rotateY(-10deg) rotateX(2deg);
  backdrop-filter: blur(12px);
}

.page-shell--academia-online .hero__video-screen span {
  position: absolute;
  left: 9%;
  width: 58%;
  height: 8px;
  border-radius: 999px;
  background: rgba(234, 247, 251, 0.72);
  box-shadow: 0 0 22px rgba(51, 195, 216, 0.38);
  animation: academy-code-pulse 3.8s ease-in-out infinite;
}

.page-shell--academia-online .hero__video-screen span:nth-child(1) {
  top: 24%;
}

.page-shell--academia-online .hero__video-screen span:nth-child(2) {
  top: 39%;
  width: 74%;
  background: rgba(155, 215, 101, 0.68);
  animation-delay: 0.3s;
}

.page-shell--academia-online .hero__video-screen span:nth-child(3) {
  top: 54%;
  width: 48%;
  animation-delay: 0.7s;
}

.page-shell--academia-online .hero__video-screen span:nth-child(4) {
  top: 69%;
  width: 68%;
  background: rgba(240, 180, 41, 0.64);
  animation-delay: 1.1s;
}

.page-shell--academia-online .hero__login {
  position: absolute;
  top: 34px;
  right: max(20px, calc((100vw - var(--width)) / 2));
  z-index: 2;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid rgba(234, 247, 251, 0.22);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--ink);
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.page-shell--academia-online .hero__grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 0.28fr);
  min-height: min(680px, calc(100dvh - var(--robotedu-header-height)));
  align-items: center;
}

.page-shell--academia-online .hero__copy {
  max-width: 820px;
}

.page-shell--academia-online .hero h1 {
  max-width: 17ch;
  color: var(--ink);
  font-size: 52px;
  line-height: 1.02;
}

.page-shell--academia-online .hero .lead {
  max-width: 62ch;
  color: var(--ink-soft);
}

.page-shell--academia-online .hero .media-card {
  display: block;
}

.page-shell--academia-online .subnav {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--ink);
}

.page-shell--academia-online .section {
  background: transparent;
}

.page-shell--academia-online .section--step-2,
.page-shell--academia-online .section--muted {
  background:
    linear-gradient(135deg, rgba(51, 195, 216, 0.08), rgba(155, 215, 101, 0.06)),
    var(--paper-2);
}

.page-shell--academia-online .cta-band {
  background:
    linear-gradient(135deg, rgba(51, 195, 216, 0.16), rgba(155, 215, 101, 0.12)),
    var(--surface);
  color: var(--ink);
}

.page-shell--academia-online .cta-band p {
  color: var(--ink-soft);
}

.page-shell--academia-online .section__body {
  border-color: rgba(51, 195, 216, 0.24);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: 0 20px 52px rgba(30, 57, 87, 0.1);
}

.page-shell--academia-online #catalogo .section__grid,
.page-shell--academia-online #planes .section__grid {
  grid-template-columns: 1fr;
}

.page-shell--academia-online #catalogo .section__intro,
.page-shell--academia-online #planes .section__intro {
  order: initial;
  position: static;
  max-width: 850px;
}

.page-shell--academia-online #catalogo .section__body,
.page-shell--academia-online #planes .section__body {
  order: initial;
}

.page-shell--academia-online #catalogo .section__body {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-shell--academia-online .icon-card,
.page-shell--academia-online .faq-item {
  border-color: rgba(51, 195, 216, 0.24);
  background:
    linear-gradient(135deg, rgba(51, 195, 216, 0.08), rgba(155, 215, 101, 0.05)),
    var(--surface);
  color: var(--ink);
}

.page-shell--academia-online .icon-card p,
.page-shell--academia-online .faq-item p {
  color: var(--ink-soft);
}

.page-shell--academia-online .icon-card__mark {
  background: rgba(51, 195, 216, 0.12);
  color: var(--teal);
}

.page-shell--academia-online h2,
.page-shell--academia-online h3,
.page-shell--academia-online .fact dd,
.page-shell--academia-online .faq-item summary {
  color: var(--ink);
}

.page-shell--academia-online .lead,
.page-shell--academia-online p,
.page-shell--academia-online li {
  color: var(--ink-soft);
}

.academy-shelves {
  display: grid;
  gap: 34px;
  min-width: 0;
}

.academy-shelf {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.academy-shelf__head {
  display: grid;
  gap: 6px;
}

.academy-shelf__head h3 {
  font-size: 24px;
}

.academy-shelf__head p {
  max-width: 62ch;
  font-size: 15px;
}

.academy-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 282px);
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 3px 3px 14px;
  scroll-padding-inline: 3px;
  scroll-snap-type: x mandatory;
}

.course-cover {
  position: relative;
  display: grid;
  min-height: 318px;
  padding: 20px;
  border: 1px solid rgba(51, 195, 216, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 14%, rgba(155, 215, 101, 0.24), transparent 30%),
    linear-gradient(145deg, rgba(51, 195, 216, 0.2), color-mix(in srgb, var(--surface) 94%, transparent) 48%, color-mix(in srgb, var(--paper-2) 92%, transparent)),
    var(--surface);
  color: var(--ink);
  align-content: end;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.course-cover:hover,
.course-cover:focus-visible {
  border-color: rgba(45, 139, 132, 0.62);
  box-shadow: 0 24px 60px rgba(30, 57, 87, 0.16);
  outline: 0;
  transform: translateY(-4px) scale(1.01);
}

.course-cover__art {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(51, 195, 216, 0.12);
  color: var(--teal);
}

.course-cover__art svg {
  width: 30px;
  height: 30px;
}

.course-cover__tag {
  width: max-content;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 5px 9px;
  border: 1px solid rgba(45, 139, 132, 0.24);
  border-radius: 999px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.course-cover strong {
  display: block;
  max-width: 100%;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.course-cover__meta {
  display: block;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.35;
}

.pricing-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(51, 195, 216, 0.28);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.pricing-table__row {
  display: grid;
  grid-template-columns: minmax(190px, 0.58fr) repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(51, 195, 216, 0.18);
}

.pricing-table__row:first-child {
  border-top: 0;
}

.pricing-table__row > * {
  min-width: 0;
  padding: 17px 18px;
  overflow-wrap: break-word;
}

.pricing-table__row > * + * {
  border-left: 1px solid rgba(51, 195, 216, 0.18);
}

.pricing-table__head {
  background:
    linear-gradient(135deg, rgba(51, 195, 216, 0.14), rgba(155, 215, 101, 0.08)),
    color-mix(in srgb, var(--surface-soft) 84%, transparent);
}

.pricing-table__head span {
  color: var(--ink);
  font-weight: 900;
}

.pricing-table__head em {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(240, 180, 41, 0.2);
  color: #8c5d00;
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  vertical-align: middle;
}

.pricing-table__row strong {
  color: var(--ink-soft);
}

.pricing-table__row span {
  color: var(--ink);
}

.pricing-table small {
  display: block;
  margin-top: 5px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.pricing-table .is-recommended {
  background: rgba(51, 195, 216, 0.09);
}

.pricing-table__actions .btn {
  width: 100%;
}

@keyframes academy-grid-pan {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 70px 70px, 70px 70px;
  }
}

@keyframes academy-code-pulse {
  0%,
  100% {
    opacity: 0.34;
    transform: translateX(0);
  }

  48% {
    opacity: 0.92;
    transform: translateX(12px);
  }
}

.card__more {
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.work-slider-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(232, 242, 242, 0) 36%),
    var(--paper-2);
}

.work-slider__heading {
  max-width: 760px;
}

.work-slider__heading .lead {
  max-width: 72ch;
  font-size: 18px;
}

.work-slider {
  position: relative;
}

.work-slider__arrow {
  position: absolute;
  top: calc(50% - 22px);
  z-index: 3;
  display: inline-flex;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(46, 125, 166, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue);
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(30, 57, 87, 0.16);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.work-slider__arrow:hover,
.work-slider__arrow:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  outline: 0;
  transform: translateY(-1px);
}

.work-slider__arrow svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-slider__arrow--prev {
  left: -10px;
}

.work-slider__arrow--next {
  right: -10px;
}

.work-slider__viewport {
  overflow: hidden;
  padding: 8px 38px 16px;
}

.work-slider__track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  padding: 4px 0 10px;
  transform: translateX(0);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.work-slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 0.3fr) minmax(0, 0.7fr);
  flex: 0 0 min(750px, 76vw);
  min-height: 268px;
  padding: 16px;
  border: 1px solid rgba(46, 125, 166, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(143, 189, 95, 0.14), rgba(92, 168, 197, 0.08) 48%, rgba(255, 255, 255, 0) 78%),
    var(--white);
  box-shadow: 0 18px 48px rgba(30, 57, 87, 0.08);
  gap: 18px;
  opacity: 0.52;
  transform: scale(0.94);
  transition: opacity 340ms ease, transform 340ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.work-slide.is-active {
  border-color: rgba(46, 125, 166, 0.42);
  box-shadow: 0 24px 60px rgba(30, 57, 87, 0.15);
  opacity: 1;
  transform: scale(1);
}

.work-slide:hover {
  border-color: var(--blue);
}

.work-slide__number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(22, 61, 89, 0.16);
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}

.work-slide__image {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(46, 125, 166, 0.14);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.work-slide__image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 600ms ease;
}

.work-slide.is-active .work-slide__image img,
.work-slide:hover .work-slide__image img {
  transform: scale(1.035);
}

.work-slide__content {
  display: flex;
  min-width: 0;
  padding: 12px 44px 10px 0;
  flex-direction: column;
}

.work-slide__status {
  width: max-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(45, 139, 132, 0.22);
  border-radius: 999px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.work-slide h3 {
  max-width: 24ch;
  margin: 14px 0 12px;
  font-size: 29px;
  line-height: 1.12;
}

.work-slide p {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
}

.work-slide__more {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.work-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.work-slider__dots button {
  width: 34px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(46, 125, 166, 0.24);
  transition: width 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.work-slider__dots button:hover,
.work-slider__dots button.is-active {
  width: 48px;
  background: var(--blue);
}

.card--media {
  padding: 0;
  overflow: hidden;
}

.card__image {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.card__image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.cases-grid .card {
  min-height: 100%;
}

.cases-grid .card__image img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.cases-grid .card__body {
  min-height: 270px;
}

.cases-grid .card h3 {
  overflow-wrap: anywhere;
}

.card__body {
  display: flex;
  padding: 22px;
  flex: 1;
  flex-direction: column;
}

.facts {
  display: grid;
  gap: 10px;
}

.fact {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 0.65fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.fact dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.stats-band {
  padding: 46px 0;
  background: var(--ink);
  color: var(--white);
}

.trust-wall {
  padding: clamp(48px, 6vw, 86px) 0;
  overflow: hidden;
}

.trust-wall--brands {
  background:
    radial-gradient(circle at 8% 8%, rgba(92, 168, 197, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(234, 247, 251, 0.82), rgba(247, 252, 248, 0.95) 58%, rgba(255, 247, 224, 0.62)),
    var(--paper);
}

.trust-wall--communities {
  background:
    radial-gradient(circle at 88% 12%, rgba(143, 189, 95, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(248, 252, 250, 0.98), rgba(234, 247, 251, 0.68)),
    var(--paper-2);
}

.trust-wall__inner {
  display: grid;
  gap: clamp(34px, 4.5vw, 58px);
}

.trust-wall__heading {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 0;
  text-align: center;
}

.trust-wall__heading h2 {
  max-width: 720px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08;
}

.trust-wall__heading p {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.trust-wall__grid {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(118px, 13vw, 158px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.trust-wall__track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: trustMarquee 38s linear infinite;
  will-change: transform;
}

.trust-wall--communities .trust-wall__track {
  animation-duration: 34s;
}

.trust-wall__grid.is-orbit-paused .trust-wall__track {
  animation-play-state: paused;
}

.trust-wall__set {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
}

.trust-logo {
  --logo-accent: var(--blue);
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 clamp(150px, 14vw, 190px);
  width: clamp(150px, 14vw, 190px);
  aspect-ratio: 16 / 9;
  padding: 14px 18px 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: color-mix(in srgb, var(--logo-accent) 76%, var(--ink));
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.trust-logo span {
  display: block;
  max-width: 12ch;
  color: inherit;
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
}

.trust-logo:hover,
.trust-logo:focus-within {
  border-color: color-mix(in srgb, var(--logo-accent) 36%, rgba(207, 225, 223, 0.86));
  box-shadow: 0 22px 46px rgba(30, 57, 87, 0.14);
  transform: translateY(-2px);
}

.trust-logo::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: 9px;
  z-index: 2;
  max-width: calc(100% - 18px);
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--logo-accent) 28%, rgba(255, 255, 255, 0.9));
  border-radius: 999px;
  background: #fff;
  color: #17364c;
  box-shadow: 0 10px 22px rgba(30, 57, 87, 0.12);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translate(-50%, 6px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
  pointer-events: none;
}

.trust-logo:hover::after,
.trust-logo:focus-within::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.trust-logo img {
  display: block;
  width: auto;
  max-width: min(100%, 148px);
  max-height: 74px;
  object-fit: contain;
  filter: var(--logo-filter, none);
  transition: transform 180ms ease, filter 180ms ease;
}

.trust-logo[data-logo="lego-education"],
.trust-logo[data-logo="xtool"] {
  padding-inline: 10px;
}

.trust-logo[data-logo="lego-education"] img,
.trust-logo[data-logo="xtool"] img {
  max-width: min(100%, 156px);
}

.trust-logo:has(img) span {
  display: none;
}

.trust-logo:hover img,
.trust-logo:focus-within img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.trust-logo:nth-child(6n + 1) { --logo-accent: #2f7db5; }
.trust-logo:nth-child(6n + 2) { --logo-accent: #2d8b84; }
.trust-logo:nth-child(6n + 3) { --logo-accent: #8fbd5f; }
.trust-logo:nth-child(6n + 4) { --logo-accent: #d49528; }
.trust-logo:nth-child(6n + 5) { --logo-accent: #6b63d9; }
.trust-logo:nth-child(6n + 6) { --logo-accent: #d96c4a; }

.trust-wall--communities .trust-logo {
  flex-basis: clamp(158px, 15vw, 202px);
  width: clamp(158px, 15vw, 202px);
}

.trust-wall--communities .trust-logo img {
  max-width: min(100%, 154px);
  max-height: 78px;
}

.trust-wall__actions {
  display: flex;
  justify-content: center;
  margin-top: -6px;
}

.trust-wall__open {
  min-height: 40px;
  padding: 9px 16px;
}

.trust-modal {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 28px);
}

.trust-modal[hidden] {
  display: none;
}

.trust-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 31, 0.68);
  backdrop-filter: blur(10px);
}

.trust-modal__panel {
  position: relative;
  width: min(980px, 96vw);
  max-height: min(760px, 90dvh);
  overflow: auto;
  border: 1px solid rgba(207, 225, 223, 0.72);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(92, 168, 197, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 248, 0.98)),
    var(--surface);
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.28);
}

.trust-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.trust-modal__header h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.trust-modal__close {
  display: inline-grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(46, 125, 166, 0.28);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
}

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

.trust-modal__close::before,
.trust-modal__close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.trust-modal__close::before {
  transform: rotate(45deg);
}

.trust-modal__close::after {
  transform: rotate(-45deg);
}

.trust-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 12px;
  padding: 20px;
}

.trust-modal__logo {
  display: grid;
  grid-template-rows: minmax(52px, 1fr) auto;
  place-items: center;
  gap: 10px;
  min-height: 112px;
  padding: 16px 14px;
  border: 1px solid rgba(207, 225, 223, 0.78);
  border-radius: 8px;
  background: #fff;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.trust-modal__logo::after {
  content: attr(data-name);
  color: #17364c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.trust-modal__logo:hover {
  border-color: color-mix(in srgb, var(--blue) 34%, rgba(207, 225, 223, 0.86));
  box-shadow: 0 14px 30px rgba(30, 57, 87, 0.12);
  transform: translateY(-2px);
}

.trust-modal__logo img {
  display: block;
  width: auto;
  max-width: min(100%, 112px);
  max-height: 52px;
  object-fit: contain;
  filter: var(--logo-filter, none);
}

.trust-modal__logo[data-logo="lego-education"],
.trust-modal__logo[data-logo="xtool"] {
  padding-inline: 10px;
}

.trust-modal__logo[data-logo="lego-education"] img,
.trust-modal__logo[data-logo="xtool"] img {
  max-width: min(100%, 132px);
}

.trust-logo img.trust-logo__image--dark,
.trust-modal__logo img.trust-logo__image--dark {
  display: none;
}

.stats-band__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: 42px;
  align-items: start;
}

.stats-band__intro h2 {
  color: var(--white);
  font-size: 32px;
}

.stats-band__intro p {
  margin-top: 14px;
  color: #d4e0ea;
  font-size: 15px;
  line-height: 1.65;
}

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

.stat {
  min-height: 116px;
  padding: 18px 0;
  border-top: 2px solid var(--blue-2);
}

.stat strong {
  display: block;
  color: var(--white);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}

.stat b {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: 17px;
  line-height: 1.25;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: #d4e0ea;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.45;
}

.stats-band--authority {
  background:
    radial-gradient(circle at 12% 18%, rgba(18, 140, 140, 0.36), transparent 34%),
    linear-gradient(135deg, #12324f 0%, #16435f 52%, #0f7f82 100%);
}

.stats-band__inner--authority {
  grid-template-columns: minmax(260px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(28px, 4vw, 54px);
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.authority-item {
  min-width: 0;
  padding: 18px 0 4px;
  border-top: 2px solid rgba(103, 198, 222, 0.78);
}

.authority-item span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.authority-item h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.12;
}

.authority-item p {
  margin: 12px 0 0;
  color: #e1edf4;
  font-size: 14px;
  line-height: 1.6;
}

.page-shell--home #casos {
  --home-band-accent: #2f7db5;
  --home-band-secondary: #2d8b84;
  background:
    radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--home-band-accent) 20%, transparent), transparent 34%),
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--home-band-secondary) 13%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--home-band-accent) 10%, #ffffff) 0%, color-mix(in srgb, var(--home-band-secondary) 7%, #ffffff) 54%, #fff7ea 100%);
  border-block: 1px solid color-mix(in srgb, var(--home-band-accent) 18%, var(--line));
}

.page-shell--home #casos .section-heading,
.page-shell--home .home-blog-section .section-heading {
  padding-top: 8px;
}

.page-shell--home .home-blog-section {
  --home-band-accent: #2d8b84;
  --home-band-secondary: #2f7db5;
  background:
    radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--home-band-accent) 20%, transparent), transparent 34%),
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--home-band-secondary) 13%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--home-band-accent) 10%, #ffffff) 0%, color-mix(in srgb, var(--home-band-secondary) 7%, #ffffff) 54%, #fff7ea 100%);
  border-block: 1px solid color-mix(in srgb, var(--home-band-accent) 18%, var(--line));
}

.home-blog-card {
  min-height: 220px;
}

.home-blog-card > :not(.card__image) {
  margin-inline: 20px;
}

.home-blog-card > .eyebrow {
  margin-top: 18px;
}

.home-blog-card > .card__more {
  margin-bottom: 20px;
}

.home-blog-card .card__image img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.home-blog-card h2,
.home-blog-card h3 {
  font-size: clamp(22px, 2.1vw, 28px);
}

.home-blog-card h2 a,
.home-blog-card h3 a {
  color: inherit;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0 22px 20px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-soft);
  overflow: hidden;
  overflow-wrap: anywhere;
}

.faq-item:not([open]) {
  padding-bottom: 0;
}

.faq-item summary {
  margin: 0 -22px 0 -40px;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.faq-item p {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.section .faq-list .faq-item > p {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.65;
}

.diagnostic-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.form-prompt-card {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid color-mix(in srgb, var(--page-accent, var(--blue)) 28%, var(--line));
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--page-accent, var(--blue)) 10%, #ffffff), rgba(255, 255, 255, 0.94)),
    var(--white);
  box-shadow: 0 18px 46px rgba(30, 57, 87, 0.08);
}

.form-prompt-card h3 {
  max-width: 16ch;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.form-prompt-card p {
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 24px);
}

.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 31, 0.72);
  backdrop-filter: blur(8px);
}

.form-modal__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(980px, 96vw);
  max-height: min(920px, 94dvh);
  overflow: hidden;
  border: 1px solid rgba(207, 225, 223, 0.72);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.34);
}

.form-modal__panel:focus {
  outline: 0;
}

.form-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 10%, rgba(92, 168, 197, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(234, 248, 255, 0.94), rgba(247, 252, 248, 0.92));
}

.form-modal__header h2 {
  font-size: clamp(26px, 3vw, 42px);
}

.form-modal__header p {
  max-width: 72ch;
  margin-top: 8px;
  color: var(--ink-soft);
}

.form-modal__body {
  min-height: 0;
  overflow: auto;
  padding: clamp(16px, 2vw, 24px);
}

.form-modal__body .diagnostic-form {
  box-shadow: none;
}

.form-modal__close {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(46, 125, 166, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.form-modal__close span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-modal__close::before,
.form-modal__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 21px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.form-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.form-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

label span {
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 11px 12px;
}

textarea {
  resize: vertical;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: 0 0 18px;
}

.form-actions p {
  color: var(--ink-soft);
  font-size: 14px;
}

.form-actions a {
  color: var(--blue);
  font-weight: 700;
}

.notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 700;
}

.notice--success {
  background: #dcfce7;
  color: #14532d;
}

.cta-band {
  padding: 54px 0;
  background:
    linear-gradient(90deg, rgba(34, 124, 181, 0.16), rgba(240, 180, 41, 0.16)),
    var(--paper);
  border-block: 1px solid var(--line);
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-band p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 52px 0 28px;
  background: var(--ink);
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 30px;
}

.brand--footer {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer p,
.site-footer li {
  color: #d4e0ea;
  font-size: 14px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--blue-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.footer-legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.assistant-launch {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 66px;
  max-width: min(88vw, 258px);
  padding: 8px 17px 8px 8px;
  border: 1px solid rgba(34, 124, 181, 0.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  box-shadow: var(--shadow);
  isolation: isolate;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  animation: assistantLaunchGlow 4.8s ease-in-out infinite;
}

.assistant-launch::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 2px solid rgba(15, 118, 110, 0.28);
  border-radius: inherit;
  opacity: 0;
  animation: assistantPulse 3.2s ease-out infinite;
}

.assistant-launch::after {
  content: "";
  position: absolute;
  left: 49px;
  bottom: 12px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(253, 202, 64, 0.18);
}

.assistant-launch:hover {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: 0 18px 42px rgba(15, 31, 46, 0.24);
  transform: translateY(-2px);
}

.assistant-launch img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 8px 12px rgba(15, 31, 46, 0.16));
  transform-origin: 50% 80%;
  animation: assistantIconWave 5.4s ease-in-out infinite;
}

.assistant-launch__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.assistant-launch__copy span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.05;
}

.assistant-launch__copy strong {
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.assistant-panel {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  background: rgba(30, 57, 87, 0.42);
  backdrop-filter: blur(4px);
  animation: assistantShadeIn 0.18s ease both;
}

.assistant-panel__card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  width: min(100%, 460px);
  height: min(720px, calc(100dvh - 48px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  animation: assistantPanelIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.assistant-panel__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff 0%, #eef8f7 100%);
}

.assistant-panel__header > img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.assistant-panel__header h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.assistant-panel__header p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.assistant-header-action {
  min-height: 38px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.assistant-thread {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  background: var(--white);
  scrollbar-gutter: stable;
}

.assistant-message {
  display: flex;
  margin-bottom: 12px;
  animation: assistantBubbleIn 0.18s ease both;
}

.assistant-message--user {
  justify-content: flex-end;
}

.assistant-message__bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
  box-shadow: 0 8px 20px rgba(15, 31, 46, 0.06);
}

.assistant-message__bubble--formatted {
  white-space: normal;
}

.assistant-message__bubble--formatted p {
  margin: 0 0 8px;
}

.assistant-message__bubble--formatted p:last-child {
  margin-bottom: 0;
}

.assistant-message__bubble--formatted h3 {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.3;
}

.assistant-message__bubble--formatted ul,
.assistant-message__bubble--formatted ol {
  display: grid;
  gap: 7px;
  margin: 0 0 9px;
}

.assistant-message__bubble--formatted ul {
  padding: 0;
  list-style: none;
}

.assistant-message__bubble--formatted ol {
  padding-left: 20px;
}

.assistant-message__bubble--formatted ul:last-child,
.assistant-message__bubble--formatted ol:last-child {
  margin-bottom: 0;
}

.assistant-message__bubble--formatted ul li {
  position: relative;
  padding-left: 17px;
}

.assistant-message__bubble--formatted ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.assistant-message__bubble--formatted strong {
  color: var(--ink);
  font-weight: 900;
}

.assistant-message--typing .assistant-message__bubble::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.1em;
  margin-left: 2px;
  border-radius: 999px;
  background: var(--teal);
  vertical-align: -0.15em;
  animation: assistantCaret 0.72s ease-in-out infinite;
}

.assistant-typing-block {
  display: none !important;
}

.assistant-message--queued {
  display: none;
}

.assistant-message--user .assistant-message__bubble {
  background: var(--blue);
  color: var(--white);
}

.assistant-message--status .assistant-message__bubble,
.assistant-message--meta .assistant-message__bubble {
  color: var(--muted);
  font-size: 12px;
}

.assistant-message--error .assistant-message__bubble {
  background: #fff1f0;
  color: #8f2f22;
}

.assistant-message--success .assistant-message__bubble {
  background: #dcfce7;
  color: #14532d;
}

.assistant-message--draft {
  display: grid;
  gap: 7px;
  padding: 12px 0;
}

.assistant-message--draft strong {
  font-size: 13px;
}

.assistant-message--draft pre {
  max-height: 270px;
  overflow: auto;
  padding: 12px;
  margin: 0;
  border-left: 3px solid var(--blue);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.assistant-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-height: 172px;
  overflow-y: auto;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.assistant-choice {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  box-shadow: 0 6px 14px rgba(34, 124, 181, 0.08);
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
  animation: assistantChoiceIn 0.2s ease both;
}

.assistant-choice:hover {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(34, 124, 181, 0.18);
  transform: translateY(-1px);
}

.assistant-choice--secondary {
  border-color: var(--line);
  color: var(--ink-soft);
}

.assistant-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.assistant-composer input {
  min-width: 0;
}

.assistant-composer .btn {
  min-height: 44px;
  padding-inline: 14px;
}

.assistant-form {
  display: grid;
  gap: 12px;
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--line);
}

.assistant-form__intro,
.assistant-form p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.assistant-form label {
  gap: 5px;
  font-size: 13px;
}

.assistant-form label span {
  font-size: 12px;
}

.assistant-form input,
.assistant-form select,
.assistant-form textarea {
  padding: 9px 10px;
  font-size: 13px;
}

.assistant-form textarea {
  min-height: 96px;
}

.assistant-form .btn {
  justify-self: start;
  min-height: 42px;
}

.assistant-form .check {
  font-weight: 500;
}

.assistant-form .check a {
  border-color: var(--blue);
  color: var(--blue);
}

.assistant-form__status {
  color: var(--coral) !important;
  font-weight: 700;
}

.assistant-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
}

.assistant-panel__legal {
  padding: 4px 14px 7px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.assistant-panel__legal a:hover {
  color: var(--blue);
}

@keyframes assistantLaunchGlow {
  0%,
  100% {
    box-shadow: var(--shadow);
  }
  50% {
    box-shadow: 0 18px 44px rgba(15, 118, 110, 0.22);
  }
}

@keyframes assistantPulse {
  0% {
    opacity: 0.5;
    transform: scale(0.98);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes assistantIconWave {
  0%,
  78%,
  100% {
    transform: rotate(0deg);
  }
  84% {
    transform: rotate(-4deg);
  }
  90% {
    transform: rotate(4deg);
  }
}

@keyframes assistantShadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes assistantPanelIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes assistantBubbleIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes assistantChoiceIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes assistantCaret {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

@keyframes brandRobotHalo {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  45% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 0.38;
    transform: scale(1);
  }
}

@keyframes brandLogoSheen {
  0% {
    transform: translateX(0) rotate(18deg);
  }
  100% {
    transform: translateX(520%) rotate(18deg);
  }
}

@keyframes brandSparkPop {
  0% {
    opacity: 0;
    transform: translateY(5px) scale(0.55);
  }
  36% {
    opacity: 1;
    transform: translateY(-1px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.72);
  }
}

@keyframes brandLogoLift {
  0% {
    transform: translateY(0) rotate(0) scale(1);
  }
  38% {
    transform: translateY(-2px) rotate(-1.2deg) scale(1.035);
  }
  72% {
    transform: translateY(1px) rotate(0.5deg) scale(1.01);
  }
  100% {
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes trustMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 9px), 0, 0);
  }
}

.icon-close {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.icon-close::before,
.icon-close::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 19px;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.icon-close::before {
  transform: rotate(45deg);
}

.icon-close::after {
  transform: rotate(-45deg);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 22px;
  align-items: center;
  width: min(calc(100% - 36px), 1040px);
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(46, 125, 166, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 242, 242, 0.96));
  box-shadow: 0 24px 70px rgba(22, 61, 89, 0.18);
  transform: translateX(-50%);
  animation: cookieBannerIn 440ms cubic-bezier(0.2, 0.9, 0.22, 1);
}

.cookie-banner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow));
}

.cookie-banner.is-closing {
  pointer-events: none;
  animation: cookieBannerOut 220ms ease forwards;
}

.cookie-banner__content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.cookie-banner__mark {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(143, 189, 95, 0.42);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(46, 125, 166, 0.14);
}

.cookie-banner__mark::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(92, 168, 197, 0.28);
  border-radius: inherit;
  animation: cookieMarkPulse 2400ms ease-in-out infinite;
}

.cookie-banner__mark img {
  position: relative;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.cookie-banner__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.cookie-banner p {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner__trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 9px;
}

.cookie-banner__trust span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(45, 139, 132, 0.18);
  border-radius: 999px;
  background: rgba(143, 189, 95, 0.11);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 190px;
}

.cookie-banner__actions .btn {
  justify-content: center;
  width: 100%;
  min-height: 42px;
  white-space: nowrap;
}

.cookie-banner__accept {
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(46, 125, 166, 0.2);
}

.cookie-banner__accept::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -45%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: rotate(18deg);
  animation: cookieButtonSheen 3200ms ease-in-out infinite;
}

.cookie-config {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: stretch;
  padding-top: 14px;
  border-top: 1px solid rgba(46, 125, 166, 0.14);
  animation: cookieConfigIn 220ms ease;
}

.cookie-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(46, 125, 166, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.cookie-option input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.cookie-option strong {
  margin: 0 0 2px;
  font-size: 14px;
}

.cookie-option small {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
}

.cookie-config__actions {
  display: grid;
  gap: 8px;
  align-content: center;
  min-width: 190px;
}

.cookie-config a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

@keyframes cookieBannerIn {
  from {
    opacity: 0;
    transform: translate(-50%, 18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes cookieBannerOut {
  to {
    opacity: 0;
    transform: translate(-50%, 12px) scale(0.98);
  }
}

@keyframes cookieConfigIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cookieMarkPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes cookieButtonSheen {
  0%,
  45% {
    transform: translateX(0) rotate(18deg);
  }
  70%,
  100% {
    transform: translateX(430%) rotate(18deg);
  }
}

:root[data-robotedu-theme="dark"] .site-header {
  background: linear-gradient(180deg, rgba(8, 20, 29, 0.98), rgba(10, 25, 35, 0.86));
}

:root[data-robotedu-theme="dark"] .site-header__inner {
  border-color: rgba(138, 211, 230, 0.18);
  background:
    linear-gradient(135deg, rgba(172, 216, 118, 0.12), rgba(99, 184, 225, 0.1) 44%, transparent 72%),
    linear-gradient(135deg, #07141e 0%, #123852 58%, #1f5f64 100%);
}

:root[data-robotedu-theme="dark"] .brand {
  background: rgba(255, 255, 255, 0.96);
}

:root[data-robotedu-theme="dark"] .header-brands .brand {
  background: transparent;
}

:root[data-robotedu-theme="dark"] .header-brands .brand:hover,
:root[data-robotedu-theme="dark"] .header-brands .brand:focus-visible {
  background: rgba(224, 242, 247, 0.1);
  box-shadow: inset 0 0 0 1px rgba(172, 216, 118, 0.3);
}

:root[data-robotedu-theme="dark"] .primary-nav a,
:root[data-robotedu-theme="dark"] .nav-dropdown__toggle {
  color: rgba(232, 245, 251, 0.82);
}

:root[data-robotedu-theme="dark"] .nav-dropdown__panel.is-open {
  border-color: rgba(138, 211, 230, 0.16);
  background: rgba(16, 36, 49, 0.72);
}

:root[data-robotedu-theme="dark"] .nav-dropdown__links a {
  border-color: rgba(138, 211, 230, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

:root[data-robotedu-theme="dark"] .nav-dropdown__links:hover a {
  opacity: 0.52;
  filter: saturate(0.75) brightness(0.78);
}

:root[data-robotedu-theme="dark"] .nav-dropdown__links a:hover,
:root[data-robotedu-theme="dark"] .nav-dropdown__links a:focus-visible {
  border-color: rgba(172, 216, 118, 0.62);
  background:
    linear-gradient(135deg, rgba(99, 184, 225, 0.13), rgba(172, 216, 118, 0.1)),
    rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 0 0 1px rgba(172, 216, 118, 0.16), 0 14px 28px rgba(0, 0, 0, 0.26);
  opacity: 1;
  filter: none;
}

:root[data-robotedu-theme="dark"] .header-actions .btn {
  border-color: rgba(138, 211, 230, 0.4);
  background: rgba(232, 245, 251, 0.94);
  color: #102431;
}

:root[data-robotedu-theme="dark"] .btn {
  border-color: var(--blue);
  background: var(--blue);
  color: #07141e;
}

:root[data-robotedu-theme="dark"] .btn:hover {
  border-color: var(--green);
  background: var(--green);
  color: #07141e;
}

:root[data-robotedu-theme="dark"] .btn--secondary,
:root[data-robotedu-theme="dark"] .btn--outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

:root[data-robotedu-theme="dark"] .btn--secondary:hover,
:root[data-robotedu-theme="dark"] .btn--outline:hover {
  border-color: var(--blue);
  background: rgba(99, 184, 225, 0.13);
  color: var(--blue-2);
}

:root[data-robotedu-theme="dark"] .hero,
:root[data-robotedu-theme="dark"] .hero--page,
:root[data-robotedu-theme="dark"] .section--step-2 {
  background:
    linear-gradient(120deg, rgba(var(--page-accent-rgb), 0.18), rgba(var(--page-soft-rgb), 0.08) 55%, transparent),
    var(--paper);
}

:root[data-robotedu-theme="dark"] .hero--home,
:root[data-robotedu-theme="dark"] .home-blog-section {
  background:
    linear-gradient(120deg, rgba(99, 184, 225, 0.14), rgba(172, 216, 118, 0.1) 48%, rgba(255, 211, 109, 0.06)),
    var(--paper);
}

:root[data-robotedu-theme="dark"] .page-shell--home #casos {
  --home-band-accent: #63b8e1;
  --home-band-secondary: #6ed7c8;
  background:
    radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--home-band-accent) 16%, transparent), transparent 34%),
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--home-band-secondary) 11%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--home-band-accent) 10%, #07141d) 0%, color-mix(in srgb, var(--home-band-secondary) 7%, #102431) 54%, #1e2632 100%);
  border-block-color: color-mix(in srgb, var(--home-band-accent) 18%, var(--line));
}

:root[data-robotedu-theme="dark"] .page-shell--home .home-blog-section {
  --home-band-accent: #6ed7c8;
  --home-band-secondary: #63b8e1;
  background:
    radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--home-band-accent) 16%, transparent), transparent 34%),
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--home-band-secondary) 11%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--home-band-accent) 10%, #07141d) 0%, color-mix(in srgb, var(--home-band-secondary) 7%, #102431) 54%, #1e2632 100%);
  border-block-color: color-mix(in srgb, var(--home-band-accent) 18%, var(--line));
}

:root[data-robotedu-theme="dark"] .section--step-3,
:root[data-robotedu-theme="dark"] .section--muted {
  background:
    linear-gradient(90deg, rgba(var(--page-soft-rgb), 0.08), transparent),
    var(--paper-2);
}

:root[data-robotedu-theme="dark"] .page-shell--puntos-vuela,
:root[data-robotedu-theme="dark"] .page-shell--fabricantes-robotica,
:root[data-robotedu-theme="dark"] .page-shell--programas-proa {
  background:
    radial-gradient(circle at 8% 10%, color-mix(in srgb, var(--landing-primary) 16%, transparent), transparent 32%),
    radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--landing-secondary) 12%, transparent), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--landing-primary) 8%, #07141d), transparent 620px),
    var(--paper);
}

:root[data-robotedu-theme="dark"] .page-shell--puntos-vuela .hero,
:root[data-robotedu-theme="dark"] .page-shell--fabricantes-robotica .hero,
:root[data-robotedu-theme="dark"] .page-shell--programas-proa .hero {
  background:
    radial-gradient(circle at 78% 12%, color-mix(in srgb, var(--landing-secondary) 16%, transparent), transparent 30%),
    linear-gradient(122deg, color-mix(in srgb, var(--landing-primary) 18%, #07141d) 0%, color-mix(in srgb, var(--landing-secondary) 12%, #102431) 52%, #07141d 100%),
    var(--paper);
}

:root[data-robotedu-theme="dark"] .page-shell--puntos-vuela .subnav,
:root[data-robotedu-theme="dark"] .page-shell--fabricantes-robotica .subnav,
:root[data-robotedu-theme="dark"] .page-shell--programas-proa .subnav {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--landing-primary) 18%, #102431), color-mix(in srgb, var(--landing-secondary) 12%, #07141d));
  border-block-color: color-mix(in srgb, var(--landing-primary) 28%, var(--line));
}

:root[data-robotedu-theme="dark"] .page-shell--puntos-vuela .section--page,
:root[data-robotedu-theme="dark"] .page-shell--fabricantes-robotica .section--page,
:root[data-robotedu-theme="dark"] .page-shell--programas-proa .section--page {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--landing-primary) 9%, transparent), transparent 40%),
    var(--paper);
}

:root[data-robotedu-theme="dark"] .page-shell--puntos-vuela .hero .media-card,
:root[data-robotedu-theme="dark"] .page-shell--fabricantes-robotica .hero .media-card,
:root[data-robotedu-theme="dark"] .page-shell--programas-proa .hero .media-card,
:root[data-robotedu-theme="dark"] .page-shell--puntos-vuela .section-media,
:root[data-robotedu-theme="dark"] .page-shell--fabricantes-robotica .section-media,
:root[data-robotedu-theme="dark"] .page-shell--programas-proa .section-media {
  background:
    radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--landing-secondary) 12%, transparent), transparent 56%),
    linear-gradient(145deg, rgba(16, 36, 49, 0.86), rgba(7, 20, 29, 0.74));
}

:root[data-robotedu-theme="dark"] .page-shell--puntos-vuela .feature-list,
:root[data-robotedu-theme="dark"] .page-shell--fabricantes-robotica .feature-list,
:root[data-robotedu-theme="dark"] .page-shell--programas-proa .feature-list,
:root[data-robotedu-theme="dark"] .page-shell--puntos-vuela .media-slot,
:root[data-robotedu-theme="dark"] .page-shell--fabricantes-robotica .media-slot,
:root[data-robotedu-theme="dark"] .page-shell--programas-proa .media-slot {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--landing-primary) 12%, var(--surface)), var(--surface));
  border-color: color-mix(in srgb, var(--landing-primary) 24%, var(--line));
}

:root[data-robotedu-theme="dark"] .subnav {
  border-color: color-mix(in srgb, var(--teal) 18%, var(--line));
  background:
    linear-gradient(180deg, rgba(16, 36, 49, 0.96), rgba(11, 23, 32, 0.92)),
    rgba(11, 23, 32, 0.94);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

:root[data-robotedu-theme="dark"] .subnav a:hover,
:root[data-robotedu-theme="dark"] .subnav a:focus-visible,
:root[data-robotedu-theme="dark"] .subnav a.is-active {
  border-color: rgba(110, 215, 200, 0.24);
  background:
    linear-gradient(135deg, rgba(110, 215, 200, 0.12), rgba(99, 184, 225, 0.08)),
    var(--surface);
  color: var(--ink);
}

:root[data-robotedu-theme="dark"] .media-card,
:root[data-robotedu-theme="dark"] .card,
:root[data-robotedu-theme="dark"] .work-slide,
:root[data-robotedu-theme="dark"] .faq-item,
:root[data-robotedu-theme="dark"] .diagnostic-form,
:root[data-robotedu-theme="dark"] .assistant-panel__card,
:root[data-robotedu-theme="dark"] .assistant-thread,
:root[data-robotedu-theme="dark"] .assistant-choice,
:root[data-robotedu-theme="dark"] .cookie-banner {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

:root[data-robotedu-theme="dark"] .work-slide {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

:root[data-robotedu-theme="dark"] .work-slide__image {
  border-color: var(--line);
  background: var(--surface-soft);
}

:root[data-robotedu-theme="dark"] .work-slide__number {
  color: rgba(232, 245, 251, 0.1);
}

:root[data-robotedu-theme="dark"] .work-slide__status {
  border-color: rgba(110, 215, 200, 0.24);
  color: var(--teal);
}

:root[data-robotedu-theme="dark"] .page-shell--studio .section__body,
:root[data-robotedu-theme="dark"] .page-shell--maker .section__body,
:root[data-robotedu-theme="dark"] .page-shell--play .section__body,
:root[data-robotedu-theme="dark"] .page-shell--digital .section__body {
  background: rgba(16, 36, 49, 0.76);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

:root[data-robotedu-theme="dark"] .page-shell--extraescolares-robotica .hero {
  background:
    linear-gradient(135deg, rgba(45, 139, 132, 0.16), rgba(99, 184, 225, 0.08) 46%, rgba(11, 23, 32, 0.96)),
    var(--paper);
}

:root[data-robotedu-theme="dark"] .levels-table,
:root[data-robotedu-theme="dark"] .icon-card,
:root[data-robotedu-theme="dark"] .media-slot,
:root[data-robotedu-theme="dark"] .family-form {
  border-color: var(--line);
  background: var(--surface);
}

:root[data-robotedu-theme="dark"] .levels-table__head {
  background: linear-gradient(135deg, rgba(110, 215, 200, 0.14), rgba(99, 184, 225, 0.1));
}

:root[data-robotedu-theme="dark"] .section--highlight {
  background:
    radial-gradient(circle at 12% 16%, rgba(172, 216, 118, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(16, 36, 49, 0.92), rgba(20, 47, 63, 0.88)),
    var(--paper-2);
}

:root[data-robotedu-theme="dark"] .section--highlight .section__body {
  border-color: rgba(110, 215, 200, 0.24);
  background:
    linear-gradient(135deg, rgba(16, 36, 49, 0.88), rgba(20, 47, 63, 0.94)),
    var(--surface);
}

:root[data-robotedu-theme="dark"] .icon-card__mark {
  background: rgba(99, 184, 225, 0.12);
  color: var(--teal);
}

:root[data-robotedu-theme="dark"] .media-slot {
  border-color: rgba(110, 215, 200, 0.32);
  background:
    linear-gradient(135deg, rgba(110, 215, 200, 0.08), rgba(99, 184, 225, 0.07)),
    var(--surface);
}

:root[data-robotedu-theme="dark"] .media-slot__icon {
  background: rgba(99, 184, 225, 0.1);
  color: var(--teal);
}

:root[data-robotedu-theme="dark"] .trust-wall--brands {
  background:
    radial-gradient(circle at 8% 8%, rgba(99, 184, 225, 0.13), transparent 32%),
    linear-gradient(135deg, rgba(16, 36, 49, 0.92), rgba(11, 23, 32, 0.96) 58%, rgba(36, 43, 51, 0.82)),
    var(--paper);
}

:root[data-robotedu-theme="dark"] .trust-wall--communities {
  background:
    radial-gradient(circle at 88% 12%, rgba(110, 215, 200, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(11, 23, 32, 0.98), rgba(16, 36, 49, 0.86)),
    var(--paper-2);
}

:root[data-robotedu-theme="dark"] .trust-logo {
  --logo-filter: none;
  border-color: rgba(207, 225, 223, 0.28);
  background: #fff;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
  color: color-mix(in srgb, var(--logo-accent) 54%, var(--ink));
}

:root[data-robotedu-theme="dark"] .trust-logo.has-dark-logo,
:root[data-robotedu-theme="dark"] .trust-modal__logo.has-dark-logo {
  --logo-filter: none;
}

:root[data-robotedu-theme="dark"] .has-dark-logo .trust-logo__image--light {
  display: block;
}

:root[data-robotedu-theme="dark"] .trust-logo.has-dark-logo img.trust-logo__image--dark,
:root[data-robotedu-theme="dark"] .trust-modal__logo.has-dark-logo img.trust-logo__image--dark {
  display: none;
}

:root[data-robotedu-theme="dark"] .trust-logo:hover,
:root[data-robotedu-theme="dark"] .trust-logo:focus-within {
  border-color: color-mix(in srgb, var(--logo-accent) 34%, rgba(207, 225, 223, 0.4));
  background: #fff;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.28);
}

:root[data-robotedu-theme="dark"] .trust-logo:hover img,
:root[data-robotedu-theme="dark"] .trust-logo:focus-within img {
  filter: saturate(1.08) contrast(1.04);
}

:root[data-robotedu-theme="dark"] .trust-logo.has-dark-logo:hover img,
:root[data-robotedu-theme="dark"] .trust-logo.has-dark-logo:focus-within img {
  filter: none;
}

:root[data-robotedu-theme="dark"] .trust-wall--communities .trust-logo {
  border-color: rgba(207, 225, 223, 0.28);
  background: #fff;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
}

:root[data-robotedu-theme="dark"] .trust-wall--communities .trust-logo:hover,
:root[data-robotedu-theme="dark"] .trust-wall--communities .trust-logo:focus-within {
  border-color: color-mix(in srgb, var(--logo-accent) 34%, rgba(207, 225, 223, 0.4));
  background: #fff;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.28);
}

:root[data-robotedu-theme="dark"] .trust-wall--communities .trust-logo::after {
  display: block;
}

:root[data-robotedu-theme="dark"] .trust-wall--communities .has-dark-logo .trust-logo__image--light {
  display: block;
}

:root[data-robotedu-theme="dark"] .trust-wall--communities .has-dark-logo .trust-logo__image--dark {
  display: none;
}

:root[data-robotedu-theme="dark"] .trust-wall--communities .trust-logo img {
  max-width: min(100%, 134px);
  max-height: 62px;
  filter: none;
}

:root[data-robotedu-theme="dark"] .trust-wall--communities .trust-logo:hover img,
:root[data-robotedu-theme="dark"] .trust-wall--communities .trust-logo:focus-within img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

:root[data-robotedu-theme="dark"] .trust-modal__panel {
  border-color: rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(circle at 10% 0%, rgba(99, 184, 225, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(16, 36, 49, 0.98), rgba(11, 23, 32, 0.98)),
    var(--surface);
}

:root[data-robotedu-theme="dark"] .trust-modal__logo {
  --logo-filter: none;
  border-color: rgba(207, 225, 223, 0.28);
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

:root[data-robotedu-theme="dark"] .trust-modal__logo::after {
  color: #17364c;
}

:root[data-robotedu-theme="dark"] .trust-modal__logo:hover {
  border-color: color-mix(in srgb, var(--blue) 34%, rgba(207, 225, 223, 0.4));
  background: #fff;
}

:root[data-robotedu-theme="dark"] #comunidades-confianza-modal .trust-modal__logo {
  border-color: rgba(207, 225, 223, 0.28);
  background: #fff;
}

:root[data-robotedu-theme="dark"] #comunidades-confianza-modal .trust-modal__logo::after {
  color: #17364c;
}

:root[data-robotedu-theme="dark"] #comunidades-confianza-modal .trust-modal__logo:hover {
  border-color: color-mix(in srgb, var(--blue) 34%, rgba(207, 225, 223, 0.4));
  background: #fff;
}

:root[data-robotedu-theme="dark"] #comunidades-confianza-modal .has-dark-logo .trust-logo__image--light {
  display: block;
}

:root[data-robotedu-theme="dark"] #comunidades-confianza-modal .has-dark-logo .trust-logo__image--dark {
  display: none;
}

:root[data-robotedu-theme="dark"] #comunidades-confianza-modal .trust-modal__logo img {
  max-width: min(100%, 132px);
  max-height: 64px;
  filter: none;
}

:root[data-robotedu-theme="dark"] .trust-modal__close {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(16, 36, 49, 0.84);
}

:root[data-robotedu-theme="dark"] .section--retention {
  --retention-band-a: #0f2733;
  --retention-band-b: #102f34;
  --retention-band-c: #242b33;
  --retention-glow-a: rgba(99, 184, 225, 0.14);
  --retention-glow-b: rgba(110, 215, 200, 0.11);
  background:
    radial-gradient(circle at 10% 14%, var(--retention-glow-a), transparent 32%),
    radial-gradient(circle at 88% 12%, var(--retention-glow-b), transparent 30%),
    linear-gradient(135deg, var(--retention-band-a) 0%, var(--retention-band-b) 54%, var(--retention-band-c) 100%);
  border-block-color: rgba(99, 184, 225, 0.14);
}

:root[data-robotedu-theme="dark"] .section--retention .section-card {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--retention-color) 18%, rgba(16, 36, 49, 0.82)), rgba(16, 36, 49, 0.88)),
    rgba(16, 36, 49, 0.78);
}

:root[data-robotedu-theme="dark"] .form-prompt-card {
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(92, 168, 197, 0.12), rgba(16, 36, 49, 0.86)),
    rgba(16, 36, 49, 0.78);
}

:root[data-robotedu-theme="dark"] .form-modal__panel {
  border-color: rgba(148, 163, 184, 0.22);
  background: #102431;
}

:root[data-robotedu-theme="dark"] .form-modal__header {
  border-bottom-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at 8% 10%, rgba(92, 168, 197, 0.18), transparent 30%),
    linear-gradient(135deg, #102431, #06141d);
}

:root[data-robotedu-theme="dark"] .form-modal__header h2,
:root[data-robotedu-theme="dark"] .form-modal__close {
  color: var(--ink);
}

:root[data-robotedu-theme="dark"] .form-modal__header p {
  color: var(--ink-soft);
}

:root[data-robotedu-theme="dark"] .form-modal__close {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(16, 36, 49, 0.84);
}

:root[data-robotedu-theme="dark"] input,
:root[data-robotedu-theme="dark"] select,
:root[data-robotedu-theme="dark"] textarea,
:root[data-robotedu-theme="dark"] .assistant-actions,
:root[data-robotedu-theme="dark"] .assistant-composer,
:root[data-robotedu-theme="dark"] .assistant-panel__legal,
:root[data-robotedu-theme="dark"] .assistant-message__bubble,
:root[data-robotedu-theme="dark"] .assistant-message--draft pre,
:root[data-robotedu-theme="dark"] .cookie-config,
:root[data-robotedu-theme="dark"] .cookie-option,
:root[data-robotedu-theme="dark"] .icon-close {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--ink);
}

:root[data-robotedu-theme="dark"] .assistant-panel__header {
  border-color: var(--line);
  background: linear-gradient(135deg, #102431 0%, #173848 100%);
}

:root[data-robotedu-theme="dark"] .assistant-message--user .assistant-message__bubble {
  background: var(--blue);
  color: #07141e;
}

:root[data-robotedu-theme="dark"] .assistant-message--error .assistant-message__bubble {
  background: #3d1d1a;
  color: #ffb2a2;
}

:root[data-robotedu-theme="dark"] .assistant-message--success .assistant-message__bubble,
:root[data-robotedu-theme="dark"] .notice--success {
  background: #143422;
  color: #9ee7b8;
}

:root[data-robotedu-theme="dark"] .assistant-choice:hover {
  background: var(--blue);
  color: #07141e;
}

:root[data-robotedu-theme="dark"] .assistant-launch {
  border-color: rgba(138, 211, 230, 0.22);
  background: #102431;
  color: var(--ink);
}

:root[data-robotedu-theme="dark"] .cookie-banner::before {
  background: linear-gradient(90deg, transparent, rgba(172, 216, 118, 0.6), transparent);
}

:root[data-robotedu-theme="dark"] .site-footer,
:root[data-robotedu-theme="dark"] .stats-band {
  background: #07141e;
}

:root[data-robotedu-theme="dark"] .site-footer p,
:root[data-robotedu-theme="dark"] .site-footer li,
:root[data-robotedu-theme="dark"] .stat span {
  color: #b8ccd6;
}

:root[data-robotedu-theme="dark"] .maker-logo-orbit::before,
:root[data-robotedu-theme="dark"] .maker-logo-orbit::after {
  border-color: rgba(99, 184, 225, 0.24);
  background:
    radial-gradient(circle, rgba(110, 215, 200, 0.08), transparent 62%),
    linear-gradient(135deg, rgba(99, 184, 225, 0.08), rgba(240, 180, 41, 0.06));
}

:root[data-robotedu-theme="dark"] .maker-logo-orbit__core,
:root[data-robotedu-theme="dark"] .maker-logo-orbit__item {
  border-color: rgba(207, 225, 223, 0.22);
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
}

:root[data-robotedu-theme="dark"] .maker-logo-orbit__item figcaption {
  color: #17364c;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner,
  .cookie-banner.is-closing,
  .cookie-config,
  .brand:hover::before,
  .brand:focus-visible::before,
  .brand:hover::after,
  .brand:focus-visible::after,
  .brand:hover img,
  .brand:focus-visible img,
  .brand:hover .brand__spark,
  .brand:focus-visible .brand__spark,
  .cookie-banner__mark::before,
  .cookie-banner__accept::after {
    animation: none;
  }
}

.article .prose,
.prose {
  max-width: 760px;
}

.prose p {
  margin-bottom: 18px;
  color: var(--ink-soft);
}

.pagination {
  margin-top: 32px;
}

@media (max-width: 1280px) {
  .section--page::before {
    left: 24px;
    top: 46px;
    width: 58px;
    height: 4px;
  }

  .section__grid {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    gap: 42px;
  }

  .page-shell--field .section--step-2 .section__grid,
  .page-shell--impact .section--step-2 .section__grid,
  .page-shell--studio .section--step-2 .section__grid,
  .page-shell--maker .section--step-2 .section__grid {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  }

  .section__intro h2,
  .section-heading h2 {
    font-size: 36px;
  }
}

@media (max-width: 1180px) {
  .authority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section--levels .section__grid {
    grid-template-columns: 1fr;
  }

  .section--levels .section__intro {
    position: static;
    max-width: 760px;
  }

  .levels-table__row {
    grid-template-columns: minmax(150px, 0.78fr) minmax(84px, 0.4fr) minmax(170px, 0.95fr) minmax(0, 1.5fr);
  }
}

@media (max-width: 1020px) {
  .levels-table {
    gap: 12px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .levels-table__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(30, 57, 87, 0.07);
  }

  .levels-table__head {
    display: none;
  }

  .levels-table__row [data-label] {
    display: grid;
    gap: 4px;
  }

  .levels-table__row [data-label]::before {
    content: attr(data-label);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }
}

@media (max-width: 1120px) {
  .header-brands .brand--robotedu img {
    width: 102px;
  }

  .primary-nav {
    gap: 8px;
    font-size: 13px;
  }

  .nav-dropdown__panel {
    grid-template-columns: 1fr;
  }

  .nav-dropdown__panel.is-open {
    max-height: 132px;
  }

  .nav-dropdown__links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav-dropdown__links a {
    min-height: 68px;
  }

  .header-actions .btn {
    padding-inline: 13px;
  }
}

@media (max-width: 1080px) {
  .env {
    width: min(100% - 32px, var(--width));
  }

  .site-header__inner {
    position: relative;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  body.nav-open .site-header {
    position: fixed;
    top: var(--robotedu-admin-offset);
    right: 0;
    left: 0;
    transform: translateY(0);
  }

  .header-brands {
    grid-column: 1;
    min-height: 40px;
    padding: 3px 5px;
  }

  .header-brands .brand {
    min-height: 34px;
    padding: 2px 4px;
  }

  .header-brands .brand--robotedu img {
    width: 90px;
    max-height: 28px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 3;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .menu-toggle span:not(.screen-reader-text) {
    background: var(--white);
  }

  .primary-nav {
    position: absolute;
    grid-column: 1 / -1;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 18px 16px 22px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    max-height: min(620px, calc(100dvh - var(--robotedu-header-height) - 24px));
    overflow-y: auto;
    overflow-anchor: none;
    scrollbar-gutter: stable;
    box-shadow: var(--shadow);
  }

  .nav-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    color: var(--ink-soft);
    padding: 12px;
    border-radius: var(--radius);
  }

  .nav-dropdown {
    display: block;
    border-radius: var(--radius);
  }

  .nav-dropdown__toggle {
    position: sticky;
    top: -18px;
    z-index: 3;
    justify-content: space-between;
    width: 100%;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink-soft);
  }

  .nav-dropdown__toggle:hover,
  .nav-dropdown.is-open .nav-dropdown__toggle {
    background: var(--paper-2);
    color: var(--blue);
  }

  :root[data-robotedu-theme="dark"] .nav-dropdown__toggle:hover,
  :root[data-robotedu-theme="dark"] .nav-dropdown.is-open .nav-dropdown__toggle {
    background: rgba(99, 184, 225, 0.13);
    box-shadow: inset 0 0 0 1px rgba(138, 211, 230, 0.16);
    color: var(--blue-2);
  }

  .nav-dropdown__panel {
    grid-column: auto;
    position: static;
    grid-template-columns: none;
    width: 100%;
    max-height: none;
    margin: 4px 0 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: none;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-dropdown__panel--compact {
    justify-self: stretch;
    width: 100%;
  }

  .nav-dropdown__panel--desktop {
    display: none;
  }

  .nav-dropdown__panel--mobile {
    display: none;
  }

  .nav-dropdown__panel.is-open {
    display: grid;
    gap: 6px;
    max-height: none;
    transform: none;
    overflow: visible;
  }

  .nav-dropdown__panel--desktop.is-open {
    display: none;
  }

  .nav-dropdown__links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nav-dropdown__panel--compact .nav-dropdown__links {
    grid-template-columns: 1fr;
  }

  .nav-dropdown__links a {
    align-content: start;
    align-items: start;
    justify-items: start;
    min-height: auto;
    padding: 12px 34px 12px 12px;
    background: var(--surface);
    border-color: var(--line);
    text-align: left;
  }

  .nav-dropdown__panel--compact .nav-dropdown__links a {
    min-height: auto;
    padding: 12px 34px 12px 12px;
  }

  .nav-dropdown__icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
    color: var(--blue);
  }

  .nav-dropdown__icon svg {
    width: 16px;
    height: 16px;
  }

  .nav-dropdown__links a::after {
    top: 23px;
    color: var(--teal);
    transform: rotate(45deg);
  }

  .nav-dropdown__links a:hover::after,
  .nav-dropdown__links a:focus-visible::after {
    transform: translateX(2px) rotate(45deg);
  }

  .nav-dropdown__links strong {
    color: var(--ink);
    font-size: 16px;
    max-width: none;
  }

  .nav-dropdown__links small {
    display: none;
  }

  .primary-nav a:hover {
    background: var(--paper-2);
  }

  .nav-mobile-action {
    display: inline-flex;
    justify-content: center;
    border: 1px solid var(--line);
  }

  .nav-mobile-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  .nav-mobile-tools .theme-toggle {
    width: 44px;
    height: 44px;
    border-color: var(--line);
    background: var(--paper-2);
    color: var(--blue);
  }

  .nav-mobile-tools .theme-toggle__icon--moon {
    color: #0b5f7d;
  }

  .nav-mobile-tools .theme-toggle__icon--sun {
    color: #9b6700;
  }

  :root[data-robotedu-theme="dark"] .nav-mobile-tools .theme-toggle__icon--sun {
    color: var(--yellow);
  }

  .header-actions {
    display: none;
  }

  .assistant-launch {
    grid-template-columns: auto;
    width: 60px;
    max-width: 60px;
    padding: 7px;
    overflow: hidden;
  }

  .assistant-launch::after {
    left: auto;
    right: 8px;
    bottom: 8px;
    width: 9px;
    height: 9px;
  }

  .assistant-launch__copy {
    display: none;
  }

  .hero__grid,
  .section__grid,
  .stats-band__inner,
  .cta-band__inner {
    grid-template-columns: 1fr;
  }

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

  .hero--lab .hero__grid,
  .hero--evidence .hero__grid,
  .hero--field .hero__grid,
  .hero--impact .hero__grid,
  .hero--local .hero__grid,
  .hero--studio .hero__grid,
  .hero--maker .hero__grid,
  .hero--digital .hero__grid,
  .page-shell--studio .section__grid,
  .page-shell--maker .section__grid,
  .page-shell--field .section--step-2 .section__grid,
  .page-shell--impact .section--step-2 .section__grid,
  .page-shell--studio .section--step-2 .section__grid,
  .page-shell--maker .section--step-2 .section__grid,
  .page-shell--play .section__grid,
  .page-shell--contact .section__grid--form {
    grid-template-columns: 1fr;
  }

  .page-shell--field .section--step-2 .section__intro,
  .page-shell--impact .section--step-2 .section__intro,
  .page-shell--studio .section--step-2 .section__intro,
  .page-shell--maker .section--step-2 .section__intro {
    order: 0;
  }

  .page-shell--digital .feature-list,
  .page-shell--studio .feature-list,
  .page-shell--maker .feature-list {
    grid-template-columns: 1fr;
  }

  .page-shell--academia-online .hero__grid {
    grid-template-columns: 1fr;
  }

  .page-shell--academia-online .hero__video-screen {
    right: 24px;
    bottom: 44px;
    width: min(46vw, 360px);
    opacity: 0.54;
  }

  .pricing-table__row {
    grid-template-columns: minmax(132px, 0.48fr) repeat(2, minmax(0, 1fr));
  }

  .section__intro {
    order: initial;
    position: static;
  }

  .section__body {
    order: initial;
  }

  .grid--3,
  .grid--2,
  .icon-card-grid,
  .stats-band__grid,
  .authority-grid {
    grid-template-columns: 1fr;
  }

  .levels-table__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .levels-table__head {
    display: none;
  }

  .levels-table__row [data-label] {
    display: grid;
    gap: 3px;
  }

  .levels-table__row [data-label]::before {
    content: attr(data-label);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .icon-card {
    min-height: auto;
  }

  .media-slot {
    min-height: 150px;
  }

  .work-slide {
    grid-template-columns: minmax(160px, 0.35fr) minmax(0, 0.65fr);
    flex-basis: min(640px, 80vw);
  }

  .work-slide h3 {
    font-size: 27px;
  }

  h1 {
    max-width: 14ch;
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .media-card img {
    height: 300px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
  }

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

  .cookie-config__actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.58;
    padding-bottom: 66px;
  }

  .page-shell--puntos-vuela .media-slot-grid,
  .page-shell--fabricantes-robotica .media-slot-grid,
  .page-shell--programas-proa .media-slot-grid {
    grid-template-columns: 1fr;
  }

  .page-shell--puntos-vuela .hero .media-card img,
  .page-shell--fabricantes-robotica .hero .media-card img,
  .page-shell--programas-proa .hero .media-card img,
  .page-shell--puntos-vuela .section-media img,
  .page-shell--fabricantes-robotica .section-media img,
  .page-shell--programas-proa .section-media img {
    min-height: 220px;
  }

  .section--page::before {
    left: 16px;
    top: 26px;
    width: 48px;
    height: 4px;
  }

  .site-header {
    padding: 8px 0;
  }

  .site-header__inner {
    min-height: 56px;
    padding: 7px 8px;
  }

  .brand {
    min-height: 40px;
    padding: 5px 7px;
  }

  .brand img {
    width: 128px;
    max-height: 30px;
  }

  .theme-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .primary-nav {
    top: calc(100% + 8px);
    right: 0;
    left: 0;
  }

  .subnav__inner {
    gap: 8px;
    min-height: 58px;
    padding-block: 8px;
  }

  .subnav a {
    font-size: 11px;
    min-height: 34px;
    padding: 8px 12px;
  }

  .hero,
  .section {
    padding: 38px 0;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .hero__grid,
  .section__grid {
    gap: 28px;
  }

  .hero__actions,
  .section-actions,
  .form-actions,
  .cta-band__actions {
    gap: 10px;
  }

  h1 {
    max-width: 16ch;
    font-size: 32px;
    line-height: 1.08;
  }

  h2 {
    font-size: 27px;
    line-height: 1.12;
  }

  h3 {
    font-size: 20px;
  }

  .lead {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.54;
  }

  .section__intro .section-media {
    max-width: none;
    margin-top: 18px;
  }

  .section-media img {
    aspect-ratio: 16 / 9;
  }

  .page-shell--extraescolares-robotica .hero h1 {
    max-width: 100%;
  }

  .page-shell--extraescolares-robotica .media-card img {
    min-height: 0;
  }

  .page-shell--academia-online .hero {
    min-height: min(680px, calc(100dvh - var(--robotedu-header-height)));
  }

  .page-shell--academia-online .hero__grid {
    min-height: min(680px, calc(100dvh - var(--robotedu-header-height)));
    padding-block: 90px 50px;
  }

  .page-shell--academia-online .hero h1 {
    max-width: 100%;
    font-size: 38px;
    line-height: 1.04;
  }

  .page-shell--academia-online .hero .lead {
    font-size: 17px;
  }

  .page-shell--academia-online .hero__login {
    top: 18px;
    right: 16px;
    min-height: 38px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .page-shell--academia-online .hero__video-screen {
    right: -34px;
    bottom: 24px;
    width: 66vw;
    opacity: 0.28;
    transform: perspective(900px) rotateY(-16deg) rotateX(3deg);
  }

  .page-shell--academia-online .section__body {
    padding: 18px;
  }

  .academy-shelves {
    gap: 28px;
  }

  .academy-rail {
    grid-auto-columns: minmax(205px, 78vw);
    gap: 12px;
    margin-inline: -3px;
  }

  .course-cover {
    min-height: 286px;
    padding: 18px;
  }

  .course-cover strong {
    font-size: 20px;
  }

  .pricing-table {
    display: grid;
    overflow: visible;
    border: 1px solid rgba(111, 220, 232, 0.24);
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 78%, transparent);
  }

  .pricing-table__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .pricing-table__row > * {
    padding: 12px;
  }

  .pricing-table__row > strong,
  .pricing-table__head span:first-child,
  .pricing-table__actions > span:first-child {
    grid-column: 1 / -1;
  }

  .pricing-table__head span:first-child,
  .pricing-table__actions > span:first-child {
    display: none;
  }

  .pricing-table__row > * + * {
    border-left: 0;
  }

  .pricing-table__row > span + span,
  .pricing-table__head span + span {
    border-left: 1px solid rgba(111, 220, 232, 0.16);
  }

  .pricing-table__row strong {
    padding-bottom: 7px;
    background: rgba(51, 195, 216, 0.06);
  }

  .pricing-table__head span {
    min-height: 64px;
    font-size: 12px;
    line-height: 1.2;
  }

  .pricing-table__actions .btn {
    min-height: 40px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .eyebrow {
    margin-bottom: 9px;
    font-size: 11px;
    line-height: 1.35;
  }

  .btn {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 14px;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .work-slider-section {
    padding-bottom: 42px;
  }

  .work-slider__arrow {
    top: calc(50% - 18px);
    width: 38px;
    height: 38px;
  }

  .work-slider__arrow--prev {
    left: 0;
  }

  .work-slider__arrow--next {
    right: 0;
  }

  .work-slider__viewport {
    padding-inline: 22px;
  }

  .work-slider__track {
    gap: 12px;
  }

  .work-slide {
    grid-template-columns: 1fr;
    flex-basis: calc(100vw - 48px);
    min-height: 286px;
    padding: 14px;
    opacity: 0.38;
  }

  .work-slide__image img {
    height: clamp(120px, 30vw, 150px);
    min-height: 0;
    max-height: none;
  }

  .work-slide__content {
    padding: 4px 8px 8px;
  }

  .work-slide__number {
    top: 18px;
    right: 18px;
    font-size: 34px;
  }

  .work-slide h3 {
    max-width: 100%;
    font-size: 23px;
  }

  .work-slide p {
    font-size: 14px;
    line-height: 1.48;
  }

  .stats-band {
    padding: 38px 0;
  }

  .stats-band__inner {
    gap: 24px;
  }

  .stats-band__intro h2 {
    font-size: 27px;
  }

  .trust-wall {
    padding: 42px 0;
  }

  .trust-wall__heading {
    gap: 12px;
  }

  .trust-wall__heading h2 {
    max-width: 100%;
  }

  .trust-wall__grid {
    min-height: 118px;
  }

  .trust-wall__track,
  .trust-wall--communities .trust-wall__track {
    gap: 12px;
    animation-duration: 30s;
  }

  .trust-wall__set {
    gap: 12px;
  }

  .trust-logo {
    flex-basis: 132px;
    width: 132px;
    padding: 12px 12px 34px;
  }

  .trust-logo img {
    max-width: min(100%, 104px);
    max-height: 54px;
  }

  .trust-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
  }

  .trust-modal__logo {
    min-height: 106px;
  }

  .form-grid,
  .fact {
    grid-template-columns: 1fr;
  }

  .section__body > .btn,
  .section-actions .btn {
    max-width: calc(100% - 74px);
  }

  .media-card img {
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: 240px;
  }

  .media-card figcaption,
  .card__image figcaption {
    padding-right: 64px;
  }

  .card {
    min-height: auto;
    padding: 20px;
  }

  .levels-table__row {
    padding: 16px;
  }

  .icon-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .media-slot {
    grid-template-columns: 1fr;
    min-height: 136px;
    padding: 18px;
  }

  .icon-card__mark {
    width: 48px;
    height: 48px;
  }

  .media-slot__icon {
    width: 50px;
    height: 50px;
  }

  .media-slot__icon svg {
    width: 26px;
    height: 26px;
  }

  .media-slot__copy strong {
    font-size: 18px;
  }

  .icon-card h3 {
    font-size: 19px;
  }

  .card__body {
    padding: 18px;
  }

  .card__image img {
    height: auto;
  }

  .cases-grid .card__body {
    min-height: auto;
  }

  .page-shell--studio .section__body,
  .page-shell--maker .section__body,
  .page-shell--play .section__body,
  .page-shell--digital .section__body {
    padding: 18px;
  }

  .section--highlight .section__body {
    padding: 18px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .assistant-launch {
    right: 12px;
    bottom: 12px;
    width: 48px;
    min-height: 48px;
    max-width: 48px;
    padding: 5px;
  }

  .assistant-launch img {
    width: 38px;
    height: 38px;
  }

  .assistant-panel {
    padding: 0;
  }

  .assistant-panel__card {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .assistant-panel__header {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    min-height: 64px;
    padding: 8px 10px;
  }

  .assistant-panel__header > img {
    width: 36px;
    height: 36px;
  }

  .assistant-header-action {
    padding-inline: 4px;
  }

  .assistant-thread {
    padding: 14px;
  }

  .assistant-actions {
    max-height: 190px;
    padding: 10px;
  }

  .assistant-form__grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 14px;
  }

  .cookie-banner__content {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
  }

  .cookie-banner__mark {
    width: 52px;
    height: 52px;
  }

  .cookie-banner__mark img {
    width: 38px;
    height: 38px;
  }

  .cookie-banner strong {
    font-size: 16px;
  }

  .cookie-banner p {
    font-size: 13px;
    line-height: 1.42;
  }

  .cookie-banner__trust {
    display: none;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 6px;
  }

  .cookie-banner__actions .btn {
    min-height: 38px;
  }

  .cookie-config {
    grid-template-columns: 1fr;
    max-height: min(40dvh, 300px);
    overflow: auto;
  }

  .cookie-option {
    min-height: auto;
    padding: 10px;
  }

  .cookie-config__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .env {
    width: min(100% - 24px, var(--width));
  }

  .site-header__inner {
    min-height: 54px;
  }

  .header-brands .brand--robotedu img {
    width: 78px;
    max-height: 25px;
  }

  .theme-toggle,
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .hero,
  .section {
    padding: 32px 0;
  }

  h1 {
    max-width: 15ch;
    font-size: 29px;
  }

  h2 {
    font-size: 25px;
  }

  .lead {
    font-size: 16px;
  }

  .hero__actions .btn,
  .section-actions .btn,
  .section__body > .btn {
    width: min(100%, 230px);
    max-width: calc(100% - 62px);
  }

  .media-card img {
    max-height: 214px;
  }

  .media-card figcaption,
  .card__image figcaption {
    padding-right: 58px;
  }

  .assistant-header-action {
    display: none;
  }

  .assistant-launch {
    right: 10px;
    bottom: 10px;
    gap: 9px;
    width: 44px;
    min-height: 44px;
    max-width: 44px;
    padding: 4px;
  }

  .assistant-launch img {
    width: 36px;
    height: 36px;
  }

  .assistant-launch::after {
    right: 5px;
    bottom: 5px;
    width: 8px;
    height: 8px;
  }

  .assistant-launch__copy span {
    font-size: 11px;
  }

  .assistant-launch__copy strong {
    font-size: 13px;
  }
}

.scorm-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.2vw, 18px);
  --scorm-accent: var(--blue);
  overscroll-behavior: contain;
}

.scorm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 31, 0.74);
  backdrop-filter: blur(10px);
}

.scorm-modal__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1360px, 98vw);
  height: min(940px, 96dvh);
  overflow: hidden;
  border: 1px solid rgba(207, 225, 223, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(46, 125, 166, 0.12), rgba(45, 139, 132, 0.1)),
    var(--surface);
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.34);
  overscroll-behavior: contain;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.scorm-modal:not(.scorm-modal--dark) .scorm-modal__panel {
  border-color: color-mix(in srgb, var(--scorm-accent) 18%, rgba(207, 225, 223, 0.72));
  background:
    radial-gradient(circle at 14% 0%, color-mix(in srgb, var(--scorm-accent) 14%, transparent), transparent 32%),
    linear-gradient(135deg, rgba(234, 248, 255, 0.92), rgba(247, 252, 248, 0.96) 48%, rgba(255, 251, 238, 0.72)),
    var(--surface);
}

.scorm-modal__panel:focus {
  outline: 0;
}

.scorm-modal__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.scorm-modal:not(.scorm-modal--dark) .scorm-modal__header {
  border-bottom-color: color-mix(in srgb, var(--scorm-accent) 18%, var(--line));
  background:
    radial-gradient(circle at 9% 12%, color-mix(in srgb, var(--scorm-accent) 16%, transparent), transparent 28%),
    linear-gradient(135deg, rgba(233, 248, 255, 0.94), rgba(248, 252, 250, 0.98) 62%, rgba(255, 247, 224, 0.7));
}

.scorm-modal__header h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.scorm-modal__header p {
  max-width: 76ch;
  margin-top: 8px;
  color: var(--ink-soft);
}

.scorm-modal__close {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(46, 125, 166, 0.28);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.scorm-modal:not(.scorm-modal--dark) .scorm-modal__close {
  border-color: color-mix(in srgb, var(--scorm-accent) 34%, rgba(46, 125, 166, 0.18));
  background: rgba(244, 251, 253, 0.88);
  color: var(--ink);
}

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

.scorm-modal__close::before,
.scorm-modal__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.scorm-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.scorm-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.scorm-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  overscroll-behavior: contain;
}

.scorm-modal__catalog {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow: auto;
  padding: clamp(16px, 2vw, 24px);
  border-right: 1px solid var(--line);
}

.scorm-course-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(45, 139, 132, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.scorm-course-card:hover,
.scorm-course-card:focus-visible,
.scorm-course-card.is-active {
  border-color: rgba(45, 139, 132, 0.58);
  box-shadow: 0 16px 34px rgba(30, 57, 87, 0.12);
  transform: translateY(-2px);
}

.scorm-course-card img {
  width: 118px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
}

.scorm-course-card span {
  min-width: 0;
}

.scorm-course-card small,
.scorm-course-card em {
  display: block;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.scorm-course-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.scorm-course-card em {
  margin-top: 6px;
  color: var(--muted);
  text-transform: none;
}

.scorm-course-card span span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.38;
}

.scorm-modal__viewer {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  background: var(--paper);
  overscroll-behavior: contain;
  transition: background 220ms ease;
}

.scorm-modal:not(.scorm-modal--dark) .scorm-modal__viewer {
  background:
    linear-gradient(180deg, rgba(234, 248, 255, 0.62), rgba(255, 255, 255, 0.94) 120px),
    var(--paper);
}

.scorm-modal__viewerbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background 220ms ease, border-color 220ms ease;
}

.scorm-modal:not(.scorm-modal--dark) .scorm-modal__viewerbar {
  border-bottom-color: color-mix(in srgb, var(--scorm-accent) 16%, var(--line));
  background:
    linear-gradient(90deg, rgba(234, 248, 255, 0.92), rgba(247, 252, 248, 0.9) 58%, rgba(255, 250, 235, 0.68));
}

.scorm-modal__viewerbar strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scorm-modal__catalog-back {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid color-mix(in srgb, var(--scorm-accent) 32%, transparent);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.scorm-modal:not(.scorm-modal--dark) .scorm-modal__catalog-back {
  background:
    linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--scorm-accent) 7%, #ffffff));
  box-shadow: 0 8px 18px rgba(20, 60, 86, 0.06);
}

.scorm-modal__catalog-back:hover,
.scorm-modal__catalog-back:focus-visible {
  border-color: color-mix(in srgb, var(--scorm-accent) 70%, transparent);
  background: var(--surface-soft);
}

.scorm-modal:not(.scorm-modal--dark) .scorm-modal__catalog-back:hover,
.scorm-modal:not(.scorm-modal--dark) .scorm-modal__catalog-back:focus-visible {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--scorm-accent) 10%, #ffffff), rgba(247, 252, 248, 0.96));
}

.scorm-modal--dark .scorm-modal__panel {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(135deg, rgba(34, 124, 181, 0.16), rgba(34, 197, 94, 0.08)),
    #111827;
  color: #f8fafc;
}

.scorm-modal--dark .scorm-modal__header {
  border-bottom-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--scorm-accent) 22%, transparent), transparent 34%),
    linear-gradient(135deg, #102033 0%, #111827 62%, #0f172a 100%);
}

.scorm-modal--dark .eyebrow {
  color: color-mix(in srgb, var(--scorm-accent) 74%, #dbeafe);
}

.scorm-modal--dark .scorm-modal__header h2,
.scorm-modal--dark .scorm-modal__viewerbar strong {
  color: #f8fafc;
}

.scorm-modal--dark .scorm-modal__close,
.scorm-modal--dark .scorm-modal__catalog-back {
  border-color: rgba(148, 163, 184, 0.28);
  background: #1f2937;
  color: #f8fafc;
}

.scorm-modal--dark .scorm-modal__close:hover,
.scorm-modal--dark .scorm-modal__close:focus-visible,
.scorm-modal--dark .scorm-modal__catalog-back:hover,
.scorm-modal--dark .scorm-modal__catalog-back:focus-visible {
  border-color: color-mix(in srgb, var(--scorm-accent) 70%, rgba(255, 255, 255, 0.2));
  background: #263244;
}

.scorm-modal--dark .scorm-modal__viewer,
.scorm-modal--dark .scorm-modal__viewerbar {
  border-color: rgba(148, 163, 184, 0.18);
  background: #111827;
}

.scorm-modal__list-toggle {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(46, 125, 166, 0.28);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.scorm-modal__list-toggle {
  display: none;
}

.scorm-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  overscroll-behavior: contain;
}

.scorm-modal__note {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

:root[data-robotedu-theme="dark"] .scorm-course-card {
  background: rgba(16, 36, 49, 0.78);
}

@media (max-width: 860px) {
  .scorm-modal {
    padding: 8px;
  }

  .scorm-modal__panel {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
  }

  .scorm-modal__header {
    padding: 16px;
  }

  .scorm-modal__header p {
    font-size: 14px;
  }

  .scorm-modal__layout {
    grid-template-columns: 1fr;
  }

  .scorm-modal__catalog {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scorm-modal__viewer {
    display: grid;
  }

  .scorm-modal.is-viewing .scorm-modal__catalog {
    display: none;
  }

  .scorm-modal.is-viewing .scorm-modal__viewer {
    display: grid;
  }

  .scorm-modal__viewerbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .scorm-modal__catalog-back {
    width: 100%;
  }

  .scorm-modal__list-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .scorm-course-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .scorm-course-card img {
    width: 92px;
    height: 78px;
  }

}

@media (max-width: 760px) {
  .page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__intro .maker-logo-orbit {
    min-height: auto;
  }

  .page-shell--creacion-de-contenido-y-consultoria #fabricantes .section__intro .maker-logo-orbit__item {
    width: auto;
    transform: none;
  }

  .maker-logo-orbit {
    min-height: auto;
    margin-top: 22px;
    padding: 22px;
    border: 1px solid color-mix(in srgb, var(--blue) 16%, var(--line));
    border-radius: 8px;
    background:
      radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--green) 11%, transparent), transparent 48%),
      rgba(255, 255, 255, 0.66);
  }

  .maker-logo-orbit::before,
  .maker-logo-orbit::after,
  .maker-logo-orbit__core::before {
    display: none;
  }

  .maker-logo-orbit__core {
    width: 100%;
    min-height: auto;
    margin-bottom: 16px;
    border-radius: 8px;
  }

  .maker-logo-orbit__core img {
    width: min(100%, 124px);
  }

  .maker-logo-orbit__ring {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .maker-logo-orbit__item {
    position: static;
    width: auto;
    min-height: 92px;
    transform: none;
    animation: makerLogoFocus 12s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
